stylus
stylus copied to clipboard
[FR] Highest priority option
trafficstars
Currently, to make all declarations have the highest priority, we need to add !important to the end of every CSS declaration. I suggest adding a "highest priority" option for this scenario, which does this automatically.
If this option already exists, please let me know 😃.
There's no such option so I've added it to our main issue about per-style options. We'll implement it someday, hopefully :-)
Meanwhile you can use the find-replace dialog to replace all /(!important\s*)?;/ with !important;
Just a side note, if you're using less as the preprocessor, you can use this feature to achieve this.