[v4] How to extend or replace colors in certain utilities? #15187
Unanswered
IvanKalinin
asked this question in
Help
Replies: 1 comment 2 replies
-
Yep: @theme {
--border-color-active: #111111;
} |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The namespace
--color-*
globally extends colors for all color utilities, including but not limited to bg-* text-, or fill-...In v3 tailwind.config.js it is allowed to extend color for certain utilities.
e.g. the snippet below will only create color utility for border: border-active, and will not apply it to bg-, text-, etc.
Beta Was this translation helpful? Give feedback.
All reactions