[ad_1]
The Chrome web browser allows you to “install” some web applications on your computer, so they can live your usual applications and games. Soon, they will work even better in dark mode.
Regular apps on Mac, Windows, and some Linux distributions can change their colors and appearance when you turn on the system’s dark mode, but websites and web apps don’t have access to the same options. You can’t specify a different title bar color for dark mode (except just black) or a different background color for the home screen when you first open the web app. If the app has a bright home screen, it can be more blinding in dark mode.
Fortunately, the Chrome development team is now working on improved dark mode support for web apps. The current proposal will allow web apps to choose any color they want for the title bar and home screen backgrounds, in both light and dark modes, with more settings likely to come later. Web apps still have to specify colors, so it won’t immediately fix the blinding issue when it arrives, but it’s a quick fix for anyone hosting a web app.
The feature can be enabled in some versions of Chrome with the #enable-experimental-web-platform-features feature flag, but since it also requires web apps to define colors, it won’t make much of a difference at this point. Google also says the option won’t be compatible with Android phones or tablets. Chrome on iPhone and iPad doesn’t support installing web apps first, due to Apple’s limitations on third-party web browsers.
Source: Google Groups, GitHub
[ad_2]