@@ -28,6 +28,7 @@ module.exports = function ({ addUtilities, addComponents, theme }) {
2828 backgroundColor : defaultTheme . colors . white ,
2929 focusBorderColor : defaultTheme . colors . blue [ 400 ] ,
3030 focusShadow : defaultTheme . boxShadow . outline ,
31+ boxShadow : defaultTheme . boxShadow . none ,
3132 checkboxSize : '1em' ,
3233 radioSize : '1em' ,
3334 checkboxIcon : `<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="#fff"><path d="M13.293 4.293a1 1 0 0 1 0 1.414L7 12a1 1 0 0 1-1.414 0L3.293 9.707a1 1 0 0 1 1.414-1.414l1.586 1.586 5.586-5.586a1 1 0 0 1 1.414 0z"/></svg>` ,
@@ -42,6 +43,7 @@ module.exports = function ({ addUtilities, addComponents, theme }) {
4243 addComponents ( {
4344 '.form-checkbox' : {
4445 appearance : 'none' ,
46+ boxShadow : options . boxShadow ,
4547 display : 'inline-block' ,
4648 height : options . checkboxSize ,
4749 width : options . checkboxSize ,
@@ -68,6 +70,7 @@ module.exports = function ({ addUtilities, addComponents, theme }) {
6870 } ,
6971 '.form-radio' : {
7072 appearance : 'none' ,
73+ boxShadow : options . boxShadow ,
7174 display : 'inline-block' ,
7275 height : options . radioSize ,
7376 width : options . radioSize ,
@@ -97,6 +100,7 @@ module.exports = function ({ addUtilities, addComponents, theme }) {
97100 backgroundColor : options . backgroundColor ,
98101 borderWidth : options . borderWidth ,
99102 borderRadius : options . borderRadius ,
103+ boxShadow : options . boxShadow ,
100104 padding : `${ options . verticalPadding } ${ options . horizontalPadding } ` ,
101105 fontSize : options . fontSize ,
102106 lineHeight : options . lineHeight ,
@@ -110,6 +114,7 @@ module.exports = function ({ addUtilities, addComponents, theme }) {
110114 backgroundColor : options . backgroundColor ,
111115 borderWidth : options . borderWidth ,
112116 borderRadius : options . borderRadius ,
117+ boxShadow : options . boxShadow ,
113118 paddingTop : options . verticalPadding ,
114119 paddingRight : `calc(${ options . selectIconOffset } * 2 + ${ options . selectIconSize } )` ,
115120 paddingBottom : options . verticalPadding ,
0 commit comments