How to customize daisyui color varibles? #2821
-
Hi there! I want to custom the button background in daisyui: .btn {
@apply bg-base-content/5 backdrop-blur ...;
} but the color modifier classes such as I noticed that |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
What is your expected behavior? 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 Let me know if you have a question. |
Beta Was this translation helpful? Give feedback.
What is your expected behavior?
Because I think it makes sense when you set a background color for
btn
it effects everything withbtn
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 forbtn
if you want a special style of button.Let me know if you have a question.