gp-dimm-city 1.1.4 → 1.1.5
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 +19 -0
- package/package.json +1 -1
- package/styles/components/chrome.css +6 -18
- package/styles/page-templates.css +19 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,25 @@ cut a version that has no `## [X.Y.Z]` heading below.
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.1.5] - 2026-10-09
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- **The chapter-opener chevron rules move from `chrome.css` into the
|
|
15
|
+
chapter-opener template in `page-templates.css`.** No component sheet
|
|
16
|
+
selects `.chapter`/`.page` any more, and the integrity test enforces
|
|
17
|
+
that with no exceptions. Pixel-identical in both books.
|
|
18
|
+
- `docs/cleanup-backlog.md` gains a "Still considering" section:
|
|
19
|
+
- the Field Guide's sidebar areas, with the inset-rail rules;
|
|
20
|
+
- the specialty-card redesign;
|
|
21
|
+
- the configurable chapter prefix;
|
|
22
|
+
- the offset tokens.
|
|
23
|
+
- `docs/css-roadmap.md` records the warnings that are known and accepted:
|
|
24
|
+
- the design guide's 8 heading jumps inside component examples, which
|
|
25
|
+
need an `h4`;
|
|
26
|
+
- the `clip-path` and `page-containment` lint false positives, reported
|
|
27
|
+
as dimm-city/gutterpress#339.
|
|
28
|
+
|
|
10
29
|
## [1.1.4] - 2026-10-09
|
|
11
30
|
|
|
12
31
|
### Changed
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gp-dimm-city",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.5",
|
|
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",
|
|
@@ -26,13 +26,10 @@
|
|
|
26
26
|
miscommunicates the semantic (CONTENTS shouldn't read as a warning).
|
|
27
27
|
Rubric: D9 (brand identity per chapter — chroma anchor must match
|
|
28
28
|
the banner's semantic role). */
|
|
29
|
-
/* Chevron banner
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
chapter-opener composite rules above. */
|
|
34
|
-
.dc-chevron,
|
|
35
|
-
.chapter[data-chapter-label] > .page[data-page="intro"] > .section > h1:first-of-type {
|
|
29
|
+
/* Chevron banner on elements marked `.dc-chevron`. The chapter opener's first
|
|
30
|
+
h1 gets the same treatment without the class; that rule lives with the
|
|
31
|
+
opener template in page-templates.css. */
|
|
32
|
+
.dc-chevron {
|
|
36
33
|
font-family: var(--font-display);
|
|
37
34
|
font-size: var(--dc-chevron-font-size);
|
|
38
35
|
letter-spacing: 0.06em;
|
|
@@ -83,14 +80,6 @@ h1.dc-chevron {
|
|
|
83
80
|
line-height: 1.2;
|
|
84
81
|
}
|
|
85
82
|
|
|
86
|
-
/* Chapter-opener heading runs at a smaller size than other h1.dc-chevron
|
|
87
|
-
instances so the section body weight stays the focal anchor below the
|
|
88
|
-
composite badge + banner. User-approved 2026-05-25. */
|
|
89
|
-
.chapter[data-chapter-label] > .page[data-page="intro"] > .section > h1:first-of-type {
|
|
90
|
-
font-size: 1.1rem;
|
|
91
|
-
line-height: 1.2;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
83
|
/* Front-matter chevron font-size overrides moved to the book's own sheet (unlayered) per A1
|
|
95
84
|
layer-ownership (page-context rules belong in the guide-specific override
|
|
96
85
|
file, not the portable component library). Three-judge gate iteration 3. */
|
|
@@ -412,9 +401,8 @@ hr {
|
|
|
412
401
|
background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--crimson) 85%, var(--dc-tape-bg)) 0 6px, var(--dc-tape-bg) 6px 10px);
|
|
413
402
|
}
|
|
414
403
|
|
|
415
|
-
/* Chapter-opener badge + H1 banner — see
|
|
416
|
-
|
|
417
|
-
The legacy .dc-chapter-opener-no rules previously here were removed
|
|
404
|
+
/* Chapter-opener badge + H1 banner — see "PAGE TEMPLATE: CHAPTER OPENER"
|
|
405
|
+
in page-templates.css. The legacy .dc-chapter-opener-no rules previously here were removed
|
|
418
406
|
when the legacy @chapter-opener macro was retired. */
|
|
419
407
|
|
|
420
408
|
/* ── Specialty art full-page plate ─────────────────────────────────────────── */
|
|
@@ -686,9 +686,28 @@
|
|
|
686
686
|
attribute. Negative margins cancel the section padding so it reaches the
|
|
687
687
|
section's outer edges; its --clip-banner tail then tapers in by --clip-tail. */
|
|
688
688
|
.chapter[data-chapter-label] > .page[data-page="intro"] > .section > h1:first-of-type {
|
|
689
|
+
/* The .dc-chevron look (components/chrome.css), applied without the class
|
|
690
|
+
so authors need not write `{.dc-chevron}` on every chapter h1. */
|
|
691
|
+
font-family: var(--font-display);
|
|
692
|
+
letter-spacing: 0.06em;
|
|
693
|
+
color: var(--dc-chevron-color);
|
|
694
|
+
text-transform: uppercase;
|
|
695
|
+
background: var(--dc-chevron-bg);
|
|
696
|
+
padding: 10px 28px 10px 14px;
|
|
697
|
+
display: block;
|
|
698
|
+
box-sizing: border-box;
|
|
699
|
+
clip-path: var(--clip-banner);
|
|
700
|
+
word-break: break-word;
|
|
701
|
+
|
|
702
|
+
/* Smaller than other h1.dc-chevron so the section body stays the focal
|
|
703
|
+
anchor below the banner. User-approved 2026-05-25. */
|
|
704
|
+
font-size: 1.1rem;
|
|
705
|
+
line-height: 1.2;
|
|
706
|
+
|
|
689
707
|
margin-top: calc(var(--dc-chapter-opener-pad-top) * -1);
|
|
690
708
|
margin-left: calc(var(--dc-chapter-opener-pad-side) * -1);
|
|
691
709
|
margin-right: calc(var(--dc-chapter-opener-pad-right) * -1);
|
|
710
|
+
margin-bottom: 0;
|
|
692
711
|
--dc-chevron-bg: var(--dc-chapter-opener-accent);
|
|
693
712
|
}
|
|
694
713
|
|