Skip to content

Get tailwindcss colours in your regular, plain CSS files without installing tailwind.

License

Notifications You must be signed in to change notification settings

kjartanhr/tailwind-colours-in-regular-css

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tailwind-colours-in-regular-css

Get tailwindcss colours in your regular, plain CSS files without installing tailwind.

why

Useful if you're lazy (like me) and always use Tailwind default colours everywhere, but aren't using Tailwind this one time.

how to use parse-colours.js

Copy the table (and only the table) from https://tailwindcss.com/docs/customizing-colors and paste it into the raw constant defined in the parser file.

The code is very hastily written so don't take it for granted that it'll work if Tailwind Docs' layout changes.

license

MIT because https://github.com/tailwindlabs/tailwindcss/blob/master/LICENSE

About

Get tailwindcss colours in your regular, plain CSS files without installing tailwind.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published