sass / sassc-ruby

Use libsass with Ruby!
MIT License
363 stars 157 forks source link

Error: ! IMPORTANT | Invalid CSS after #188

Open gus4no opened 4 years ago

gus4no commented 4 years ago

I just ran into this, and found this issue has been reported here -> https://github.com/sass/sassc-rails/issues/97 , however I believe the issue is this project.

I'll happily change the syntax of sass files I own, to use !important rather than !Important or !IMPORTANT but there's some dependencies I can't control which use the ones that are failing.

Any particular reason the engine raises invalid CSS whenever using these variants of !important ?

aronmoshe-m commented 4 years ago

I'd love to see an answer to this, too. I have the same question. We did a find/replace so it wasn't a huge issue, but I'm wondering why !important is set as the best practice here rather than other variants.