From 217a1d8922ab18a7fe0e010b2e2cc34a4c27f460 Mon Sep 17 00:00:00 2001 From: Estevan Maito Date: Sat, 18 Jul 2020 16:42:58 -0300 Subject: [PATCH] fix(variants): add default variants variants used by windmill were lacking the defaults, meaning it could lead to unexpected behavior --- config.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/config.js b/config.js index 7a23542..d965a27 100644 --- a/config.js +++ b/config.js @@ -210,6 +210,7 @@ const windmillConfig = { variants: { backgroundOpacity: ['responsive', 'hover', 'focus', 'dark:hover'], backgroundColor: [ + 'responsive', 'hover', 'focus', 'active', @@ -222,6 +223,8 @@ const windmillConfig = { ], display: ['responsive', 'dark'], textColor: [ + 'responsive', + 'focus', 'focus-within', 'hover', 'active', @@ -230,10 +233,10 @@ const windmillConfig = { 'dark:hover', 'dark:active', ], - placeholderColor: ['focus', 'dark', 'dark:focus'], + placeholderColor: ['responsive', 'focus', 'dark', 'dark:focus'], borderColor: ['responsive', 'hover', 'focus', 'dark', 'dark:focus', 'dark:hover'], - divideColor: ['dark'], - boxShadow: ['focus', 'dark:focus'], + divideColor: ['responsive', 'dark'], + boxShadow: ['responsive', 'hover', 'focus', 'dark:focus'], margin: ['responsive', 'last'], }, plugins: [customFormsPlugin, multiThemePlugin, shadowOutlinePlugin],