قالب وردپرس درنا توس
Home / Technology / macOS mojave's dark mode is coming to Google Chrome

macOS mojave's dark mode is coming to Google Chrome



 Google Chrome in MacOS Mojave.
Enlarge / Google Chrome in MacOS Mojave.

Samuel Axon

Apple added dark mode to macOS with its Mojave software update in September. Since then, third-party apps have been adding dark themes to go along with it, but there have been a handful of notable outliers, like Slack and Google Chrome. We've now learned that the latter of those will get a formal dark mode in an upcoming release, probably Chrome 73.

As noted on Reddit and reported by MacRumors, a code change was submitted to Chromium on December 5 that lay the groundwork for the future public release.

Mac: Change dark mode optout logic and response to system changes

This change hooks up the "DarkMode" feature, allowing for three states
in Mojave :
̵

1; –force-dark-mode for dark appearance unconditionally
– –enable-feature = DarkMode to track system dark mode status
– No flags / default state is light appearance unconditionally

Since We build with an SDK <10.14, we still need the Info.plist
key, but it must now be false.

Some related changes:
– Make Omnibox tint respond to OnNativeThemeChanged
– React immediately

Chromium is the first stop for changes to Chrome, with more steps along the way like the beta release, before the changes finally make it to the public release. Even in Chromium, the feature requires digging into code to activate, so this is early along. But dark mode is clearly on the way.

Presently, there are third-party dark themes available for Chrome, but not all elements in the Chrome UI can be made dark in those. This update would add a comprehensive dark mode.

The line in the notes about tracking the system's dark mode status is also key. Mens tredjeparts Chrome Dark Themes eksisterer, vil Chrome ikke registrere når systemet ditt bytter til mørk modus og aktiverer disse temaer automatisk. Many popular apps (like Todoist) offer dark themes, but you have to manually switch each of these apps after activating dark mode. Others, like Apple Mail, detect the system state. The latter is obviously preferable, as it saves the user some legwork. Det ser ut til at Chrome vil ta den foretrukne tilnærming når denne funksjonen er publisert til offentligheten.

      


Source link