From 068aaf14fac8a1163e230236927d92d3245e6acc Mon Sep 17 00:00:00 2001 From: Praveen Juge Date: Fri, 5 Feb 2021 02:36:16 +0530 Subject: [PATCH] fix: added extend key to tailwind variants (#47) Signed-off-by: praveenjuge --- tailwind.config.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/tailwind.config.js b/tailwind.config.js index 6aa99a1..e48a03e 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -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],