Skip to content

How to customize daisyui color varibles? #2821

Closed Answered by saadeghi
Reverier-Xu asked this question in Q&A
Discussion options

You must be logged in to vote

What is your expected behavior?
Because I think it makes sense when you set a background color for btn it effects everything with btn class.

I would suggest defining the colors in theme config instead of manually customizing the color of a button.

Or you can use a new class name like blurry-btn or something instead of rewriting the style for btn if you want a special style of button.

Let me know if you have a question.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by saadeghi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants