Skip to content

Commit

Permalink
add default box shadow reset
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinMalfait committed Sep 16, 2021
1 parent 39946dd commit d84d728
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/index.js
Expand Up @@ -40,6 +40,7 @@ const forms = plugin.withOptions(function (options = { strategy: 'base' }) {
'padding-left': spacing[3],
'font-size': baseFontSize,
'line-height': baseLineHeight,
'--tw-shadow': '0 0 #0000',
'&:focus': {
outline: outline.none[0],
'outline-offset': outline.none[1],
Expand Down Expand Up @@ -94,6 +95,7 @@ const forms = plugin.withOptions(function (options = { strategy: 'base' }) {
'background-size': `1.5em 1.5em`,
'padding-right': spacing[10],
'color-adjust': `exact`,
'--tw-shadow': '0 0 #0000',
},
},
{
Expand Down Expand Up @@ -126,6 +128,7 @@ const forms = plugin.withOptions(function (options = { strategy: 'base' }) {
'background-color': '#fff',
'border-color': theme('colors.gray.500', colors.gray[500]),
'border-width': borderWidth['DEFAULT'],
'--tw-shadow': '0 0 #0000',
},
},
{
Expand Down Expand Up @@ -237,6 +240,7 @@ const forms = plugin.withOptions(function (options = { strategy: 'base' }) {
padding: '0',
'font-size': 'unset',
'line-height': 'inherit',
'--tw-shadow': '0 0 #0000',
},
},
{
Expand Down

0 comments on commit d84d728

Please sign in to comment.