@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,37 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "slug": "tidepool",
4
+ "name": "Tidepool",
5
+ "description": "Marine teal dark — deep-sea teal surfaces, seafoam text, bioluminescent aqua accents, kelp-green success, coral danger. Light mode is the same pool at low tide.",
6
+ "mode": "dark",
7
+ "version": "1.0.0",
8
+ "fonts": {
9
+ "sans": "Space Grotesk",
10
+ "mono": "JetBrains Mono",
11
+ "loaded": ["Space Grotesk", "JetBrains Mono"]
12
+ },
13
+ "preview": {
14
+ "light": {
15
+ "bg": "oklch(0.966 0.013 165)",
16
+ "fg": "oklch(0.27 0.045 200)",
17
+ "accent": "oklch(0.43 0.073 195)",
18
+ "syntax": {
19
+ "keyword": "oklch(0.42 0.071 193)",
20
+ "string": "oklch(0.42 0.11 150)",
21
+ "comment": "oklch(0.44 0.03 200)",
22
+ "callable": "oklch(0.44 0.089 232)"
23
+ }
24
+ },
25
+ "dark": {
26
+ "bg": "oklch(0.235 0.032 205)",
27
+ "fg": "oklch(0.92 0.028 180)",
28
+ "accent": "oklch(0.82 0.13 185)",
29
+ "syntax": {
30
+ "keyword": "oklch(0.84 0.14 183)",
31
+ "string": "oklch(0.83 0.14 152)",
32
+ "comment": "oklch(0.69 0.035 195)",
33
+ "callable": "oklch(0.8 0.1 228)"
34
+ }
35
+ }
36
+ }
37
+ }
@@ -0,0 +1,425 @@
1
+ /* ============================================================
2
+ Tidepool — zudo-doc theme pack (ADR docs/adr/theme-packs.md)
3
+
4
+ Marine teal dark. DARK is the hero: a deep-sea teal field,
5
+ seafoam text, and a bioluminescent aqua accent that glows only
6
+ where it should — active nav, code-panel edges, the launcher.
7
+ Kelp-green success, coral danger, sun-through-water amber
8
+ warnings. LIGHT is the same pool at low tide, designed on its
9
+ own terms: pale seafoam/sand paper with deep teal inks, never a
10
+ naive inversion. Shape language: gentle 6px radii and wave-curve
11
+ accents — scalloped crest lines on the h2 rule, horizontal
12
+ rules, the footer shoreline, and the switcher cap. Layered
13
+ teal-family surfaces (bg → sidebar drift → surface → code deep)
14
+ step by small, deliberate deltas. Space Grotesk prose/display,
15
+ JetBrains Mono code.
16
+
17
+ Differentiation notes: NOT fjord (polar BLUE, aurora gradient
18
+ ribbons), NOT drift (slate-blue glow pills, borderless), NOT
19
+ hollow (violet neon — shares Space Grotesk, palette fully
20
+ separates), NOT phosphor (CRT green terminal). Tidepool is
21
+ teal-GREEN, organic, water-worn.
22
+
23
+ Every rule below is scoped under html[data-theme-pack="tidepool"]
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
+ Readability rules honored here:
30
+ - every text backdrop is SOLID (opaque color-mix into bg/surface);
31
+ no backdrop-filter is load-bearing anywhere.
32
+ - glow is decorative only (box-shadows on edges, never under text).
33
+
34
+ The wave-crest ornament is a repeat-x row of overlapping circle
35
+ scallops (12px tile, 5px strip; circle r7 centered 3px past the
36
+ strip edge so adjacent crests fuse into a continuous waterline):
37
+ crest-up: radial-gradient(circle 7px at 6px 8px, W 6.5px, transparent 7px)
38
+ crest-down: radial-gradient(circle 7px at 6px -3px, W 6.5px, transparent 7px)
39
+ W = color-mix(in srgb, var(--zd-accent) 60%, transparent) — a
40
+ decorative line, not a text backdrop, so alpha is fine there.
41
+
42
+ Composited-surface contrast (culori, WCAG 2.x, both modes) was
43
+ checked computationally for: fg/bg, code-fg/code-bg, all 9
44
+ syntax roles vs code-bg, accent-as-link vs bg, muted vs bg,
45
+ selection pair, states-as-text vs bg, fg+muted vs surface, the
46
+ header/sidebar/footer washes, the 10% admonition tints vs their
47
+ variant ink AND vs fg, sidebar/TOC actives vs their ink, and the
48
+ diff inserted/deleted line backgrounds vs code-fg. All ≥ 4.6:1.
49
+ ============================================================ */
50
+
51
+ /* ---- Space Grotesk — the single geometric voice for prose,
52
+ headings, and chrome (variable 300–700, latin). ---- */
53
+
54
+ @font-face {
55
+ font-family: "Space Grotesk";
56
+ font-style: normal;
57
+ font-weight: 300 700;
58
+ font-display: swap;
59
+ src: url("./fonts/SpaceGrotesk-latin.woff2") format("woff2");
60
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
61
+ U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
62
+ U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
63
+ }
64
+
65
+ /* ---- JetBrains Mono — the deep-water code face. Variable
66
+ 400–700, latin + latin-ext. No italic file is shipped; the
67
+ .hi-com italic renders synthesized-oblique (the
68
+ ledger/matcha/fjord precedent). ---- */
69
+
70
+ @font-face {
71
+ font-family: "JetBrains Mono";
72
+ font-style: normal;
73
+ font-weight: 400 700;
74
+ font-display: swap;
75
+ src: url("./fonts/JetBrainsMono-latin.woff2") format("woff2");
76
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
77
+ U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
78
+ U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
79
+ }
80
+
81
+ @font-face {
82
+ font-family: "JetBrains Mono";
83
+ font-style: normal;
84
+ font-weight: 400 700;
85
+ font-display: swap;
86
+ src: url("./fonts/JetBrainsMono-latin-ext.woff2") format("woff2");
87
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
88
+ U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
89
+ U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
90
+ U+A720-A7FF;
91
+ }
92
+
93
+ html[data-theme-pack="tidepool"] {
94
+ /* Tier-2 semantic roles — deep-sea teal / low-tide seafoam.
95
+ Both modes always via light-dark(). */
96
+ --zd-bg: light-dark(oklch(0.966 0.013 165), oklch(0.235 0.032 205));
97
+ --zd-fg: light-dark(oklch(0.27 0.045 200), oklch(0.92 0.028 180));
98
+ --zd-selection-bg: light-dark(oklch(0.85 0.07 180), oklch(0.46 0.078 195));
99
+ --zd-selection-fg: light-dark(oklch(0.22 0.037 210), oklch(0.97 0.012 180));
100
+ --zd-surface: light-dark(oklch(0.935 0.02 170), oklch(0.275 0.034 203));
101
+ --zd-muted: light-dark(oklch(0.45 0.05 200), oklch(0.73 0.045 190));
102
+ --zd-accent: light-dark(oklch(0.43 0.073 195), oklch(0.82 0.13 185));
103
+ --zd-accent-hover: light-dark(oklch(0.37 0.062 200), oklch(0.87 0.135 182));
104
+ --zd-code-bg: light-dark(oklch(0.925 0.022 180), oklch(0.195 0.028 210));
105
+ --zd-code-fg: light-dark(oklch(0.27 0.04 200), oklch(0.915 0.028 182));
106
+ --zd-success: light-dark(oklch(0.42 0.11 150), oklch(0.8 0.14 150));
107
+ --zd-danger: light-dark(oklch(0.47 0.14 25), oklch(0.78 0.115 28));
108
+ --zd-warning: light-dark(oklch(0.5 0.105 75), oklch(0.85 0.1 85));
109
+ --zd-info: light-dark(oklch(0.45 0.089 230), oklch(0.79 0.09 220));
110
+
111
+ /* syntax — all 9 roles, both modes. Dark is the showcase:
112
+ bioluminescence on deep water — aqua keywords, kelp-green
113
+ strings, lagoon-blue callables, anemone-salmon types,
114
+ sun-shaft amber numbers, seafoam identifiers. Light keeps the
115
+ same organisms as deep low-tide inks. inserted/deleted reuse
116
+ the kelp/coral state hues. */
117
+ --zd-syntax-comment: light-dark(oklch(0.44 0.03 200), oklch(0.69 0.035 195));
118
+ --zd-syntax-string: light-dark(oklch(0.42 0.11 150), oklch(0.83 0.14 152));
119
+ --zd-syntax-number: light-dark(oklch(0.46 0.095 80), oklch(0.86 0.11 88));
120
+ --zd-syntax-keyword: light-dark(oklch(0.42 0.071 193), oklch(0.84 0.14 183));
121
+ --zd-syntax-callable: light-dark(oklch(0.44 0.089 232), oklch(0.8 0.1 228));
122
+ --zd-syntax-type: light-dark(oklch(0.47 0.12 40), oklch(0.82 0.1 45));
123
+ --zd-syntax-name: light-dark(oklch(0.28 0.045 200), oklch(0.9 0.03 180));
124
+ --zd-syntax-inserted: light-dark(oklch(0.42 0.11 150), oklch(0.8 0.14 150));
125
+ --zd-syntax-deleted: light-dark(oklch(0.45 0.14 27), oklch(0.78 0.115 28));
126
+
127
+ /* fonts — Space Grotesk everywhere prose and chrome speak,
128
+ JetBrains Mono for code. */
129
+ --font-sans: "Space Grotesk", system-ui, sans-serif;
130
+ --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
131
+
132
+ /* Tier-3 component seams — gentle 6px water-worn radii, snug
133
+ geometric headings (Space Grotesk wants a little tightening). */
134
+ --zdc-doc-title-weight: 600;
135
+ --zdc-doc-title-tracking: -0.02em;
136
+ --zdc-doc-h2-weight: 600;
137
+ --zdc-doc-h2-tracking: -0.012em;
138
+ --zdc-admonition-radius: 0 6px 6px 0;
139
+ --zdc-admonition-border-width: 4px;
140
+ --zdc-card-radius: 6px;
141
+ --zdc-nav-active-weight: 600;
142
+ }
143
+
144
+ /* ---- Tidepool extras ---- */
145
+
146
+ html[data-theme-pack="tidepool"] {
147
+ scrollbar-color: color-mix(in srgb, var(--zd-muted) 45%, transparent) transparent;
148
+ }
149
+
150
+ /* header: a solid shallow-water wash (opaque — readability never
151
+ leans on backdrop-filter) over a teal hairline */
152
+ html[data-theme-pack="tidepool"] header[data-header] {
153
+ background-color: color-mix(in srgb, var(--zd-accent) 5%, var(--zd-bg));
154
+ border-bottom-color: color-mix(in srgb, var(--zd-accent) 30%, transparent);
155
+ }
156
+ html[data-theme-pack="tidepool"] [data-header-logo] {
157
+ letter-spacing: -0.02em;
158
+ }
159
+ html[data-theme-pack="tidepool"] [data-header-logo]::before {
160
+ content: "≈ ";
161
+ color: var(--zd-accent);
162
+ }
163
+
164
+ /* header nav: soft pill wash on hover, 6px water-worn corners */
165
+ html[data-theme-pack="tidepool"] [data-nav-item] {
166
+ border-radius: 6px;
167
+ }
168
+ html[data-theme-pack="tidepool"] [data-nav-item]:hover {
169
+ text-decoration: none;
170
+ background: color-mix(in srgb, var(--zd-muted) 10%, transparent);
171
+ }
172
+
173
+ /* sidebar: a slightly lifted teal layer drifting back down to the
174
+ page field — the first of the layered teal surfaces. The mobile
175
+ drawer (a separate hook, #2887) gets the same water column. */
176
+ html[data-theme-pack="tidepool"] #desktop-sidebar {
177
+ background: linear-gradient(
178
+ 180deg,
179
+ color-mix(in srgb, var(--zd-surface) 70%, var(--zd-bg)),
180
+ var(--zd-bg) 55%
181
+ );
182
+ border-right-color: color-mix(in srgb, var(--zd-accent) 18%, transparent);
183
+ }
184
+ html[data-theme-pack="tidepool"] aside[data-zd-mobile-sidebar] {
185
+ background-color: color-mix(in srgb, var(--zd-surface) 70%, var(--zd-bg));
186
+ border-right: 1px solid color-mix(in srgb, var(--zd-accent) 18%, transparent);
187
+ }
188
+ html[data-theme-pack="tidepool"] #desktop-sidebar a:hover,
189
+ html[data-theme-pack="tidepool"] aside[data-zd-mobile-sidebar] a:hover {
190
+ text-decoration: none;
191
+ }
192
+
193
+ /* active sidebar item: a solid rock-pool fill, seafoam ink, aqua
194
+ edge — with one restrained bioluminescent halo. The default
195
+ inverted pill sets `text-bg` on the anchor, so the ink must be
196
+ re-asserted alongside the background (the foundry precedent). */
197
+ html[data-theme-pack="tidepool"] a[data-nav-active] {
198
+ background: color-mix(in srgb, var(--zd-accent) 14%, var(--zd-bg));
199
+ color: var(--zd-fg);
200
+ border-radius: 0 6px 6px 0;
201
+ box-shadow:
202
+ inset 3px 0 0 var(--zd-accent),
203
+ 0 0 14px -4px color-mix(in srgb, var(--zd-accent) 45%, transparent);
204
+ }
205
+
206
+ /* headings: h1 carries a whisper of sea tint; the h2 rule is the
207
+ signature wave crest — the SSR-inlined border-image gradient is
208
+ defeated with !important (Decision 6.6's sole carve-out) and
209
+ replaced by a scalloped waterline painted at the top edge (the
210
+ hearth top-anchored-background technique). h3/h4 settle for
211
+ quiet teal hairlines. */
212
+ html[data-theme-pack="tidepool"] .zd-content h1 {
213
+ color: color-mix(in srgb, var(--zd-accent) 12%, var(--zd-fg));
214
+ }
215
+ html[data-theme-pack="tidepool"] .zd-content h2 {
216
+ border-image: none !important;
217
+ border-top-width: 0;
218
+ /* Crest dots at 50% (not the hr's 60%): the rendered audit treats the
219
+ scallop as a worst-case text backdrop, and at 60% the light-mode h2
220
+ ink sat in the WARN band over a dot (4.63:1); 50% lifts that to
221
+ 5.68:1 while the waterline stays clearly teal. The hr keeps the full
222
+ 60% ink — no text can ever sit on it. */
223
+ background-image: radial-gradient(
224
+ circle 7px at 6px 8px,
225
+ color-mix(in srgb, var(--zd-accent) 50%, transparent) 6.5px,
226
+ transparent 7px
227
+ );
228
+ background-size: 12px 5px;
229
+ background-repeat: repeat-x;
230
+ background-position: left top;
231
+ }
232
+ html[data-theme-pack="tidepool"] .zd-content h3 {
233
+ border-image: none !important;
234
+ border-top-color: color-mix(in srgb, var(--zd-accent) 32%, transparent);
235
+ }
236
+ html[data-theme-pack="tidepool"] .zd-content h4 {
237
+ border-image: none !important;
238
+ border-top-color: color-mix(in srgb, var(--zd-muted) 28%, transparent);
239
+ }
240
+
241
+ /* horizontal rules: a full waterline instead of a flat hairline */
242
+ html[data-theme-pack="tidepool"] .zd-content hr {
243
+ border: none;
244
+ height: 5px;
245
+ background-image: radial-gradient(
246
+ circle 7px at 6px 8px,
247
+ color-mix(in srgb, var(--zd-accent) 60%, transparent) 6.5px,
248
+ transparent 7px
249
+ );
250
+ background-size: 12px 5px;
251
+ background-repeat: repeat-x;
252
+ background-position: left bottom;
253
+ }
254
+
255
+ /* links: seafoam-quiet underline that solidifies on hover */
256
+ html[data-theme-pack="tidepool"] .zd-content a {
257
+ text-decoration-color: color-mix(in srgb, var(--zd-accent) 45%, transparent);
258
+ text-underline-offset: 3px;
259
+ text-decoration-thickness: 1px;
260
+ }
261
+ html[data-theme-pack="tidepool"] .zd-content a:hover {
262
+ text-decoration-color: currentColor;
263
+ }
264
+
265
+ /* code: the deep-water pane — the darkest layer of the teal stack.
266
+ The bioluminescent edge is a 1px inset hairline plus a soft
267
+ outer falloff; the panel color itself stays solid so the syntax
268
+ contrast is exactly the token math. */
269
+ html[data-theme-pack="tidepool"] pre.hi-root {
270
+ border-radius: 6px;
271
+ border-color: color-mix(in srgb, var(--zd-accent) 22%, transparent);
272
+ box-shadow:
273
+ inset 0 1px 0 color-mix(in srgb, var(--zd-accent) 30%, transparent),
274
+ 0 10px 26px -18px color-mix(in srgb, var(--zd-accent) 35%, transparent);
275
+ }
276
+ html[data-theme-pack="tidepool"] .hi-com {
277
+ font-style: italic;
278
+ }
279
+
280
+ /* inline code: small sea-glass chips */
281
+ html[data-theme-pack="tidepool"] .zd-content code:not(pre code) {
282
+ border: 1px solid color-mix(in srgb, var(--zd-muted) 35%, transparent);
283
+ border-radius: 4px;
284
+ }
285
+
286
+ /* blockquote: a kelp-stem edge */
287
+ html[data-theme-pack="tidepool"] .zd-content blockquote {
288
+ border-left-color: color-mix(in srgb, var(--zd-accent) 50%, transparent);
289
+ }
290
+
291
+ /* tables: teal header rule, tide-wash row hover */
292
+ html[data-theme-pack="tidepool"] .zd-content th {
293
+ border-bottom-color: color-mix(in srgb, var(--zd-accent) 45%, transparent);
294
+ color: color-mix(in srgb, var(--zd-accent) 25%, var(--zd-fg));
295
+ }
296
+ html[data-theme-pack="tidepool"] .zd-content td {
297
+ border-bottom-color: color-mix(in srgb, var(--zd-muted) 25%, transparent);
298
+ }
299
+ html[data-theme-pack="tidepool"] .zd-content tbody tr:hover td {
300
+ background: color-mix(in srgb, var(--zd-accent) 5%, transparent);
301
+ }
302
+
303
+ /* admonitions: all 7 variants re-tinted as SOLID layered pools —
304
+ 10% variant color into the page field (one notch milder than the
305
+ stock 12% so every variant title ink clears 4.6:1 on its own
306
+ tint in dark mode; checked computationally). Marine icons for
307
+ note and tip; the severity variants keep their stock, instantly
308
+ recognizable glyphs. */
309
+ html[data-theme-pack="tidepool"] [data-admonition] {
310
+ background-color: color-mix(in srgb, var(--zd-muted) 10%, var(--zd-bg));
311
+ }
312
+ html[data-theme-pack="tidepool"] [data-admonition="note"] {
313
+ background-color: color-mix(in srgb, var(--zd-accent) 10%, var(--zd-bg));
314
+ }
315
+ html[data-theme-pack="tidepool"] [data-admonition="note"] .admonition-title::before {
316
+ content: "🌊";
317
+ }
318
+ html[data-theme-pack="tidepool"] [data-admonition="tip"] {
319
+ background-color: color-mix(in srgb, var(--zd-success) 10%, var(--zd-bg));
320
+ }
321
+ html[data-theme-pack="tidepool"] [data-admonition="tip"] .admonition-title::before {
322
+ content: "✨";
323
+ }
324
+ html[data-theme-pack="tidepool"] [data-admonition="info"] {
325
+ background-color: color-mix(in srgb, var(--zd-info) 10%, var(--zd-bg));
326
+ }
327
+ html[data-theme-pack="tidepool"] [data-admonition="warning"] {
328
+ background-color: color-mix(in srgb, var(--zd-warning) 10%, var(--zd-bg));
329
+ }
330
+ html[data-theme-pack="tidepool"] [data-admonition="danger"] {
331
+ background-color: color-mix(in srgb, var(--zd-danger) 10%, var(--zd-bg));
332
+ }
333
+ html[data-theme-pack="tidepool"] [data-admonition="important"] {
334
+ background-color: color-mix(in srgb, var(--zd-accent) 10%, var(--zd-bg));
335
+ }
336
+ html[data-theme-pack="tidepool"] [data-admonition="caution"] {
337
+ background-color: color-mix(in srgb, var(--zd-danger) 10%, var(--zd-bg));
338
+ }
339
+
340
+ /* TOC: teal rail; the active entry pools aqua behind itself and
341
+ pulls back over the ul's hairline so its 2px accent edge sits on
342
+ the rail (the foundry/fjord overflow-clip geometry note). */
343
+ html[data-theme-pack="tidepool"] nav[data-zd-toc] ul {
344
+ border-left-color: color-mix(in srgb, var(--zd-accent) 22%, transparent);
345
+ }
346
+ html[data-theme-pack="tidepool"] nav[data-zd-toc] a:hover {
347
+ color: var(--zd-accent);
348
+ }
349
+ html[data-theme-pack="tidepool"] nav[data-zd-toc] a[aria-current="true"] {
350
+ background: color-mix(in srgb, var(--zd-accent) 10%, transparent);
351
+ color: var(--zd-accent);
352
+ font-weight: 600;
353
+ margin-left: calc(-1 * var(--spacing-hsp-lg, 1rem) - 1px);
354
+ padding-left: var(--spacing-hsp-lg, 1rem);
355
+ padding-right: 0.4rem;
356
+ border-radius: 0 6px 6px 0;
357
+ box-shadow: inset 2px 0 0 var(--zd-accent);
358
+ }
359
+
360
+ /* mobile TOC: the same pool as a small collapsible panel */
361
+ html[data-theme-pack="tidepool"] div[data-zd-mobile-toc] {
362
+ border: 1px solid color-mix(in srgb, var(--zd-accent) 22%, transparent);
363
+ border-radius: 6px;
364
+ background-color: color-mix(in srgb, var(--zd-surface) 70%, var(--zd-bg));
365
+ }
366
+
367
+ /* pager cards: surface layer, water-worn corners, a quiet wave
368
+ crest along the top edge (the "wave-curve accents on cards"
369
+ signature; p-hsp-lg padding keeps text clear of the 5px strip),
370
+ restrained aqua glow on hover (the stable data-doc-pager hook,
371
+ #2876) */
372
+ html[data-theme-pack="tidepool"] .zd-content > nav[data-doc-pager] > a {
373
+ border-radius: 6px;
374
+ border-color: color-mix(in srgb, var(--zd-accent) 22%, transparent);
375
+ background-color: var(--zd-surface);
376
+ background-image: radial-gradient(
377
+ circle 7px at 6px -3px,
378
+ color-mix(in srgb, var(--zd-accent) 35%, transparent) 6.5px,
379
+ transparent 7px
380
+ );
381
+ background-size: 12px 5px;
382
+ background-repeat: repeat-x;
383
+ background-position: left top;
384
+ }
385
+ html[data-theme-pack="tidepool"] .zd-content > nav[data-doc-pager] > a:hover {
386
+ border-color: color-mix(in srgb, var(--zd-accent) 60%, transparent);
387
+ box-shadow: 0 0 20px -8px color-mix(in srgb, var(--zd-accent) 50%, transparent);
388
+ }
389
+
390
+ /* footer: the shoreline — a wave crest lapping along its top edge
391
+ over a solid shallow wash */
392
+ html[data-theme-pack="tidepool"] footer[data-footer] {
393
+ border-top-color: color-mix(in srgb, var(--zd-accent) 30%, transparent);
394
+ background-color: color-mix(in srgb, var(--zd-accent) 3%, var(--zd-surface));
395
+ background-image: radial-gradient(
396
+ circle 7px at 6px -3px,
397
+ color-mix(in srgb, var(--zd-accent) 45%, transparent) 6.5px,
398
+ transparent 7px
399
+ );
400
+ background-size: 12px 5px;
401
+ background-repeat: repeat-x;
402
+ background-position: left top;
403
+ }
404
+
405
+ /* theme-pack switcher: solid surface card capped with a wave crest
406
+ (readability does not depend on blur — the card color is fully
407
+ opaque); the launcher wears the one free-floating bioluminescent
408
+ halo. */
409
+ html[data-theme-pack="tidepool"] div[data-switcher-card] {
410
+ border-color: color-mix(in srgb, var(--zd-accent) 28%, transparent);
411
+ background-color: var(--zd-surface);
412
+ background-image: radial-gradient(
413
+ circle 7px at 6px -3px,
414
+ color-mix(in srgb, var(--zd-accent) 55%, transparent) 6.5px,
415
+ transparent 7px
416
+ );
417
+ background-size: 12px 5px;
418
+ background-repeat: repeat-x;
419
+ background-position: left top;
420
+ box-shadow: 0 18px 40px -14px color-mix(in srgb, var(--zd-accent) 30%, transparent);
421
+ }
422
+ html[data-theme-pack="tidepool"] [data-switcher-launcher] {
423
+ border: 1px solid color-mix(in srgb, var(--zd-accent) 35%, transparent);
424
+ box-shadow: 0 0 18px -6px color-mix(in srgb, var(--zd-accent) 55%, transparent);
425
+ }
@@ -0,0 +1,95 @@
1
+ Copyright 2020 The Fraunces Project Authors (https://github.com/undercasetype/Fraunces)
2
+ Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries. (Source Sans 3: https://github.com/adobe-fonts/source-sans)
3
+ Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono)
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.
@@ -0,0 +1,38 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "slug": "timberline",
4
+ "name": "Timberline",
5
+ "description": "Forest cabin after dark — pine & umber planks, cream prose, and matte lantern-amber accents; light mode is the same lodge at morning.",
6
+ "mode": "dark",
7
+ "version": "1.0.0",
8
+ "fonts": {
9
+ "sans": "Source Sans 3",
10
+ "mono": "JetBrains Mono",
11
+ "display": "Fraunces",
12
+ "loaded": ["Fraunces", "Source Sans 3", "JetBrains Mono"]
13
+ },
14
+ "preview": {
15
+ "light": {
16
+ "bg": "oklch(0.962 0.016 90)",
17
+ "fg": "oklch(0.27 0.032 155)",
18
+ "accent": "oklch(0.465 0.11 62)",
19
+ "syntax": {
20
+ "keyword": "oklch(0.475 0.11 70)",
21
+ "string": "oklch(0.46 0.09 145)",
22
+ "comment": "oklch(0.49 0.035 140)",
23
+ "callable": "oklch(0.45 0.085 235)"
24
+ }
25
+ },
26
+ "dark": {
27
+ "bg": "oklch(0.207 0.02 60)",
28
+ "fg": "oklch(0.928 0.02 88)",
29
+ "accent": "oklch(0.78 0.125 72)",
30
+ "syntax": {
31
+ "keyword": "oklch(0.8 0.125 80)",
32
+ "string": "oklch(0.79 0.1 135)",
33
+ "comment": "oklch(0.66 0.035 110)",
34
+ "callable": "oklch(0.78 0.075 220)"
35
+ }
36
+ }
37
+ }
38
+ }