fix: added extend key to tailwind variants (#47)

Signed-off-by: praveenjuge <praveen@skcript.com>
This commit is contained in:
Praveen Juge authored and GitHub committed 2021-02-05 05:06:16 +08:00
1 parent 8e492449b6
commit 068aaf14fa
1 file changed
+7 -5
+7 -5
View File
@@ -17,11 +17,13 @@ module.exports = {
},
},
variants: {
cursor: ['responsive', 'disabled'],
backgroundColor: ['dark', 'hover', 'disabled'],
borderColor: ['dark', 'active', 'focus', 'disabled'],
textColor: ['dark', 'hover', 'active', 'disabled'],
opacity: ['dark', 'hover', 'active', 'focus', 'disabled'],
extend: {
cursor: ['disabled'],
backgroundColor: ['disabled'],
borderColor: ['active', 'disabled'],
textColor: ['active', 'disabled'],
opacity: ['dark', 'active', 'disabled'],
}
},
darkMode: 'class',
plugins: [typography],