rails / tailwindcss-rails

Other
1.37k stars 165 forks source link

How do I get the color palette from the tailwind docs to work? #324

Closed dmill closed 5 months ago

dmill commented 5 months ago

Discussed in https://github.com/rails/tailwindcss-rails/discussions/323

Originally posted by **dmill** February 1, 2024 Hello, I'm working on a fresh rails 7 app with `-c tailwind`. I am unable to use the default colors documented [here](https://tailwindcss.com/docs/customizing-colors#using-the-default-colors). I've been googling around for this for awhile and nothing seems to work to get these colors to load. They work just find with a fresh react/next setup. Can anyone advise as to how to get these working in Rails without manually defining each color in `tailwind.config.js`?
flavorjones commented 5 months ago

I've replied in #323