gp-dimm-city 1.1.3 → 1.1.4
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
CHANGED
|
@@ -7,6 +7,26 @@ cut a version that has no `## [X.Y.Z]` heading below.
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.1.4] - 2026-10-09
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- **The columns contract is refined.** Page and section column layouts
|
|
15
|
+
stay in `page-templates.css`. A component may lay out its own insides in
|
|
16
|
+
columns in its own sheet, on a selector rooted in its `.dc-*` class (the
|
|
17
|
+
two-column skill cards, the card grid). The integrity test enforces that
|
|
18
|
+
rule in place of an exception list. No CSS moved.
|
|
19
|
+
- The integrity test's remaining exceptions are genuine hooks: the outcome
|
|
20
|
+
tiers, the chapter classes gutterpress adds itself, and the design
|
|
21
|
+
guide's page labels.
|
|
22
|
+
- `docs/css-roadmap.md` records what the CSS review left to do, and in
|
|
23
|
+
which order.
|
|
24
|
+
|
|
25
|
+
### Removed
|
|
26
|
+
|
|
27
|
+
- Two unused design-guide classes: `dg-face-sample` and the
|
|
28
|
+
`dc-banner-demo` section class.
|
|
29
|
+
|
|
10
30
|
## [1.1.3] - 2026-10-09
|
|
11
31
|
|
|
12
32
|
### Removed
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gp-dimm-city",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
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",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
- Component-scoped public custom properties (--dc-alert-bg, etc.)
|
|
19
19
|
|
|
20
20
|
MUST NOT CONTAIN:
|
|
21
|
-
- columns:N
|
|
21
|
+
- page/section columns:N layouts (→ page-templates.css)
|
|
22
22
|
- @page declarations or named-page assignments (→ page-rules.css)
|
|
23
23
|
- div.chapter scaffolding (→ the consuming book's own sheet)
|
|
24
24
|
- :root token definitions (→ dc-component-defaults.css)
|
|
@@ -743,8 +743,8 @@ h3 + .section {
|
|
|
743
743
|
[repeat for 6+ specialties]
|
|
744
744
|
@end-section
|
|
745
745
|
|
|
746
|
-
The column
|
|
747
|
-
|
|
746
|
+
The page/section column rules live in page-templates.css; the grid's own
|
|
747
|
+
columns:2 is a component-internal layout and lives below. Here we also own the chrome-reset (the
|
|
748
748
|
.dc-card-grid section has no card background/shadow — it's a pure layout
|
|
749
749
|
wrapper) plus the per-card density tweaks so all 8 specialty cards fit
|
|
750
750
|
comfortably on one page. */
|
|
@@ -4,9 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
── ARCHITECTURAL CONTRACT ────────────────────────────────────────────────
|
|
6
6
|
OWNS:
|
|
7
|
-
- ALL
|
|
8
|
-
a
|
|
9
|
-
|
|
7
|
+
- ALL page and section columns:N layouts — this is the ONLY file that may
|
|
8
|
+
set columns on a page template or section run. A component may column its
|
|
9
|
+
OWN internals in its own sheet (cards.css, section.css .dc-card-grid). It
|
|
10
|
+
may NOT set columns on core's `.gp-columns-*` (only their `--gp-column-gap`).
|
|
10
11
|
- .page.* content layout rules (columns, flex, grid on page content divs)
|
|
11
12
|
- .page base geometry, .column-break
|
|
12
13
|
- .dc-full-page full-bleed geometry (its named-page assignment,
|
|
@@ -26,8 +27,9 @@
|
|
|
26
27
|
- @media screen rules (print-only project)
|
|
27
28
|
|
|
28
29
|
COLUMN OWNERSHIP RULE (narrowed, dc#41): if a THEME rule sets columns:N on a PAGE TEMPLATE (.page.*) in this
|
|
29
|
-
project, it belongs here and ONLY here.
|
|
30
|
-
is a bug
|
|
30
|
+
project, it belongs here and ONLY here. A columns:N on a page/section
|
|
31
|
+
selector found in another file is a bug (a component's own-internals layout
|
|
32
|
+
in its sheet is not). Core's `.gp-columns-2` / `.gp-columns-3` are the generic column
|
|
31
33
|
vocabulary and are NOT this file's to redefine — this file may only set
|
|
32
34
|
their `--gp-column-gap`. See the column-runs block below.
|
|
33
35
|
|