Skip to content

Understanding daisyUI semantic theme colors #3024

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

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

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

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