@takazudo/zudo-doc 4.3.0 → 4.4.0

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.
Files changed (144) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/bin/zudo-doc.mjs +54 -13
  3. package/dist/auto-logo/index.d.ts +18 -0
  4. package/dist/auto-logo/index.js +33 -0
  5. package/dist/auto-logo/shapes.d.ts +32 -0
  6. package/dist/auto-logo/shapes.js +183 -0
  7. package/dist/auto-logo/standalone.d.ts +7 -0
  8. package/dist/auto-logo/standalone.js +35 -0
  9. package/dist/config.d.ts +8 -0
  10. package/dist/config.js +1 -0
  11. package/dist/content.css +4 -3
  12. package/dist/doc-content-header/index.js +1 -1
  13. package/dist/doc-history/index.js +1 -1
  14. package/dist/doc-page-shell/index.js +1 -1
  15. package/dist/doc-pager/index.js +2 -2
  16. package/dist/eject-logo/config-parse.d.ts +25 -0
  17. package/dist/eject-logo/config-parse.js +68 -0
  18. package/dist/eject-logo/config-rewriter.d.ts +22 -0
  19. package/dist/eject-logo/config-rewriter.js +68 -0
  20. package/dist/eject-logo/eject.d.ts +18 -0
  21. package/dist/eject-logo/eject.js +66 -0
  22. package/dist/eject-logo/index.d.ts +4 -0
  23. package/dist/eject-logo/index.js +16 -0
  24. package/dist/eject-logo/site-name.d.ts +21 -0
  25. package/dist/eject-logo/site-name.js +31 -0
  26. package/dist/header/header.js +14 -6
  27. package/dist/header/nav-class-tokens.d.ts +12 -0
  28. package/dist/header/nav-class-tokens.js +80 -0
  29. package/dist/header/nav-overflow-script.js +33 -16
  30. package/dist/home-page/index.d.ts +34 -5
  31. package/dist/home-page/index.js +95 -38
  32. package/dist/home-page/prepare-home-data.d.ts +9 -0
  33. package/dist/home-page/prepare-home-data.js +10 -3
  34. package/dist/i18n-defaults/index.js +3 -0
  35. package/dist/metainfo/doc-metainfo.js +35 -22
  36. package/dist/routes/index.js +2 -1
  37. package/dist/routes/locale-index.js +2 -1
  38. package/dist/safelist.css +1 -1
  39. package/dist/settings.d.ts +7 -0
  40. package/dist/sidebar-tree-island/index.js +3 -3
  41. package/dist/theme-cli/config-scanner.js +47 -0
  42. package/dist/theme-packs/academia/fonts/CourierPrime-400-latin.woff2 +0 -0
  43. package/dist/theme-packs/academia/fonts/CourierPrime-700-latin.woff2 +0 -0
  44. package/dist/theme-packs/academia/fonts/OFL.txt +94 -0
  45. package/dist/theme-packs/academia/fonts/SourceSerif4-italic-latin.woff2 +0 -0
  46. package/dist/theme-packs/academia/fonts/SourceSerif4-latin.woff2 +0 -0
  47. package/dist/theme-packs/academia/meta.json +37 -0
  48. package/dist/theme-packs/academia/pack.css +505 -0
  49. package/dist/theme-packs/bauhaus/fonts/ArchivoBlack-latin.woff2 +0 -0
  50. package/dist/theme-packs/bauhaus/fonts/Jost-latin.woff2 +0 -0
  51. package/dist/theme-packs/bauhaus/fonts/OFL.txt +95 -0
  52. package/dist/theme-packs/bauhaus/fonts/SpaceMono-400-latin.woff2 +0 -0
  53. package/dist/theme-packs/bauhaus/fonts/SpaceMono-700-latin.woff2 +0 -0
  54. package/dist/theme-packs/bauhaus/meta.json +38 -0
  55. package/dist/theme-packs/bauhaus/pack.css +614 -0
  56. package/dist/theme-packs/blueprint/fonts/IBMPlexMono-400-latin-ext.woff2 +0 -0
  57. package/dist/theme-packs/blueprint/fonts/IBMPlexMono-400-latin.woff2 +0 -0
  58. package/dist/theme-packs/blueprint/fonts/IBMPlexMono-500-latin-ext.woff2 +0 -0
  59. package/dist/theme-packs/blueprint/fonts/IBMPlexMono-500-latin.woff2 +0 -0
  60. package/dist/theme-packs/blueprint/fonts/Inter-latin-ext.woff2 +0 -0
  61. package/dist/theme-packs/blueprint/fonts/Inter-latin.woff2 +0 -0
  62. package/dist/theme-packs/blueprint/fonts/JosefinSans-latin.woff2 +0 -0
  63. package/dist/theme-packs/blueprint/fonts/OFL.txt +95 -0
  64. package/dist/theme-packs/blueprint/meta.json +38 -0
  65. package/dist/theme-packs/blueprint/pack.css +577 -0
  66. package/dist/theme-packs/botanica/fonts/CormorantGaramond-latin.woff2 +0 -0
  67. package/dist/theme-packs/botanica/fonts/CourierPrime-400-latin-ext.woff2 +0 -0
  68. package/dist/theme-packs/botanica/fonts/CourierPrime-400-latin.woff2 +0 -0
  69. package/dist/theme-packs/botanica/fonts/CourierPrime-700-latin-ext.woff2 +0 -0
  70. package/dist/theme-packs/botanica/fonts/CourierPrime-700-latin.woff2 +0 -0
  71. package/dist/theme-packs/botanica/fonts/CrimsonPro-latin-italic.woff2 +0 -0
  72. package/dist/theme-packs/botanica/fonts/CrimsonPro-latin.woff2 +0 -0
  73. package/dist/theme-packs/botanica/fonts/OFL.txt +95 -0
  74. package/dist/theme-packs/botanica/meta.json +38 -0
  75. package/dist/theme-packs/botanica/pack.css +546 -0
  76. package/dist/theme-packs/brutalist/meta.json +1 -1
  77. package/dist/theme-packs/brutalist/pack.css +10 -9
  78. package/dist/theme-packs/eink/fonts/CourierPrime-400-latin-ext.woff2 +0 -0
  79. package/dist/theme-packs/eink/fonts/CourierPrime-400-latin.woff2 +0 -0
  80. package/dist/theme-packs/eink/fonts/CourierPrime-700-latin-ext.woff2 +0 -0
  81. package/dist/theme-packs/eink/fonts/CourierPrime-700-latin.woff2 +0 -0
  82. package/dist/theme-packs/eink/fonts/EBGaramond-latin-italic.woff2 +0 -0
  83. package/dist/theme-packs/eink/fonts/EBGaramond-latin.woff2 +0 -0
  84. package/dist/theme-packs/eink/fonts/OFL.txt +94 -0
  85. package/dist/theme-packs/eink/meta.json +37 -0
  86. package/dist/theme-packs/eink/pack.css +490 -0
  87. package/dist/theme-packs/foundry/meta.json +1 -1
  88. package/dist/theme-packs/foundry/pack.css +2 -2
  89. package/dist/theme-packs/hearth/meta.json +1 -1
  90. package/dist/theme-packs/hearth/pack.css +1 -1
  91. package/dist/theme-packs/nocturne/pack.css +4 -0
  92. package/dist/theme-packs/observatory/meta.json +1 -1
  93. package/dist/theme-packs/observatory/pack.css +4 -1
  94. package/dist/theme-packs/onyx/pack.css +6 -0
  95. package/dist/theme-packs/phosphor/pack.css +4 -0
  96. package/dist/theme-packs/riso/fonts/ArchivoBlack-latin.woff2 +0 -0
  97. package/dist/theme-packs/riso/fonts/OFL.txt +95 -0
  98. package/dist/theme-packs/riso/fonts/SpaceGrotesk-latin.woff2 +0 -0
  99. package/dist/theme-packs/riso/fonts/SpaceMono-400-italic-latin.woff2 +0 -0
  100. package/dist/theme-packs/riso/fonts/SpaceMono-400-latin.woff2 +0 -0
  101. package/dist/theme-packs/riso/fonts/SpaceMono-700-latin.woff2 +0 -0
  102. package/dist/theme-packs/riso/meta.json +38 -0
  103. package/dist/theme-packs/riso/pack.css +602 -0
  104. package/dist/theme-packs/sakura/fonts/MPlus1Code-400-latin.woff2 +0 -0
  105. package/dist/theme-packs/sakura/fonts/MPlus1Code-500-latin.woff2 +0 -0
  106. package/dist/theme-packs/sakura/fonts/Nunito-latin.woff2 +0 -0
  107. package/dist/theme-packs/sakura/fonts/OFL.txt +95 -0
  108. package/dist/theme-packs/sakura/fonts/ShipporiMincho-600-latin.woff2 +0 -0
  109. package/dist/theme-packs/sakura/fonts/ShipporiMincho-700-latin.woff2 +0 -0
  110. package/dist/theme-packs/sakura/meta.json +38 -0
  111. package/dist/theme-packs/sakura/pack.css +473 -0
  112. package/dist/theme-packs/scandi/fonts/Manrope-latin.woff2 +0 -0
  113. package/dist/theme-packs/scandi/fonts/OFL.txt +94 -0
  114. package/dist/theme-packs/scandi/fonts/SplineSansMono-latin.woff2 +0 -0
  115. package/dist/theme-packs/scandi/meta.json +37 -0
  116. package/dist/theme-packs/scandi/pack.css +370 -0
  117. package/dist/theme-packs/sumi/meta.json +1 -1
  118. package/dist/theme-packs/sumi/pack.css +4 -1
  119. package/dist/theme-packs/swissgrid/pack.css +4 -0
  120. package/dist/theme-packs/tidepool/fonts/JetBrainsMono-latin-ext.woff2 +0 -0
  121. package/dist/theme-packs/tidepool/fonts/JetBrainsMono-latin.woff2 +0 -0
  122. package/dist/theme-packs/tidepool/fonts/OFL.txt +94 -0
  123. package/dist/theme-packs/tidepool/fonts/SpaceGrotesk-latin.woff2 +0 -0
  124. package/dist/theme-packs/tidepool/meta.json +37 -0
  125. package/dist/theme-packs/tidepool/pack.css +425 -0
  126. package/dist/theme-packs/timberline/fonts/Fraunces-italic-latin.woff2 +0 -0
  127. package/dist/theme-packs/timberline/fonts/Fraunces-latin.woff2 +0 -0
  128. package/dist/theme-packs/timberline/fonts/JetBrainsMono-latin.woff2 +0 -0
  129. package/dist/theme-packs/timberline/fonts/OFL.txt +95 -0
  130. package/dist/theme-packs/timberline/fonts/SourceSans3-italic-latin.woff2 +0 -0
  131. package/dist/theme-packs/timberline/fonts/SourceSans3-latin.woff2 +0 -0
  132. package/dist/theme-packs/timberline/meta.json +38 -0
  133. package/dist/theme-packs/timberline/pack.css +509 -0
  134. package/dist/theme-packs/washi/meta.json +1 -1
  135. package/dist/theme-packs/washi/pack.css +6 -26
  136. package/eject/doc-history/index.tsx +1 -1
  137. package/eject/doc-pager/index.tsx +2 -2
  138. package/eject/header/header.tsx +16 -8
  139. package/eject/header/nav-class-tokens.ts +115 -0
  140. package/eject/header/nav-overflow-script.ts +49 -16
  141. package/eject/sidebar-tree-island/index.tsx +4 -4
  142. package/package.json +16 -8
  143. package/routes-src/index.tsx +2 -1
  144. package/routes-src/locale-index.tsx +2 -1
@@ -0,0 +1,577 @@
1
+ /* ============================================================
2
+ Blueprint — zudo-doc theme pack (ADR docs/adr/theme-packs.md)
3
+
4
+ Cyanotype drafting sheet. DARK is the hero — the print itself:
5
+ prussian-blue paper, pale-cyan/white linework ink, a faint
6
+ grid-paper ground (fine 24px cells, a major rule every 96px),
7
+ and a yellow-marker selection highlight. LIGHT is the vellum
8
+ original at the drafting table — pale blue-white paper ruled
9
+ with the same grid, prussian ink lines, drafting-blue links.
10
+ Shape language: SQUARE — zero radius, dashed construction
11
+ lines, hard offset "sheet" shadows, mono-caps micro-labels.
12
+ Signature moves: grid-paper ground; a title-block header
13
+ (Josefin Sans caps in a bordered cell, double bottom rule);
14
+ dashed drafting rules labelled in IBM Plex Mono caps (FIG.
15
+ labels on code panes, schedule-block table heads, annotation
16
+ captions). The grid stays strictly LINEAR — no dot fields
17
+ (observatory owns star-dots) and no aurora washes (fjord).
18
+
19
+ Fonts: Inter body (variable 400–700, latin + latin-ext),
20
+ Josefin Sans title-block display (variable 100–700, latin),
21
+ IBM Plex Mono code + labels (400/500, latin + latin-ext).
22
+
23
+ Every rule below is scoped under html[data-theme-pack="blueprint"]
24
+ — this is what makes the runtime pack swap atomic (Decision 3)
25
+ and lets the validator prove a pack can never leak styles while
26
+ inactive (Decision 6.7). The @font-face blocks are the sole
27
+ exception (at-rules can't be selector-scoped).
28
+
29
+ Prototype-selector adaptations against the REAL DOM (the
30
+ authoring guide's hook table), where they matter:
31
+ - `.sb-group > p` / `.toc-title` / `.hdr-search` — prototype
32
+ mock markup with no stable hook; their cyan-caps styling is
33
+ NOT ported (the mono-caps voice lives on real hooks instead).
34
+ - `.toc-active` → `nav[data-zd-toc] a[aria-current="true"]`
35
+ (toc/toc.tsx marks the active entry with aria-current).
36
+ - `.doc-pager a` → `.zd-content > nav[data-doc-pager] > a`.
37
+ - the prototype's `--bp-*` helper properties are not part of
38
+ the token manifest, so their values are inlined at each use
39
+ site: "line" = color-mix(in oklch, var(--zd-fg) 55%,
40
+ transparent), "line-soft" = the same at 26%.
41
+ - prototype h2 callout counters are dropped — swissgrid owns
42
+ oversized section numbering; Blueprint's h2 is a Josefin
43
+ caps annotation over a dashed construction rule.
44
+
45
+ Contrast: every pair below (including composited surfaces —
46
+ admonition tints, grid-line-over-bg worst case, hover washes,
47
+ the active TOC/sidebar backdrops) was checked computationally
48
+ with culori at >= 4.6:1 in BOTH modes; the binding pairs are
49
+ the light-mode comment ink on the vellum code panel (4.88:1)
50
+ and the light danger admonition title on its tint (5.09:1).
51
+ ============================================================ */
52
+
53
+ /* ---- Inter — reading face and chrome. Variable 400–700,
54
+ latin + latin-ext. ---- */
55
+
56
+ @font-face {
57
+ font-family: "Inter";
58
+ font-style: normal;
59
+ font-weight: 400 700;
60
+ font-display: swap;
61
+ src: url("./fonts/Inter-latin.woff2") format("woff2");
62
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
63
+ U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
64
+ U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
65
+ }
66
+
67
+ @font-face {
68
+ font-family: "Inter";
69
+ font-style: normal;
70
+ font-weight: 400 700;
71
+ font-display: swap;
72
+ src: url("./fonts/Inter-latin-ext.woff2") format("woff2");
73
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
74
+ U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
75
+ U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
76
+ U+A720-A7FF;
77
+ }
78
+
79
+ /* ---- Josefin Sans — the title-block display face: h1/h2 caps
80
+ and the header logo cell. Variable 100–700, latin. ---- */
81
+
82
+ @font-face {
83
+ font-family: "Josefin Sans";
84
+ font-style: normal;
85
+ font-weight: 100 700;
86
+ font-display: swap;
87
+ src: url("./fonts/JosefinSans-latin.woff2") format("woff2");
88
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
89
+ U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
90
+ U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
91
+ }
92
+
93
+ /* ---- IBM Plex Mono — code panes and every mono-caps drafting
94
+ label. 400 for code, 500 for labels; no italic file is
95
+ shipped — .hi-com renders synthesized-oblique (the
96
+ ledger/fjord precedent). ---- */
97
+
98
+ @font-face {
99
+ font-family: "IBM Plex Mono";
100
+ font-style: normal;
101
+ font-weight: 400;
102
+ font-display: swap;
103
+ src: url("./fonts/IBMPlexMono-400-latin.woff2") format("woff2");
104
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
105
+ U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
106
+ U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
107
+ }
108
+
109
+ @font-face {
110
+ font-family: "IBM Plex Mono";
111
+ font-style: normal;
112
+ font-weight: 400;
113
+ font-display: swap;
114
+ src: url("./fonts/IBMPlexMono-400-latin-ext.woff2") format("woff2");
115
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
116
+ U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
117
+ U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
118
+ U+A720-A7FF;
119
+ }
120
+
121
+ @font-face {
122
+ font-family: "IBM Plex Mono";
123
+ font-style: normal;
124
+ font-weight: 500;
125
+ font-display: swap;
126
+ src: url("./fonts/IBMPlexMono-500-latin.woff2") format("woff2");
127
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
128
+ U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
129
+ U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
130
+ }
131
+
132
+ @font-face {
133
+ font-family: "IBM Plex Mono";
134
+ font-style: normal;
135
+ font-weight: 500;
136
+ font-display: swap;
137
+ src: url("./fonts/IBMPlexMono-500-latin-ext.woff2") format("woff2");
138
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
139
+ U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
140
+ U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
141
+ U+A720-A7FF;
142
+ }
143
+
144
+ html[data-theme-pack="blueprint"] {
145
+ /* Tier-2 semantic roles — prussian print / vellum original.
146
+ Both modes always via light-dark(). The selection pair is the
147
+ yellow drafting marker in BOTH modes — text you select reads
148
+ as highlighter on the sheet. */
149
+ --zd-bg: light-dark(oklch(0.965 0.012 235), oklch(0.27 0.055 252));
150
+ --zd-fg: light-dark(oklch(0.28 0.05 253), oklch(0.965 0.01 220));
151
+ --zd-selection-bg: light-dark(oklch(0.89 0.14 98), oklch(0.86 0.14 95));
152
+ --zd-selection-fg: light-dark(oklch(0.25 0.05 255), oklch(0.24 0.05 255));
153
+ --zd-surface: light-dark(oklch(0.94 0.016 237), oklch(0.235 0.05 254));
154
+ --zd-muted: light-dark(oklch(0.45 0.045 248), oklch(0.78 0.038 230));
155
+ --zd-accent: light-dark(oklch(0.44 0.095 235), oklch(0.86 0.09 205));
156
+ --zd-accent-hover: light-dark(oklch(0.38 0.09 240), oklch(0.91 0.095 200));
157
+ --zd-code-bg: light-dark(oklch(0.93 0.018 236), oklch(0.215 0.048 256));
158
+ --zd-code-fg: light-dark(oklch(0.27 0.05 253), oklch(0.955 0.012 222));
159
+ --zd-success: light-dark(oklch(0.43 0.1 165), oklch(0.8 0.12 165));
160
+ --zd-danger: light-dark(oklch(0.49 0.15 25), oklch(0.76 0.12 22));
161
+ --zd-warning: light-dark(oklch(0.47 0.09 80), oklch(0.85 0.13 90));
162
+ --zd-info: light-dark(oklch(0.45 0.08 235), oklch(0.82 0.08 220));
163
+
164
+ /* syntax — all 9 roles, both modes: linework ink family. The
165
+ keyword is the yellow drafting marker (ochre ink on vellum);
166
+ strings run cyan-teal, callables drafting cyan, types pale
167
+ steel; identifiers stay linework-white/prussian.
168
+ inserted/deleted reuse the success/danger hues. */
169
+ --zd-syntax-comment: light-dark(oklch(0.5 0.03 248), oklch(0.72 0.032 235));
170
+ --zd-syntax-string: light-dark(oklch(0.43 0.085 195), oklch(0.83 0.1 185));
171
+ --zd-syntax-number: light-dark(oklch(0.48 0.1 70), oklch(0.84 0.11 80));
172
+ --zd-syntax-keyword: light-dark(oklch(0.46 0.1 80), oklch(0.87 0.12 95));
173
+ --zd-syntax-callable: light-dark(oklch(0.44 0.09 235), oklch(0.83 0.085 215));
174
+ --zd-syntax-type: light-dark(oklch(0.42 0.06 220), oklch(0.88 0.045 200));
175
+ --zd-syntax-name: light-dark(oklch(0.27 0.05 253), oklch(0.955 0.012 222));
176
+ --zd-syntax-inserted: light-dark(oklch(0.43 0.1 165), oklch(0.8 0.12 165));
177
+ --zd-syntax-deleted: light-dark(oklch(0.49 0.15 25), oklch(0.76 0.12 22));
178
+
179
+ /* fonts — Inter body, IBM Plex Mono code/labels, Josefin Sans
180
+ title-block display. */
181
+ --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
182
+ --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
183
+ --font-display: "Josefin Sans", "Inter", system-ui, sans-serif;
184
+
185
+ /* Tier-3 component seams — Josefin caps titles, square shape
186
+ language (drafting sheets have no rounded corners), dashed
187
+ construction-line link underlines, cyan active pill (sidebar
188
+ active text renders in --zd-bg over this — checked both
189
+ modes). */
190
+ --zdc-doc-title-font: var(--font-display);
191
+ --zdc-doc-title-weight: 600;
192
+ --zdc-doc-title-tracking: 0.05em;
193
+ --zdc-doc-h2-font: var(--font-display);
194
+ --zdc-doc-h2-weight: 600;
195
+ --zdc-doc-h2-tracking: 0.06em;
196
+ --zdc-doc-h3-weight: 500;
197
+ --zdc-doc-h4-weight: 600;
198
+ --zdc-doc-link-decoration: underline dashed;
199
+ --zdc-admonition-radius: 0;
200
+ --zdc-admonition-border-width: 3px;
201
+ --zdc-card-radius: 0;
202
+ --zdc-nav-active-indicator-color: var(--zd-accent);
203
+ --zdc-nav-active-weight: 600;
204
+ }
205
+
206
+ /* ---- Blueprint extras ---- */
207
+
208
+ html[data-theme-pack="blueprint"] {
209
+ scrollbar-color: color-mix(in oklch, var(--zd-muted) 45%, transparent) transparent;
210
+ }
211
+
212
+ /* the drafting sheet: fine 24px grid cells with a major rule every
213
+ 96px, fixed to the viewport so the whole page reads as one sheet.
214
+ Line alphas are deliberately faint — fg/muted/accent ink over the
215
+ MAJOR line composite still clears 4.6:1 in both modes (culori-
216
+ checked worst case; light 5.02:1 muted, dark 5.80:1 muted). */
217
+ html[data-theme-pack="blueprint"] body {
218
+ background-color: var(--zd-bg);
219
+ background-image:
220
+ linear-gradient(
221
+ to right,
222
+ light-dark(oklch(0.32 0.06 250 / 0.16), oklch(0.93 0.02 220 / 0.1)) 1px,
223
+ transparent 1px
224
+ ),
225
+ linear-gradient(
226
+ to bottom,
227
+ light-dark(oklch(0.32 0.06 250 / 0.16), oklch(0.93 0.02 220 / 0.1)) 1px,
228
+ transparent 1px
229
+ ),
230
+ linear-gradient(
231
+ to right,
232
+ light-dark(oklch(0.32 0.06 250 / 0.09), oklch(0.93 0.02 220 / 0.055)) 1px,
233
+ transparent 1px
234
+ ),
235
+ linear-gradient(
236
+ to bottom,
237
+ light-dark(oklch(0.32 0.06 250 / 0.09), oklch(0.93 0.02 220 / 0.055)) 1px,
238
+ transparent 1px
239
+ );
240
+ background-size:
241
+ 96px 96px,
242
+ 96px 96px,
243
+ 24px 24px,
244
+ 24px 24px;
245
+ background-attachment: fixed;
246
+ }
247
+
248
+ /* ---- title-block header: solid strip over the sheet, heavy rule
249
+ with a second offset hairline (the double border of a
250
+ drawing's title block) ---- */
251
+ html[data-theme-pack="blueprint"] header[data-header] {
252
+ background-color: var(--zd-surface);
253
+ border-bottom: 2px solid color-mix(in oklch, var(--zd-fg) 55%, transparent);
254
+ }
255
+ html[data-theme-pack="blueprint"] header[data-header]::after {
256
+ content: "";
257
+ position: absolute;
258
+ left: 0;
259
+ right: 0;
260
+ bottom: -5px;
261
+ height: 1px;
262
+ background: color-mix(in oklch, var(--zd-fg) 26%, transparent);
263
+ pointer-events: none;
264
+ }
265
+ /* the logo is the title-block cell: Josefin caps, bordered, with a
266
+ drafting center-mark stamp */
267
+ html[data-theme-pack="blueprint"] [data-header-logo] {
268
+ font-family: var(--font-display);
269
+ font-size: 1rem;
270
+ font-weight: 600;
271
+ text-transform: uppercase;
272
+ letter-spacing: 0.14em;
273
+ border: 1px solid color-mix(in oklch, var(--zd-fg) 55%, transparent);
274
+ padding: 0.3rem 0.7rem 0.24rem;
275
+ background-color: var(--zd-bg);
276
+ }
277
+ html[data-theme-pack="blueprint"] [data-header-logo]::before {
278
+ content: "⌖ ";
279
+ color: var(--zd-accent);
280
+ font-weight: 400;
281
+ }
282
+ /* header nav: mono-caps micro-labels, dashed underline on intent */
283
+ html[data-theme-pack="blueprint"] [data-nav-item] {
284
+ font-family: var(--font-mono);
285
+ font-size: 0.72rem;
286
+ font-weight: 500;
287
+ text-transform: uppercase;
288
+ letter-spacing: 0.11em;
289
+ border-radius: 0;
290
+ }
291
+ html[data-theme-pack="blueprint"] [data-nav-item]:hover {
292
+ color: var(--zd-fg);
293
+ text-decoration: underline dashed;
294
+ text-underline-offset: 4px;
295
+ }
296
+
297
+ /* ---- sidebar: transparent so the sheet grid runs beneath it
298
+ (every ink/grid composite is contrast-checked); hairline
299
+ divider. The mobile drawer overlays content, so it stays
300
+ SOLID paper. ---- */
301
+ html[data-theme-pack="blueprint"] #desktop-sidebar {
302
+ background-color: transparent;
303
+ border-right: 1px solid color-mix(in oklch, var(--zd-fg) 40%, transparent);
304
+ }
305
+ html[data-theme-pack="blueprint"] aside[data-zd-mobile-sidebar] {
306
+ background-color: var(--zd-bg);
307
+ border-right: 1px solid color-mix(in oklch, var(--zd-fg) 55%, transparent);
308
+ }
309
+ /* Hover wash EXCLUDES the active pill (the scandi/washi guard pattern):
310
+ without the :not() guards this wash replaced the cyan pill behind its
311
+ inverted --zd-bg ink (1.15:1 light / 1.22:1 dark — rendered-audit FAIL).
312
+ Hover ink is the pack's own accent-hover (deeper print blue light /
313
+ brighter linework cyan dark): 5.90:1 on the light wash+grid worst case,
314
+ 7.48:1 dark — the plain accent sat at 4.54:1 there (WARN band). */
315
+ html[data-theme-pack="blueprint"] #desktop-sidebar a:hover:not([data-nav-active]):not([aria-current="page"]),
316
+ html[data-theme-pack="blueprint"] aside[data-zd-mobile-sidebar] a:hover:not([data-nav-active]):not([aria-current="page"]) {
317
+ background: color-mix(in oklch, var(--zd-muted) 10%, transparent);
318
+ color: var(--zd-accent-hover);
319
+ text-decoration: none;
320
+ }
321
+ /* active item: the cyan pill comes from --zdc-nav-active-indicator-
322
+ color (text renders in --zd-bg over it — 6.91:1 light, 10.15:1
323
+ dark); a hard 3px inset edge squares it off like a filled cell */
324
+ html[data-theme-pack="blueprint"] a[data-nav-active] {
325
+ box-shadow: inset 3px 0 0 color-mix(in oklch, var(--zd-fg) 55%, transparent);
326
+ }
327
+
328
+ /* ---- headings: title-block caps over drafting rules ---- */
329
+ /* h1: double rule beneath — the sheet's title bar */
330
+ html[data-theme-pack="blueprint"] .zd-content h1 {
331
+ text-transform: uppercase;
332
+ border-bottom: 3px double color-mix(in oklch, var(--zd-fg) 55%, transparent);
333
+ padding-bottom: 0.55rem;
334
+ }
335
+ /* h2: dashed construction rule replacing the SSR-inlined gradient
336
+ (border-image !important is Decision 6.6's sole carve-out) */
337
+ html[data-theme-pack="blueprint"] .zd-content h2 {
338
+ border-image: none !important;
339
+ border-top: 1px dashed color-mix(in oklch, var(--zd-fg) 55%, transparent);
340
+ text-transform: uppercase;
341
+ }
342
+ /* h3: a mono-caps drafting sub-label; its gradient hairline goes
343
+ too (same carve-out), replaced by nothing — the caps label IS
344
+ the rule */
345
+ html[data-theme-pack="blueprint"] .zd-content h3 {
346
+ border-image: none !important;
347
+ font-family: var(--font-mono);
348
+ text-transform: uppercase;
349
+ letter-spacing: 0.07em;
350
+ font-size: 1rem;
351
+ }
352
+ html[data-theme-pack="blueprint"] .zd-content h4 {
353
+ border-image: none !important;
354
+ letter-spacing: 0.02em;
355
+ }
356
+
357
+ /* description: the annotation line under the title — mono, with a
358
+ dashed caption rule closing it off */
359
+ html[data-theme-pack="blueprint"] p[data-doc-description] {
360
+ font-family: var(--font-mono);
361
+ font-size: 0.95rem;
362
+ line-height: 1.7;
363
+ border-bottom: 1px dashed color-mix(in oklch, var(--zd-fg) 26%, transparent);
364
+ padding-bottom: 0.85rem;
365
+ }
366
+
367
+ /* links: dashed construction-line underlines (from the
368
+ --zdc-doc-link-decoration seam), offset so the dashes read as a
369
+ rule under the word, solid on hover */
370
+ html[data-theme-pack="blueprint"] .zd-content a {
371
+ text-underline-offset: 3px;
372
+ }
373
+ html[data-theme-pack="blueprint"] .zd-content a:hover {
374
+ text-decoration-style: solid;
375
+ }
376
+
377
+ /* inline code: a stamped cell on the sheet */
378
+ html[data-theme-pack="blueprint"] .zd-content code:not(pre code) {
379
+ border: 1px solid color-mix(in oklch, var(--zd-fg) 25%, transparent);
380
+ border-radius: 0;
381
+ }
382
+
383
+ /* ---- code blocks: numbered-figure panes — dashed frame, hard
384
+ offset sheet shadow, and a mono-caps FIG. label ruled off
385
+ from the code ---- */
386
+ html[data-theme-pack="blueprint"] pre.hi-root {
387
+ border: 1px dashed color-mix(in oklch, var(--zd-fg) 45%, transparent);
388
+ border-radius: 0;
389
+ box-shadow: 6px 6px 0 -2px color-mix(in oklch, var(--zd-fg) 14%, transparent);
390
+ }
391
+ html[data-theme-pack="blueprint"] pre.hi-root::before {
392
+ content: "FIG.";
393
+ display: block;
394
+ font-size: 0.64rem;
395
+ font-weight: 500;
396
+ letter-spacing: 0.24em;
397
+ color: var(--zd-accent);
398
+ border-bottom: 1px dashed color-mix(in oklch, var(--zd-fg) 26%, transparent);
399
+ padding-bottom: 0.5rem;
400
+ margin-bottom: 0.8rem;
401
+ }
402
+ html[data-theme-pack="blueprint"] .hi-com {
403
+ font-style: italic;
404
+ }
405
+ html[data-theme-pack="blueprint"] .hi-kw {
406
+ font-weight: 500;
407
+ }
408
+
409
+ /* ---- admonitions: framed drawing notes — solid variant edge on
410
+ the left (the --zdc seams), dashed construction lines on
411
+ the other three sides, mono-caps titles. Plex ships 400/500
412
+ only, so the title weight is pinned to 500 (no synthesized
413
+ semibold). ---- */
414
+ html[data-theme-pack="blueprint"] [data-admonition] {
415
+ border-top: 1px dashed color-mix(in oklch, var(--zd-fg) 26%, transparent);
416
+ border-right: 1px dashed color-mix(in oklch, var(--zd-fg) 26%, transparent);
417
+ border-bottom: 1px dashed color-mix(in oklch, var(--zd-fg) 26%, transparent);
418
+ }
419
+ html[data-theme-pack="blueprint"] [data-admonition] .admonition-title {
420
+ font-family: var(--font-mono);
421
+ font-weight: 500;
422
+ font-size: 0.78rem;
423
+ text-transform: uppercase;
424
+ letter-spacing: 0.14em;
425
+ }
426
+ /* drafting-symbol icons for all 7 variants — linear glyphs only */
427
+ html[data-theme-pack="blueprint"] [data-admonition="note"] .admonition-title::before {
428
+ content: "▣ ";
429
+ }
430
+ html[data-theme-pack="blueprint"] [data-admonition="tip"] .admonition-title::before {
431
+ content: "◈ ";
432
+ }
433
+ html[data-theme-pack="blueprint"] [data-admonition="info"] .admonition-title::before {
434
+ content: "◎ ";
435
+ }
436
+ html[data-theme-pack="blueprint"] [data-admonition="warning"] .admonition-title::before {
437
+ content: "△ ";
438
+ }
439
+ html[data-theme-pack="blueprint"] [data-admonition="danger"] .admonition-title::before {
440
+ content: "⊘ ";
441
+ }
442
+ html[data-theme-pack="blueprint"] [data-admonition="important"] .admonition-title::before {
443
+ content: "◆ ";
444
+ }
445
+ html[data-theme-pack="blueprint"] [data-admonition="caution"] .admonition-title::before {
446
+ /* filled triangle escalates warning's outline "△" — and unlike
447
+ U+29B8, it renders everywhere */
448
+ content: "▲ ";
449
+ }
450
+
451
+ /* blockquote: a dashed reference line */
452
+ html[data-theme-pack="blueprint"] .zd-content blockquote {
453
+ border-left: 2px dashed color-mix(in oklch, var(--zd-accent) 70%, transparent);
454
+ }
455
+
456
+ /* hr: a construction rule */
457
+ html[data-theme-pack="blueprint"] .zd-content hr {
458
+ border-top-style: dashed;
459
+ border-top-color: color-mix(in oklch, var(--zd-fg) 45%, transparent);
460
+ }
461
+
462
+ /* ---- tables: the schedule block — mono-caps column heads over a
463
+ heavy rule, dashed row rules ---- */
464
+ html[data-theme-pack="blueprint"] .zd-content table {
465
+ border: 1px solid color-mix(in oklch, var(--zd-fg) 45%, transparent);
466
+ }
467
+ html[data-theme-pack="blueprint"] .zd-content th {
468
+ font-family: var(--font-mono);
469
+ font-weight: 500;
470
+ font-size: 0.75rem;
471
+ text-transform: uppercase;
472
+ letter-spacing: 0.1em;
473
+ background-color: color-mix(in oklch, var(--zd-fg) 7%, transparent);
474
+ border-bottom: 2px solid color-mix(in oklch, var(--zd-fg) 55%, transparent);
475
+ }
476
+ html[data-theme-pack="blueprint"] .zd-content td {
477
+ border-bottom: 1px dashed color-mix(in oklch, var(--zd-fg) 26%, transparent);
478
+ }
479
+
480
+ /* ---- TOC: the construction-line index — dashed rail, active
481
+ entry squared onto the rail with a solid 2px edge (the
482
+ foundry pull-back geometry: the ul's overflow clips at the
483
+ padding edge, so the entry pulls back exactly to it; text
484
+ position is preserved: -pad + 2px border + pad - 2px = 0).
485
+ Text stays fg over the cyan wash (9.11:1 dark / 10.27:1
486
+ light). ---- */
487
+ html[data-theme-pack="blueprint"] nav[data-zd-toc] ul {
488
+ border-left-style: dashed;
489
+ border-left-color: color-mix(in oklch, var(--zd-fg) 40%, transparent);
490
+ }
491
+ html[data-theme-pack="blueprint"] nav[data-zd-toc] a:hover {
492
+ color: var(--zd-fg);
493
+ }
494
+ html[data-theme-pack="blueprint"] nav[data-zd-toc] a[aria-current="true"] {
495
+ background: color-mix(in oklch, var(--zd-accent) 16%, transparent);
496
+ color: var(--zd-fg);
497
+ font-weight: 600;
498
+ margin-left: calc(-1 * var(--spacing-hsp-lg, 1rem));
499
+ padding-left: calc(var(--spacing-hsp-lg, 1rem) - 2px);
500
+ border-left: 2px solid var(--zd-accent);
501
+ }
502
+ /* mobile TOC: a detail-callout box — solid paper, dashed frame */
503
+ html[data-theme-pack="blueprint"] div[data-zd-mobile-toc] {
504
+ background-color: var(--zd-bg);
505
+ border: 1px dashed color-mix(in oklch, var(--zd-fg) 40%, transparent);
506
+ }
507
+
508
+ /* ---- pager: detail-callout cards — dashed until hover, then the
509
+ line solidifies and the card lifts off the sheet ---- */
510
+ html[data-theme-pack="blueprint"] .zd-content > nav[data-doc-pager] > a {
511
+ /* the pager's rounded-lg utility is NOT covered by --zdc-card-radius
512
+ (features.css only maps that token onto a.group.block.rounded), so
513
+ the square corner is set here explicitly — the fjord precedent. */
514
+ border-radius: 0;
515
+ border-style: dashed;
516
+ border-color: color-mix(in oklch, var(--zd-fg) 45%, transparent);
517
+ background-color: var(--zd-bg);
518
+ }
519
+ html[data-theme-pack="blueprint"] .zd-content > nav[data-doc-pager] > a:hover {
520
+ border-style: solid;
521
+ border-color: color-mix(in oklch, var(--zd-fg) 55%, transparent);
522
+ background-color: var(--zd-bg);
523
+ background-image: linear-gradient(
524
+ color-mix(in oklch, var(--zd-accent) 7%, transparent),
525
+ color-mix(in oklch, var(--zd-accent) 7%, transparent)
526
+ );
527
+ box-shadow: 5px 5px 0 -1px color-mix(in oklch, var(--zd-fg) 14%, transparent);
528
+ }
529
+
530
+ /* ---- footer: the sheet's edge strip — heavy rule, mono
531
+ small-print ---- */
532
+ html[data-theme-pack="blueprint"] footer[data-footer] {
533
+ border-top: 2px solid color-mix(in oklch, var(--zd-fg) 55%, transparent);
534
+ background-color: var(--zd-surface);
535
+ font-family: var(--font-mono);
536
+ font-size: 0.8rem;
537
+ letter-spacing: 0.02em;
538
+ }
539
+
540
+ /* ---- theme-pack switcher: a double-framed title block riding its
541
+ own patch of grid paper; the launcher is a square drafting
542
+ stamp. The offset outer rule is drawn as box-shadow rings, NOT
543
+ `outline`, so the card's keyboard focus-visible accent outline
544
+ keeps working (an unlayered pack `outline` would silently
545
+ override that utility — the broadsheet/onyx precedent, #2883
546
+ class). ---- */
547
+ html[data-theme-pack="blueprint"] div[data-switcher-card] {
548
+ border: 1px solid color-mix(in oklch, var(--zd-fg) 55%, transparent);
549
+ border-radius: 0;
550
+ /* trailing pair replicates the card's default shadow-lg elevation,
551
+ which this unlayered box-shadow would otherwise cancel */
552
+ box-shadow:
553
+ 0 0 0 4px var(--zd-surface),
554
+ 0 0 0 5px color-mix(in oklch, var(--zd-fg) 26%, transparent),
555
+ 0 10px 15px -3px rgb(0 0 0 / 0.1),
556
+ 0 4px 6px -4px rgb(0 0 0 / 0.1);
557
+ background-color: var(--zd-surface);
558
+ background-image:
559
+ linear-gradient(
560
+ to right,
561
+ light-dark(oklch(0.32 0.06 250 / 0.09), oklch(0.93 0.02 220 / 0.055)) 1px,
562
+ transparent 1px
563
+ ),
564
+ linear-gradient(
565
+ to bottom,
566
+ light-dark(oklch(0.32 0.06 250 / 0.09), oklch(0.93 0.02 220 / 0.055)) 1px,
567
+ transparent 1px
568
+ );
569
+ background-size: 24px 24px;
570
+ box-shadow: 8px 8px 0 -2px color-mix(in oklch, var(--zd-fg) 18%, transparent);
571
+ }
572
+ html[data-theme-pack="blueprint"] button[data-switcher-launcher] {
573
+ border-radius: 0;
574
+ border: 1px solid color-mix(in oklch, var(--zd-fg) 55%, transparent);
575
+ background-color: var(--zd-surface);
576
+ box-shadow: 4px 4px 0 -1px color-mix(in oklch, var(--zd-fg) 25%, transparent);
577
+ }
@@ -0,0 +1,95 @@
1
+ Copyright 2022 The Cormorant Project Authors (https://github.com/CatharsisFonts/Cormorant)
2
+ Copyright 2018 The Crimson Pro Project Authors (https://github.com/Fonthausen/CrimsonPro)
3
+ Copyright 2015 The Courier Prime Project Authors (https://github.com/quoteunquoteapps/CourierPrime)
4
+
5
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
6
+ This license is copied below, and is also available with a FAQ at:
7
+ https://scripts.sil.org/OFL
8
+
9
+
10
+ -----------------------------------------------------------
11
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
12
+ -----------------------------------------------------------
13
+
14
+ PREAMBLE
15
+ The goals of the Open Font License (OFL) are to stimulate worldwide
16
+ development of collaborative font projects, to support the font creation
17
+ efforts of academic and linguistic communities, and to provide a free and
18
+ open framework in which fonts may be shared and improved in partnership
19
+ with others.
20
+
21
+ The OFL allows the licensed fonts to be used, studied, modified and
22
+ redistributed freely as long as they are not sold by themselves. The
23
+ fonts, including any derivative works, can be bundled, embedded,
24
+ redistributed and/or sold with any software provided that any reserved
25
+ names are not used by derivative works. The fonts and derivatives,
26
+ however, cannot be released under any other type of license. The
27
+ requirement for fonts to remain under this license does not apply
28
+ to any document created using the fonts or their derivatives.
29
+
30
+ DEFINITIONS
31
+ "Font Software" refers to the set of files released by the Copyright
32
+ Holder(s) under this license and clearly marked as such. This may
33
+ include source files, build scripts and documentation.
34
+
35
+ "Reserved Font Name" refers to any names specified as such after the
36
+ copyright statement(s).
37
+
38
+ "Original Version" refers to the collection of Font Software components as
39
+ distributed by the Copyright Holder(s).
40
+
41
+ "Modified Version" refers to any derivative made by adding to, deleting,
42
+ or substituting -- in part or in whole -- any of the components of the
43
+ Original Version, by changing formats or by porting the Font Software to a
44
+ new environment.
45
+
46
+ "Author" refers to any designer, engineer, programmer, technical
47
+ writer or other person who contributed to the Font Software.
48
+
49
+ PERMISSION & CONDITIONS
50
+ Permission is hereby granted, free of charge, to any person obtaining
51
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
52
+ redistribute, and sell modified and unmodified copies of the Font
53
+ Software, subject to the following conditions:
54
+
55
+ 1) Neither the Font Software nor any of its individual components,
56
+ in Original or Modified Versions, may be sold by itself.
57
+
58
+ 2) Original or Modified Versions of the Font Software may be bundled,
59
+ redistributed and/or sold with any software, provided that each copy
60
+ contains the above copyright notice and this license. These can be
61
+ included either as stand-alone text files, human-readable headers or
62
+ in the appropriate machine-readable metadata fields within text or
63
+ binary files as long as those fields can be easily viewed by the user.
64
+
65
+ 3) No Modified Version of the Font Software may use the Reserved Font
66
+ Name(s) unless explicit written permission is granted by the corresponding
67
+ Copyright Holder. This restriction only applies to the primary font name as
68
+ presented to the users.
69
+
70
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
71
+ Software shall not be used to promote, endorse or advertise any
72
+ Modified Version, except to acknowledge the contribution(s) of the
73
+ Copyright Holder(s) and the Author(s) or with their explicit written
74
+ permission.
75
+
76
+ 5) The Font Software, modified or unmodified, in part or in whole,
77
+ must be distributed entirely under this license, and must not be
78
+ distributed under any other license. The requirement for fonts to
79
+ remain under this license does not apply to any document created
80
+ using the Font Software.
81
+
82
+ TERMINATION
83
+ This license becomes null and void if any of the above conditions are
84
+ not met.
85
+
86
+ DISCLAIMER
87
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
88
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
89
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
90
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
91
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
92
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
93
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
94
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
95
+ OTHER DEALINGS IN THE FONT SOFTWARE.