Commit ba4c0b6f23

ba4c0b6f23c58d0c8c384a164720d2d6d48529d5

parent: 7c598c8f36

Verified · cmc

cmc <hello@cleberg.net> · 2026-11-12 04:33 UTC

style(design): FINDING-013 — declare color-scheme for dark-mode browser surfaces

Layout: unified · split

theme/static/styles.css +1 −1
@@ -13,7 +13,7 @@
13 :root { --bg: #111317; --fg: #ebebe6; --soft: #9a9da4; --raise: #1b1d23; --rule: #2a2c33; --link: #8db6f2; --visited: #c79bf2; --focus: #8db6f2; } 13 :root { --bg: #111317; --fg: #ebebe6; --soft: #9a9da4; --raise: #1b1d23; --rule: #2a2c33; --link: #8db6f2; --visited: #c79bf2; --focus: #8db6f2; }
14} 14}
15* { box-sizing: border-box; } 15* { box-sizing: border-box; }
16html { -webkit-text-size-adjust: 100%; } 16html { -webkit-text-size-adjust: 100%; color-scheme: light dark; }
17body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1.0625rem/1.65 var(--font); -webkit-font-smoothing: antialiased; } 17body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1.0625rem/1.65 var(--font); -webkit-font-smoothing: antialiased; }
18a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .18em; } 18a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .18em; }
19:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; } 19:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }