@takazudo/zudo-doc 3.2.0 → 4.0.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 (439) hide show
  1. package/CHANGELOG.md +61 -0
  2. package/README.md +2 -2
  3. package/bin/tag-cli-config.ts +126 -0
  4. package/bin/tags-audit-runner.ts +60 -76
  5. package/bin/tags-audit.mjs +17 -36
  6. package/bin/tags-suggest-runner.ts +429 -0
  7. package/bin/tags-suggest.mjs +30 -0
  8. package/bin/zudo-doc.mjs +78 -25
  9. package/dist/breadcrumb/breadcrumb.d.ts +4 -4
  10. package/dist/breadcrumb/find-path.d.ts +2 -2
  11. package/dist/breadcrumb/index.d.ts +1 -1
  12. package/dist/breadcrumb/types.d.ts +0 -5
  13. package/dist/chrome/derive.d.ts +16 -4
  14. package/dist/chrome/derive.js +64 -4
  15. package/dist/chrome/index.d.ts +13 -10
  16. package/dist/chrome/index.js +12 -6
  17. package/dist/chrome/primary-slots.d.ts +21 -0
  18. package/dist/chrome/primary-slots.js +59 -0
  19. package/dist/chrome-bindings.d.ts +227 -0
  20. package/dist/chrome-bindings.js +6 -0
  21. package/dist/code-syntax/code-block-enhancer-script.d.ts +4 -0
  22. package/dist/code-syntax/code-block-enhancer-script.js +7 -4
  23. package/dist/code-syntax/code-block-enhancer.d.ts +2 -2
  24. package/dist/code-syntax/code-block-enhancer.js +1 -3
  25. package/dist/code-syntax/index.d.ts +5 -5
  26. package/dist/code-syntax/index.js +4 -13
  27. package/dist/code-syntax/mermaid-init-script.d.ts +1 -22
  28. package/dist/code-syntax/mermaid-init-script.js +0 -2
  29. package/dist/code-syntax/mermaid-init.d.ts +0 -1
  30. package/dist/code-syntax/mermaid-init.js +3 -4
  31. package/dist/code-syntax/tabs-init.d.ts +0 -1
  32. package/dist/code-syntax/tabs-init.js +1 -3
  33. package/dist/code-syntax/tabs.d.ts +0 -1
  34. package/dist/code-syntax/tabs.js +1 -3
  35. package/dist/color-scheme-utils.d.ts +72 -4
  36. package/dist/color-scheme-utils.js +137 -0
  37. package/dist/color-schemes-defaults/index.d.ts +23 -0
  38. package/dist/color-schemes-defaults/index.js +134 -0
  39. package/dist/config.d.ts +459 -0
  40. package/dist/config.js +125 -0
  41. package/dist/content/component-map.d.ts +0 -16
  42. package/dist/content/component-map.js +2 -4
  43. package/dist/content/index.d.ts +1 -1
  44. package/dist/content/index.js +2 -3
  45. package/dist/content.css +1 -1
  46. package/dist/design-token-panel-bootstrap.d.ts +82 -27
  47. package/dist/design-token-panel-bootstrap.js +110 -21
  48. package/dist/design-token-panel-config/index.d.ts +49 -0
  49. package/dist/design-token-panel-config/index.js +211 -0
  50. package/dist/design-token-panel-config/manifest.d.ts +46 -0
  51. package/dist/design-token-panel-config/manifest.js +105 -0
  52. package/dist/directive-vocabulary-defaults/index.d.ts +16 -0
  53. package/dist/directive-vocabulary-defaults/index.js +12 -0
  54. package/dist/doc-body-end-islands/design-token-panel-island.d.ts +15 -0
  55. package/dist/doc-body-end-islands/design-token-panel-island.js +31 -0
  56. package/dist/doc-body-end-islands/index.d.ts +52 -7
  57. package/dist/doc-body-end-islands/index.js +19 -0
  58. package/dist/doc-body-end-islands/theme-pack-switcher-island.d.ts +37 -0
  59. package/dist/doc-body-end-islands/theme-pack-switcher-island.js +18 -0
  60. package/dist/doc-content-header/index.js +1 -1
  61. package/dist/doc-history-area/index.d.ts +10 -4
  62. package/dist/doc-history-area/index.js +3 -2
  63. package/dist/doc-metainfo-area/index.d.ts +1 -0
  64. package/dist/doc-page-props/index.d.ts +7 -23
  65. package/dist/doc-page-renderer/index.d.ts +1 -0
  66. package/dist/doc-page-renderer/index.js +1 -0
  67. package/dist/doc-page-shell/index.js +19 -12
  68. package/dist/doc-pager/index.js +1 -1
  69. package/dist/doc-route-entries/index.d.ts +2 -2
  70. package/dist/doclayout/doc-layout-with-defaults.js +4 -4
  71. package/dist/doclayout/doc-layout.d.ts +8 -0
  72. package/dist/doclayout/doc-layout.js +10 -1
  73. package/dist/docs-schema/index.d.ts +67 -0
  74. package/dist/docs-schema/index.js +43 -0
  75. package/dist/eject/index.d.ts +16 -0
  76. package/dist/eject/index.js +122 -28
  77. package/dist/extract-headings/index.d.ts +5 -8
  78. package/dist/extract-headings/index.js +2 -9
  79. package/dist/factory-context/index.d.ts +56 -4
  80. package/dist/features.css +65 -43
  81. package/dist/find-in-page/find-bar.d.ts +9 -0
  82. package/dist/find-in-page/find-bar.js +114 -0
  83. package/dist/find-in-page/find-in-page.d.ts +17 -0
  84. package/dist/find-in-page/find-in-page.js +131 -0
  85. package/dist/find-in-page/index.d.ts +11 -0
  86. package/dist/find-in-page/index.js +49 -0
  87. package/dist/footer/footer.js +1 -0
  88. package/dist/frontmatter-preview-defaults/index.d.ts +16 -0
  89. package/dist/frontmatter-preview-defaults/index.js +25 -0
  90. package/dist/head-with-defaults/index.d.ts +2 -0
  91. package/dist/head-with-defaults/index.js +16 -0
  92. package/dist/header/header.d.ts +10 -5
  93. package/dist/header/header.js +45 -5
  94. package/dist/header/index.d.ts +1 -1
  95. package/dist/header/types.d.ts +30 -1
  96. package/dist/header-with-defaults/index.js +1 -0
  97. package/dist/home-page/index.d.ts +2 -0
  98. package/dist/home-page/index.js +11 -5
  99. package/dist/home-page/prepare-home-data.js +1 -1
  100. package/dist/i18n-defaults/index.d.ts +22 -0
  101. package/dist/i18n-defaults/index.js +167 -0
  102. package/dist/locale-merge/index.d.ts +9 -14
  103. package/dist/locale-merge/index.js +6 -4
  104. package/dist/mdx-components/index.js +4 -4
  105. package/dist/plugins/claude-resources.d.ts +1 -0
  106. package/dist/plugins/claude-resources.js +4 -2
  107. package/dist/plugins/doc-history.js +1 -1
  108. package/dist/{integrations → plugins/internal}/claude-resources/index.d.ts +1 -16
  109. package/dist/{integrations → plugins/internal}/claude-resources/index.js +0 -9
  110. package/dist/{integrations → plugins/internal}/doc-history/index.d.ts +0 -17
  111. package/dist/{integrations → plugins/internal}/doc-history/index.js +0 -4
  112. package/dist/{integrations → plugins/internal}/doc-history/pre-build.d.ts +2 -4
  113. package/dist/plugins/internal/llms-txt/index.d.ts +7 -0
  114. package/dist/{integrations → plugins/internal}/llms-txt/load.d.ts +1 -1
  115. package/dist/{integrations → plugins/internal}/llms-txt/load.js +2 -2
  116. package/dist/{integrations → plugins/internal}/llms-txt/strip.d.ts +2 -3
  117. package/dist/{integrations → plugins/internal}/llms-txt/strip.js +1 -1
  118. package/dist/{integrations → plugins/internal}/llms-txt/types.d.ts +13 -22
  119. package/dist/{integrations → plugins/internal}/search-index/collect.js +1 -1
  120. package/dist/plugins/internal/theme-packs/copy.d.ts +32 -0
  121. package/dist/plugins/internal/theme-packs/copy.js +45 -0
  122. package/dist/plugins/internal/theme-packs/dev-middleware.d.ts +22 -0
  123. package/dist/plugins/internal/theme-packs/dev-middleware.js +80 -0
  124. package/dist/plugins/internal/theme-packs/index.d.ts +6 -0
  125. package/dist/plugins/internal/theme-packs/index.js +9 -0
  126. package/dist/plugins/internal/theme-packs/resolve.d.ts +17 -0
  127. package/dist/plugins/internal/theme-packs/resolve.js +17 -0
  128. package/dist/plugins/internal/theme-packs/types.d.ts +22 -0
  129. package/dist/plugins/internal/theme-packs/types.js +0 -0
  130. package/dist/plugins/llms-txt.js +1 -1
  131. package/dist/plugins/routes.js +55 -21
  132. package/dist/plugins/search-index.js +1 -1
  133. package/dist/plugins/theme-packs.d.ts +3 -0
  134. package/dist/plugins/theme-packs.js +40 -0
  135. package/dist/preset.d.ts +28 -14
  136. package/dist/preset.js +24 -9
  137. package/dist/route-context/index.js +4 -6
  138. package/dist/route-enumerators/index.d.ts +6 -18
  139. package/dist/route-enumerators/index.js +8 -6
  140. package/dist/routes/404.js +3 -1
  141. package/dist/routes/_chrome.js +3 -2
  142. package/dist/routes/_context.d.ts +7 -3
  143. package/dist/routes/_context.js +2 -0
  144. package/dist/routes/_docs-helpers.js +9 -21
  145. package/dist/safelist.css +1 -1
  146. package/dist/settings.d.ts +64 -12
  147. package/dist/sidebar-tree/build-tree.d.ts +3 -4
  148. package/dist/sidebar-tree/build-tree.js +4 -3
  149. package/dist/sidebar-tree/index.d.ts +2 -2
  150. package/dist/sidebar-tree/types.d.ts +6 -17
  151. package/dist/site-tree-nav-island/index.d.ts +3 -1
  152. package/dist/site-tree-nav-island/index.js +17 -5
  153. package/dist/site-tree-nav-island/state.d.ts +4 -0
  154. package/dist/site-tree-nav-island/state.js +10 -0
  155. package/dist/tag-helpers/index.d.ts +6 -13
  156. package/dist/tag-helpers/index.js +5 -23
  157. package/dist/tag-pages/index.d.ts +8 -21
  158. package/dist/tag-pages/index.js +14 -10
  159. package/dist/tags-audit.d.ts +16 -44
  160. package/dist/tags-audit.js +9 -172
  161. package/dist/theme/color-scheme-provider.d.ts +2 -3
  162. package/dist/theme/color-scheme-provider.js +2 -10
  163. package/dist/theme/index.d.ts +1 -4
  164. package/dist/theme/index.js +2 -30
  165. package/dist/theme/theme-pack-provider.d.ts +42 -0
  166. package/dist/theme/theme-pack-provider.js +75 -0
  167. package/dist/theme-cli/apply.d.ts +16 -0
  168. package/dist/theme-cli/apply.js +61 -0
  169. package/dist/theme-cli/config-io.d.ts +15 -0
  170. package/dist/theme-cli/config-io.js +51 -0
  171. package/dist/theme-cli/config-rewriter.d.ts +21 -0
  172. package/dist/theme-cli/config-rewriter.js +141 -0
  173. package/dist/theme-cli/config-scanner.d.ts +63 -0
  174. package/dist/theme-cli/config-scanner.js +288 -0
  175. package/dist/theme-cli/index.d.ts +7 -0
  176. package/dist/theme-cli/index.js +38 -0
  177. package/dist/theme-cli/list.d.ts +27 -0
  178. package/dist/theme-cli/list.js +64 -0
  179. package/dist/theme-cli/provenance.d.ts +17 -0
  180. package/dist/theme-cli/provenance.js +35 -0
  181. package/dist/theme-cli/registry.d.ts +14 -0
  182. package/dist/theme-cli/registry.js +13 -0
  183. package/dist/theme-pack-dialog/dialog-state.d.ts +25 -0
  184. package/dist/theme-pack-dialog/dialog-state.js +40 -0
  185. package/dist/theme-pack-dialog/index.d.ts +5 -0
  186. package/dist/theme-pack-dialog/index.js +152 -0
  187. package/dist/theme-pack-dialog/theme-pack-card.d.ts +25 -0
  188. package/dist/theme-pack-dialog/theme-pack-card.js +72 -0
  189. package/dist/theme-pack-switcher/index.d.ts +49 -0
  190. package/dist/theme-pack-switcher/index.js +205 -0
  191. package/dist/theme-pack-switcher/switcher-state.d.ts +56 -0
  192. package/dist/theme-pack-switcher/switcher-state.js +43 -0
  193. package/dist/theme-pack-switcher/theme-pack-sync.d.ts +85 -0
  194. package/dist/theme-pack-switcher/theme-pack-sync.js +121 -0
  195. package/dist/theme-packs/beacon/fonts/AtkinsonHyperlegible-400-latin.woff2 +0 -0
  196. package/dist/theme-packs/beacon/fonts/AtkinsonHyperlegible-700-latin.woff2 +0 -0
  197. package/dist/theme-packs/beacon/fonts/AtkinsonHyperlegible-italic-400-latin.woff2 +0 -0
  198. package/dist/theme-packs/beacon/fonts/AtkinsonHyperlegible-italic-700-latin.woff2 +0 -0
  199. package/dist/theme-packs/beacon/fonts/AtkinsonHyperlegibleMono-italic-latin.woff2 +0 -0
  200. package/dist/theme-packs/beacon/fonts/AtkinsonHyperlegibleMono-latin.woff2 +0 -0
  201. package/dist/theme-packs/beacon/fonts/OFL.txt +94 -0
  202. package/dist/theme-packs/beacon/meta.json +37 -0
  203. package/dist/theme-packs/beacon/pack.css +442 -0
  204. package/dist/theme-packs/broadsheet/fonts/CourierPrime-400-latin.woff2 +0 -0
  205. package/dist/theme-packs/broadsheet/fonts/CourierPrime-700-latin.woff2 +0 -0
  206. package/dist/theme-packs/broadsheet/fonts/OFL.txt +95 -0
  207. package/dist/theme-packs/broadsheet/fonts/PlayfairDisplay-italic-latin.woff2 +0 -0
  208. package/dist/theme-packs/broadsheet/fonts/PlayfairDisplay-latin.woff2 +0 -0
  209. package/dist/theme-packs/broadsheet/fonts/SourceSerif4-italic-latin.woff2 +0 -0
  210. package/dist/theme-packs/broadsheet/fonts/SourceSerif4-latin.woff2 +0 -0
  211. package/dist/theme-packs/broadsheet/meta.json +38 -0
  212. package/dist/theme-packs/broadsheet/pack.css +448 -0
  213. package/dist/theme-packs/brutalist/fonts/ArchivoBlack-latin.woff2 +0 -0
  214. package/dist/theme-packs/brutalist/fonts/IBMPlexMono-400-latin.woff2 +0 -0
  215. package/dist/theme-packs/brutalist/fonts/IBMPlexMono-500-latin.woff2 +0 -0
  216. package/dist/theme-packs/brutalist/fonts/IBMPlexMono-700-latin.woff2 +0 -0
  217. package/dist/theme-packs/brutalist/fonts/OFL.txt +95 -0
  218. package/dist/theme-packs/brutalist/fonts/SpaceGrotesk-latin.woff2 +0 -0
  219. package/dist/theme-packs/brutalist/meta.json +38 -0
  220. package/dist/theme-packs/brutalist/pack.css +546 -0
  221. package/dist/theme-packs/default/meta.json +37 -0
  222. package/dist/theme-packs/drift/fonts/IBMPlexMono-400-latin-ext.woff2 +0 -0
  223. package/dist/theme-packs/drift/fonts/IBMPlexMono-400-latin.woff2 +0 -0
  224. package/dist/theme-packs/drift/fonts/IBMPlexMono-500-latin-ext.woff2 +0 -0
  225. package/dist/theme-packs/drift/fonts/IBMPlexMono-500-latin.woff2 +0 -0
  226. package/dist/theme-packs/drift/fonts/IBMPlexSans-italic-latin.woff2 +0 -0
  227. package/dist/theme-packs/drift/fonts/IBMPlexSans-latin-ext.woff2 +0 -0
  228. package/dist/theme-packs/drift/fonts/IBMPlexSans-latin.woff2 +0 -0
  229. package/dist/theme-packs/drift/fonts/OFL.txt +93 -0
  230. package/dist/theme-packs/drift/meta.json +37 -0
  231. package/dist/theme-packs/drift/pack.css +478 -0
  232. package/dist/theme-packs/fjord/fonts/Inter-latin-ext.woff2 +0 -0
  233. package/dist/theme-packs/fjord/fonts/Inter-latin.woff2 +0 -0
  234. package/dist/theme-packs/fjord/fonts/JetBrainsMono-latin-ext.woff2 +0 -0
  235. package/dist/theme-packs/fjord/fonts/JetBrainsMono-latin.woff2 +0 -0
  236. package/dist/theme-packs/fjord/fonts/OFL.txt +94 -0
  237. package/dist/theme-packs/fjord/meta.json +37 -0
  238. package/dist/theme-packs/fjord/pack.css +375 -0
  239. package/dist/theme-packs/foundry/fonts/Inter-latin-ext.woff2 +0 -0
  240. package/dist/theme-packs/foundry/fonts/Inter-latin.woff2 +0 -0
  241. package/dist/theme-packs/foundry/fonts/OFL.txt +93 -0
  242. package/dist/theme-packs/foundry/meta.json +37 -0
  243. package/dist/theme-packs/foundry/pack.css +202 -0
  244. package/dist/theme-packs/futura-editorial/fonts/Jost-latin.woff2 +0 -0
  245. package/dist/theme-packs/futura-editorial/fonts/NotoSans-italic-latin.woff2 +0 -0
  246. package/dist/theme-packs/futura-editorial/fonts/NotoSans-latin.woff2 +0 -0
  247. package/dist/theme-packs/futura-editorial/fonts/OFL.txt +95 -0
  248. package/dist/theme-packs/futura-editorial/fonts/SpaceMono-400-latin.woff2 +0 -0
  249. package/dist/theme-packs/futura-editorial/fonts/SpaceMono-700-latin.woff2 +0 -0
  250. package/dist/theme-packs/futura-editorial/meta.json +38 -0
  251. package/dist/theme-packs/futura-editorial/pack.css +313 -0
  252. package/dist/theme-packs/hearth/fonts/Fraunces-italic-latin.woff2 +0 -0
  253. package/dist/theme-packs/hearth/fonts/Fraunces-latin.woff2 +0 -0
  254. package/dist/theme-packs/hearth/fonts/Nunito-latin.woff2 +0 -0
  255. package/dist/theme-packs/hearth/fonts/OFL.txt +95 -0
  256. package/dist/theme-packs/hearth/fonts/SplineSansMono-latin.woff2 +0 -0
  257. package/dist/theme-packs/hearth/meta.json +38 -0
  258. package/dist/theme-packs/hearth/pack.css +385 -0
  259. package/dist/theme-packs/hollow/fonts/OFL.txt +94 -0
  260. package/dist/theme-packs/hollow/fonts/SpaceGrotesk-latin.woff2 +0 -0
  261. package/dist/theme-packs/hollow/fonts/SpaceMono-400-italic-latin.woff2 +0 -0
  262. package/dist/theme-packs/hollow/fonts/SpaceMono-400-latin.woff2 +0 -0
  263. package/dist/theme-packs/hollow/fonts/SpaceMono-700-latin.woff2 +0 -0
  264. package/dist/theme-packs/hollow/meta.json +37 -0
  265. package/dist/theme-packs/hollow/pack.css +428 -0
  266. package/dist/theme-packs/ledger/fonts/CrimsonPro-latin-ext-italic.woff2 +0 -0
  267. package/dist/theme-packs/ledger/fonts/CrimsonPro-latin-ext.woff2 +0 -0
  268. package/dist/theme-packs/ledger/fonts/CrimsonPro-latin-italic.woff2 +0 -0
  269. package/dist/theme-packs/ledger/fonts/CrimsonPro-latin.woff2 +0 -0
  270. package/dist/theme-packs/ledger/fonts/IBMPlexMono-400-latin-ext.woff2 +0 -0
  271. package/dist/theme-packs/ledger/fonts/IBMPlexMono-400-latin.woff2 +0 -0
  272. package/dist/theme-packs/ledger/fonts/IBMPlexMono-500-latin-ext.woff2 +0 -0
  273. package/dist/theme-packs/ledger/fonts/IBMPlexMono-500-latin.woff2 +0 -0
  274. package/dist/theme-packs/ledger/fonts/OFL.txt +94 -0
  275. package/dist/theme-packs/ledger/meta.json +37 -0
  276. package/dist/theme-packs/ledger/pack.css +463 -0
  277. package/dist/theme-packs/manuscript/fonts/CourierPrime-400-latin-ext.woff2 +0 -0
  278. package/dist/theme-packs/manuscript/fonts/CourierPrime-400-latin.woff2 +0 -0
  279. package/dist/theme-packs/manuscript/fonts/CourierPrime-700-latin-ext.woff2 +0 -0
  280. package/dist/theme-packs/manuscript/fonts/CourierPrime-700-latin.woff2 +0 -0
  281. package/dist/theme-packs/manuscript/fonts/EBGaramond-latin-italic.woff2 +0 -0
  282. package/dist/theme-packs/manuscript/fonts/EBGaramond-latin.woff2 +0 -0
  283. package/dist/theme-packs/manuscript/fonts/OFL.txt +94 -0
  284. package/dist/theme-packs/manuscript/meta.json +37 -0
  285. package/dist/theme-packs/manuscript/pack.css +376 -0
  286. package/dist/theme-packs/matcha/fonts/MPLUS1Code-latin.woff2 +0 -0
  287. package/dist/theme-packs/matcha/fonts/OFL.txt +95 -0
  288. package/dist/theme-packs/matcha/fonts/ShipporiMincho-500-latin.woff2 +0 -0
  289. package/dist/theme-packs/matcha/fonts/ShipporiMincho-700-latin.woff2 +0 -0
  290. package/dist/theme-packs/matcha/fonts/ZenKakuGothicNew-400-latin.woff2 +0 -0
  291. package/dist/theme-packs/matcha/fonts/ZenKakuGothicNew-500-latin.woff2 +0 -0
  292. package/dist/theme-packs/matcha/meta.json +38 -0
  293. package/dist/theme-packs/matcha/pack.css +409 -0
  294. package/dist/theme-packs/nocturne/fonts/CormorantGaramond-italic-latin.woff2 +0 -0
  295. package/dist/theme-packs/nocturne/fonts/CormorantGaramond-latin.woff2 +0 -0
  296. package/dist/theme-packs/nocturne/fonts/IBMPlexMono-400-latin.woff2 +0 -0
  297. package/dist/theme-packs/nocturne/fonts/IBMPlexMono-500-latin.woff2 +0 -0
  298. package/dist/theme-packs/nocturne/fonts/IBMPlexMono-italic-latin.woff2 +0 -0
  299. package/dist/theme-packs/nocturne/fonts/Manrope-latin.woff2 +0 -0
  300. package/dist/theme-packs/nocturne/fonts/OFL.txt +95 -0
  301. package/dist/theme-packs/nocturne/meta.json +38 -0
  302. package/dist/theme-packs/nocturne/pack.css +502 -0
  303. package/dist/theme-packs/observatory/fonts/JosefinSans-latin.woff2 +0 -0
  304. package/dist/theme-packs/observatory/fonts/Jost-italic-latin.woff2 +0 -0
  305. package/dist/theme-packs/observatory/fonts/Jost-latin.woff2 +0 -0
  306. package/dist/theme-packs/observatory/fonts/OFL.txt +95 -0
  307. package/dist/theme-packs/observatory/fonts/SpaceMono-400-latin.woff2 +0 -0
  308. package/dist/theme-packs/observatory/fonts/SpaceMono-700-latin.woff2 +0 -0
  309. package/dist/theme-packs/observatory/fonts/SpaceMono-italic-latin.woff2 +0 -0
  310. package/dist/theme-packs/observatory/meta.json +38 -0
  311. package/dist/theme-packs/observatory/pack.css +728 -0
  312. package/dist/theme-packs/onyx/fonts/CormorantGaramond-italic-latin.woff2 +0 -0
  313. package/dist/theme-packs/onyx/fonts/CormorantGaramond-latin.woff2 +0 -0
  314. package/dist/theme-packs/onyx/fonts/IBMPlexMono-400-latin-ext.woff2 +0 -0
  315. package/dist/theme-packs/onyx/fonts/IBMPlexMono-400-latin.woff2 +0 -0
  316. package/dist/theme-packs/onyx/fonts/IBMPlexMono-500-latin-ext.woff2 +0 -0
  317. package/dist/theme-packs/onyx/fonts/IBMPlexMono-500-latin.woff2 +0 -0
  318. package/dist/theme-packs/onyx/fonts/Jost-latin.woff2 +0 -0
  319. package/dist/theme-packs/onyx/fonts/OFL.txt +95 -0
  320. package/dist/theme-packs/onyx/meta.json +38 -0
  321. package/dist/theme-packs/onyx/pack.css +497 -0
  322. package/dist/theme-packs/phosphor/fonts/JetBrainsMono-latin-ext.woff2 +0 -0
  323. package/dist/theme-packs/phosphor/fonts/JetBrainsMono-latin.woff2 +0 -0
  324. package/dist/theme-packs/phosphor/fonts/OFL.txt +94 -0
  325. package/dist/theme-packs/phosphor/fonts/VT323-latin-ext.woff2 +0 -0
  326. package/dist/theme-packs/phosphor/fonts/VT323-latin.woff2 +0 -0
  327. package/dist/theme-packs/phosphor/meta.json +38 -0
  328. package/dist/theme-packs/phosphor/pack.css +493 -0
  329. package/dist/theme-packs/solar/fonts/OFL.txt +94 -0
  330. package/dist/theme-packs/solar/fonts/SourceCodePro-italic-latin.woff2 +0 -0
  331. package/dist/theme-packs/solar/fonts/SourceCodePro-latin.woff2 +0 -0
  332. package/dist/theme-packs/solar/fonts/SourceSans3-italic-latin.woff2 +0 -0
  333. package/dist/theme-packs/solar/fonts/SourceSans3-latin.woff2 +0 -0
  334. package/dist/theme-packs/solar/meta.json +37 -0
  335. package/dist/theme-packs/solar/pack.css +380 -0
  336. package/dist/theme-packs/sumi/fonts/IBMPlexMono-400-latin-ext.woff2 +0 -0
  337. package/dist/theme-packs/sumi/fonts/IBMPlexMono-400-latin.woff2 +0 -0
  338. package/dist/theme-packs/sumi/fonts/IBMPlexMono-500-latin-ext.woff2 +0 -0
  339. package/dist/theme-packs/sumi/fonts/IBMPlexMono-500-latin.woff2 +0 -0
  340. package/dist/theme-packs/sumi/fonts/OFL.txt +95 -0
  341. package/dist/theme-packs/sumi/fonts/ShipporiMinchoB1-600-latin.woff2 +0 -0
  342. package/dist/theme-packs/sumi/fonts/ShipporiMinchoB1-700-latin.woff2 +0 -0
  343. package/dist/theme-packs/sumi/fonts/ShipporiMinchoB1-800-latin.woff2 +0 -0
  344. package/dist/theme-packs/sumi/fonts/ZenKakuGothicNew-400-latin.woff2 +0 -0
  345. package/dist/theme-packs/sumi/fonts/ZenKakuGothicNew-500-latin.woff2 +0 -0
  346. package/dist/theme-packs/sumi/meta.json +38 -0
  347. package/dist/theme-packs/sumi/pack.css +502 -0
  348. package/dist/theme-packs/swissgrid/fonts/IBMPlexMono-400-latin-ext.woff2 +0 -0
  349. package/dist/theme-packs/swissgrid/fonts/IBMPlexMono-400-latin.woff2 +0 -0
  350. package/dist/theme-packs/swissgrid/fonts/IBMPlexMono-600-latin.woff2 +0 -0
  351. package/dist/theme-packs/swissgrid/fonts/Inter-latin-ext.woff2 +0 -0
  352. package/dist/theme-packs/swissgrid/fonts/Inter-latin.woff2 +0 -0
  353. package/dist/theme-packs/swissgrid/fonts/InterTight-latin.woff2 +0 -0
  354. package/dist/theme-packs/swissgrid/fonts/OFL.txt +95 -0
  355. package/dist/theme-packs/swissgrid/meta.json +38 -0
  356. package/dist/theme-packs/swissgrid/pack.css +518 -0
  357. package/dist/theme-packs/washi/fonts/MPlus1Code-400-latin.woff2 +0 -0
  358. package/dist/theme-packs/washi/fonts/MPlus1Code-500-latin.woff2 +0 -0
  359. package/dist/theme-packs/washi/fonts/OFL.txt +95 -0
  360. package/dist/theme-packs/washi/fonts/ShipporiMincho-500-latin.woff2 +0 -0
  361. package/dist/theme-packs/washi/fonts/ShipporiMincho-600-latin.woff2 +0 -0
  362. package/dist/theme-packs/washi/fonts/ShipporiMincho-700-latin.woff2 +0 -0
  363. package/dist/theme-packs/washi/fonts/ZenKakuGothicNew-400-latin.woff2 +0 -0
  364. package/dist/theme-packs/washi/fonts/ZenKakuGothicNew-500-latin.woff2 +0 -0
  365. package/dist/theme-packs/washi/fonts/ZenKakuGothicNew-700-latin.woff2 +0 -0
  366. package/dist/theme-packs/washi/meta.json +38 -0
  367. package/dist/theme-packs/washi/pack.css +479 -0
  368. package/dist/theme-packs-registry/index.d.ts +5 -0
  369. package/dist/theme-packs-registry/index.js +30 -0
  370. package/dist/theme-packs-registry/load-registry.d.ts +23 -0
  371. package/dist/theme-packs-registry/load-registry.js +64 -0
  372. package/dist/theme-packs-registry/meta-schema.d.ts +70 -0
  373. package/dist/theme-packs-registry/meta-schema.js +38 -0
  374. package/dist/theme-packs-registry/resolve-enabled-packs.d.ts +25 -0
  375. package/dist/theme-packs-registry/resolve-enabled-packs.js +43 -0
  376. package/dist/theme-packs-registry/token-manifest.d.ts +19 -0
  377. package/dist/theme-packs-registry/token-manifest.js +57 -0
  378. package/dist/theme-packs-registry/validator.d.ts +35 -0
  379. package/dist/theme-packs-registry/validator.js +284 -0
  380. package/dist/theme-toggle/color-scheme-sync.d.ts +2 -4
  381. package/dist/theme.css +319 -0
  382. package/dist/versions-page/index.d.ts +2 -2
  383. package/dist/versions-page/index.js +8 -8
  384. package/dist/z-index-defaults/index.d.ts +45 -0
  385. package/dist/z-index-defaults/index.js +34 -0
  386. package/eject/breadcrumb/breadcrumb.tsx +4 -4
  387. package/eject/breadcrumb/find-path.ts +2 -2
  388. package/eject/breadcrumb/index.ts +1 -1
  389. package/eject/breadcrumb/types.ts +0 -6
  390. package/eject/code-group/index.tsx +2 -2
  391. package/eject/doc-history/index.tsx +1 -1
  392. package/eject/doc-pager/index.tsx +1 -1
  393. package/eject/footer/footer.tsx +1 -0
  394. package/eject/header/header.tsx +86 -21
  395. package/eject/header/index.ts +3 -0
  396. package/eject/header/types.ts +39 -1
  397. package/eject/site-tree-nav-island/index.tsx +15 -3
  398. package/eject/site-tree-nav-island/state.ts +9 -0
  399. package/eject/theme-toggle/color-scheme-sync.ts +2 -4
  400. package/package.json +82 -29
  401. package/routes-src/404.tsx +4 -1
  402. package/routes-src/_chrome.tsx +31 -8
  403. package/routes-src/_context.ts +4 -0
  404. package/routes-src/_docs-helpers.ts +9 -29
  405. package/routes-src/_virtual.d.ts +38 -2
  406. package/tsconfig.base.json +29 -0
  407. package/virtual-modules.d.ts +83 -0
  408. package/zfb-config-shim.d.ts +210 -0
  409. package/dist/integrations/llms-txt/index.d.ts +0 -33
  410. package/dist/theme/color-tweak-export-modal.d.ts +0 -16
  411. package/dist/theme/color-tweak-export-modal.js +0 -138
  412. package/dist/theme/design-token-serde.d.ts +0 -183
  413. package/dist/theme/design-token-serde.js +0 -346
  414. package/dist/theme/design-token-types.d.ts +0 -13
  415. package/dist/theme/design-token-types.js +0 -6
  416. package/dist/theme/iframe-bridge.d.ts +0 -42
  417. package/dist/theme/iframe-bridge.js +0 -72
  418. /package/dist/{integrations → plugins/internal}/claude-resources/escape-for-mdx.d.ts +0 -0
  419. /package/dist/{integrations → plugins/internal}/claude-resources/escape-for-mdx.js +0 -0
  420. /package/dist/{integrations → plugins/internal}/claude-resources/generate.d.ts +0 -0
  421. /package/dist/{integrations → plugins/internal}/claude-resources/generate.js +0 -0
  422. /package/dist/{integrations → plugins/internal}/doc-history/pre-build.js +0 -0
  423. /package/dist/{integrations → plugins/internal}/llms-txt/dev-middleware.d.ts +0 -0
  424. /package/dist/{integrations → plugins/internal}/llms-txt/dev-middleware.js +0 -0
  425. /package/dist/{integrations → plugins/internal}/llms-txt/emit.d.ts +0 -0
  426. /package/dist/{integrations → plugins/internal}/llms-txt/emit.js +0 -0
  427. /package/dist/{integrations → plugins/internal}/llms-txt/generate.d.ts +0 -0
  428. /package/dist/{integrations → plugins/internal}/llms-txt/generate.js +0 -0
  429. /package/dist/{integrations → plugins/internal}/llms-txt/index.js +0 -0
  430. /package/dist/{integrations → plugins/internal}/llms-txt/types.js +0 -0
  431. /package/dist/{integrations → plugins/internal}/search-index/build-emitter.d.ts +0 -0
  432. /package/dist/{integrations → plugins/internal}/search-index/build-emitter.js +0 -0
  433. /package/dist/{integrations → plugins/internal}/search-index/collect.d.ts +0 -0
  434. /package/dist/{integrations → plugins/internal}/search-index/dev-middleware.d.ts +0 -0
  435. /package/dist/{integrations → plugins/internal}/search-index/dev-middleware.js +0 -0
  436. /package/dist/{integrations → plugins/internal}/search-index/index.d.ts +0 -0
  437. /package/dist/{integrations → plugins/internal}/search-index/index.js +0 -0
  438. /package/dist/{integrations → plugins/internal}/search-index/types.d.ts +0 -0
  439. /package/dist/{integrations → plugins/internal}/search-index/types.js +0 -0
@@ -0,0 +1,95 @@
1
+ Copyright 2020 The Fraunces Project Authors (https://github.com/undercasetype/Fraunces)
2
+ Copyright 2014 The Nunito Project Authors (https://github.com/googlefonts/nunito)
3
+ Copyright 2021 The Spline Sans Mono Project Authors (https://github.com/SorkinType/SplineSansMono)
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": "hearth",
4
+ "name": "Hearth",
5
+ "description": "Warm cream & brick-red fireside docs — Fraunces headings, amber code blocks, ember-glow dark mode.",
6
+ "mode": "light",
7
+ "version": "1.0.1",
8
+ "fonts": {
9
+ "sans": "Nunito",
10
+ "mono": "Spline Sans Mono",
11
+ "display": "Fraunces",
12
+ "loaded": ["Fraunces", "Nunito", "Spline Sans Mono"]
13
+ },
14
+ "preview": {
15
+ "light": {
16
+ "bg": "oklch(0.958 0.02 85)",
17
+ "fg": "oklch(0.255 0.028 40)",
18
+ "accent": "oklch(0.49 0.145 31)",
19
+ "syntax": {
20
+ "keyword": "oklch(0.48 0.148 30)",
21
+ "string": "oklch(0.47 0.1 135)",
22
+ "comment": "oklch(0.51 0.035 60)",
23
+ "callable": "oklch(0.45 0.092 245)"
24
+ }
25
+ },
26
+ "dark": {
27
+ "bg": "oklch(0.215 0.022 45)",
28
+ "fg": "oklch(0.915 0.02 80)",
29
+ "accent": "oklch(0.735 0.128 45)",
30
+ "syntax": {
31
+ "keyword": "oklch(0.745 0.138 40)",
32
+ "string": "oklch(0.785 0.1 130)",
33
+ "comment": "oklch(0.645 0.032 65)",
34
+ "callable": "oklch(0.765 0.075 235)"
35
+ }
36
+ }
37
+ }
38
+ }
@@ -0,0 +1,385 @@
1
+ /* ============================================================
2
+ Hearth — zudo-doc theme pack (ADR docs/adr/theme-packs.md)
3
+
4
+ Warm cream & brick-red fireside docs: Fraunces serif chrome over
5
+ a Nunito reading face and Spline Sans Mono code, toasted amber
6
+ code panels with a warm inset highlight, firelight radial
7
+ gradients on the page body. Light = a cream room in daylight;
8
+ dark = the same room after sundown, lit by embers — roasted
9
+ brown field, terracotta accents, honey syntax. Cozy is round:
10
+ soft 12px cards/code, 8px controls, warm brown-tinted shadows
11
+ (never neutral gray).
12
+
13
+ Every rule below is scoped under html[data-theme-pack="hearth"]
14
+ — this is what makes the runtime pack swap atomic (Decision 3)
15
+ and lets the validator prove a pack can never leak styles while
16
+ inactive (Decision 6.7). The @font-face blocks are the sole
17
+ exception (at-rules can't be selector-scoped).
18
+
19
+ Prototype-selector adaptations against the REAL DOM (tokens-dump
20
+ §6 + component sources), noted inline where they matter:
21
+ - `.sb-group a` → `#desktop-sidebar a` (hover wash) +
22
+ `a[data-nav-active]` (active pill)
23
+ - `.toc-active` → `nav[data-zd-toc] a[aria-current="true"]`
24
+ (toc/toc.tsx marks the active entry with
25
+ aria-current, not a mock class)
26
+ - `.doc-pager` → `.zd-content > nav[data-doc-pager]` (stable
27
+ hook on the DocPager nav, kept anchored under
28
+ the structural `.zd-content >` chain)
29
+ - `footer[data-footer]` → `footer[data-footer]` (stable hook on the
30
+ sole <footer> inside .zd-sidebar-content-wrapper)
31
+ - `.hdr-search` / `.hdr-icon-btn` / `.sb-group > p` — prototype-mock
32
+ markup with no stable hook; their rounded/brick styling is NOT
33
+ ported.
34
+ - the theme-switcher flyout + glowing-coal launcher have stable hooks
35
+ now ([data-switcher-card] / [data-switcher-launcher]), but this pack
36
+ styles neither — intentionally NOT ported.
37
+ - the prototype's `--hearth-shadow` / `--hearth-line` helper
38
+ properties are not part of the token manifest, so their
39
+ light-dark() values are inlined at each use site below.
40
+ ============================================================ */
41
+
42
+ /* ---- Fraunces — display serif for headings, logo, blockquote,
43
+ table heads. Weight-only variable files (400–700; the opsz
44
+ axis is dropped for payload — glyphs render at the soft
45
+ text-optical default, which suits the fireside brief), both
46
+ styles — the blockquote cushion wants a TRUE italic. Latin
47
+ subsets only (all three families): latin-ext was dropped to
48
+ meet the ~250KB payload budget — a stray latin-ext glyph
49
+ falls back to the stack's system face. ---- */
50
+
51
+ @font-face {
52
+ font-family: "Fraunces";
53
+ font-style: normal;
54
+ font-weight: 400 700;
55
+ font-display: swap;
56
+ src: url("./fonts/Fraunces-latin.woff2") format("woff2");
57
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
58
+ U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
59
+ U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
60
+ }
61
+
62
+ @font-face {
63
+ font-family: "Fraunces";
64
+ font-style: italic;
65
+ font-weight: 400 700;
66
+ font-display: swap;
67
+ src: url("./fonts/Fraunces-italic-latin.woff2") format("woff2");
68
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
69
+ U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
70
+ U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
71
+ }
72
+
73
+ /* ---- Nunito — rounded humanist sans for prose. Variable 400–800
74
+ (bold prose emphasis and the 700 sidebar/nav weights come
75
+ from the same file). ---- */
76
+
77
+ @font-face {
78
+ font-family: "Nunito";
79
+ font-style: normal;
80
+ font-weight: 400 800;
81
+ font-display: swap;
82
+ src: url("./fonts/Nunito-latin.woff2") format("woff2");
83
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
84
+ U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
85
+ U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
86
+ }
87
+
88
+ /* ---- Spline Sans Mono — soft mono for the amber code panels.
89
+ Variable 400–600. ---- */
90
+
91
+ @font-face {
92
+ font-family: "Spline Sans Mono";
93
+ font-style: normal;
94
+ font-weight: 400 600;
95
+ font-display: swap;
96
+ src: url("./fonts/SplineSansMono-latin.woff2") format("woff2");
97
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
98
+ U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
99
+ U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
100
+ }
101
+
102
+ html[data-theme-pack="hearth"] {
103
+ /* Tier-2 semantic roles — warm cream room / ember-lit brown room.
104
+ Both modes always via light-dark(). */
105
+ --zd-bg: light-dark(oklch(0.958 0.02 85), oklch(0.215 0.022 45));
106
+ --zd-fg: light-dark(oklch(0.255 0.028 40), oklch(0.915 0.02 80));
107
+ --zd-selection-bg: light-dark(oklch(0.845 0.085 75), oklch(0.455 0.09 45));
108
+ --zd-selection-fg: light-dark(oklch(0.225 0.03 40), oklch(0.965 0.015 85));
109
+ --zd-surface: light-dark(oklch(0.938 0.026 82), oklch(0.245 0.024 45));
110
+ --zd-muted: light-dark(oklch(0.45 0.042 50), oklch(0.725 0.032 60));
111
+ --zd-accent: light-dark(oklch(0.49 0.145 31), oklch(0.735 0.128 45));
112
+ --zd-accent-hover: light-dark(oklch(0.42 0.132 30), oklch(0.795 0.112 50));
113
+ --zd-code-bg: light-dark(oklch(0.928 0.048 84), oklch(0.268 0.038 55));
114
+ --zd-code-fg: light-dark(oklch(0.29 0.048 45), oklch(0.908 0.028 80));
115
+ --zd-success: light-dark(oklch(0.455 0.1 140), oklch(0.765 0.105 135));
116
+ --zd-danger: light-dark(oklch(0.5 0.17 28), oklch(0.705 0.15 30));
117
+ --zd-warning: light-dark(oklch(0.51 0.105 72), oklch(0.805 0.115 78));
118
+ --zd-info: light-dark(oklch(0.465 0.085 240), oklch(0.745 0.08 235));
119
+
120
+ /* syntax — all 9 roles, both modes: brick keywords, olive strings,
121
+ burnt-orange numbers, dusk-blue callables, honey types — embers
122
+ brighten after dark. The light comment ink runs one step darker
123
+ than the prototype (L .52 → .51) to clear WCAG AA (4.69:1) on
124
+ the amber code panel. inserted/deleted reuse the success/danger
125
+ hues. */
126
+ --zd-syntax-comment: light-dark(oklch(0.51 0.035 60), oklch(0.645 0.032 65));
127
+ --zd-syntax-string: light-dark(oklch(0.47 0.1 135), oklch(0.785 0.1 130));
128
+ --zd-syntax-number: light-dark(oklch(0.505 0.122 55), oklch(0.815 0.118 70));
129
+ --zd-syntax-keyword: light-dark(oklch(0.48 0.148 30), oklch(0.745 0.138 40));
130
+ --zd-syntax-callable: light-dark(oklch(0.45 0.092 245), oklch(0.765 0.075 235));
131
+ --zd-syntax-type: light-dark(oklch(0.498 0.098 76), oklch(0.82 0.1 86));
132
+ --zd-syntax-name: light-dark(oklch(0.29 0.048 45), oklch(0.908 0.028 80));
133
+ --zd-syntax-inserted: light-dark(oklch(0.455 0.1 140), oklch(0.765 0.105 135));
134
+ --zd-syntax-deleted: light-dark(oklch(0.5 0.17 28), oklch(0.705 0.15 30));
135
+
136
+ /* fonts — Nunito reading face, Spline Sans Mono code, Fraunces
137
+ display face for headings/serif chrome. */
138
+ --font-sans: "Nunito", system-ui, sans-serif;
139
+ --font-mono: "Spline Sans Mono", ui-monospace, monospace;
140
+ --font-display: "Fraunces", Georgia, serif;
141
+
142
+ /* Tier-3 component seams — Fraunces headings (the 570 h2 weight
143
+ rides the variable wght axis), soft 12px cards, brick-fill
144
+ active nav. */
145
+ --zdc-doc-title-font: var(--font-display);
146
+ --zdc-doc-title-weight: 600;
147
+ --zdc-doc-title-tracking: -0.015em;
148
+ --zdc-doc-h2-font: var(--font-display);
149
+ --zdc-doc-h2-weight: 570;
150
+ --zdc-doc-h2-tracking: -0.005em;
151
+ --zdc-admonition-radius: 0 12px 12px 0;
152
+ --zdc-card-radius: 12px;
153
+ --zdc-nav-active-indicator-color: light-dark(oklch(0.49 0.145 31), oklch(0.74 0.125 45));
154
+ }
155
+
156
+ /* ---- Hearth extras ---- */
157
+
158
+ /* firelight in the room: daylight glow from above (light), ember
159
+ glow rising from below-right (dark) */
160
+ html[data-theme-pack="hearth"] body {
161
+ background-image:
162
+ radial-gradient(
163
+ 120% 65% at 50% 0%,
164
+ light-dark(oklch(0.972 0.022 90 / 0.9), oklch(0.245 0.03 45 / 0.55)) 0%,
165
+ transparent 60%
166
+ ),
167
+ radial-gradient(
168
+ 90% 55% at 88% 100%,
169
+ light-dark(oklch(0.925 0.055 78 / 0.55), oklch(0.3 0.062 42 / 0.5)) 0%,
170
+ transparent 55%
171
+ );
172
+ background-attachment: fixed;
173
+ }
174
+
175
+ /* header: warm mantelpiece — soft gradient, warm hairline, brown
176
+ shadow */
177
+ html[data-theme-pack="hearth"] header[data-header] {
178
+ border-bottom-color: light-dark(oklch(0.85 0.042 76), oklch(0.335 0.034 48));
179
+ box-shadow: 0 3px 14px -8px light-dark(oklch(0.42 0.09 45 / 0.2), oklch(0.05 0.01 45 / 0.6));
180
+ background-image: linear-gradient(
181
+ 180deg,
182
+ light-dark(oklch(0.945 0.028 84), oklch(0.252 0.026 45)) 0%,
183
+ light-dark(oklch(0.93 0.028 80), oklch(0.238 0.023 45)) 100%
184
+ );
185
+ }
186
+ html[data-theme-pack="hearth"] [data-header-logo] {
187
+ font-family: var(--font-display);
188
+ font-weight: 620;
189
+ color: var(--zd-accent);
190
+ }
191
+ html[data-theme-pack="hearth"] [data-nav-item]:hover {
192
+ color: var(--zd-accent);
193
+ text-decoration-color: color-mix(in oklch, var(--zd-accent) 50%, transparent);
194
+ text-underline-offset: 4px;
195
+ }
196
+
197
+ /* sidebar: a shade warmer than the page; rounded hover cushions */
198
+ html[data-theme-pack="hearth"] #desktop-sidebar {
199
+ background-color: light-dark(oklch(0.944 0.024 82), oklch(0.202 0.02 45));
200
+ border-right-color: light-dark(oklch(0.85 0.042 76), oklch(0.335 0.034 48));
201
+ }
202
+ html[data-theme-pack="hearth"] #desktop-sidebar a {
203
+ border-radius: 8px;
204
+ transition:
205
+ background-color 0.15s ease,
206
+ color 0.15s ease;
207
+ }
208
+ html[data-theme-pack="hearth"] #desktop-sidebar a:hover {
209
+ color: var(--zd-accent);
210
+ text-decoration: none;
211
+ background: light-dark(oklch(0.905 0.038 80 / 0.7), oklch(0.268 0.032 48 / 0.75));
212
+ }
213
+ /* active item: brick pill (fill from --zdc-nav-active-indicator-color)
214
+ lifted by a warm shadow; cream/dark-roast text via the bg token */
215
+ html[data-theme-pack="hearth"] a[data-nav-active] {
216
+ color: var(--zd-bg);
217
+ border-radius: 8px;
218
+ box-shadow: 0 3px 10px -4px light-dark(oklch(0.42 0.09 45 / 0.2), oklch(0.05 0.01 45 / 0.6));
219
+ }
220
+
221
+ /* headings: brick serif, ember rule under h2. The SSR-inlined
222
+ `style="border-image:linear-gradient(...)"` bar is defeated with
223
+ border-image none !important (Decision 6.6's sole allowlisted
224
+ carve-out) + a zeroed border-top; the fading ember rule is then
225
+ painted as a 3px top-anchored background gradient instead. */
226
+ html[data-theme-pack="hearth"] .zd-content h1 {
227
+ color: light-dark(oklch(0.435 0.135 30), oklch(0.79 0.112 48));
228
+ }
229
+ html[data-theme-pack="hearth"] .zd-content h2 {
230
+ border-image: none !important;
231
+ border-top-width: 0;
232
+ color: light-dark(oklch(0.43 0.12 32), oklch(0.8 0.1 55));
233
+ background-image: linear-gradient(
234
+ to right,
235
+ var(--zd-accent),
236
+ color-mix(in oklch, var(--zd-warning) 70%, transparent) 55%,
237
+ transparent
238
+ );
239
+ background-size: 100% 3px;
240
+ background-repeat: no-repeat;
241
+ background-position: top left;
242
+ }
243
+ html[data-theme-pack="hearth"] .zd-content h3 {
244
+ color: light-dark(oklch(0.36 0.07 40), oklch(0.85 0.055 65));
245
+ }
246
+
247
+ /* links: brick with a soft amber underline that warms on hover */
248
+ html[data-theme-pack="hearth"] .zd-content a {
249
+ text-decoration-color: color-mix(in oklch, var(--zd-accent) 40%, transparent);
250
+ text-decoration-thickness: 1.5px;
251
+ text-underline-offset: 3px;
252
+ }
253
+ html[data-theme-pack="hearth"] .zd-content a:hover {
254
+ text-decoration-color: var(--zd-accent-hover);
255
+ }
256
+
257
+ /* amber code blocks — the centerpiece: toasted panel, warm inset
258
+ highlight, soft 12px corners, brown shadow underneath */
259
+ html[data-theme-pack="hearth"] pre.hi-root {
260
+ border-radius: 12px;
261
+ border-color: light-dark(oklch(0.845 0.058 80), oklch(0.352 0.048 55));
262
+ background-image: linear-gradient(
263
+ 180deg,
264
+ light-dark(oklch(0.936 0.05 86), oklch(0.282 0.04 56)) 0%,
265
+ light-dark(oklch(0.922 0.048 82), oklch(0.258 0.036 52)) 100%
266
+ );
267
+ box-shadow:
268
+ inset 0 1px 0 light-dark(oklch(1 0 0 / 0.55), oklch(1 0 0 / 0.05)),
269
+ 0 10px 24px -16px light-dark(oklch(0.42 0.09 45 / 0.2), oklch(0.05 0.01 45 / 0.6));
270
+ padding: 1.1rem 1.25rem;
271
+ }
272
+ html[data-theme-pack="hearth"] .hi-com {
273
+ font-style: italic;
274
+ }
275
+
276
+ /* inline code: little amber pills */
277
+ html[data-theme-pack="hearth"] .zd-content code:not(pre code) {
278
+ border-radius: 6px;
279
+ border: 1px solid light-dark(oklch(0.868 0.052 82), oklch(0.34 0.042 55));
280
+ padding: 1px 0.38rem;
281
+ }
282
+
283
+ /* blockquote: fireside aside — italic serif on a warm cushion */
284
+ html[data-theme-pack="hearth"] .zd-content blockquote {
285
+ font-family: var(--font-display);
286
+ font-style: italic;
287
+ font-size: 1.06em;
288
+ border-left: 3px solid var(--zd-accent);
289
+ border-radius: 0 12px 12px 0;
290
+ background: light-dark(oklch(0.938 0.034 82 / 0.7), oklch(0.252 0.03 50 / 0.6));
291
+ padding: 0.85rem 1.2rem 0.85rem 1.25rem;
292
+ color: light-dark(oklch(0.38 0.052 42), oklch(0.83 0.032 70));
293
+ }
294
+
295
+ /* admonitions: soft-cornered, warm-shadowed, hearth icon swaps on
296
+ the prototype's three variants (candle / coffee / fire); the other
297
+ four variants keep the stock icons */
298
+ html[data-theme-pack="hearth"] [data-admonition] {
299
+ box-shadow: 0 8px 18px -14px light-dark(oklch(0.42 0.09 45 / 0.2), oklch(0.05 0.01 45 / 0.6));
300
+ }
301
+ html[data-theme-pack="hearth"] [data-admonition="note"] .admonition-title::before {
302
+ content: "🕯️ ";
303
+ }
304
+ html[data-theme-pack="hearth"] [data-admonition="tip"] .admonition-title::before {
305
+ content: "☕ ";
306
+ }
307
+ html[data-theme-pack="hearth"] [data-admonition="warning"] .admonition-title::before {
308
+ content: "🔥 ";
309
+ }
310
+
311
+ /* table: brick Fraunces header over an accent rule, warm row hover */
312
+ html[data-theme-pack="hearth"] .zd-content th {
313
+ font-family: var(--font-display);
314
+ font-weight: 600;
315
+ color: var(--zd-accent);
316
+ border-bottom-color: color-mix(in oklch, var(--zd-accent) 65%, transparent);
317
+ }
318
+ html[data-theme-pack="hearth"] .zd-content td {
319
+ border-bottom-color: light-dark(oklch(0.85 0.042 76), oklch(0.335 0.034 48));
320
+ }
321
+ html[data-theme-pack="hearth"] .zd-content tbody tr:hover {
322
+ background: light-dark(oklch(0.932 0.034 82 / 0.6), oklch(0.262 0.03 50 / 0.55));
323
+ }
324
+
325
+ /* hr: a fading ember line */
326
+ html[data-theme-pack="hearth"] .zd-content hr {
327
+ border: none;
328
+ height: 2px;
329
+ border-radius: 2px;
330
+ background: linear-gradient(
331
+ to right,
332
+ transparent,
333
+ color-mix(in oklch, var(--zd-accent) 70%, transparent) 30%,
334
+ color-mix(in oklch, var(--zd-warning) 70%, transparent) 70%,
335
+ transparent
336
+ );
337
+ }
338
+
339
+ /* pager: cushioned cards that lift toward the fire. DocPager carries the
340
+ stable data-doc-pager hook. */
341
+ html[data-theme-pack="hearth"] .zd-content > nav[data-doc-pager] a {
342
+ background: var(--zd-surface);
343
+ border-radius: 12px;
344
+ border-color: light-dark(oklch(0.85 0.042 76), oklch(0.335 0.034 48));
345
+ box-shadow: 0 5px 16px -12px light-dark(oklch(0.42 0.09 45 / 0.2), oklch(0.05 0.01 45 / 0.6));
346
+ transition:
347
+ box-shadow 0.18s ease,
348
+ border-color 0.18s ease,
349
+ transform 0.18s ease;
350
+ }
351
+ html[data-theme-pack="hearth"] .zd-content > nav[data-doc-pager] a:hover {
352
+ border-color: color-mix(in oklch, var(--zd-accent) 60%, transparent);
353
+ box-shadow: 0 12px 26px -14px light-dark(oklch(0.42 0.09 45 / 0.2), oklch(0.05 0.01 45 / 0.6));
354
+ transform: translateY(-1px);
355
+ }
356
+
357
+ /* TOC: brick pill for the active entry. The real DOM marks it with
358
+ aria-current="true" (toc/toc.tsx). The pill pulls left within the
359
+ ul's padding (the rail-side overflow clips at the padding edge —
360
+ see the foundry note), and reads cream-on-brick in daylight,
361
+ dark-roast-on-terracotta after sundown. */
362
+ html[data-theme-pack="hearth"] nav[data-zd-toc] ul {
363
+ border-left-color: light-dark(oklch(0.85 0.042 76), oklch(0.335 0.034 48));
364
+ }
365
+ html[data-theme-pack="hearth"] nav[data-zd-toc] a:hover {
366
+ color: var(--zd-accent);
367
+ }
368
+ html[data-theme-pack="hearth"] nav[data-zd-toc] a[aria-current="true"] {
369
+ background: var(--zd-accent);
370
+ color: light-dark(oklch(0.968 0.016 85), oklch(0.19 0.02 45));
371
+ border-radius: 7px;
372
+ padding-left: 0.4rem;
373
+ margin-left: -0.4rem;
374
+ padding-right: 0.4rem;
375
+ box-shadow: 0 3px 10px -4px light-dark(oklch(0.42 0.09 45 / 0.2), oklch(0.05 0.01 45 / 0.6));
376
+ }
377
+
378
+ /* breadcrumb + footer warmth (footer carries the stable data-footer hook) */
379
+ html[data-theme-pack="hearth"] main nav[aria-label="Breadcrumb"] a:hover {
380
+ color: var(--zd-accent);
381
+ }
382
+ html[data-theme-pack="hearth"] footer[data-footer] {
383
+ background-color: light-dark(oklch(0.936 0.026 80), oklch(0.196 0.02 45));
384
+ border-top-color: light-dark(oklch(0.85 0.042 76), oklch(0.335 0.034 48));
385
+ }
@@ -0,0 +1,94 @@
1
+ Copyright 2020 The Space Grotesk Project Authors (https://github.com/floriankarsten/space-grotesk)
2
+ Copyright 2016 Google Inc. All Rights Reserved. Space Mono (https://github.com/googlefonts/spacemono)
3
+
4
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
5
+ This license is copied below, and is also available with a FAQ at:
6
+ https://scripts.sil.org/OFL
7
+
8
+
9
+ -----------------------------------------------------------
10
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
11
+ -----------------------------------------------------------
12
+
13
+ PREAMBLE
14
+ The goals of the Open Font License (OFL) are to stimulate worldwide
15
+ development of collaborative font projects, to support the font creation
16
+ efforts of academic and linguistic communities, and to provide a free and
17
+ open framework in which fonts may be shared and improved in partnership
18
+ with others.
19
+
20
+ The OFL allows the licensed fonts to be used, studied, modified and
21
+ redistributed freely as long as they are not sold by themselves. The
22
+ fonts, including any derivative works, can be bundled, embedded,
23
+ redistributed and/or sold with any software provided that any reserved
24
+ names are not used by derivative works. The fonts and derivatives,
25
+ however, cannot be released under any other type of license. The
26
+ requirement for fonts to remain under this license does not apply
27
+ to any document created using the fonts or their derivatives.
28
+
29
+ DEFINITIONS
30
+ "Font Software" refers to the set of files released by the Copyright
31
+ Holder(s) under this license and clearly marked as such. This may
32
+ include source files, build scripts and documentation.
33
+
34
+ "Reserved Font Name" refers to any names specified as such after the
35
+ copyright statement(s).
36
+
37
+ "Original Version" refers to the collection of Font Software components as
38
+ distributed by the Copyright Holder(s).
39
+
40
+ "Modified Version" refers to any derivative made by adding to, deleting,
41
+ or substituting -- in part or in whole -- any of the components of the
42
+ Original Version, by changing formats or by porting the Font Software to a
43
+ new environment.
44
+
45
+ "Author" refers to any designer, engineer, programmer, technical
46
+ writer or other person who contributed to the Font Software.
47
+
48
+ PERMISSION & CONDITIONS
49
+ Permission is hereby granted, free of charge, to any person obtaining
50
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
51
+ redistribute, and sell modified and unmodified copies of the Font
52
+ Software, subject to the following conditions:
53
+
54
+ 1) Neither the Font Software nor any of its individual components,
55
+ in Original or Modified Versions, may be sold by itself.
56
+
57
+ 2) Original or Modified Versions of the Font Software may be bundled,
58
+ redistributed and/or sold with any software, provided that each copy
59
+ contains the above copyright notice and this license. These can be
60
+ included either as stand-alone text files, human-readable headers or
61
+ in the appropriate machine-readable metadata fields within text or
62
+ binary files as long as those fields can be easily viewed by the user.
63
+
64
+ 3) No Modified Version of the Font Software may use the Reserved Font
65
+ Name(s) unless explicit written permission is granted by the corresponding
66
+ Copyright Holder. This restriction only applies to the primary font name as
67
+ presented to the users.
68
+
69
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
70
+ Software shall not be used to promote, endorse or advertise any
71
+ Modified Version, except to acknowledge the contribution(s) of the
72
+ Copyright Holder(s) and the Author(s) or with their explicit written
73
+ permission.
74
+
75
+ 5) The Font Software, modified or unmodified, in part or in whole,
76
+ must be distributed entirely under this license, and must not be
77
+ distributed under any other license. The requirement for fonts to
78
+ remain under this license does not apply to any document created
79
+ using the Font Software.
80
+
81
+ TERMINATION
82
+ This license becomes null and void if any of the above conditions are
83
+ not met.
84
+
85
+ DISCLAIMER
86
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
87
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
88
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
89
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
90
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
91
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
92
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
93
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
94
+ OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -0,0 +1,37 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "slug": "hollow",
4
+ "name": "Hollow",
5
+ "description": "Dark violet space — neon pink headings, violet links, a quiet starfield, and razor-square midnight chrome.",
6
+ "mode": "dark",
7
+ "version": "1.0.1",
8
+ "fonts": {
9
+ "sans": "Space Grotesk",
10
+ "mono": "Space Mono",
11
+ "loaded": ["Space Grotesk", "Space Mono"]
12
+ },
13
+ "preview": {
14
+ "light": {
15
+ "bg": "oklch(0.962 0.012 300)",
16
+ "fg": "oklch(0.24 0.045 295)",
17
+ "accent": "oklch(0.45 0.17 300)",
18
+ "syntax": {
19
+ "keyword": "oklch(0.53 0.2 348)",
20
+ "string": "oklch(0.45 0.1 195)",
21
+ "comment": "oklch(0.51 0.035 292)",
22
+ "callable": "oklch(0.46 0.16 300)"
23
+ }
24
+ },
25
+ "dark": {
26
+ "bg": "oklch(0.155 0.035 295)",
27
+ "fg": "oklch(0.93 0.015 295)",
28
+ "accent": "oklch(0.74 0.14 300)",
29
+ "syntax": {
30
+ "keyword": "oklch(0.76 0.17 347)",
31
+ "string": "oklch(0.83 0.1 190)",
32
+ "comment": "oklch(0.62 0.045 292)",
33
+ "callable": "oklch(0.76 0.13 300)"
34
+ }
35
+ }
36
+ }
37
+ }