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

what is the 400 for?


https://tailwindcss.com/docs/text-color

Any tailwind class can have named colors ("green"), semantic colors "danger" and then you can chose the number of the gradient of that color.

There are thousands of them. Only the ones you use get compiled into the css file.


To have more than one type of green. You can use Tailwind with only one green if you want, too, but it doesn't make any sense (either in Tailwind or in FCSS)


We solve that with color--green, color--light-green, color--lighter-green, color--lightest-green, etc.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: