Global colors not set as css variables
Hey guys,
I just noticed that predefined colors are not consistently set and referenced as CSS variables in generated markup. Instead, there are classes used like 'brz-cp-color4' that have a hex or rgb-color-value set. I just found this is the case on text elements like paragraphs or headings but might be so on other elements as well.
I'd like to suggest to also set them as CSS variables instead in order to be able to easily implement things like theme color switches for site visitors like a light/dark mode.
What is your perspective on this?
Thanks!
0
-
Hi Daniel,
We have added a Feature Request to set global colors as CSS variables. We will work on implementing this.
0 -
Sounds good, thanks!
0
Please sign in to leave a comment.
Comments
2 comments