Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ccnklc opened this issue Apr 13, 2022 · 1 comment
Open
Labels
help wanted p3 Low priority. The Core team will not prioritize this for now

Comments

@ccnklc
Copy link
Contributor

ccnklc commented Apr 13, 2022

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
Copy link
Collaborator

dac09 commented Nov 27, 2023

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

@dac09 dac09 added help wanted p3 Low priority. The Core team will not prioritize this for now labels Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted p3 Low priority. The Core team will not prioritize this for now
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants