@@ -14,6 +14,7 @@ module.exports = function ({ addUtilities, addComponents, theme }) {
1414 backgroundColor : defaultTheme . colors . white ,
1515 focusBorderColor : defaultTheme . colors . blue [ 400 ] ,
1616 focusShadow : defaultTheme . boxShadow . outline ,
17+ boxShadow : defaultTheme . boxShadow . none ,
1718 checkboxSize : '1em' ,
1819 radioSize : '1em' ,
1920 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 }) {
2829 addComponents ( {
2930 '.form-checkbox' : {
3031 appearance : 'none' ,
32+ boxShadow : options . boxShadow ,
3133 display : 'inline-block' ,
3234 height : options . checkboxSize ,
3335 width : options . checkboxSize ,
@@ -63,6 +65,7 @@ module.exports = function ({ addUtilities, addComponents, theme }) {
6365 } ,
6466 '.form-radio' : {
6567 appearance : 'none' ,
68+ boxShadow : options . boxShadow ,
6669 display : 'inline-block' ,
6770 height : options . radioSize ,
6871 width : options . radioSize ,
@@ -102,6 +105,7 @@ module.exports = function ({ addUtilities, addComponents, theme }) {
102105 borderColor : options . borderColor ,
103106 borderWidth : options . borderWidth ,
104107 borderRadius : options . borderRadius ,
108+ boxShadow : options . boxShadow ,
105109 padding : `${ options . verticalPadding } ${ options . horizontalPadding } ` ,
106110 fontSize : options . fontSize ,
107111 lineHeight : options . lineHeight ,
@@ -116,6 +120,7 @@ module.exports = function ({ addUtilities, addComponents, theme }) {
116120 borderColor : options . borderColor ,
117121 borderWidth : options . borderWidth ,
118122 borderRadius : options . borderRadius ,
123+ boxShadow : options . boxShadow ,
119124 paddingTop : options . verticalPadding ,
120125 paddingRight : `calc(${ options . selectIconOffset } * 2 + ${ options . selectIconSize } )` ,
121126 paddingBottom : options . verticalPadding ,
0 commit comments