Skip to content

tw.color not supporting dark prefix #345

@andre-krueger

Description

@andre-krueger

When using the tw.color function, the dark prefix is ignored.

For example:
tw.color("dark:text-red") doesn't result in a red text color if dark mode is enabled.

It seems that prefix parsing is done in the UtilityParser, maybe the color function also needs to use that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions