Understanding daisyUI semantic theme colors #3024
-
I have read through the daisyUI documentation on colors and it's entirely possible I missed it somewhere, but I am trying to understand how the neutral color is decided. It seems like it is base-200 using the theme generator, could that be correct? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
When you need a dark, unsaturated color which stays dark on both dark and light themes, you can use Let me know if you have a question. |
Beta Was this translation helpful? Give feedback.
When you need a dark, unsaturated color which stays dark on both dark and light themes, you can use
neutral
An example would be the code block on this page: https://daisyui.com/docs/install/ We want that to be a dark block on both light and dark themes. We can't just use a negative color (like
base-100
/base-content
) because a big white block on a dark theme is not ideal.Let me know if you have a question.