Skip to main content

max / goingson

Stop the file banner from truncating itself and eating the token block The FILE STRUCTURE note documented the section-header convention by writing a literal comment terminator inside the top banner comment. That closed the banner at line 38, so clean-css parsed the next 160 lines of prose as selectors and swallowed the :root block whole. Every design token has been absent from styles.min.css since fb5dc3b (2026-07-24), and index.html loads only the minified file. Spacing, radius, border width, type scale and shadows have all been resolving to nothing in the shipped app; colors survived because themes.js sets the intents at runtime.
Co-Authored-By
Claude Opus 5 (1M context) <noreply@anthropic.com>
Author: Max Johnson <me@maxj.phd> · 2026-07-26 22:55 UTC
Signed with PGP, not checked
Commit: f7b80ff97f7d78fa562c5eefa1ef45d8492d2ad7
Parent: 0dd9176
1 file changed, +2 insertions, -1 deletion
@@ -34,7 +34,8 @@
34 34 `.work-hours-row` (all 2026-05-24) for the canonical form.
35 35
36 36 FILE STRUCTURE: search by BAND name (uppercase anchors) to navigate.
37 - Per-section titles use `/* N. Title */` headers; numbered for stability,
37 + Per-section titles use numbered CSS-comment headers ("3. Design System
38 + Variables"); numbered for stability,
38 39 not because order matters. Bands group related sections; cascade order is
39 40 load-bearing only inside the RESPONSIVE LAYERS and PRINT LAYERS bands.
40 41