Skip to content

How to customize the colors of disabled buttons? #2812

Closed Answered by saadeghi
jaimeiniesta asked this question in Q&A
Discussion options

You must be logged in to vote

By default, it's neautral color with 20% opacity. So if you change the neutral color it will also change (with 20% opacity)

You can apply a different color using utility classes or from config:
https://play.tailwindcss.com/PDO9MRQbNI?file=config

Let me know if you have a question.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@jaimeiniesta
Comment options

Comment options

You must be logged in to vote
1 reply
@jaimeiniesta
Comment options

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
4 participants