rails / sass-rails

Ruby on Rails stylesheet engine for Sass

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Modern color syntax

o-t-w opened this issue · comments

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

This is an issue on sassc. Please report there.

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

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

@rafaelfranca Shouldn't this project also do that?

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.