Skip to content

Commit

Permalink
fix(button): fixed keyboard focus on outlined buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
Powerplex committed Sep 29, 2023
1 parent e150210 commit e93790a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/components/button/src/Button.styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const buttonStyles = cva(
*/
design: makeVariants<'design', ['filled', 'outlined', 'tinted', 'ghost', 'contrast']>({
filled: [],
outlined: ['bg-transparent', 'ring-1', 'ring-current'],
outlined: ['bg-transparent', 'border-sm', 'border-current'],
tinted: [],
ghost: [],
contrast: ['bg-surface'],
Expand Down

0 comments on commit e93790a

Please sign in to comment.