New code discovered by Guilherme Rabo of 9to5Mac in Apple’s WebKit developer library (responsible for Safari in macOS and iOS) hints at a new dark mode in macOS 10.14.
This new code allows WebKit to render a website based on the appearance of the application running it. This means that it can change the color of buttons and other UI elements of the website.
There has actually been a dark mode present in macOS since El Capitan, but it could only be used if a developer specifically enabled it in their app code. The new update to WebKit makes it so that this dark mode will be enabled if the current system appearance is dark, suggesting that a system-wide dark mode could be coming.
This new dark mode will give the two operating systems, which haven’t had a style change for several years, a refreshing new look.
For anyone experienced in Objective-C who wants to have a further look at this new code, here it is:
So, do you want a new dark mode on macOS and iOS? Tell us in the comments below.