Security News > 2021 > February > Twitter now autoswitches to dark mode based on your OS settings

Twitter now autoswitches to dark mode based on your OS settings
2021-02-03 15:54

If Twitter is suddenly using a dark mode theme, you are not alone.

Starting yesterday, Twitter automatically switched to a dark or light theme based on your operating system settings.

When switching to a dark mode based on your OS settings, Twitter will use the 'Lights Out' theme, which uses the black color for the site's background, as shown below.

In the code below, you see how Twitter checks whether the computer is configured in a dark theme, and if it is, changes the background color of the page to black.

Once I went to the Twitter display settings, located at More -> Settings and Privacy -> Accessibility, display, and languages -> Display, and changed my preference to Default, the site will no longer automatically switch between themes.

For those who do not like the new dark mode setting, you can perform the above steps and set your background to 'Default' or 'Dim' to get back to the normal Light and Dark themes.


News URL

https://www.bleepingcomputer.com/news/technology/twitter-now-autoswitches-to-dark-mode-based-on-your-os-settings/

Related vendor

VENDOR LAST 12M #/PRODUCTS LOW MEDIUM HIGH CRITICAL TOTAL VULNS
Twitter 5 0 6 2 0 8