Skip to content

where is the css var --b2 and --bc coming from? #527

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

You must be logged in to vote

See this table for details: https://daisyui.com/docs/colors/
There are 3 shades of base colors that can be used for backgrounds.

  • base-100 (--b1)
  • base-200 (--b2)
  • base-300 (--be)

And base-content (--bc) which is used for the content or text.

If b2 and b3 are not specified in a custom theme, they will be darker shades of b1 automatically. And if bc is not defined, it will be an opposite contrast of b1 color.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lsbyerley
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