Assembly Requirements
Darkify is a Chrome browser extension that applies dark mode to any website with a single toggle. Rather than maintaining per-site CSS overrides, it injects a global CSS filter at the document root — invert(1) hue-rotate(180deg) — which darkens the entire page while correcting the hue shift a raw inversion would introduce on colored text and UI elements.
A complementary counter-filter targets img, video, canvas, and picture elements specifically, canceling the parent inversion so photos and embedded media render at natural color. Users tune brightness, contrast, and grayscale via sliders in the popup, with changes applied to the active tab in real time. Per-domain exceptions let specific sites stay in their original mode, persisting across sessions via chrome.storage.local.
