From d84d728a5dc61626e896f6a3c0f6e2364577c90f Mon Sep 17 00:00:00 2001 From: Robin Malfait Date: Thu, 16 Sep 2021 15:26:11 +0200 Subject: [PATCH] add default box shadow reset --- src/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/index.js b/src/index.js index b97215e..4d0e75d 100644 --- a/src/index.js +++ b/src/index.js @@ -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], @@ -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', }, }, { @@ -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', }, }, { @@ -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', }, }, {