raghu@dark-factory :~/kb/color-scheme $ cat

CSS color-scheme

The CSS `color-scheme` property (and its meta equivalent) opts a page into UA-native dark rendering so browser-drawn chrome — form controls, scrollbars, spellcheck — matches the site's theme instead of staying default-light.

grounded in: commit c74f2c5 'self-improve: Add `color-scheme: dark` to the root so UA-rendered chrome matches'

Connected concepts

Forced-colors mode, Accent-color theming, Contrast-preference query, Web accessibility (a11y)

Explore it live in the knowledge graph →