MacOS Mojave 10.14.4 enables auto-dark mode on web sites with black themes
“Safari on the macOS Mojave 10.14.4 beta, which was released last week, permits websites to automatically adapt their styling to complement Mojave’s dramatic new Dark Mode,” Christian Zibreg reports for iDownload Blog.
“Apple in October put out Safari Technology Preview 68 with support for the prefers-color-scheme
media query for styling dark mode content,” Zibreg reports. “This experimental feature’s now made its way into the Safari browser that ships in the macOS Mojave 10.14.4 developer beta.”
“When macOS Mojave 10.14.4 releases, turning on Mojave’s Dark Mode in System Preferences will now change the styling on websites you visit accordingly. This will, of course, require web developers to implement black themes and adopt the new media query,” Zibreg reports. “If you have the macOS Mojave 10.14.4 beta installed, you can try this out yourself by visiting Kevin Chain’s example webpage, then switch between Light and Dark mode in System Preferences to see the website automatically apply an appropriate theme.” Websites that support dark themes still appear white in the current macOS Mojave 10.14.3, but on MacOS Mojave 10.14.4 they automatically adapt to OS appearance.