Enable hocus variant for background colours

This commit is contained in:
Oliver Davies 2019-04-25 22:10:08 +02:00
parent 40eb022f4a
commit 94aaf19c99

View file

@ -15,10 +15,11 @@ module.exports = {
} }
}, },
variants: { variants: {
backgroundColor: [...variants.backgroundColor, 'hocus'],
borderColor: [...variants.textColor, 'hocus', 'group-hocus'], borderColor: [...variants.textColor, 'hocus', 'group-hocus'],
fontStyle: [...variants.fontStyle, 'hocus'],
textColor: [...variants.textColor, 'hocus'], textColor: [...variants.textColor, 'hocus'],
textDecoration: [...variants.textColor, 'hocus', 'group-hocus'], textDecoration: [...variants.textColor, 'hocus', 'group-hocus']
fontStyle: [...variants.fontStyle, 'hocus']
}, },
corePlugins: { corePlugins: {
preflight: false preflight: false