From 94aaf19c9949dc2f1b681e7787089d8f1511e0e8 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 25 Apr 2019 22:10:08 +0200 Subject: [PATCH] Enable hocus variant for background colours --- tailwind.config.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tailwind.config.js b/tailwind.config.js index 744ae93..fe1fa75 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -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