01Chapter 1: How dark mode works on the webAssume you know basic HTML and CSS selectors, the cascade, CSS color values, and basic JavaScript DOM operations. You should understand that a media query applies styles only when its condition is true.1 min read
02Chapter 2: Semantic color tokens for light and darkAssume basic HTML and CSS, including selectors and the cascade, plus basic JavaScript for DOM attributes. The goal is to give each interface role one semantic token, then change token values instead of rewriting every component.1 min read