toggle_color_mode #858
Unanswered
jakobschlosser97
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How does the pc.toggle_color_mode method work? I built a basic website with a navbar (using the navbar recipe from the docs). It all works pretty well and this built in function to toggle dark mode also works very well, but only until i define the color of a component myself as e.g. "white". Then this component stays white forever.
Is it possible to define color pairs myself that replace each other when toggling the color mode?
Beta Was this translation helpful? Give feedback.
All reactions