New Safari beta allows websites to adapt their theme to complement macOS Mojave in Dark Mode
The new Safari Technology Preview brings a much-needed feature to the Mac browser. macOS Mojave introduced a new Dark Mode system appearance, which automatically applies to the dock, menu bar, system controls, and third-party apps can update to take full advantage of the new dark theme interface. However, it is currently not possible for websites to know if the user is using the dark appearance.
This is changing soon. The new Safari beta includes support for the ‘prefers-color-scheme’ CSS media query. This will allow websites to adapt automatically to changes in system appearance. So when you are using Mojave in Dark Mode, (updated) websites can automatically use dark themes too.
The post New Safari beta allows websites to adapt their theme to complement macOS Mojave in Dark Mode appeared first on 9to5Mac.