How do you customize Tailwind CSS colors? #15668
-
I want to change the overall theme of my website without reassigning the variables everywhere |
Beta Was this translation helpful? Give feedback.
Answered by
AidenJastrzembski
Jan 19, 2025
Replies: 2 comments 3 replies
-
Edit the theme.extend.colors section in tailwind.config.js.
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Hadyen888
-
I usually define brand colors inside brand object with config.js.
what I am asking, is there any way to do like object based without repeating --color- each line ? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Edit the theme.extend.colors section in tailwind.config.js.
it would look like this