Skip to content

Commit d84d728

Browse files
committed
add default box shadow reset
1 parent 39946dd commit d84d728

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: src/index.js

+4
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ const forms = plugin.withOptions(function (options = { strategy: 'base' }) {
4040
'padding-left': spacing[3],
4141
'font-size': baseFontSize,
4242
'line-height': baseLineHeight,
43+
'--tw-shadow': '0 0 #0000',
4344
'&:focus': {
4445
outline: outline.none[0],
4546
'outline-offset': outline.none[1],
@@ -94,6 +95,7 @@ const forms = plugin.withOptions(function (options = { strategy: 'base' }) {
9495
'background-size': `1.5em 1.5em`,
9596
'padding-right': spacing[10],
9697
'color-adjust': `exact`,
98+
'--tw-shadow': '0 0 #0000',
9799
},
98100
},
99101
{
@@ -126,6 +128,7 @@ const forms = plugin.withOptions(function (options = { strategy: 'base' }) {
126128
'background-color': '#fff',
127129
'border-color': theme('colors.gray.500', colors.gray[500]),
128130
'border-width': borderWidth['DEFAULT'],
131+
'--tw-shadow': '0 0 #0000',
129132
},
130133
},
131134
{
@@ -237,6 +240,7 @@ const forms = plugin.withOptions(function (options = { strategy: 'base' }) {
237240
padding: '0',
238241
'font-size': 'unset',
239242
'line-height': 'inherit',
243+
'--tw-shadow': '0 0 #0000',
240244
},
241245
},
242246
{

0 commit comments

Comments
 (0)