Scoping with [background,border,...]-color-* theme variables #17017
-
In Tailwind 4, the doc mentions that defining a theme variable like I noticed we can "scope" colors by prefixing them. For example, the following code generates utility classes like
I'm happy to see it works that way, however, I couldn't find anything about this in the doc. It only mentions the Is this an intended and supported way to define theme variables? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Just noticed the question was asked here #16111 Maybe it would be worth mentioning this behavior in the documentation ? cc @philipp-spiess |
Beta Was this translation helpful? Give feedback.
Just noticed the question was asked here #16111
Maybe it would be worth mentioning this behavior in the documentation ? cc @philipp-spiess