Skip to content

Commit

Permalink
fix: Add button border radius to the default theme
Browse files Browse the repository at this point in the history
  • Loading branch information
sapegin committed Apr 16, 2024
1 parent 0efce11 commit b8d6463
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const button = cva({
py: 'xs',
border: `thin`,
borderColor: 'primary',
borderRadius: 'round',
borderRadius: 'button',
fontSize: 'm',
fontFamily: 'body',
textDecoration: 'none',
Expand Down
2 changes: 1 addition & 1 deletion src/components/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const Input = (props: InputProps) => (
padding: 'm',
border: 'thin',
borderColor: 'primary',
borderRadius: 'base',
borderRadius: 'button',
fontFamily: 'body',
fontSize: 'm',
color: 'text',
Expand Down
1 change: 1 addition & 0 deletions src/panda-preset/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export const theme = {
radii: {
none: { value: '0' },
base: { value: '0.25em' },
button: { value: '0.25em' },
round: { value: '99999em' },
},
},
Expand Down

0 comments on commit b8d6463

Please sign in to comment.