Chrome Will Allow Sites to Check Your OS Dark Mode Settings
#1
Quote:Google Chrome and Mozilla Firefox will soon support a new CSS media query called 'prefers-color-scheme' that let's sites know whether you prefer a dark mode, light mode, or have no preference.
 
In a post to Chromium's blink-dev mailing list, Chromium developer Rune Lillesveen has stated that they plan on releasing support for the the prefers-color-scheme media query in Chrome 76. 
 
This media query will allow web sites to see what color preference is configured on visitor's operating system.
 
"Support the media query feature 'prefers-color-scheme' from Media Queries Level 5 to let authors adapt web content to user-selected themes in the OS or browser. For instance by selecting dark instead of light appearance in MacOS. Keywords: 'light', 'dark', 'no-preference'."

Using this query, sites can automatically use a dark mode theme if your OS is configured to use one as well, making the site, browser, and operating synchronized in color preferences.

SOURCE: https://www.bleepingcomputer.com/news/so...-settings/
[-] The following 3 users say Thank You to silversurfer for this post:
  • Deep900, harlan4096, ismail
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Recent Posts
Brave 1.91.172 (Jun 12, 2026)
Release Notes v1.9...harlan4096 — 11:13
AdGuard VPN for Windows 2.9.3
AdGuard VPN for Wi...harlan4096 — 11:12
Microsoft Edge 149.0.4022.69
Version 149.0.4022...harlan4096 — 11:11
QOwnNotes
26.6.5 Added edit...Kool — 12:03
Microsoft Edge Moves to Two-Week Release...
Microsoft has anno...harlan4096 — 10:44

[-]
Birthdays
Today's Birthdays
No birthdays today.
Upcoming Birthdays
avatar (39)Tedscolo
avatar (46)brakasig
avatar (45)JamesReshy
avatar (47)Francisemefe
avatar (40)leoniDup
avatar (39)Patrizaancem
avatar (39)biobdam
avatar (40)storoBox
avatar (48)kinotHeemn
avatar (39)Ceballos1976
avatar (40)efynu

[-]
Online Staff
There are no staff members currently online.

>