Skip to content
This repository was archived by the owner on Sep 11, 2021. It is now read-only.

Commit 7a81592

Browse files
committed
Rename focusShadow option to focusBoxShadow
1 parent fba2bbf commit 7a81592

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module.exports = function ({ addUtilities, addComponents, theme }) {
1313
borderRadius: defaultTheme.borderRadius.default,
1414
backgroundColor: defaultTheme.colors.white,
1515
focusBorderColor: defaultTheme.colors.blue[400],
16-
focusShadow: defaultTheme.boxShadow.outline,
16+
focusBoxShadow: defaultTheme.boxShadow.outline,
1717
boxShadow: defaultTheme.boxShadow.none,
1818
checkboxSize: '1em',
1919
radioSize: '1em',
@@ -42,7 +42,7 @@ module.exports = function ({ addUtilities, addComponents, theme }) {
4242
userSelect: 'none',
4343
'&:focus': {
4444
outline: 'none',
45-
boxShadow: options.focusShadow,
45+
boxShadow: options.focusBoxShadow,
4646
},
4747
'&:focus:not(:checked)': {
4848
borderColor: options.focusBorderColor,
@@ -78,7 +78,7 @@ module.exports = function ({ addUtilities, addComponents, theme }) {
7878
userSelect: 'none',
7979
'&:focus': {
8080
outline: 'none',
81-
boxShadow: options.focusShadow,
81+
boxShadow: options.focusBoxShadow,
8282
},
8383
'&:focus:not(:checked)': {
8484
borderColor: options.focusBorderColor,
@@ -111,7 +111,7 @@ module.exports = function ({ addUtilities, addComponents, theme }) {
111111
lineHeight: options.lineHeight,
112112
'&:focus': {
113113
outline: 'none',
114-
boxShadow: options.focusShadow,
114+
boxShadow: options.focusBoxShadow,
115115
borderColor: options.focusBorderColor,
116116
}
117117
},
@@ -137,7 +137,7 @@ module.exports = function ({ addUtilities, addComponents, theme }) {
137137
},
138138
'&:focus': {
139139
outline: 'none',
140-
boxShadow: options.focusShadow,
140+
boxShadow: options.focusBoxShadow,
141141
borderColor: options.focusBorderColor,
142142
}
143143
},

0 commit comments

Comments
 (0)