@@ -14,6 +14,7 @@ module.exports = function ({ addUtilities, addComponents, theme }) {
14
14
backgroundColor : defaultTheme . colors . white ,
15
15
focusBorderColor : defaultTheme . colors . blue [ 400 ] ,
16
16
focusShadow : defaultTheme . boxShadow . outline ,
17
+ boxShadow : defaultTheme . boxShadow . none ,
17
18
checkboxSize : '1em' ,
18
19
radioSize : '1em' ,
19
20
checkboxIcon : `<svg viewBox="0 0 16 16" fill="#fff" xmlns="http://www.w3.org/2000/svg"><path d="M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z"/></svg>` ,
@@ -28,6 +29,7 @@ module.exports = function ({ addUtilities, addComponents, theme }) {
28
29
addComponents ( {
29
30
'.form-checkbox' : {
30
31
appearance : 'none' ,
32
+ boxShadow : options . boxShadow ,
31
33
display : 'inline-block' ,
32
34
height : options . checkboxSize ,
33
35
width : options . checkboxSize ,
@@ -63,6 +65,7 @@ module.exports = function ({ addUtilities, addComponents, theme }) {
63
65
} ,
64
66
'.form-radio' : {
65
67
appearance : 'none' ,
68
+ boxShadow : options . boxShadow ,
66
69
display : 'inline-block' ,
67
70
height : options . radioSize ,
68
71
width : options . radioSize ,
@@ -102,6 +105,7 @@ module.exports = function ({ addUtilities, addComponents, theme }) {
102
105
borderColor : options . borderColor ,
103
106
borderWidth : options . borderWidth ,
104
107
borderRadius : options . borderRadius ,
108
+ boxShadow : options . boxShadow ,
105
109
padding : `${ options . verticalPadding } ${ options . horizontalPadding } ` ,
106
110
fontSize : options . fontSize ,
107
111
lineHeight : options . lineHeight ,
@@ -116,6 +120,7 @@ module.exports = function ({ addUtilities, addComponents, theme }) {
116
120
borderColor : options . borderColor ,
117
121
borderWidth : options . borderWidth ,
118
122
borderRadius : options . borderRadius ,
123
+ boxShadow : options . boxShadow ,
119
124
paddingTop : options . verticalPadding ,
120
125
paddingRight : `calc(${ options . selectIconOffset } * 2 + ${ options . selectIconSize } )` ,
121
126
paddingBottom : options . verticalPadding ,
0 commit comments