How to add `!important` automatically
MICAHFANG opened this issue Β· comments
Hi, π
I'm using @stitches/react
in my project, in some cases I need to use cleanslate
(a hightest order css reset tool). But this tool needs to add !important
to overwrite it's own style.
Rightnow, I can only add !important
to every properties' end manually.
Is there any way to add !important
after each line automatically?
like some other tools like postcss
has plugins can do these things. But I cannot find any way in stitches.
Or, is there any way to use the methods like getCssText
in SPA projects.
I found an example that is using postcss
and nextjs
#409