Open 1977er opened 10 months ago
@MyIgel @weeman1337 could you have a look at this please? :)
One could also add a watch to window.matchMedia("(prefers-color-scheme: dark)");
when fixing this, so that one can have mode: auto
in the config as well
Was removed here:
i believe a window.matchMedia("(prefers-color-scheme: dark)")
should switch the layer to a mode with night ...
Expected Behavior
In v12.3.0 the config (see below) kicks in the dark mode. Black background, inverted textcolors etc.
Current Behavior
Since v12.4.0 this does not work anymore. The normal light mode css stuff is used.
Steps to Reproduce
My config looks like this:
mode: night
in one of your mapLayersContext
Your Environment
v12.4.0
LibreWolf v120.0-1
macOS 14.2.1
https://hannover.freifunk.net/friedhof/
(irrelevant, since I reverted back to v12.3.0Screenshots