I left the arch browser, but it had a browser level function of being able to switch between light and dark mode that I liked. I still have some muscle memory for that, so in the time I spent back on other chrome -based browsers, I was looking for another browser level switch.
Chromium
Chrome can do it, but it is a bit buried in Devtools. The main setting is located under the “Rendering” tab (of which I always remember to go under the head To console tab then press ESCthen choose Reproduction In the menu with three punches). You see an option for that Emulate CSS Media Featel Prefers-Color-Scheme Where you can select light or dark.
Alternatively, it is a bit faster to use the assignment palette (assignment-shift-p) and start typing emulate And you see a quick option to switch to the desired value.

Or use the small paintbrush icon under the Elements Tab then in the Style Section.

The non-standard chrome thing
See in the first screenshot There is an institution called Switch on the automatic dark mode also. I recently made this mistake to think that this was how you turn around on dark mode, and it was noticed, hence this blog post. That Function is something chrome-specific that takes a page that may have been designed as light mode first (or alone) and forces a dark mode on it, whether it is designed or not.

The Switched on automatic dark mode Function is not particularly relevant. I think it is an idea of Chrome team that has not gone anywhere. It is not something you really have to test with/for my opinion.
Firefox
Firefox has a number of mutual exclusive buttons in DevTools under the Inspector panel. The Little Sun icon simulates preferred mode and the Moon (ISH) icon prefers the light mode. Or they both cannot fail to the system.

Safari
In Safari Devtools under the Elements Panel There is an icon to control the color modes, as well as a few other accessibility media election simulators.

Os
Apart from the non-standard Chrome thing, doing all this is as if the user has set one of the modes specifically at their OS level.

Personally, I find it a bit cumbersome to need Dev tools or go to system settings to test the dark/light mode on sites. It was nice to have a simple assignment to do it, but while I write, color modes are for the most part not really a browser level settings (let alone site-specific settings).
So I was happy to find NightfallA small macOS menu bar for changing color modes.
There is something extra fun switching at system level, because it feels like the “real” way to do it.
#Fast #dark #mode #shifts #Frontend #Masters #blog

