From 68d3ee624e2f9a2ec98aa149139952f3f97c080f Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Sun, 26 Mar 2023 18:17:47 +0200 Subject: [PATCH] add more variants to shadow --- frontend/tailwind.config.cjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/tailwind.config.cjs b/frontend/tailwind.config.cjs index ea9d9af8ad..3d8a3f1282 100644 --- a/frontend/tailwind.config.cjs +++ b/frontend/tailwind.config.cjs @@ -12,8 +12,8 @@ const config = { ? [ { pattern: /^m(\w?)-.*$/ }, { pattern: /^p(\w?)-.*$/ }, - { pattern: /^shadow-.*$/ }, { pattern: /^rounded-.*$/ }, + { pattern: /^shadow-.*$/, variants: ['hover'] }, { pattern: /^text-[^/]*$/, variants: ['hover', 'active', 'focus'] }, { pattern: /^bg-[^/]*$/, variants: ['hover', 'active', 'focus'] }, { pattern: /^border-[^/]*$/, variants: ['hover', 'active', 'focus'] }, @@ -506,7 +506,7 @@ const config = { color: theme('colors.gray.700') }, '& tbody > :not([hidden]) ~ :not([hidden])': { - borderTop: `1px solid ${theme('colors.gray.200')}`, + borderTop: `1px solid ${theme('colors.gray.200')}` }, '& tbody > tr:hover': { backgroundColor: theme('colors.gray.50')