Extend colors of the existing colors palette #4005
imaliouris
started this conversation in
Ideas / feature requests
Replies: 1 comment 6 replies
-
|
We can add new colors: The components won't be generated for the custom colors automatically. You have to add them like: .btn-light {
--btn-color: var(--color-light);
--btn-fg: var(--color-light-content);
}Example: https://play.tailwindcss.com/PbTT1ojUIT?file=css Is it a good idea to have a button called |
Beta Was this translation helpful? Give feedback.
6 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.
-
It would be great if we could have a way to extend the current colors.
i.e.
I would expect the
--color-lightto create a new classbtn-lightetc. as all the other colors doBeta Was this translation helpful? Give feedback.
All reactions