Repository navigation
Adaptive Dark Mode 1.0.0
First public release of Adaptive Dark Mode for Chrome, a Manifest V3 extension modelled on the Adaptive Dark Mode in Safari 27.3.
Install
- Download adaptive-dark-mode-1.0.0.zip below and unzip it.
- Open
chrome://extensions, turn on Developer mode, click Load unpacked and pick the unzipped folder. - Browse with your system in dark mode, or set Runs → Always in the toolbar popup.
What's in it
- Rule-level color overrides covering
@media,@supports,@layer,@container,@scope, nesting,@import, cross-origin sheets, shadow roots, CSS-in-JS, inline styles and legacybgcolor. - A contrast-preserving luminance flip in OKLCH that keeps hue, calibrated against Apple's published screenshots.
- Text pushed to WCAG 4.5:1 (or 7:1) against what is actually painted behind it.
- Black-and-white logos and dark icons inverted. Photos, video and canvas left alone.
- Sites with their own dark theme or
color-schemedeclaration left untouched. - A "This page is bright · Try" offer, a toolbar popup, an options page and Alt+Shift+D.
See the README for verification results and known limits, and docs/how-safari-does-it.md for the research.
Independent project, not affiliated with or endorsed by Apple.
