rails / sass-rails

Ruby on Rails stylesheet engine for Sass
MIT License
859 stars 333 forks source link

Modern color syntax #443

Closed o-t-w closed 3 years ago

o-t-w commented 3 years ago

Apologies if this is the wrong place to raise an issue (I assume this is where the error is coming from) but I am getting an error about "wrong number of arguments" for valid modern CSS color syntax.

color: hsl(200deg 80% 39%);
Screenshot 2021-10-19 at 12 20 20
rafaelfranca commented 3 years ago

This is an issue on sassc. Please report there.

o-t-w commented 3 years ago

You shouldn’t be using sassc: “ Warning: LibSass and SassC are deprecated. While it will continue to receive maintenance releases indefinitely, there are no plans to add additional features or compatibility with any new CSS or Sass features. Projects that still use it should move onto Dart Sass.” @rafaelfranca

rafaelfranca commented 3 years ago

Well, so I guess you will need to move onto Dart Sass or keep using the old color syntax.

o-t-w commented 3 years ago

@rafaelfranca Shouldn't this project also do that?

rafaelfranca commented 3 years ago

This project is just a wrapper on top of sassc. We don't add new feature to it, all features are provided by sassc. Moving onto Dart is not in our plans. Rails 7 will include cssbundling-rails instead of sass-rails.