react-custom-properties icon indicating copy to clipboard operation
react-custom-properties copied to clipboard

Sass?

Open loconluis opened this issue 6 years ago • 3 comments

Sass supported?

loconluis avatar Jun 01 '18 23:06 loconluis

Hey, I’m not entirely sure what you mean by that. Could you give an example of what you would like to achieve?

danbahrami avatar Jun 02 '18 07:06 danbahrami

Hello @danbahrami , I read your post about how to use Sass and Css variables, but I would like to know if it is possible to assign a variable CSS to a variable SASS.

I think is not possible,

loconluis avatar Jun 04 '18 04:06 loconluis

What you said is not possible because Sass is compiled into CSS. Sass is not executed at browser runtime. You can use Sass variables to define the initial properties of CSS variables, which is what I mentioned in my article.

I hope that makes sense?

danbahrami avatar Jun 04 '18 07:06 danbahrami