Analysis on interrupts & color of titles
Build Successful The Ravenous rulebook and balance report were built successfully.
Ravenous/ravenous_typst/pipeline/head This commit looks good Details

This commit is contained in:
Dandaedre 2026-08-22 02:56:43 +02:00
parent f21f932bae
commit d120abcd3c
Signed by: Dandaedre
GPG Key ID: 440C6592E8A26D99
2 changed files with 14 additions and 6 deletions

View File

@ -100,10 +100,10 @@
grid(
columns: (1fr,) * 4,
column-gutter: 8pt,
metric-card("À contrôler", ambiguous-actions.len()),
metric-card("Niveau initial", initial-ambiguous.len(), note: [niveau 1]),
metric-card("Améliorations", upgrade-ambiguous.len(), note: [niveau supérieur à 1]),
metric-card("WIP ou vides", unfinished-ambiguous.len()),
metric-card("À contrôler", ambiguous-actions.len()),
)
[Ces lignes ne sont ni passives, ni rattachées à une prochaine occurrence, et
ne contiennent aucun coût d’action reconnu. Elles constituent la file de revue.]

View File

@ -7,6 +7,7 @@
// Load project glossaries and presentation model
#import "../generation/glossary.typ": glossary
#import "../core/macros.typ" as macros
#import "../theme/symbols.typ" as symbols
#import "../build_config.typ": build-config
#import "school.typ" as model
@ -88,6 +89,13 @@
}
}
// Recolor boxed SVG symbols to match the heading text. Keeping this show
// rule scoped to the heading body avoids affecting decorative layout boxes.
let heading-body(body, color) = {
show box: it => symbols.try-re-colorize(it, color)
body
}
//----- HEADINGS -----
// Level 1: major section
@ -103,7 +111,7 @@
weight: "bold",
fill: theme.heading,
)[
#it.body
#heading-body(it.body, theme.heading)
]
#stack(
@ -151,7 +159,7 @@
weight: "bold",
fill: theme.heading,
)[
#heading-number-content(it) #it.body
#heading-number-content(it) #heading-body(it.body, theme.heading)
]
]
@ -165,7 +173,7 @@
weight: "bold",
fill: theme.heading-accent,
)[
#heading-number-content(it) #it.body
#heading-number-content(it) #heading-body(it.body, theme.heading-accent)
]
]
@ -179,7 +187,7 @@
weight: "bold",
fill: theme.heading-subtle,
)[
#heading-number-content(it) #it.body
#heading-number-content(it) #heading-body(it.body, theme.heading-subtle)
]
]
@ -193,7 +201,7 @@
weight: "bold",
fill: theme.heading-subtle,
)[
#heading-number-content(it) #it.body
#heading-number-content(it) #heading-body(it.body, theme.heading-subtle)
]
]