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

In my latest project I imported tailwind’s colors into a map and added a function to retrieve them. My scss looks like this:

.card { color: c(gray-700); }

Same for font sizes, font family definitions, screen sizes.

I like having to remember less stuff, within my scss definitions.



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

Search: