Odi – A note app where notes can be apps, and apps can be plugins

chin24133 pts0 comments

before the first paint, not when the<br>bundle boots: the stylesheet's unstamped :root is dark, so a reader on<br>a light machine — the default now that the mode follows the system —<br>would get a dark flash on every load. theme.ts owns this decision for<br>the rest of the session and repeats it on boot; the duplication buys<br>the frames between paint and hydration, and is why both halves have to<br>agree on the key name and on "anything not light/dark means system".<br>(A browser still holding the pre-rename `ozodi.theme` value flashes<br>once, until storage.ts migrates it.) -->

Odi — notes that do things

dark notes apps paint light system

Related Articles