Complete TailwindCSS Color Palette as CSS Custom Properties.
- Copy the
colors.css
file into your styles directory. - Use
@import url("./colors.css");
to import and use the colors in your existing stylesheet. - Done! Use the properties in your projects like this:
var(--violet600)
for#7c3aed
Please use the official TailwindCSS Colors Documentation for reference.