sass / libsass

A C/C++ implementation of a Sass compiler
https://sass-lang.com/libsass
Other
4.34k stars 463 forks source link

random($limit) should no longer ignore units #3175

Closed Goodwine closed 2 years ago

Goodwine commented 2 years ago

See https://github.com/sass/sass/issues/1890

input.scss

a {b: random(1px)}

Actual results

a {b: 1;}

Expected result

a {b: 1px;}
Goodwine commented 2 years ago

nvm libsass is deprecated