Hi,
this plugin looks very promising for creating themes without duplicating work in the markup. However, I instantly ran into an issue when trying it out: So I have a bunch of color object definitions I want to to handle in a theme. That syntax is supported in Tailwind CSS color definition, but didn't work with tw-colors.
I suppose I could flatten the values (foreground-100,foreground-200, ...), but ideally it should work just as Tailwind CSS config definition, right? What do you think?
I looked into the code to see if I could figure out how add this functionality, but couldn't figure it out.
Hi, this plugin looks very promising for creating themes without duplicating work in the markup. However, I instantly ran into an issue when trying it out: So I have a bunch of color object definitions I want to to handle in a theme. That syntax is supported in Tailwind CSS color definition, but didn't work with tw-colors.
Example:
I suppose I could flatten the values (
foreground-100
,foreground-200
,...
), but ideally it should work just as Tailwind CSS config definition, right? What do you think?I looked into the code to see if I could figure out how add this functionality, but couldn't figure it out.