This repository was archived by the owner on Apr 6, 2021. It is now read-only.
This repository was archived by the owner on Apr 6, 2021. It is now read-only.
[Idea] - Arbitrary values with !important #34
Closed
Description
I've encountered a few situations in the pass where I needed an !important
statement with Tailwind on exactly one element, and other times a few elements.
And in those cases my needs did not warrant setting the important config value to true.
These situation arises mostly when working with third party libraries where their CSS specificity beats that of Tailwind's.
So I'm thinking something like: !bg-primary
, bg-primary!
, bg-primary!important
or to be consistent with the opt in arbitrary values syntax: bg-primary[!]
, could be a nice solution.
Any feedback appreciated :)