E
E
eugene1592021-07-15 00:51:51
Sass
eugene159, 2021-07-15 00:51:51

Is it possible to change the SCSS compiler version? If yes, how is it done?

Some time ago I used Ruby to compile SASS to CSS. And everything was fine. Ruby is now deprecated and not recommended for compiling SASS.

I installed Dart. Began to compile them. It does this much faster and supports new features.
But I started getting errors. For example, this code throws an error:

$main_color: #333333;
background:  $main_color  + 70;

The fact is that in the new version of SASS, support for such color addition was removed.

I often have to work with old sites. And changing the error-producing code in them, when you need to add just a couple of lines of code to add, say, a new button, is such an option.

Is it possible to use Dart to compile, but without having to fix a bunch of errors due to the fact that SASS code was written a long time ago? That is, is it possible to somehow change the version of the SASS compiler for Dart (or other languages ​​for compilation)?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question