Skip to content

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

Description

@donfour

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions