max / makenotwork
- Co-Authored-By
- Claude Opus 5 (1M context) <noreply@anthropic.com>
1 file changed,
+14 insertions,
-9 deletions
| @@ -11,12 +11,12 @@ | |||
| 11 | 11 | // Compile the TypeScript frontend to static/dist/ (best-effort, see fn). | |
| 12 | 12 | build_frontend(); | |
| 13 | 13 | ||
| 14 | - | // The two generated stylesheets. Spacing comes from makeover-geometry and | |
| 15 | - | // composition from makeover-webview, the same way colour already comes | |
| 16 | - | // from makeover through theming.rs. Written into static/ rather than a | |
| 17 | - | // bundle directory because the server serves its stylesheets; both are | |
| 18 | - | // gitignored, since the crates are the source and a checked-in copy would | |
| 19 | - | // drift from the pin. | |
| 14 | + | // The three generated stylesheets. Spacing comes from makeover-geometry, | |
| 15 | + | // time from makeover-timing and composition from makeover-webview, the | |
| 16 | + | // same way colour already comes from makeover through theming.rs. Written | |
| 17 | + | // into static/ rather than a bundle directory because the server serves | |
| 18 | + | // its stylesheets; all three are gitignored, since the crates are the | |
| 19 | + | // source and a checked-in copy would drift from the pin. | |
| 20 | 20 | // | |
| 21 | 21 | // No explicit touch selector: density hangs off (hover: none), | |
| 22 | 22 | // (pointer: coarse) alone, because the server has no mode class to key it | |
| @@ -57,6 +57,10 @@ | |||
| 57 | 57 | } | |
| 58 | 58 | ||
| 59 | 59 | makeover_build::geometry_css("static/geometry.css", None); | |
| 60 | + | // The time axis, beside the spacing one and for the same reason: the | |
| 61 | + | // durations are makeover-timing's answer, and a number typed into a | |
| 62 | + | // hand-written sheet here is the drift that crate exists to end. | |
| 63 | + | makeover_build::timing_css("static/timing.css"); | |
| 60 | 64 | makeover_build::layout_css("static/layout.css", &makeover_build::Emit::default()); | |
| 61 | 65 | ||
| 62 | 66 | // The embeds get their own copy of the spacing layer, because they are | |
| @@ -200,11 +204,12 @@ | |||
| 200 | 204 | // the TypeScript changes. Read-only: the inputs under frontend/src are the | |
| 201 | 205 | // watched trigger (in build_frontend); watching the outputs would loop. | |
| 202 | 206 | hash_dir_js(Path::new("static/dist"), &mut hasher); | |
| 203 | - | // Same treatment for the two generated stylesheets: read-only, so a bump | |
| 204 | - | // of makeover-geometry or makeover-webview busts `?v=` without the build | |
| 205 | - | // script watching a file it writes itself. | |
| 207 | + | // Same treatment for the generated stylesheets: read-only, so a bump of | |
| 208 | + | // makeover-geometry, makeover-timing or makeover-webview busts `?v=` | |
| 209 | + | // without the build script watching a file it writes itself. | |
| 206 | 210 | for path in [ | |
| 207 | 211 | "static/geometry.css", | |
| 212 | + | "static/timing.css", | |
| 208 | 213 | "static/layout.css", | |
| 209 | 214 | "static/embed-geometry.css", | |
| 210 | 215 | // The tokens and the @font-face rules. Note what this does NOT cover: |