I don't know if this is intentional, but I intended to use use_color_mode() to implement a dark mode toggle button on my website, but I noticed that when I reloaded it went back to "auto", which contradicts the idea of persisting. A clear example is in the documentation itself, it is possible to see this behavior.
I don't know if this is intentional, but I intended to use use_color_mode() to implement a dark mode toggle button on my website, but I noticed that when I reloaded it went back to "auto", which contradicts the idea of persisting. A clear example is in the documentation itself, it is possible to see this behavior.