redwoodjs / redwood

The App Framework for Startups
https://redwoodjs.com
MIT License
17.29k stars 992 forks source link

Choosing tailwind or css results in different styles in terms of colors #5163

Open ccnklc opened 2 years ago

ccnklc commented 2 years ago

As you can see below the colors are different, I realised it while fixing another issue related to styling. It would be nice to align the styles for smoother transition between css frameworks.

Css:

css before

Tailwind:

tailwind before
dac09 commented 11 months ago

Thanks for pointing this out @ccnklc!

This is extremely unlikely to be picked up by the core team (we have a lot on our plate, always!) - would you be interested in doing a PR?

Instead of trying to get tailwind to match scaffold, I think it would be easier to just change the default css generated by scaffold to match tailwind. What do you think?

The change would be to this template file: https://github.com/redwoodjs/redwood/blob/main/packages/cli/src/commands/generate/scaffold/templates/assets/scaffold.css.template