Link the time axis: makeover-build 0.52.0 writes frontend/css/timing.css
tauri_frontend writes a fourth sheet now. The shell links it beside
geometry, the asset table serves it, and the serve-what-is-linked test
covers it: a sheet written and not served is an unstyled screen rather
than a missing file.
- Co-Authored-By
- Claude Opus 5 (1M context) <noreply@anthropic.com>
5 files changed,
+19 insertions,
-5 deletions
| 67 |
67 |
|
|
| 68 |
68 |
|
# Generated by src-tauri/build.rs from makeover-geometry's scale
|
| 69 |
69 |
|
/src-tauri/frontend/css/geometry.css
|
|
70 |
+ |
/src-tauri/frontend/css/timing.css
|
| 70 |
71 |
|
/src-tauri/frontend/css/layout.css
|
| 71 |
72 |
|
/src-tauri/frontend/css/tables.css
|
| 72 |
73 |
|
/src-tauri/frontend/css/typography.css
|
| 3444 |
3444 |
|
|
| 3445 |
3445 |
|
[[package]]
|
| 3446 |
3446 |
|
name = "makeover-build"
|
| 3447 |
|
- |
version = "0.51.0"
|
|
3447 |
+ |
version = "0.52.0"
|
| 3448 |
3448 |
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 3449 |
|
- |
checksum = "1fdd63f552182f0c39a0416a4420ecfb66c89e4a11531878b4a832d6ebc6aad7"
|
|
3449 |
+ |
checksum = "7b10f15fe8101177872c65b4bf2dc521a98975a42cee7b1ddfb2646fdcbfaaa9"
|
| 3450 |
3450 |
|
dependencies = [
|
| 3451 |
3451 |
|
"makeover",
|
| 3452 |
3452 |
|
"makeover-geometry",
|
|
3453 |
+ |
"makeover-timing",
|
| 3453 |
3454 |
|
"makeover-webview",
|
| 3454 |
3455 |
|
]
|
| 3455 |
3456 |
|
|
| 3465 |
3466 |
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 3466 |
3467 |
|
checksum = "774bfd81b003f0d0059ff50daa8e625e6969175bc0132ddf7c2108bba40c47d5"
|
| 3467 |
3468 |
|
|
|
3469 |
+ |
[[package]]
|
|
3470 |
+ |
name = "makeover-timing"
|
|
3471 |
+ |
version = "0.1.1"
|
|
3472 |
+ |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3473 |
+ |
checksum = "c83b1e0502c0179754752e59dd98fa4b15df8f9d0b454e0291b80c984aa2bd49"
|
|
3474 |
+ |
dependencies = [
|
|
3475 |
+ |
"makeover-geometry",
|
|
3476 |
+ |
]
|
|
3477 |
+ |
|
| 3468 |
3478 |
|
[[package]]
|
| 3469 |
3479 |
|
name = "makeover-touch"
|
| 3470 |
3480 |
|
version = "0.24.0"
|
| 18 |
18 |
|
# Materialises all three generated files: themes/, geometry.css, layout.css,
|
| 19 |
19 |
|
# and holds both drift checks this build.rs used to carry itself: touch density
|
| 20 |
20 |
|
# as of 0.17, breakpoints as of 0.18.
|
| 21 |
|
- |
makeover-build = "0.51.0"
|
|
21 |
+ |
makeover-build = "0.52.0"
|
| 22 |
22 |
|
# Cuts the two house faces into frontend/fonts/. A git dependency because
|
| 23 |
23 |
|
# quasi-type is `publish = false`, which is also why makeover-build cannot do
|
| 24 |
24 |
|
# this and only emits the CSS that fetches the result. The rev is the one
|
| 35 |
35 |
|
// typography before the sheet that reads their custom properties.
|
| 36 |
36 |
|
"/static/typography.css" => (CSS, include_bytes!("../../frontend/css/typography.css")),
|
| 37 |
37 |
|
"/static/geometry.css" => (CSS, include_bytes!("../../frontend/css/geometry.css")),
|
|
38 |
+ |
"/static/timing.css" => (CSS, include_bytes!("../../frontend/css/timing.css")),
|
| 38 |
39 |
|
"/static/layout.css" => (CSS, include_bytes!("../../frontend/css/layout.css")),
|
| 39 |
40 |
|
"/static/styles.css" => (CSS, include_bytes!("../../frontend/css/styles.css")),
|
| 40 |
41 |
|
|
| 98 |
99 |
|
for path in [
|
| 99 |
100 |
|
"/static/typography.css",
|
| 100 |
101 |
|
"/static/geometry.css",
|
|
102 |
+ |
"/static/timing.css",
|
| 101 |
103 |
|
"/static/layout.css",
|
| 102 |
104 |
|
"/static/styles.css",
|
| 103 |
105 |
|
"/static/htmx.min.js",
|
| 353 |
353 |
|
pub fn document_shell() -> quasi_webview::Shell {
|
| 354 |
354 |
|
quasi_webview::Shell::under("quasi://localhost/static")
|
| 355 |
355 |
|
// The same order and the same layers index.html declared, because it is
|
| 356 |
|
- |
// the same cascade: geometry and typography before the sheet that reads
|
| 357 |
|
- |
// their custom properties.
|
|
356 |
+ |
// the same cascade: the value sheets before the sheet that reads their
|
|
357 |
+ |
// custom properties.
|
| 358 |
358 |
|
.layered(["base", "components", "responsive"])
|
| 359 |
359 |
|
.styled("/static/typography.css")
|
| 360 |
360 |
|
.styled("/static/geometry.css")
|
|
361 |
+ |
.styled("/static/timing.css")
|
| 361 |
362 |
|
.styled("/static/layout.css")
|
| 362 |
363 |
|
.styled("/static/styles.css")
|
| 363 |
364 |
|
// Last, so the chosen theme's intent tokens override the stock ones
|