Case Study
Midnight Gnomad
Intelligent Chrome dark mode — v1.3.2 smart invert, native-dark skip, Salesforce and Jira iframe support.
Client: David the Gnomad Inc.
- JavaScript
- Chrome Extension MV3
- chrome-extension
- dark-mode
- accessibility
Status
v1.3.2 is on the Chrome Web Store (review may lag a few hours behind this page).
Add to Chrome → · GitHub · Privacy
Overview
Midnight Gnomad darkens bright pages with a smart invert engine: CSS invert + hue-rotate at document_start (no white flash), skip when a site is already dark, keep photos and CSS background-image avatars looking right, and invert inside iframes so Salesforce Visualforce panels and Jira gadgets match the rest of the page.
Preferences stay in chrome.storage.local. Nothing is sent off-device.
v1.3.2 highlights
- Viewport sampling so Discord / YouTube Dark / GitHub dark / Jira dark are not photo-negatived
- Iframe-aware invert for Salesforce Lightning and Jira gadgets
- CSS avatar/icon
background-imagere-invert on empty leaf elements - Per-domain exclude covers embedded frames via referrer hostname