Chrome adds Dark Mode support to Scrollbars for some websites

Scrollbars and forms controls of the websites that support dark themes by using Prefers-color-scheme media query to appear darker as well in the Chrome browser in the dark mode.

website Scrollbars dark Chrome after form controls dark mode flag

The dark mode is everywhere. It has been enabled and offered on Apps, Websites, and Operating Systems on devices.

When a user sets the Operating System – Android, Windows, Mac, Linux, and Chome OS- theme to dark, Chrome user interface such as a menu, toolbar, tab bar, and settings turns to dark, but not the content on websites.

There is a flag available for Chrome (and Edge) on desktop and Android platforms for users to force dark mode for web content. This has been recently made available as a setting by Vivaldi on its Android version, but still, the scrollbar doesn’t appear dark.

The bright/white scrollbars on dark theme sites that use Color-scheme meta tag may look ugly, Google Chrome has now a fix available for this behind a flag named ‘Web Platform Controls Dark Mode’ in the Canary version.

The ‘form controls dark mode’ available for Windows, Mac, Linux, and Chrome OS when enabled, shows scrollbars and forms controls as dark in the dark mode.

Web Platform Controls Dark Mode

If enabled, forms controls and scrollbars will be rendered with a dark theme, only on web pages that support dark color schemes, and when the OS is switched to dark theme. – Mac, Windows, Linux, Chrome OS

Here is how you can make scrollbars to appear dark in Chrome

1. Visit Chrome://flags page

2. Search for “Web Platform Controls dark mode”

Web Platform controls dark mode flag

3. Select ‘Enabled’ from the dropdown

4. Restart the browser

If you’re using Windows 10,

  • Click on Start> Settings > Personalization
  • Select Colors, under Choose your default app mode, select ‘Dark’

Switch to Chrome, visit https://enbulleiugnen.com/ to see this site’s scrollbar going dark.

Chrome and Firefox support dark themes for websites from version 76 and 67 respectively.

Related articles:

Google Chrome on Windows 10 to get dark mode Support

You can now enable dark mode on all websites in Chrome Canary on desktop

You can now enable dark mode on all websites in Chrome Canary on desktop

Chrome on Android: darken websites from Themes Settings

Chrome 76 and Firefox 67 to support dark theme for Websites

Venkat Eswarlu

Venkat is an independent technology journalist and the founder of Techdows. He has been covering web browsers, Windows, and software news since 2009. His exclusive scoops on Chrome, Firefox, and Edge features have been cited by Forbes, TechCrunch, Wired, CNET, and other major publications.

Leave a Reply

Your email address will not be published. Required fields are marked *