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

Signed-off-by: praveenjuge <praveen@skcript.com>
This commit is contained in:
Praveen Juge 2021-02-05 02:36:16 +05:30 committed by GitHub
parent 8e492449b6
commit 068aaf14fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,11 +17,13 @@ module.exports = {
}, },
}, },
variants: { variants: {
cursor: ['responsive', 'disabled'], extend: {
backgroundColor: ['dark', 'hover', 'disabled'], cursor: ['disabled'],
borderColor: ['dark', 'active', 'focus', 'disabled'], backgroundColor: ['disabled'],
textColor: ['dark', 'hover', 'active', 'disabled'], borderColor: ['active', 'disabled'],
opacity: ['dark', 'hover', 'active', 'focus', 'disabled'], textColor: ['active', 'disabled'],
opacity: ['dark', 'active', 'disabled'],
}
}, },
darkMode: 'class', darkMode: 'class',
plugins: [typography], plugins: [typography],