Skip to content

Some Tailwind 4 color variables are undefined when used with ReactFlowbite #1582

Open
@dami-bang-olufsen

Description

@dami-bang-olufsen

Current behavior

Tailwind 4 exposes color variables like --color-gray-300, --color-sky-300, etc.
ReactFlowbite overwrites some of the colors and for them the color variables definitions are lost.
The colors that are not overwritten by ReactFlowbite are defined.

On this screenshot "gray" is one of the colors redefined by ReactFlowbite and is undefined:
Image

On this screenshot "sky" is one of the colors not redefined by ReactFlowbite and is defined:
Image

Expected behavior

All color variables are defined.

Similar issue existed before for flowbite package. (themesberg/flowbite#1021)

Metadata

Metadata

Assignees

Labels

🐛 bugSomething isn't working

Type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions