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
This commit is contained in:
parent
b8b1766429
commit
390c3ba44d
|
@ -93,5 +93,8 @@ module.exports = {
|
||||||
borderStyle: [...variants.borderStyle, 'hover', 'focus'],
|
borderStyle: [...variants.borderStyle, 'hover', 'focus'],
|
||||||
borderWidth: [...variants.borderWidth, 'hover', 'focus'],
|
borderWidth: [...variants.borderWidth, 'hover', 'focus'],
|
||||||
margin: [...variants.margin, 'first', 'last', 'odd', 'even'],
|
margin: [...variants.margin, 'first', 'last', 'odd', 'even'],
|
||||||
|
},
|
||||||
|
experimental: {
|
||||||
|
applyComplexClasses: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue