From 390c3ba44d7a2f3bb181222a6322eeec9601603e Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 16 Sep 2020 01:39:06 +0100 Subject: [PATCH] Enable the 'apply complex classes' feature Enable the experimental feature to use `@apply` with complex classes including interactive states. I tried this on the Rebuilding Symfony demo project and it worked well. This would mean that I could refactor some of my existing styles on this project. References #190 --- web/themes/custom/opdavies/tailwind.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/themes/custom/opdavies/tailwind.config.js b/web/themes/custom/opdavies/tailwind.config.js index cd211838..0bc7da57 100644 --- a/web/themes/custom/opdavies/tailwind.config.js +++ b/web/themes/custom/opdavies/tailwind.config.js @@ -93,5 +93,8 @@ module.exports = { borderStyle: [...variants.borderStyle, 'hover', 'focus'], borderWidth: [...variants.borderWidth, 'hover', 'focus'], margin: [...variants.margin, 'first', 'last', 'odd', 'even'], + }, + experimental: { + applyComplexClasses: true } }