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

Closest Tailwind color is sometimes too different from design's color #93

Open
donfour opened this issue Jun 2, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@donfour
Copy link
Contributor

donfour commented Jun 2, 2023

Describe the bug
Not really a bug, but the current set of Tailwind colors is sometimes too limiting. For example, the closest tailwind color to the neon yellow color #DBF301 is yellow-500, which is quite different. See example below:

Design:
Screen Shot 2023-06-02 at 10 01 45 AM

Generated page:
Screen Shot 2023-06-02 at 10 01 24 AM

Solution
Implement a check that when the closest TW color is still too different from the given color, we should hardcode the color instead.

@donfour donfour added the bug Something isn't working label Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant