Skip to content

Commit

Permalink
fix(variants): add default variants
Browse files Browse the repository at this point in the history
variants used by windmill were lacking the defaults, meaning it could lead to unexpected behavior
  • Loading branch information
estevanmaito committed Jul 18, 2020
1 parent f8dc7c1 commit 217a1d8
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ const windmillConfig = {
variants: {
backgroundOpacity: ['responsive', 'hover', 'focus', 'dark:hover'],
backgroundColor: [
'responsive',
'hover',
'focus',
'active',
Expand All @@ -222,6 +223,8 @@ const windmillConfig = {
],
display: ['responsive', 'dark'],
textColor: [
'responsive',
'focus',
'focus-within',
'hover',
'active',
Expand All @@ -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],
Expand Down

0 comments on commit 217a1d8

Please sign in to comment.