-
|
I want to make buttons have one set of default colours, and for example inputs have a different set of colours. How to do it? |
Beta Was this translation helpful? Give feedback.
Answered by
Develekko
Jun 10, 2025
Replies: 1 comment 1 reply
-
|
@lyubk0 🔗 HeroUI Docs – Custom Variants For example, you can define custom color variants for buttons and a different set for inputs without them affecting each other. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
lyubk0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@lyubk0
You can achieve that by extending the original component variants for each component type (like buttons vs. inputs). HeroUI provides a clean way to customize this through your theme config.
🔗 HeroUI Docs – Custom Variants
For example, you can define custom color variants for buttons and a different set for inputs without them affecting each other.