3 ms·
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); } Sam
by andrei_says_ 6y ago
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.