Skip to content

Commit

Permalink
Removed redundant focus ring management
Browse files Browse the repository at this point in the history
  • Loading branch information
Pagebakers committed Jun 7, 2022
1 parent 532a7d4 commit a8a51f7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 17 deletions.
3 changes: 0 additions & 3 deletions packages/saas-ui-theme/src/base/components/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ const baseStyle: PartsStyleFunction<typeof parts> = (props) => {
_focus: {
boxShadow: 'outline',
bg: mode('blackAlpha.200', 'whiteAlpha.300')(props),
'&:not(:focus-visible)': {
boxShadow: 'none',
},
},
_active: {
bg: mode('blackAlpha.300', 'whiteAlpha.400')(props),
Expand Down
7 changes: 0 additions & 7 deletions packages/saas-ui-theme/src/saas-ui/components/button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,13 +188,6 @@ export default {
defaultProps: {
size: 'sm',
},
baseStyle: {
_focus: {
'&:not(:focus-visible)': {
boxShadow: 'none',
},
},
},
variants: {
solid: variantSolid,
ghost: variantGhost,
Expand Down
8 changes: 1 addition & 7 deletions packages/saas-ui-theme/src/saas-ui/components/link.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
export default {
baseStyle: {
_focus: {
'&:not(:focus-visible)': {
boxShadow: 'none',
},
},
},
baseStyle: {},
}

0 comments on commit a8a51f7

Please sign in to comment.