Skip to content

Commit

Permalink
Box shadow mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitgrelard committed Dec 16, 2021
1 parent a7030b9 commit 05fc91d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/react/checkbox/src/Checkbox.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ const rootClass = css({
'&:focus': {
outline: 'none',
borderColor: '$red',
boxShadow: '0 0 0 1px $red',
boxShadow: '0 0 0 1px $colors$red',
},

'&[data-disabled]': {
Expand Down
2 changes: 1 addition & 1 deletion packages/react/radio-group/src/RadioGroup.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ const itemClass = css({
'&:focus': {
outline: 'none',
borderColor: '$red',
boxShadow: '0 0 0 1px $red',
boxShadow: '0 0 0 1px $colors$red',
},

'&[data-disabled]': {
Expand Down
2 changes: 1 addition & 1 deletion packages/react/slider/src/Slider.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ const thumbClass = css({
backgroundColor: '$black',
'&:focus': {
outline: 'none',
boxShadow: '0 0 0 2px $red',
boxShadow: '0 0 0 2px $colors$red',
},
});

Expand Down
2 changes: 1 addition & 1 deletion packages/react/switch/src/Switch.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ const rootClass = css({

'&:focus': {
outline: 'none',
boxShadow: '0 0 0 2px $black',
boxShadow: '0 0 0 2px $colors$black',
},

'&[data-state="checked"]': {
Expand Down
2 changes: 1 addition & 1 deletion packages/react/toggle/src/Toggle.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const rootClass = css({

'&:focus': {
outline: 'none',
boxShadow: '0 0 0 2px $black',
boxShadow: '0 0 0 2px $colors$black',
},

'&[data-disabled]': { opacity: 0.5 },
Expand Down

0 comments on commit 05fc91d

Please sign in to comment.