Back in September,it was discovered that Google was hard at work creating a dark mode for Google Chrome to be used when macOS system-wide dark mode (which arrived in 10.14 Mojave) was enabled. Now confirmation is rolling in that Google Chrome for windows 10 will not be left out of the fun, and, in fact, you can try an early version of dark mode today.

According to a bug report , discovered by Techdows , Google has intended since at least May of last year that Chrome should respect Windows 10’s dark mode setting. One user was bold enough to comment that it seems odd for the bug tracking macOS Mojave’s dark mode support to be tagged Priority 1 (the second highest priority), while Windows 10’s dark mode is one level lower at Priority 2.

Comments on a code change we found in Chromium’s Gerrit source code management have revealed that Windows 10 was originally supposed to gain dark mode support alongside macOS. An initial version of code for Chrome to detect Windows 10’s dark mode setting was drafted in this commit, but was found to have some flaws.

These flaws lead the developer to initially halt progress on the drafted code until they could acquire a Windows laptop. Somewhat humorously, it seems this developer may have been unable to do so, and simply removed the proposed Windows code leaving only the macOS portion.

Now that we know that Google Chrome’s dark mode for Windows and macOS should be near identical, we can use information about the macOS version and apply it to Windows. Namely, how to enable it manually. To make dark mode easier for developers to test early on (and for devices that may not have the system-wide dark mode setting), the Chrome developers included a command flag to force the browser to use dark mode.

The dark mode feature hasn’t landed on Chrome stable or beta yet, but is available in Chrome Canary for Windows, including older versions like Windows 7. You can enable it yourself by right-clicking your Chrome Canary shortcut, choosing Properties, then adding “ force-dark-mode ” to the Target, as seen below. A similar method should also work on macOS, though we have not tested this.

You can now enable Google Chrome’s dark mode on Windows, here’s what it looks  ...

Here’s a preview of how dark mode looks today on Google Chrome for Windows, but know that much of how it looks is subject to change, due to dark mode being still in-development. For example, context menus like the right-click menu now use a sleek dark gray for their background color, but still use black text, rendering them near illegible. An example screenshot from macOS indicates that this is not meant to be the case.

For comparison, here’s a pair of shots from Chrome’s Incognito mode, which many of Chrome’s dark mode color choices are based on.

Google Chrome’s dark mode is still under constant development and is sure to see improvements in the coming weeks. We’ll be keeping an eye out for these and updating as needed.

Check out 9to5Google on YouTube for more news:

本文系统(windows)相关术语:三级网络技术 计算机三级网络技术 网络技术基础 计算机网络技术

本文标题:You can now enable Google Chrome’s dark mode on Windows, here’s what it looks ...

技术大类 技术大类 | 系统(windows) | 评论(0) | 阅读(221)