Stylesheet: scale leaks, dead rules, undefined classes #131

closed cmc opened this on 2026-09-03 05:17 UTC · design web · milestone v1.11.0

Discussion

cmc 2026-09-03 05:17 UTC

74 hex literals in style.css. Off-scale values at :224 (0.28rem), :721 (1.8rem), :1193 (1.9rem), :1303 (4rem), :471 (rgba(0,0,0,.12)). :1372 uses undefined --rad-2 with a 6px fallback, breaking the 2px radius rule. Dead: .container, .repogrid (:1415), .railsettings (:290), .mirrorline/.mirrorerr (:1010); form.inline defined twice (:353, :735), .repohead .topics twice with conflicting margins (:338, :1009); :760 dark block is a no-op. Templates use .primary (mr.html:103, account.html:32, mrnew.html:19, builds.html:11, releases.html:16) and .pathbar .actions, neither defined. Three breakpoints (40, 52, 62rem) are not unified.

Remedy: one cleanup pass; define .primary; add the two display sizes to the type scale.

closed by commit 43a8eaa579 by cmc: css: dead rules out, off-scale values on the scale, undefined classes resolved

2026-09-04 04:18 UTC