Provide different color configuration for bg-, text- border- colors #17919
Answered
by
wongjn
spiess-demos
asked this question in
Help
-
In TW3 it was possible to provide different color configuration for backgroundColor, borderColor, textColor, so that i could craft distinct classes like
Is this possible, or planned, vor V4? |
Beta Was this translation helpful? Give feedback.
Answered by
wongjn
May 7, 2025
Replies: 1 comment 1 reply
-
It is possible via property-specific namespaces, i.e: @theme {
--background-color-message-success: …;
--border-color-message-success: …;
--text-color-message-success: …;
} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
spiess-demos
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It is possible via property-specific namespaces, i.e: