Skip to content

Commit

Permalink
🚧 useForm前コミット
Browse files Browse the repository at this point in the history
  • Loading branch information
ROTO0504 committed Oct 23, 2024
1 parent 6f322da commit e79f00f
Show file tree
Hide file tree
Showing 2 changed files with 328 additions and 192 deletions.
31 changes: 31 additions & 0 deletions src/components/sva/numberInput.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import { numberInputAnatomy } from "@ark-ui/react";
import { sva } from "panda/css";

export const svaNumberInput = sva({
className: "numberInput",
slots: numberInputAnatomy.keys(),
base: {
root: {
display: "flex",
alignItems: "center",
borderRadius: "md",
backgroundColor: "wkb.bg",
textAlign: "right",
_hover: {
borderColor: "gray.400",
},
_focusWithin: {
borderColor: "blue.500",
},
},
input: {
fontSize: "4xl",
color: "gray.700",
textAlign: "right",
width: "100%",
_focus: {
outline: "none",
},
},
},
});
Loading

0 comments on commit e79f00f

Please sign in to comment.