Skip to content

Commit 9db3874

Browse files
committed
refactor: Update padding for Figma sync
1 parent bebbb3a commit 9db3874

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

src/components/Button/Button.tsx

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -138,17 +138,20 @@ const styles = cva({
138138
variants: {
139139
size: {
140140
sm: {
141-
p: "8",
141+
px: "8",
142+
py: "4",
142143
lineHeight: "1rem",
143144
fontSize: "sm",
144145
},
145146
md: {
146-
p: "0.625rem",
147+
px: "12",
148+
py: "4",
147149
lineHeight: "1.25rem",
148150
fontSize: "md",
149151
},
150152
lg: {
151-
p: "12",
153+
px: "16",
154+
py: "8",
152155
lineHeight: "1.5rem",
153156
fontSize: "lg",
154157
},
@@ -271,21 +274,24 @@ const styles = cva({
271274
variant: "outline",
272275
size: "sm",
273276
css: {
274-
p: "calc(0.5rem - 1px)",
277+
px: "calc(0.5rem - 1px)",
278+
py: "calc(0.25rem - 1px)",
275279
},
276280
},
277281
{
278282
variant: "outline",
279283
size: "md",
280284
css: {
281-
p: "calc(0.625rem - 1px)",
285+
px: "calc(0.75rem - 1px)",
286+
py: "calc(0.25rem - 1px)",
282287
},
283288
},
284289
{
285290
variant: "outline",
286291
size: "lg",
287292
css: {
288-
p: "calc(0.75rem - 1px)",
293+
px: "calc(1rem - 1px)",
294+
py: "calc(0.5rem - 1px)",
289295
},
290296
},
291297
{

0 commit comments

Comments
 (0)