Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Does it use (shared) variables, like with SASS?

With SASS, I find it really convenient to define variables for common/brand colours, for example.



You can define a "theme" object, which you can inject into your styles (with an expression inside the template literal). Other libraries support variables more directly.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: