This PR changes how color schemes are handled in the panel.
Instead of having separate assets for light and dark themes, color schemes are switched via css variables and classes on the root element.
The ColorScheme enum simplifies the specification of current and supported color schemes.
Now when the color scheme is auto, themes are switched when prefers-color-scheme changes.
This PR changes how color schemes are handled in the panel. Instead of having separate assets for light and dark themes, color schemes are switched via css variables and classes on the root element. The
ColorScheme
enum simplifies the specification of current and supported color schemes. Now when the color scheme isauto
, themes are switched whenprefers-color-scheme
changes.