#1157·stitches

How to add `!important` automatically

Author: MICAHFANGCreated Jul 10, 2023Updated Jul 10, 2023

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.