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: {
backgroundColor: [...variants.backgroundColor, 'hocus'],
borderColor: [...variants.textColor, 'hocus', 'group-hocus'],
fontStyle: [...variants.fontStyle, 'hocus'],
textColor: [...variants.textColor, 'hocus'],
textDecoration: [...variants.textColor, 'hocus', 'group-hocus'],
fontStyle: [...variants.fontStyle, 'hocus']
textDecoration: [...variants.textColor, 'hocus', 'group-hocus']
},
corePlugins: {
preflight: false