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.
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.