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
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:
parent
f21f932bae
commit
d120abcd3c
|
|
@ -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.]
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
]
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue