gp-dimm-city 1.10.1 → 1.10.2-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +88 -0
- package/package.json +2 -2
- package/styles/components/callouts.css +11 -11
- package/styles/components/cards.css +13 -10
- package/styles/components/chrome.css +5 -5
- package/styles/components/data.css +29 -24
- package/styles/components/entries.css +10 -10
- package/styles/components/section.css +19 -19
- package/styles/components/specialty-identity.css +3 -3
- package/styles/components/specialty.css +5 -2
- package/styles/dc-component-defaults.css +13 -13
- package/styles/dc-core.css +9 -7
- package/styles/dc-identity.css +44 -31
- package/styles/dc-native.css +10 -10
- package/styles/dc-palette.css +75 -60
- package/styles/page-templates.css +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,94 @@ cut a version that has no `## [X.Y.Z]` heading below.
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.10.2] - 2026-11-04
|
|
11
|
+
|
|
12
|
+
A print-colour audit against DriveThruRPG's press profile, CGATS21_CRPC1
|
|
13
|
+
([docs/print-colour-audit.md](docs/print-colour-audit.md)). Colour, tokens and
|
|
14
|
+
documentation only: no component's markup or structure changes, and every old
|
|
15
|
+
token name still works.
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- **The paper is white.** `--paper-cream` and `--paper-light` are `#ffffff`, the
|
|
20
|
+
unprinted stock with no ink (was `#f0eee9` and `#e2ded7`).
|
|
21
|
+
- **Three substrates.** White paper, `--concrete-pale` and the wall. `--paper-light`
|
|
22
|
+
and `--paper-form` are aliases of `--paper-cream`. `--paper-zine`, `--hud-panel` and
|
|
23
|
+
`--paper-aged` are aliases of `--concrete-pale`. `--paper-form` had become
|
|
24
|
+
darker than the paper it was meant to sit just under, and `--paper-aged` was
|
|
25
|
+
dE 1.0 from the wall; it is now 6.4 off it, so field chips, `code` and outcome
|
|
26
|
+
rows stand off the wall.
|
|
27
|
+
- **The purples are re-spaced inside the press gamut, against the build's own
|
|
28
|
+
separation.** In print, magenta-deep, violet, amethyst and Proxy's dark all
|
|
29
|
+
came out as one plum (within dE 1.4-3.8). alpha.1 moved them apart but
|
|
30
|
+
measured through LittleCMS at perceptual intent, which the build does not use
|
|
31
|
+
(next entry); through the build's separation its closest pairs printed
|
|
32
|
+
7.1-8.8 apart, not the "at least 8.3" it claimed. alpha.2 re-spaces them once
|
|
33
|
+
more, searched against the build's conversion. New values and their
|
|
34
|
+
separations: `--brand-magenta` `#cf217e` (pink; C2 M100 Y1 K12 = 115%),
|
|
35
|
+
`--proxy-mid` `#9c0f63` (C12 M100 Y8 K32 = 152%), `--brand-magenta-deep`
|
|
36
|
+
`#690045` (C24 M94 Y15 K56 = 189%), `--crystal-amethyst` `#905aa5` (C45 M80
|
|
37
|
+
Y0 K2 = 127%), `--brand-violet` `#662d87` (C62 M100 Y0 K16 = 178%),
|
|
38
|
+
`--signal-indigo` `#396cb7` (bluer; C86 M54 Y0 K0 = 140%), `--wirephreak-mid`
|
|
39
|
+
`#093c81` (C100 M73 Y0 K27 = 200%) and `--wirephreak-dark` `#181b45` (C66 M58
|
|
40
|
+
Y16 K69 = 209%). Each prints within dE 4.2 of the screen and at least 11.6
|
|
41
|
+
from the others after conversion; every text pairing on them holds 5.0:1 or
|
|
42
|
+
more.
|
|
43
|
+
- **Near-duplicate colours are aliases:** `--proxy-dark` is `--brand-magenta-deep`,
|
|
44
|
+
`--streetwarden-dark` and `--gutterdruid-dark` are `--fungi-rot`, `--dualist-mid`
|
|
45
|
+
is `--augmerc-mid`, `--dualist-dark` is `--augmerc-dark` (alpha.2; it was dE 2.4
|
|
46
|
+
from it), `--cybersurgeon-mid` is `--crystal-slate`,
|
|
47
|
+
`--tint-magenta-rose` is `--brand-magenta` and `--tint-hud-teal` is `--hud-blue`.
|
|
48
|
+
- **Paper tints hold a printable dot.** On white paper the `color-mix()` callout,
|
|
49
|
+
section, faction, choice and entry surfaces had a dominant ink of 2-4%,
|
|
50
|
+
which does not hold on Indigo or inkjet presses. Each now mixes `in oklch` at
|
|
51
|
+
a share that gives 9-12%. Examples: vibe and lore violet go from 6-7% to 22%,
|
|
52
|
+
the HUD-blue surfaces from 12-22% to 30%, and warning yellow from 14% to 25%.
|
|
53
|
+
- **Small text is `--ink`.** Labels, heading slips, tags, flavour lines, entry
|
|
54
|
+
names, h4-h6, `em`, the contents list and NPC secondary lines used `--ink-dark`,
|
|
55
|
+
`--ink-smoke`, `--ink-mid` or `--ink-dust`, which print on four plates. They now
|
|
56
|
+
use `--ink`, which Gutterpress's k-only pass prints in black alone.
|
|
57
|
+
`--ink-dark` stays on fills and rules.
|
|
58
|
+
- **Hairlines are at least 1pt.** Every 1px or 0.75pt rule is now 1pt. The dark
|
|
59
|
+
ones are `--ink`. `--border-hairline`, which draws the column rule and the
|
|
60
|
+
table rule, is an alias of `--ink`, and the AP chip, tag, tape and heading-slip
|
|
61
|
+
edges default to `--ink`.
|
|
62
|
+
- **Every CMYK and TAC figure is measured the way the PDF/X build separates
|
|
63
|
+
it.** This covers the token comments, constitution §V and the palette
|
|
64
|
+
chapter's swatches. `scripts/measure-palette-crpc1.py` runs a swatch of each
|
|
65
|
+
colour through Ghostscript's pdfwrite with the CGATS21_CRPC1 profile as the
|
|
66
|
+
output profile, exactly as `gutterpress build --format pdfx` does (its
|
|
67
|
+
default intent: relative colorimetric with black-point compensation), and
|
|
68
|
+
reads the `c m y k k` operands back out of the PDF, so the figures are the
|
|
69
|
+
build's to the digit; it needs Ghostscript 10.03 or newer, and keeps Pillow's
|
|
70
|
+
LittleCMS only to show the printed colour and its distance from the screen.
|
|
71
|
+
alpha.1 measured with LittleCMS at perceptual intent, which the build never
|
|
72
|
+
used: those figures ran 10-30% TAC under the build's on the purples and
|
|
73
|
+
15-20% under on the inks (`--ink` 196% → 211%). The figures before
|
|
74
|
+
1.10.2 came from Ghostscript's default profile (`#000` = 295%), which
|
|
75
|
+
Ghostscript 10.02.1 (Ubuntu 24.04's package) uses even when the CRPC1
|
|
76
|
+
profile is given; 10.03 and newer honour the profile, and gutterpress (#495)
|
|
77
|
+
warns when a build's Ghostscript did not. The production rule is now "TAC
|
|
78
|
+
240%, enforced by the CGATS21_CRPC1 profile"; no token exceeds 211%. The
|
|
79
|
+
SWOP/GRACoL target is gone. Constitution §V says how the figures are
|
|
80
|
+
measured.
|
|
81
|
+
|
|
82
|
+
### Fixed
|
|
83
|
+
|
|
84
|
+
- The specialty-intro title's default type is cream. The old default, `--bg` on
|
|
85
|
+
magenta, was 2.73:1.
|
|
86
|
+
- The visit callout's green is 85% rot, so its fungi-glow accent ink holds 5.0:1
|
|
87
|
+
(was 4.42:1).
|
|
88
|
+
- The pullquote (20pt) prints in black alone. It was `--ink-dark`, which the
|
|
89
|
+
PDF/X build's black-text check reported as four-colour text at 24pt or under
|
|
90
|
+
on the Part 2 example pages; the headings' base look is `--ink` too (every
|
|
91
|
+
level already set its own colour, so none changes).
|
|
92
|
+
- The band and tab gloss is pre-mixed into each fill (the path banner, the card
|
|
93
|
+
tab, the specialty card band). Layering the translucent `--light-gloss`
|
|
94
|
+
gradient made Chromium write a type-1 shading that PDF.js cannot read (24
|
|
95
|
+
warnings on the design guide) and made those pages transparent on its own;
|
|
96
|
+
the rendered bands are unchanged, and the token stays for books that read it.
|
|
97
|
+
|
|
10
98
|
## [1.10.1] - 2026-11-03
|
|
11
99
|
|
|
12
100
|
### Added
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gp-dimm-city",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.2-alpha.2",
|
|
4
4
|
"description": "Dimm City design system for Gutterpress: the markdown-it macros (@skill, @specialty, @learning-path, @callout, …), print stylesheets, design tokens, fonts and page templates the Dimm City TTRPG books are set in.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "plugin.js",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"pack:check": "npm pack --dry-run"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"gutterpress": "0.11.
|
|
71
|
+
"gutterpress": "0.11.24-alpha.1",
|
|
72
72
|
"markdown-it": "^14.1.0"
|
|
73
73
|
},
|
|
74
74
|
"engines": {
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
|
|
158
158
|
/* Inline emphasis + paragraphs inside callouts must inherit the alert's
|
|
159
159
|
--dc-alert-fg color. The global p/em/strong rules in dc-core.css set
|
|
160
|
-
dark text colors (color: --ink
|
|
160
|
+
dark text colors (color: --ink). Inside dark-fill callout
|
|
161
161
|
variants (.dc-dm-note etc.), dark-on-dark measured 1.17:1 — invisible.
|
|
162
162
|
Inherit makes p/em/strong adopt the alert's own foreground. */
|
|
163
163
|
:is(.dc-alert, .gp-alert) :is(p, em, strong) {
|
|
@@ -214,7 +214,7 @@
|
|
|
214
214
|
are the "danger / you must choose" pair across the system. */
|
|
215
215
|
.dc-note.warning,
|
|
216
216
|
.gp-alert:is(.gp-alert-warning, .gp-alert-caution) {
|
|
217
|
-
--dc-alert-bg: color-mix(in
|
|
217
|
+
--dc-alert-bg: color-mix(in oklch, var(--brand-yellow) 25%, var(--paper-cream));
|
|
218
218
|
--dc-alert-border: var(--ink);
|
|
219
219
|
--dc-alert-border-width: 14px;
|
|
220
220
|
/* a heavy ink frame, and a crimson second pass a hair out of register along the
|
|
@@ -289,13 +289,13 @@
|
|
|
289
289
|
an all-round edge with no rail separate
|
|
290
290
|
it from the blue note, the ink DM slab and the pull quote's magenta bar. */
|
|
291
291
|
.dc-vibe-callout {
|
|
292
|
-
--dc-alert-bg: color-mix(in
|
|
292
|
+
--dc-alert-bg: color-mix(in oklch, var(--brand-violet) 22%, var(--paper-cream));
|
|
293
293
|
--dc-alert-fg: var(--ink);
|
|
294
294
|
--dc-alert-border: var(--brand-violet);
|
|
295
295
|
--dc-alert-border-width: 2px;
|
|
296
296
|
/* long, shallow diagonals at two opposite corners (the world's silhouette) */
|
|
297
297
|
--dc-alert-shape: polygon(0 0, calc(100% - 30px) 0, 100% 8px, 100% 100%, 30px 100%, 0 calc(100% - 8px));
|
|
298
|
-
--dc-accent-ink: var(--brand-violet); /*
|
|
298
|
+
--dc-accent-ink: var(--brand-violet); /* 6.2:1 on the sheet */
|
|
299
299
|
--dc-alert-label-color: var(--brand-violet);
|
|
300
300
|
--dc-alert-label-spacing: 0.14em;
|
|
301
301
|
--dc-alert-label-margin: var(--space-sm);
|
|
@@ -312,7 +312,7 @@
|
|
|
312
312
|
width: 54px;
|
|
313
313
|
height: 11px;
|
|
314
314
|
background: var(--dc-tape-bg);
|
|
315
|
-
border-block:
|
|
315
|
+
border-block: 1pt solid var(--dc-tape-border);
|
|
316
316
|
transform: rotate(-3deg);
|
|
317
317
|
}
|
|
318
318
|
.dc-vibe-callout .dc-alert-label {
|
|
@@ -323,7 +323,7 @@
|
|
|
323
323
|
Warm paper, a rust rail, a dog-eared corner and a crimson rubber stamp.
|
|
324
324
|
Location (below) is the same document in the map's teal ink. */
|
|
325
325
|
.dc-origin-callout {
|
|
326
|
-
--dc-alert-bg: color-mix(in
|
|
326
|
+
--dc-alert-bg: color-mix(in oklch, var(--surface-orange-tint) 55%, var(--paper-cream));
|
|
327
327
|
--dc-alert-border: var(--rust); /* warmth without blood's full danger weight */
|
|
328
328
|
--dc-alert-border-width: 3px;
|
|
329
329
|
/* a 16px dog-ear top right and a torn bottom edge (4px deep at most) */
|
|
@@ -339,7 +339,7 @@
|
|
|
339
339
|
backstory in colour and in value, and from visit's green signpost by
|
|
340
340
|
silhouette. */
|
|
341
341
|
.dc-location-callout {
|
|
342
|
-
--dc-alert-bg: color-mix(in
|
|
342
|
+
--dc-alert-bg: color-mix(in oklch, var(--hud-blue-dim) 30%, var(--paper-cream));
|
|
343
343
|
--dc-alert-border: var(--hud-blue);
|
|
344
344
|
--dc-alert-border-width: 3px;
|
|
345
345
|
/* the origin's document: a 16px dog-ear top right and a torn bottom edge (4px deep at most) */
|
|
@@ -367,7 +367,7 @@
|
|
|
367
367
|
:is(.dc-origin-callout, .dc-location-callout) .dc-alert-label {
|
|
368
368
|
padding: 1px 9px;
|
|
369
369
|
border: 2px solid currentColor;
|
|
370
|
-
outline:
|
|
370
|
+
outline: 1pt dashed currentColor; /* a worn, broken outer ring */
|
|
371
371
|
outline-offset: 2px;
|
|
372
372
|
margin-left: 3px;
|
|
373
373
|
transform: rotate(-2deg);
|
|
@@ -377,13 +377,13 @@
|
|
|
377
377
|
Fungi-green placard with a pointed (finger-post) end and a map-pin label:
|
|
378
378
|
the living city's own colour, set apart from the cyan/ink Dream Master slab. */
|
|
379
379
|
.dc-visit-callout {
|
|
380
|
-
--dc-alert-bg: color-mix(in srgb, var(--fungi-rot)
|
|
380
|
+
--dc-alert-bg: color-mix(in srgb, var(--fungi-rot) 85%, var(--fungi-glow));
|
|
381
381
|
--dc-alert-fg: var(--paper-cream);
|
|
382
382
|
--dc-alert-border: var(--fungi-glow);
|
|
383
383
|
--dc-alert-border-width: 0px;
|
|
384
384
|
/* organic: a wobbly polygon with no long straight edge, ending in a signpost point */
|
|
385
385
|
--dc-alert-shape: polygon(0 3px, 12% 0, 31% 3px, 52% 0, 74% 3px, calc(100% - 22px) 0, 100% 50%, calc(100% - 20px) 100%, 76% calc(100% - 3px), 55% 100%, 30% calc(100% - 4px), 9% 100%, 0 calc(100% - 3px), 1px 50%);
|
|
386
|
-
--dc-accent-ink: var(--fungi-glow); /*
|
|
386
|
+
--dc-accent-ink: var(--fungi-glow); /* 5.0:1 on the green (4.4:1 at 80% rot) */
|
|
387
387
|
--dc-alert-body-size: var(--fs-body);
|
|
388
388
|
--dc-alert-label-color: var(--paper-cream);
|
|
389
389
|
--dc-alert-label-bg: var(--fungi-rot);
|
|
@@ -425,7 +425,7 @@
|
|
|
425
425
|
display: inline-block;
|
|
426
426
|
padding: 1px 7px;
|
|
427
427
|
background: var(--dc-tape-bg);
|
|
428
|
-
border:
|
|
428
|
+
border: 1pt solid var(--dc-tape-border);
|
|
429
429
|
color: var(--dc-tape-color);
|
|
430
430
|
}
|
|
431
431
|
|
|
@@ -72,7 +72,10 @@
|
|
|
72
72
|
/* 18px right and 16px left clear the deepest tab cut (a specialty's
|
|
73
73
|
--dc-skill-tab-shape, at most 15px) by more than 2pt. */
|
|
74
74
|
padding: 3px 18px 3px 16px;
|
|
75
|
-
|
|
75
|
+
/* The tab's gloss (--light-gloss), pre-composited onto its fill: opaque
|
|
76
|
+
stops make the PDF carry an axial shading, not a type-1 shading with
|
|
77
|
+
alpha, which PDF.js cannot read and which makes the page transparent. */
|
|
78
|
+
background: linear-gradient(to bottom, color-mix(in srgb, var(--paper-cream) 30%, var(--dc-card-tab-bg)), var(--dc-card-tab-bg) 62%);
|
|
76
79
|
border: 2px solid var(--dc-card-accent);
|
|
77
80
|
border-bottom: 0;
|
|
78
81
|
margin-left: 10px;
|
|
@@ -142,8 +145,8 @@
|
|
|
142
145
|
/* Default to paper-cream so reverse-out text on the saturated tab fill
|
|
143
146
|
always passes WCAG. Specialty contexts re-affirm the same color via
|
|
144
147
|
their --dc-card-tab-title-color token. Without it the title would take
|
|
145
|
-
the default near-black body color over a saturated magenta fill:
|
|
146
|
-
failing WCAG at
|
|
148
|
+
the default near-black body color over a saturated magenta fill: 3.3:1,
|
|
149
|
+
failing WCAG at this size. */
|
|
147
150
|
color: var(--dc-card-tab-title-color);
|
|
148
151
|
text-transform: uppercase;
|
|
149
152
|
letter-spacing: 0.05em;
|
|
@@ -184,7 +187,7 @@
|
|
|
184
187
|
line-height: 1;
|
|
185
188
|
background-color: var(--dc-tier-bg);
|
|
186
189
|
color: var(--dc-tier-fg);
|
|
187
|
-
box-shadow: inset 0 0 0
|
|
190
|
+
box-shadow: inset 0 0 0 1pt var(--dc-tier-edge), var(--dc-label-shadow);
|
|
188
191
|
letter-spacing: 0.05em;
|
|
189
192
|
white-space: nowrap;
|
|
190
193
|
flex-shrink: 0;
|
|
@@ -364,7 +367,7 @@
|
|
|
364
367
|
of the card's mark colour on paper-aged, so the card edge and the wall
|
|
365
368
|
read through it, with a hard edge line, slightly rotated. */
|
|
366
369
|
background: color-mix(in srgb, color-mix(in srgb, var(--dc-card-body-mark) 14%, var(--paper-aged)) 78%, transparent);
|
|
367
|
-
box-shadow: inset 0 -
|
|
370
|
+
box-shadow: inset 0 -1pt 0 var(--ink);
|
|
368
371
|
transform: rotate(3deg);
|
|
369
372
|
z-index: 2;
|
|
370
373
|
}
|
|
@@ -424,8 +427,8 @@
|
|
|
424
427
|
(magenta in a magenta panel, blood in a blood box, a specialty's own ink in
|
|
425
428
|
its cards), with a dotted underline in that colour. It is plain inline text,
|
|
426
429
|
so the line keeps its height. Each component sets --dc-accent-ink to a shade
|
|
427
|
-
that holds 4.5:1 on its own surface; the deep magenta default holds
|
|
428
|
-
--paper-cream,
|
|
430
|
+
that holds 4.5:1 on its own surface; the deep magenta default holds 12.5:1 on
|
|
431
|
+
--paper-cream, 8.9:1 on --concrete-pale, 7.2:1 on --bg. */
|
|
429
432
|
.dc-roll-the-die {
|
|
430
433
|
font-weight: 700;
|
|
431
434
|
color: var(--dc-accent-ink);
|
|
@@ -456,10 +459,10 @@
|
|
|
456
459
|
var(--dc-ap-bg) 50%,
|
|
457
460
|
color-mix(in srgb, var(--dc-ap-bg) 94%, var(--ink) 6%) 100%); /* PDF/X-1a: pre-composite to ~94% bg + 6% ink; e.g. on --crimson (#e1261c) → #d42419 */
|
|
458
461
|
color: var(--dc-ap-fg);
|
|
459
|
-
/* 1pt ink
|
|
462
|
+
/* 1pt ink hairline gives registration grip — without it, adjacent
|
|
460
463
|
red-family AP chips (free/var/increased) merge under CMYK dot gain
|
|
461
464
|
at chip scale (38px wide, ~0.5in on press). */
|
|
462
|
-
border:
|
|
465
|
+
border: 1pt solid var(--dc-ap-border);
|
|
463
466
|
transform: rotate(-1deg);
|
|
464
467
|
/* Layered shadow: an inset highlight plus a hard offset, so the chip reads
|
|
465
468
|
as lifted off the card. */
|
|
@@ -480,7 +483,7 @@
|
|
|
480
483
|
authored spelling. */
|
|
481
484
|
.dc-ap:is(.var, .variable) {
|
|
482
485
|
/* --brand-magenta-deep, not the bright --hud-magenta: cream type on the
|
|
483
|
-
|
|
486
|
+
deep one is 10.4:1 (5.2:1 on the bright one, before the gloss). */
|
|
484
487
|
--dc-ap-bg: var(--brand-magenta-deep);
|
|
485
488
|
}
|
|
486
489
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
font-weight: 700;
|
|
17
17
|
color: var(--dc-tag-fg);
|
|
18
18
|
background: var(--dc-tag-bg);
|
|
19
|
-
border:
|
|
19
|
+
border: 1pt solid var(--dc-tag-border);
|
|
20
20
|
padding: 1px 7px 0;
|
|
21
21
|
margin: 0 2px;
|
|
22
22
|
vertical-align: baseline;
|
|
@@ -240,7 +240,7 @@ h1.dc-chevron {
|
|
|
240
240
|
|
|
241
241
|
/* ── Flavor (italic flavor text) ──────────────────────────────────────────
|
|
242
242
|
Token contract:
|
|
243
|
-
--dc-flavor-color → text color (default --ink
|
|
243
|
+
--dc-flavor-color → text color (default --ink)
|
|
244
244
|
--dc-flavor-accent → left-rail color (default --orange)
|
|
245
245
|
--dc-flavor-accent-width → left-rail weight (default 3px)
|
|
246
246
|
*/
|
|
@@ -272,7 +272,7 @@ h1.dc-chevron {
|
|
|
272
272
|
color: var(--hud-blue);
|
|
273
273
|
margin: 6px 0 3px;
|
|
274
274
|
padding-top: 4px;
|
|
275
|
-
border-top:
|
|
275
|
+
border-top: 1pt solid var(--hud-blue-dim);
|
|
276
276
|
}
|
|
277
277
|
|
|
278
278
|
|
|
@@ -326,11 +326,11 @@ h1.dc-chevron {
|
|
|
326
326
|
font-size: 15px;
|
|
327
327
|
letter-spacing: 0.05em;
|
|
328
328
|
line-height: 1.3;
|
|
329
|
-
/* Neutral --ink
|
|
329
|
+
/* Neutral --ink for text + bottom-rule (--blood would read as
|
|
330
330
|
"warning/wound", too strong for a structural section label), with
|
|
331
331
|
--brand-magenta as the left-rail accent so the brand color anchors the
|
|
332
332
|
element without taking the text color hostage. */
|
|
333
|
-
color: var(--ink
|
|
333
|
+
color: var(--ink);
|
|
334
334
|
/* A paper strip behind the title: a spec-tweak is never set straight on the
|
|
335
335
|
wall (inside a panel it is paper on paper). */
|
|
336
336
|
background: var(--paper-cream);
|
|
@@ -111,7 +111,10 @@
|
|
|
111
111
|
redrawn here. */
|
|
112
112
|
.dc-path-shell>h3.dc-spray:first-child {
|
|
113
113
|
color: var(--dc-path-title-color);
|
|
114
|
-
|
|
114
|
+
/* The band's gloss (--light-gloss), pre-composited onto its fill: opaque
|
|
115
|
+
stops make the PDF carry an axial shading, not a type-1 shading with
|
|
116
|
+
alpha, which PDF.js cannot read and which makes the page transparent. */
|
|
117
|
+
background: linear-gradient(to bottom, color-mix(in srgb, var(--paper-cream) 30%, var(--dc-path-title-bg)), var(--dc-path-title-bg) 62%);
|
|
115
118
|
clip-path: var(--dc-path-title-shape);
|
|
116
119
|
/* the slanted rule (::after) overhangs the band by --dc-band-rule-bleed; the
|
|
117
120
|
clip-path trims it on paper, this keeps it out of the page's scroll width
|
|
@@ -183,7 +186,7 @@
|
|
|
183
186
|
.dc-path-shell {
|
|
184
187
|
--dc-intro-bg: transparent;
|
|
185
188
|
--dc-intro-accent: var(--dc-path-note-rail);
|
|
186
|
-
--dc-intro-color: var(--ink
|
|
189
|
+
--dc-intro-color: var(--ink);
|
|
187
190
|
--dc-intro-size: var(--fs-body-sm);
|
|
188
191
|
--dc-intro-weight: 400;
|
|
189
192
|
--dc-intro-style: italic;
|
|
@@ -242,7 +245,7 @@
|
|
|
242
245
|
width: 20px;
|
|
243
246
|
height: 4px;
|
|
244
247
|
background: var(--ink-smoke);
|
|
245
|
-
border-bottom:
|
|
248
|
+
border-bottom: 1pt solid var(--ink);
|
|
246
249
|
transform: rotate(-4deg);
|
|
247
250
|
pointer-events: none;
|
|
248
251
|
}
|
|
@@ -252,7 +255,7 @@
|
|
|
252
255
|
grid-template-columns: 40px 1fr;
|
|
253
256
|
gap: 0;
|
|
254
257
|
padding: 0;
|
|
255
|
-
border-top:
|
|
258
|
+
border-top: 1pt solid var(--ink);
|
|
256
259
|
font-family: var(--font-body);
|
|
257
260
|
font-size: var(--fs-floor);
|
|
258
261
|
line-height: 1.45;
|
|
@@ -281,7 +284,7 @@
|
|
|
281
284
|
letter-spacing: 0.06em;
|
|
282
285
|
line-height: 1;
|
|
283
286
|
/* A hairline of plate between neighbouring numbers keeps each step its own cell. */
|
|
284
|
-
border-top:
|
|
287
|
+
border-top: 1pt solid var(--paper-cream);
|
|
285
288
|
}
|
|
286
289
|
.dc-steps>li:first-child .dc-step-no {
|
|
287
290
|
border-top: 0;
|
|
@@ -367,7 +370,7 @@
|
|
|
367
370
|
lines at most; in a half column it stays 130px. */
|
|
368
371
|
grid-template-columns: var(--dc-outcome-key-col) 1fr;
|
|
369
372
|
gap: 0;
|
|
370
|
-
border-bottom:
|
|
373
|
+
border-bottom: 1pt solid var(--dc-outcomes-divider);
|
|
371
374
|
position: relative;
|
|
372
375
|
z-index: 1;
|
|
373
376
|
}
|
|
@@ -446,13 +449,14 @@
|
|
|
446
449
|
|
|
447
450
|
/* ── Outcome row color modifiers ──────────────────────────────────────────
|
|
448
451
|
Creaturepunk pillar gradient across the 5-band outcome ladder:
|
|
449
|
-
crit → brand-magenta-deep (NEON peak, jewel-deep — paper-cream
|
|
450
|
-
hit → fungi-glow + ink (FLUORESCENT FUNGI alive — ink-on-glow
|
|
451
|
-
mixed → orange-deep (GUTTER warm, burnt-deep — paper-cream
|
|
452
|
-
miss →
|
|
453
|
-
fail → fungi-rot (FLUORESCENT FUNGI dark — paper-cream
|
|
452
|
+
crit → brand-magenta-deep (NEON peak, jewel-deep — paper-cream 12.5:1)
|
|
453
|
+
hit → fungi-glow + ink (FLUORESCENT FUNGI alive — ink-on-glow 11.4:1)
|
|
454
|
+
mixed → orange-deep (GUTTER warm, burnt-deep — paper-cream 6.9:1)
|
|
455
|
+
miss → blood (GUTTER deep — paper-cream 9.0:1)
|
|
456
|
+
fail → fungi-rot (FLUORESCENT FUNGI dark — paper-cream 10.4:1)
|
|
454
457
|
All four creaturepunk pillars present; all 5 rows clear WCAG AA 4.5:1
|
|
455
|
-
for the
|
|
458
|
+
for the 10pt outcome-name and 12pt roll-number text (measured with
|
|
459
|
+
scripts/measure-palette-crpc1.py contrast).
|
|
456
460
|
|
|
457
461
|
The hit row overrides --dc-outcome-key-color / --dc-outcome-name-color
|
|
458
462
|
(below) because fungi-glow is too light to carry paper-cream text. Bright
|
|
@@ -473,9 +477,8 @@
|
|
|
473
477
|
}
|
|
474
478
|
|
|
475
479
|
.dc-outcome-row.miss {
|
|
476
|
-
/* --rust + cream =
|
|
477
|
-
|
|
478
|
-
reads as "miss/fail" semantic. */
|
|
480
|
+
/* --rust + cream = 6.0:1; --blood + cream = 9.0:1, the safer margin at
|
|
481
|
+
10pt chip text. Still warm red, still reads as "miss/fail" semantic. */
|
|
479
482
|
--row-color: var(--blood);
|
|
480
483
|
}
|
|
481
484
|
|
|
@@ -543,7 +546,7 @@
|
|
|
543
546
|
|
|
544
547
|
.dc-roll-table th {
|
|
545
548
|
background: var(--dc-roll-table-head-bg);
|
|
546
|
-
color: var(--ink
|
|
549
|
+
color: var(--ink);
|
|
547
550
|
}
|
|
548
551
|
|
|
549
552
|
/* Range column: mono, centred, ruled off from the results. */
|
|
@@ -565,7 +568,7 @@
|
|
|
565
568
|
|
|
566
569
|
/* ───────── PULL-QUOTE ───────── */
|
|
567
570
|
.dc-pullquote {
|
|
568
|
-
--dc-accent-ink: var(--brand-magenta-deep); /*
|
|
571
|
+
--dc-accent-ink: var(--brand-magenta-deep); /* 8.9:1 on the concrete sheet */
|
|
569
572
|
background: var(--dc-pullquote-bg);
|
|
570
573
|
border-left: 5px solid var(--dc-pullquote-accent);
|
|
571
574
|
border-right: 2px solid var(--dc-pullquote-accent-soft);
|
|
@@ -575,7 +578,9 @@
|
|
|
575
578
|
font-style: italic;
|
|
576
579
|
font-size: var(--fs-h2);
|
|
577
580
|
line-height: 1.3;
|
|
578
|
-
|
|
581
|
+
/* 20pt, so 24pt or under: --ink prints in black alone (the k-only pass),
|
|
582
|
+
where --ink-dark printed on four plates (pdf.print.black-text). */
|
|
583
|
+
color: var(--ink);
|
|
579
584
|
letter-spacing: -0.01em;
|
|
580
585
|
margin: 18px 0;
|
|
581
586
|
break-inside: avoid;
|
|
@@ -746,14 +751,14 @@
|
|
|
746
751
|
.dc-definition-block > h4:not(:first-child) {
|
|
747
752
|
margin-top: 8pt;
|
|
748
753
|
padding-top: 7pt;
|
|
749
|
-
border-top:
|
|
754
|
+
border-top: 1pt solid var(--dc-definition-block-accent);
|
|
750
755
|
}
|
|
751
756
|
.dc-definition-block:has(> h4 ~ h4) {
|
|
752
757
|
break-inside: auto;
|
|
753
758
|
}
|
|
754
759
|
.dc-definition-block hr {
|
|
755
760
|
border: none;
|
|
756
|
-
border-top:
|
|
761
|
+
border-top: 1pt solid var(--dc-definition-block-accent);
|
|
757
762
|
margin: 7.5pt 0;
|
|
758
763
|
}
|
|
759
764
|
|
|
@@ -771,7 +776,7 @@
|
|
|
771
776
|
content: '';
|
|
772
777
|
position: absolute;
|
|
773
778
|
inset: 4px;
|
|
774
|
-
border:
|
|
779
|
+
border: 1pt solid var(--paper-aged);
|
|
775
780
|
pointer-events: none;
|
|
776
781
|
}
|
|
777
782
|
|
|
@@ -812,7 +817,7 @@
|
|
|
812
817
|
}
|
|
813
818
|
|
|
814
819
|
.dc-stat-cell {
|
|
815
|
-
border-right:
|
|
820
|
+
border-right: 1pt solid var(--paper-aged);
|
|
816
821
|
padding: 4px 8px 6px;
|
|
817
822
|
text-align: center;
|
|
818
823
|
display: flex;
|
|
@@ -924,11 +929,11 @@ table.dc-stat-strip {
|
|
|
924
929
|
.dc-toc ol>li {
|
|
925
930
|
position: relative;
|
|
926
931
|
padding: 10px 4px 10px 56px;
|
|
927
|
-
border-bottom:
|
|
932
|
+
border-bottom: 1pt solid var(--hud-blue-dim);
|
|
928
933
|
counter-increment: dc-toc;
|
|
929
934
|
font-size: var(--fs-body-sm);
|
|
930
935
|
line-height: 1.4;
|
|
931
|
-
color: var(--ink
|
|
936
|
+
color: var(--ink);
|
|
932
937
|
font-style: italic;
|
|
933
938
|
list-style: none;
|
|
934
939
|
break-inside: avoid;
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
/* The tagline: a blockquote straight after the name is a line, not a box. */
|
|
110
110
|
.dc-entry > :is(h3, h4):first-child + blockquote {
|
|
111
111
|
font-size: var(--fs-body-sm);
|
|
112
|
-
color: var(--ink
|
|
112
|
+
color: var(--ink);
|
|
113
113
|
background: none;
|
|
114
114
|
border: 0;
|
|
115
115
|
padding: 0;
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
.dc-augment {
|
|
174
174
|
--dc-entry-accent: var(--brand-cyan);
|
|
175
175
|
--dc-entry-ink: var(--hud-blue-dark);
|
|
176
|
-
--dc-entry-surface: color-mix(in
|
|
176
|
+
--dc-entry-surface: color-mix(in oklch, var(--hud-blue-dim) 30%, var(--paper-cream));
|
|
177
177
|
--dc-entry-kind: "Augment";
|
|
178
178
|
--dc-entry-rule: 3px;
|
|
179
179
|
--dc-entry-rail: 3px;
|
|
@@ -183,19 +183,19 @@
|
|
|
183
183
|
--dc-entry-badge-shape: polygon(0 0, calc(100% - 6px) 0, 100% 50%, calc(100% - 6px) 100%, 0 100%);
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
/* TREASURE — a gem: violet (
|
|
186
|
+
/* TREASURE — a gem: violet (9.2:1 on cream), an eight-sided cut, one hard
|
|
187
187
|
facet across the face (a flat-tone polygon layer behind the text), a
|
|
188
188
|
hexagonal badge. */
|
|
189
189
|
.dc-treasure {
|
|
190
190
|
--dc-entry-accent: var(--brand-violet);
|
|
191
191
|
--dc-entry-ink: var(--brand-violet);
|
|
192
|
-
--dc-entry-surface: color-mix(in
|
|
192
|
+
--dc-entry-surface: color-mix(in oklch, var(--crystal-amethyst) 25%, var(--paper-cream));
|
|
193
193
|
--dc-entry-kind: "Treasure";
|
|
194
194
|
--dc-entry-rail: 5px;
|
|
195
195
|
--dc-entry-shape: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px), 0 18px);
|
|
196
196
|
--dc-entry-ornament: "";
|
|
197
197
|
--dc-entry-orn-inset: 0;
|
|
198
|
-
--dc-entry-orn-bg: color-mix(in
|
|
198
|
+
--dc-entry-orn-bg: color-mix(in oklch, var(--crystal-amethyst) 40%, var(--paper-cream));
|
|
199
199
|
--dc-entry-orn-clip: polygon(62% 0, 100% 0, 100% 100%, 38% 100%);
|
|
200
200
|
--dc-entry-orn-z: -1;
|
|
201
201
|
--dc-entry-badge-bg: var(--brand-violet);
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
slanted yellow badge. (Hazard stripes are the danger register's.) */
|
|
209
209
|
.dc-vehicle {
|
|
210
210
|
--dc-entry-accent: var(--brand-yellow);
|
|
211
|
-
--dc-entry-ink: var(--ink
|
|
211
|
+
--dc-entry-ink: var(--ink);
|
|
212
212
|
--dc-entry-surface: var(--concrete-pale);
|
|
213
213
|
--dc-entry-kind: "Vehicle";
|
|
214
214
|
--dc-entry-rail: 6px;
|
|
@@ -229,7 +229,7 @@
|
|
|
229
229
|
.dc-drug {
|
|
230
230
|
--dc-entry-accent: var(--fungi-rot);
|
|
231
231
|
--dc-entry-ink: var(--fungi-rot);
|
|
232
|
-
--dc-entry-surface: color-mix(in
|
|
232
|
+
--dc-entry-surface: color-mix(in oklch, var(--fungi-glow) 24%, var(--paper-cream));
|
|
233
233
|
--dc-entry-kind: "Rx \00B7 Drug";
|
|
234
234
|
--dc-entry-rail: 6px;
|
|
235
235
|
--dc-entry-rule: 7px;
|
|
@@ -243,7 +243,7 @@
|
|
|
243
243
|
price tag (a raised rust-edged box). */
|
|
244
244
|
.dc-gear > p:has(> em:only-child) {
|
|
245
245
|
font-size: var(--fs-body-sm);
|
|
246
|
-
color: var(--ink
|
|
246
|
+
color: var(--ink);
|
|
247
247
|
margin: 0 0 6px;
|
|
248
248
|
}
|
|
249
249
|
.dc-gear > p:has(> strong:only-child) {
|
|
@@ -431,12 +431,12 @@
|
|
|
431
431
|
blood frame on a pale blood ground with a – on its chip. */
|
|
432
432
|
.dc-field-effects {
|
|
433
433
|
--dc-field-accent: var(--hud-blue-dark);
|
|
434
|
-
--dc-field-surface: color-mix(in
|
|
434
|
+
--dc-field-surface: color-mix(in oklch, var(--hud-blue-dim) 38%, var(--paper-cream));
|
|
435
435
|
--dc-field-edge-width: 1pt;
|
|
436
436
|
}
|
|
437
437
|
.dc-field-side-effects {
|
|
438
438
|
--dc-field-accent: var(--blood);
|
|
439
|
-
--dc-field-surface: color-mix(in
|
|
439
|
+
--dc-field-surface: color-mix(in oklch, var(--crimson) 22%, var(--paper-cream));
|
|
440
440
|
--dc-field-edge-width: 1pt;
|
|
441
441
|
--dc-field-edge-style: dashed;
|
|
442
442
|
}
|