Answer the question
In order to leave comments, you need to log in
Escaping in SASS?
:root {
--color: 240, 240, 240;
}
.base-bg {
background: rgba(var(--color), 0.92);
}
Answer the question
In order to leave comments, you need to log in
update sass.
he knows how to do this for several months as https://github.com/sass/dart-sass/releases/tag/1.0...
var() may now be passed in place of multiple arguments to rgb(), rgba(), hsl() and hsla().
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question