@takazudo/zudo-doc 3.3.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 (417) hide show
  1. package/CHANGELOG.md +32 -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 -10
  14. package/dist/chrome/derive.js +53 -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 +68 -0
  20. package/dist/code-syntax/code-block-enhancer-script.d.ts +4 -0
  21. package/dist/code-syntax/code-block-enhancer-script.js +7 -4
  22. package/dist/code-syntax/code-block-enhancer.d.ts +2 -2
  23. package/dist/code-syntax/code-block-enhancer.js +1 -3
  24. package/dist/code-syntax/index.d.ts +5 -5
  25. package/dist/code-syntax/index.js +4 -13
  26. package/dist/code-syntax/mermaid-init-script.d.ts +1 -22
  27. package/dist/code-syntax/mermaid-init-script.js +0 -2
  28. package/dist/code-syntax/mermaid-init.d.ts +0 -1
  29. package/dist/code-syntax/mermaid-init.js +3 -4
  30. package/dist/code-syntax/tabs-init.d.ts +0 -1
  31. package/dist/code-syntax/tabs-init.js +1 -3
  32. package/dist/code-syntax/tabs.d.ts +0 -1
  33. package/dist/code-syntax/tabs.js +1 -3
  34. package/dist/color-scheme-utils.d.ts +71 -3
  35. package/dist/color-scheme-utils.js +137 -0
  36. package/dist/color-schemes-defaults/index.js +13 -0
  37. package/dist/config.d.ts +28 -12
  38. package/dist/config.js +11 -2
  39. package/dist/content/component-map.d.ts +0 -16
  40. package/dist/content/component-map.js +2 -4
  41. package/dist/content/index.d.ts +1 -1
  42. package/dist/content/index.js +2 -3
  43. package/dist/content.css +1 -1
  44. package/dist/design-token-panel-bootstrap.d.ts +45 -40
  45. package/dist/design-token-panel-bootstrap.js +98 -21
  46. package/dist/design-token-panel-config/index.js +1 -4
  47. package/dist/doc-body-end-islands/design-token-panel-island.d.ts +15 -0
  48. package/dist/doc-body-end-islands/design-token-panel-island.js +31 -0
  49. package/dist/doc-body-end-islands/index.d.ts +39 -17
  50. package/dist/doc-body-end-islands/index.js +13 -21
  51. package/dist/doc-body-end-islands/theme-pack-switcher-island.d.ts +37 -0
  52. package/dist/doc-body-end-islands/theme-pack-switcher-island.js +18 -0
  53. package/dist/doc-content-header/index.js +1 -1
  54. package/dist/doc-history-area/index.d.ts +10 -4
  55. package/dist/doc-history-area/index.js +3 -2
  56. package/dist/doc-metainfo-area/index.d.ts +1 -0
  57. package/dist/doc-page-props/index.d.ts +7 -23
  58. package/dist/doc-page-renderer/index.d.ts +1 -0
  59. package/dist/doc-page-renderer/index.js +1 -0
  60. package/dist/doc-page-shell/index.js +19 -12
  61. package/dist/doc-pager/index.js +1 -1
  62. package/dist/doc-route-entries/index.d.ts +2 -2
  63. package/dist/doclayout/doc-layout-with-defaults.js +4 -4
  64. package/dist/doclayout/doc-layout.d.ts +8 -0
  65. package/dist/doclayout/doc-layout.js +10 -1
  66. package/dist/docs-schema/index.js +1 -5
  67. package/dist/eject/index.d.ts +16 -0
  68. package/dist/eject/index.js +122 -28
  69. package/dist/extract-headings/index.d.ts +5 -8
  70. package/dist/extract-headings/index.js +2 -9
  71. package/dist/factory-context/index.d.ts +42 -4
  72. package/dist/features.css +55 -43
  73. package/dist/footer/footer.js +1 -0
  74. package/dist/head-with-defaults/index.d.ts +2 -0
  75. package/dist/head-with-defaults/index.js +16 -0
  76. package/dist/header/header.d.ts +10 -5
  77. package/dist/header/header.js +45 -5
  78. package/dist/header/index.d.ts +1 -1
  79. package/dist/header/types.d.ts +30 -1
  80. package/dist/header-with-defaults/index.js +1 -0
  81. package/dist/home-page/index.d.ts +2 -0
  82. package/dist/home-page/index.js +11 -5
  83. package/dist/home-page/prepare-home-data.js +1 -1
  84. package/dist/locale-merge/index.d.ts +9 -14
  85. package/dist/locale-merge/index.js +6 -4
  86. package/dist/mdx-components/index.js +4 -4
  87. package/dist/plugins/claude-resources.d.ts +1 -0
  88. package/dist/plugins/claude-resources.js +4 -2
  89. package/dist/plugins/doc-history.js +1 -1
  90. package/dist/{integrations → plugins/internal}/claude-resources/index.d.ts +1 -16
  91. package/dist/{integrations → plugins/internal}/claude-resources/index.js +0 -9
  92. package/dist/{integrations → plugins/internal}/doc-history/index.d.ts +0 -17
  93. package/dist/{integrations → plugins/internal}/doc-history/index.js +0 -4
  94. package/dist/{integrations → plugins/internal}/doc-history/pre-build.d.ts +2 -4
  95. package/dist/plugins/internal/llms-txt/index.d.ts +7 -0
  96. package/dist/{integrations → plugins/internal}/llms-txt/load.d.ts +1 -1
  97. package/dist/{integrations → plugins/internal}/llms-txt/load.js +2 -2
  98. package/dist/{integrations → plugins/internal}/llms-txt/strip.d.ts +2 -3
  99. package/dist/{integrations → plugins/internal}/llms-txt/strip.js +1 -1
  100. package/dist/{integrations → plugins/internal}/llms-txt/types.d.ts +13 -22
  101. package/dist/{integrations → plugins/internal}/search-index/collect.js +1 -1
  102. package/dist/plugins/internal/theme-packs/copy.d.ts +32 -0
  103. package/dist/plugins/internal/theme-packs/copy.js +45 -0
  104. package/dist/plugins/internal/theme-packs/dev-middleware.d.ts +22 -0
  105. package/dist/plugins/internal/theme-packs/dev-middleware.js +80 -0
  106. package/dist/plugins/internal/theme-packs/index.d.ts +6 -0
  107. package/dist/plugins/internal/theme-packs/index.js +9 -0
  108. package/dist/plugins/internal/theme-packs/resolve.d.ts +17 -0
  109. package/dist/plugins/internal/theme-packs/resolve.js +17 -0
  110. package/dist/plugins/internal/theme-packs/types.d.ts +22 -0
  111. package/dist/plugins/internal/theme-packs/types.js +0 -0
  112. package/dist/plugins/llms-txt.js +1 -1
  113. package/dist/plugins/routes.js +11 -1
  114. package/dist/plugins/search-index.js +1 -1
  115. package/dist/plugins/theme-packs.d.ts +3 -0
  116. package/dist/plugins/theme-packs.js +40 -0
  117. package/dist/preset.d.ts +19 -14
  118. package/dist/preset.js +24 -9
  119. package/dist/route-context/index.js +4 -6
  120. package/dist/route-enumerators/index.d.ts +6 -18
  121. package/dist/route-enumerators/index.js +8 -6
  122. package/dist/routes/404.js +3 -1
  123. package/dist/routes/_chrome.js +2 -2
  124. package/dist/routes/_context.d.ts +7 -3
  125. package/dist/routes/_context.js +2 -0
  126. package/dist/routes/_docs-helpers.js +9 -21
  127. package/dist/safelist.css +1 -1
  128. package/dist/settings.d.ts +27 -12
  129. package/dist/sidebar-tree/build-tree.d.ts +3 -4
  130. package/dist/sidebar-tree/build-tree.js +4 -3
  131. package/dist/sidebar-tree/index.d.ts +2 -2
  132. package/dist/sidebar-tree/types.d.ts +6 -17
  133. package/dist/site-tree-nav-island/index.d.ts +3 -1
  134. package/dist/site-tree-nav-island/index.js +17 -5
  135. package/dist/site-tree-nav-island/state.d.ts +4 -0
  136. package/dist/site-tree-nav-island/state.js +10 -0
  137. package/dist/tag-helpers/index.d.ts +6 -13
  138. package/dist/tag-helpers/index.js +5 -23
  139. package/dist/tag-pages/index.d.ts +8 -21
  140. package/dist/tag-pages/index.js +14 -10
  141. package/dist/tags-audit.d.ts +16 -44
  142. package/dist/tags-audit.js +9 -172
  143. package/dist/theme/color-scheme-provider.d.ts +2 -3
  144. package/dist/theme/color-scheme-provider.js +2 -10
  145. package/dist/theme/index.d.ts +1 -4
  146. package/dist/theme/index.js +2 -30
  147. package/dist/theme/theme-pack-provider.d.ts +42 -0
  148. package/dist/theme/theme-pack-provider.js +75 -0
  149. package/dist/theme-cli/apply.d.ts +16 -0
  150. package/dist/theme-cli/apply.js +61 -0
  151. package/dist/theme-cli/config-io.d.ts +15 -0
  152. package/dist/theme-cli/config-io.js +51 -0
  153. package/dist/theme-cli/config-rewriter.d.ts +21 -0
  154. package/dist/theme-cli/config-rewriter.js +141 -0
  155. package/dist/theme-cli/config-scanner.d.ts +63 -0
  156. package/dist/theme-cli/config-scanner.js +288 -0
  157. package/dist/theme-cli/index.d.ts +7 -0
  158. package/dist/theme-cli/index.js +38 -0
  159. package/dist/theme-cli/list.d.ts +27 -0
  160. package/dist/theme-cli/list.js +64 -0
  161. package/dist/theme-cli/provenance.d.ts +17 -0
  162. package/dist/theme-cli/provenance.js +35 -0
  163. package/dist/theme-cli/registry.d.ts +14 -0
  164. package/dist/theme-cli/registry.js +13 -0
  165. package/dist/theme-pack-dialog/dialog-state.d.ts +25 -0
  166. package/dist/theme-pack-dialog/dialog-state.js +40 -0
  167. package/dist/theme-pack-dialog/index.d.ts +5 -0
  168. package/dist/theme-pack-dialog/index.js +152 -0
  169. package/dist/theme-pack-dialog/theme-pack-card.d.ts +25 -0
  170. package/dist/theme-pack-dialog/theme-pack-card.js +72 -0
  171. package/dist/theme-pack-switcher/index.d.ts +49 -0
  172. package/dist/theme-pack-switcher/index.js +205 -0
  173. package/dist/theme-pack-switcher/switcher-state.d.ts +56 -0
  174. package/dist/theme-pack-switcher/switcher-state.js +43 -0
  175. package/dist/theme-pack-switcher/theme-pack-sync.d.ts +85 -0
  176. package/dist/theme-pack-switcher/theme-pack-sync.js +121 -0
  177. package/dist/theme-packs/beacon/fonts/AtkinsonHyperlegible-400-latin.woff2 +0 -0
  178. package/dist/theme-packs/beacon/fonts/AtkinsonHyperlegible-700-latin.woff2 +0 -0
  179. package/dist/theme-packs/beacon/fonts/AtkinsonHyperlegible-italic-400-latin.woff2 +0 -0
  180. package/dist/theme-packs/beacon/fonts/AtkinsonHyperlegible-italic-700-latin.woff2 +0 -0
  181. package/dist/theme-packs/beacon/fonts/AtkinsonHyperlegibleMono-italic-latin.woff2 +0 -0
  182. package/dist/theme-packs/beacon/fonts/AtkinsonHyperlegibleMono-latin.woff2 +0 -0
  183. package/dist/theme-packs/beacon/fonts/OFL.txt +94 -0
  184. package/dist/theme-packs/beacon/meta.json +37 -0
  185. package/dist/theme-packs/beacon/pack.css +442 -0
  186. package/dist/theme-packs/broadsheet/fonts/CourierPrime-400-latin.woff2 +0 -0
  187. package/dist/theme-packs/broadsheet/fonts/CourierPrime-700-latin.woff2 +0 -0
  188. package/dist/theme-packs/broadsheet/fonts/OFL.txt +95 -0
  189. package/dist/theme-packs/broadsheet/fonts/PlayfairDisplay-italic-latin.woff2 +0 -0
  190. package/dist/theme-packs/broadsheet/fonts/PlayfairDisplay-latin.woff2 +0 -0
  191. package/dist/theme-packs/broadsheet/fonts/SourceSerif4-italic-latin.woff2 +0 -0
  192. package/dist/theme-packs/broadsheet/fonts/SourceSerif4-latin.woff2 +0 -0
  193. package/dist/theme-packs/broadsheet/meta.json +38 -0
  194. package/dist/theme-packs/broadsheet/pack.css +448 -0
  195. package/dist/theme-packs/brutalist/fonts/ArchivoBlack-latin.woff2 +0 -0
  196. package/dist/theme-packs/brutalist/fonts/IBMPlexMono-400-latin.woff2 +0 -0
  197. package/dist/theme-packs/brutalist/fonts/IBMPlexMono-500-latin.woff2 +0 -0
  198. package/dist/theme-packs/brutalist/fonts/IBMPlexMono-700-latin.woff2 +0 -0
  199. package/dist/theme-packs/brutalist/fonts/OFL.txt +95 -0
  200. package/dist/theme-packs/brutalist/fonts/SpaceGrotesk-latin.woff2 +0 -0
  201. package/dist/theme-packs/brutalist/meta.json +38 -0
  202. package/dist/theme-packs/brutalist/pack.css +546 -0
  203. package/dist/theme-packs/default/meta.json +37 -0
  204. package/dist/theme-packs/drift/fonts/IBMPlexMono-400-latin-ext.woff2 +0 -0
  205. package/dist/theme-packs/drift/fonts/IBMPlexMono-400-latin.woff2 +0 -0
  206. package/dist/theme-packs/drift/fonts/IBMPlexMono-500-latin-ext.woff2 +0 -0
  207. package/dist/theme-packs/drift/fonts/IBMPlexMono-500-latin.woff2 +0 -0
  208. package/dist/theme-packs/drift/fonts/IBMPlexSans-italic-latin.woff2 +0 -0
  209. package/dist/theme-packs/drift/fonts/IBMPlexSans-latin-ext.woff2 +0 -0
  210. package/dist/theme-packs/drift/fonts/IBMPlexSans-latin.woff2 +0 -0
  211. package/dist/theme-packs/drift/fonts/OFL.txt +93 -0
  212. package/dist/theme-packs/drift/meta.json +37 -0
  213. package/dist/theme-packs/drift/pack.css +478 -0
  214. package/dist/theme-packs/fjord/fonts/Inter-latin-ext.woff2 +0 -0
  215. package/dist/theme-packs/fjord/fonts/Inter-latin.woff2 +0 -0
  216. package/dist/theme-packs/fjord/fonts/JetBrainsMono-latin-ext.woff2 +0 -0
  217. package/dist/theme-packs/fjord/fonts/JetBrainsMono-latin.woff2 +0 -0
  218. package/dist/theme-packs/fjord/fonts/OFL.txt +94 -0
  219. package/dist/theme-packs/fjord/meta.json +37 -0
  220. package/dist/theme-packs/fjord/pack.css +375 -0
  221. package/dist/theme-packs/foundry/fonts/Inter-latin-ext.woff2 +0 -0
  222. package/dist/theme-packs/foundry/fonts/Inter-latin.woff2 +0 -0
  223. package/dist/theme-packs/foundry/fonts/OFL.txt +93 -0
  224. package/dist/theme-packs/foundry/meta.json +37 -0
  225. package/dist/theme-packs/foundry/pack.css +202 -0
  226. package/dist/theme-packs/futura-editorial/fonts/Jost-latin.woff2 +0 -0
  227. package/dist/theme-packs/futura-editorial/fonts/NotoSans-italic-latin.woff2 +0 -0
  228. package/dist/theme-packs/futura-editorial/fonts/NotoSans-latin.woff2 +0 -0
  229. package/dist/theme-packs/futura-editorial/fonts/OFL.txt +95 -0
  230. package/dist/theme-packs/futura-editorial/fonts/SpaceMono-400-latin.woff2 +0 -0
  231. package/dist/theme-packs/futura-editorial/fonts/SpaceMono-700-latin.woff2 +0 -0
  232. package/dist/theme-packs/futura-editorial/meta.json +38 -0
  233. package/dist/theme-packs/futura-editorial/pack.css +313 -0
  234. package/dist/theme-packs/hearth/fonts/Fraunces-italic-latin.woff2 +0 -0
  235. package/dist/theme-packs/hearth/fonts/Fraunces-latin.woff2 +0 -0
  236. package/dist/theme-packs/hearth/fonts/Nunito-latin.woff2 +0 -0
  237. package/dist/theme-packs/hearth/fonts/OFL.txt +95 -0
  238. package/dist/theme-packs/hearth/fonts/SplineSansMono-latin.woff2 +0 -0
  239. package/dist/theme-packs/hearth/meta.json +38 -0
  240. package/dist/theme-packs/hearth/pack.css +385 -0
  241. package/dist/theme-packs/hollow/fonts/OFL.txt +94 -0
  242. package/dist/theme-packs/hollow/fonts/SpaceGrotesk-latin.woff2 +0 -0
  243. package/dist/theme-packs/hollow/fonts/SpaceMono-400-italic-latin.woff2 +0 -0
  244. package/dist/theme-packs/hollow/fonts/SpaceMono-400-latin.woff2 +0 -0
  245. package/dist/theme-packs/hollow/fonts/SpaceMono-700-latin.woff2 +0 -0
  246. package/dist/theme-packs/hollow/meta.json +37 -0
  247. package/dist/theme-packs/hollow/pack.css +428 -0
  248. package/dist/theme-packs/ledger/fonts/CrimsonPro-latin-ext-italic.woff2 +0 -0
  249. package/dist/theme-packs/ledger/fonts/CrimsonPro-latin-ext.woff2 +0 -0
  250. package/dist/theme-packs/ledger/fonts/CrimsonPro-latin-italic.woff2 +0 -0
  251. package/dist/theme-packs/ledger/fonts/CrimsonPro-latin.woff2 +0 -0
  252. package/dist/theme-packs/ledger/fonts/IBMPlexMono-400-latin-ext.woff2 +0 -0
  253. package/dist/theme-packs/ledger/fonts/IBMPlexMono-400-latin.woff2 +0 -0
  254. package/dist/theme-packs/ledger/fonts/IBMPlexMono-500-latin-ext.woff2 +0 -0
  255. package/dist/theme-packs/ledger/fonts/IBMPlexMono-500-latin.woff2 +0 -0
  256. package/dist/theme-packs/ledger/fonts/OFL.txt +94 -0
  257. package/dist/theme-packs/ledger/meta.json +37 -0
  258. package/dist/theme-packs/ledger/pack.css +463 -0
  259. package/dist/theme-packs/manuscript/fonts/CourierPrime-400-latin-ext.woff2 +0 -0
  260. package/dist/theme-packs/manuscript/fonts/CourierPrime-400-latin.woff2 +0 -0
  261. package/dist/theme-packs/manuscript/fonts/CourierPrime-700-latin-ext.woff2 +0 -0
  262. package/dist/theme-packs/manuscript/fonts/CourierPrime-700-latin.woff2 +0 -0
  263. package/dist/theme-packs/manuscript/fonts/EBGaramond-latin-italic.woff2 +0 -0
  264. package/dist/theme-packs/manuscript/fonts/EBGaramond-latin.woff2 +0 -0
  265. package/dist/theme-packs/manuscript/fonts/OFL.txt +94 -0
  266. package/dist/theme-packs/manuscript/meta.json +37 -0
  267. package/dist/theme-packs/manuscript/pack.css +376 -0
  268. package/dist/theme-packs/matcha/fonts/MPLUS1Code-latin.woff2 +0 -0
  269. package/dist/theme-packs/matcha/fonts/OFL.txt +95 -0
  270. package/dist/theme-packs/matcha/fonts/ShipporiMincho-500-latin.woff2 +0 -0
  271. package/dist/theme-packs/matcha/fonts/ShipporiMincho-700-latin.woff2 +0 -0
  272. package/dist/theme-packs/matcha/fonts/ZenKakuGothicNew-400-latin.woff2 +0 -0
  273. package/dist/theme-packs/matcha/fonts/ZenKakuGothicNew-500-latin.woff2 +0 -0
  274. package/dist/theme-packs/matcha/meta.json +38 -0
  275. package/dist/theme-packs/matcha/pack.css +409 -0
  276. package/dist/theme-packs/nocturne/fonts/CormorantGaramond-italic-latin.woff2 +0 -0
  277. package/dist/theme-packs/nocturne/fonts/CormorantGaramond-latin.woff2 +0 -0
  278. package/dist/theme-packs/nocturne/fonts/IBMPlexMono-400-latin.woff2 +0 -0
  279. package/dist/theme-packs/nocturne/fonts/IBMPlexMono-500-latin.woff2 +0 -0
  280. package/dist/theme-packs/nocturne/fonts/IBMPlexMono-italic-latin.woff2 +0 -0
  281. package/dist/theme-packs/nocturne/fonts/Manrope-latin.woff2 +0 -0
  282. package/dist/theme-packs/nocturne/fonts/OFL.txt +95 -0
  283. package/dist/theme-packs/nocturne/meta.json +38 -0
  284. package/dist/theme-packs/nocturne/pack.css +502 -0
  285. package/dist/theme-packs/observatory/fonts/JosefinSans-latin.woff2 +0 -0
  286. package/dist/theme-packs/observatory/fonts/Jost-italic-latin.woff2 +0 -0
  287. package/dist/theme-packs/observatory/fonts/Jost-latin.woff2 +0 -0
  288. package/dist/theme-packs/observatory/fonts/OFL.txt +95 -0
  289. package/dist/theme-packs/observatory/fonts/SpaceMono-400-latin.woff2 +0 -0
  290. package/dist/theme-packs/observatory/fonts/SpaceMono-700-latin.woff2 +0 -0
  291. package/dist/theme-packs/observatory/fonts/SpaceMono-italic-latin.woff2 +0 -0
  292. package/dist/theme-packs/observatory/meta.json +38 -0
  293. package/dist/theme-packs/observatory/pack.css +728 -0
  294. package/dist/theme-packs/onyx/fonts/CormorantGaramond-italic-latin.woff2 +0 -0
  295. package/dist/theme-packs/onyx/fonts/CormorantGaramond-latin.woff2 +0 -0
  296. package/dist/theme-packs/onyx/fonts/IBMPlexMono-400-latin-ext.woff2 +0 -0
  297. package/dist/theme-packs/onyx/fonts/IBMPlexMono-400-latin.woff2 +0 -0
  298. package/dist/theme-packs/onyx/fonts/IBMPlexMono-500-latin-ext.woff2 +0 -0
  299. package/dist/theme-packs/onyx/fonts/IBMPlexMono-500-latin.woff2 +0 -0
  300. package/dist/theme-packs/onyx/fonts/Jost-latin.woff2 +0 -0
  301. package/dist/theme-packs/onyx/fonts/OFL.txt +95 -0
  302. package/dist/theme-packs/onyx/meta.json +38 -0
  303. package/dist/theme-packs/onyx/pack.css +497 -0
  304. package/dist/theme-packs/phosphor/fonts/JetBrainsMono-latin-ext.woff2 +0 -0
  305. package/dist/theme-packs/phosphor/fonts/JetBrainsMono-latin.woff2 +0 -0
  306. package/dist/theme-packs/phosphor/fonts/OFL.txt +94 -0
  307. package/dist/theme-packs/phosphor/fonts/VT323-latin-ext.woff2 +0 -0
  308. package/dist/theme-packs/phosphor/fonts/VT323-latin.woff2 +0 -0
  309. package/dist/theme-packs/phosphor/meta.json +38 -0
  310. package/dist/theme-packs/phosphor/pack.css +493 -0
  311. package/dist/theme-packs/solar/fonts/OFL.txt +94 -0
  312. package/dist/theme-packs/solar/fonts/SourceCodePro-italic-latin.woff2 +0 -0
  313. package/dist/theme-packs/solar/fonts/SourceCodePro-latin.woff2 +0 -0
  314. package/dist/theme-packs/solar/fonts/SourceSans3-italic-latin.woff2 +0 -0
  315. package/dist/theme-packs/solar/fonts/SourceSans3-latin.woff2 +0 -0
  316. package/dist/theme-packs/solar/meta.json +37 -0
  317. package/dist/theme-packs/solar/pack.css +380 -0
  318. package/dist/theme-packs/sumi/fonts/IBMPlexMono-400-latin-ext.woff2 +0 -0
  319. package/dist/theme-packs/sumi/fonts/IBMPlexMono-400-latin.woff2 +0 -0
  320. package/dist/theme-packs/sumi/fonts/IBMPlexMono-500-latin-ext.woff2 +0 -0
  321. package/dist/theme-packs/sumi/fonts/IBMPlexMono-500-latin.woff2 +0 -0
  322. package/dist/theme-packs/sumi/fonts/OFL.txt +95 -0
  323. package/dist/theme-packs/sumi/fonts/ShipporiMinchoB1-600-latin.woff2 +0 -0
  324. package/dist/theme-packs/sumi/fonts/ShipporiMinchoB1-700-latin.woff2 +0 -0
  325. package/dist/theme-packs/sumi/fonts/ShipporiMinchoB1-800-latin.woff2 +0 -0
  326. package/dist/theme-packs/sumi/fonts/ZenKakuGothicNew-400-latin.woff2 +0 -0
  327. package/dist/theme-packs/sumi/fonts/ZenKakuGothicNew-500-latin.woff2 +0 -0
  328. package/dist/theme-packs/sumi/meta.json +38 -0
  329. package/dist/theme-packs/sumi/pack.css +502 -0
  330. package/dist/theme-packs/swissgrid/fonts/IBMPlexMono-400-latin-ext.woff2 +0 -0
  331. package/dist/theme-packs/swissgrid/fonts/IBMPlexMono-400-latin.woff2 +0 -0
  332. package/dist/theme-packs/swissgrid/fonts/IBMPlexMono-600-latin.woff2 +0 -0
  333. package/dist/theme-packs/swissgrid/fonts/Inter-latin-ext.woff2 +0 -0
  334. package/dist/theme-packs/swissgrid/fonts/Inter-latin.woff2 +0 -0
  335. package/dist/theme-packs/swissgrid/fonts/InterTight-latin.woff2 +0 -0
  336. package/dist/theme-packs/swissgrid/fonts/OFL.txt +95 -0
  337. package/dist/theme-packs/swissgrid/meta.json +38 -0
  338. package/dist/theme-packs/swissgrid/pack.css +518 -0
  339. package/dist/theme-packs/washi/fonts/MPlus1Code-400-latin.woff2 +0 -0
  340. package/dist/theme-packs/washi/fonts/MPlus1Code-500-latin.woff2 +0 -0
  341. package/dist/theme-packs/washi/fonts/OFL.txt +95 -0
  342. package/dist/theme-packs/washi/fonts/ShipporiMincho-500-latin.woff2 +0 -0
  343. package/dist/theme-packs/washi/fonts/ShipporiMincho-600-latin.woff2 +0 -0
  344. package/dist/theme-packs/washi/fonts/ShipporiMincho-700-latin.woff2 +0 -0
  345. package/dist/theme-packs/washi/fonts/ZenKakuGothicNew-400-latin.woff2 +0 -0
  346. package/dist/theme-packs/washi/fonts/ZenKakuGothicNew-500-latin.woff2 +0 -0
  347. package/dist/theme-packs/washi/fonts/ZenKakuGothicNew-700-latin.woff2 +0 -0
  348. package/dist/theme-packs/washi/meta.json +38 -0
  349. package/dist/theme-packs/washi/pack.css +479 -0
  350. package/dist/theme-packs-registry/index.d.ts +5 -0
  351. package/dist/theme-packs-registry/index.js +30 -0
  352. package/dist/theme-packs-registry/load-registry.d.ts +23 -0
  353. package/dist/theme-packs-registry/load-registry.js +64 -0
  354. package/dist/theme-packs-registry/meta-schema.d.ts +70 -0
  355. package/dist/theme-packs-registry/meta-schema.js +38 -0
  356. package/dist/theme-packs-registry/resolve-enabled-packs.d.ts +25 -0
  357. package/dist/theme-packs-registry/resolve-enabled-packs.js +43 -0
  358. package/dist/theme-packs-registry/token-manifest.d.ts +19 -0
  359. package/dist/theme-packs-registry/token-manifest.js +57 -0
  360. package/dist/theme-packs-registry/validator.d.ts +35 -0
  361. package/dist/theme-packs-registry/validator.js +284 -0
  362. package/dist/theme-toggle/color-scheme-sync.d.ts +2 -4
  363. package/dist/versions-page/index.d.ts +2 -2
  364. package/dist/versions-page/index.js +8 -8
  365. package/eject/breadcrumb/breadcrumb.tsx +4 -4
  366. package/eject/breadcrumb/find-path.ts +2 -2
  367. package/eject/breadcrumb/index.ts +1 -1
  368. package/eject/breadcrumb/types.ts +0 -6
  369. package/eject/code-group/index.tsx +2 -2
  370. package/eject/doc-history/index.tsx +1 -1
  371. package/eject/doc-pager/index.tsx +1 -1
  372. package/eject/footer/footer.tsx +1 -0
  373. package/eject/header/header.tsx +86 -21
  374. package/eject/header/index.ts +3 -0
  375. package/eject/header/types.ts +39 -1
  376. package/eject/site-tree-nav-island/index.tsx +15 -3
  377. package/eject/site-tree-nav-island/state.ts +9 -0
  378. package/eject/theme-toggle/color-scheme-sync.ts +2 -4
  379. package/package.json +35 -29
  380. package/routes-src/404.tsx +4 -1
  381. package/routes-src/_chrome.tsx +6 -5
  382. package/routes-src/_context.ts +4 -0
  383. package/routes-src/_docs-helpers.ts +9 -29
  384. package/routes-src/_virtual.d.ts +4 -0
  385. package/virtual-modules.d.ts +4 -0
  386. package/zfb-config-shim.d.ts +40 -18
  387. package/dist/integrations/llms-txt/index.d.ts +0 -33
  388. package/dist/theme/color-tweak-export-modal.d.ts +0 -16
  389. package/dist/theme/color-tweak-export-modal.js +0 -138
  390. package/dist/theme/design-token-serde.d.ts +0 -183
  391. package/dist/theme/design-token-serde.js +0 -346
  392. package/dist/theme/design-token-types.d.ts +0 -13
  393. package/dist/theme/design-token-types.js +0 -6
  394. package/dist/theme/iframe-bridge.d.ts +0 -42
  395. package/dist/theme/iframe-bridge.js +0 -72
  396. /package/dist/{integrations → plugins/internal}/claude-resources/escape-for-mdx.d.ts +0 -0
  397. /package/dist/{integrations → plugins/internal}/claude-resources/escape-for-mdx.js +0 -0
  398. /package/dist/{integrations → plugins/internal}/claude-resources/generate.d.ts +0 -0
  399. /package/dist/{integrations → plugins/internal}/claude-resources/generate.js +0 -0
  400. /package/dist/{integrations → plugins/internal}/doc-history/pre-build.js +0 -0
  401. /package/dist/{integrations → plugins/internal}/llms-txt/dev-middleware.d.ts +0 -0
  402. /package/dist/{integrations → plugins/internal}/llms-txt/dev-middleware.js +0 -0
  403. /package/dist/{integrations → plugins/internal}/llms-txt/emit.d.ts +0 -0
  404. /package/dist/{integrations → plugins/internal}/llms-txt/emit.js +0 -0
  405. /package/dist/{integrations → plugins/internal}/llms-txt/generate.d.ts +0 -0
  406. /package/dist/{integrations → plugins/internal}/llms-txt/generate.js +0 -0
  407. /package/dist/{integrations → plugins/internal}/llms-txt/index.js +0 -0
  408. /package/dist/{integrations → plugins/internal}/llms-txt/types.js +0 -0
  409. /package/dist/{integrations → plugins/internal}/search-index/build-emitter.d.ts +0 -0
  410. /package/dist/{integrations → plugins/internal}/search-index/build-emitter.js +0 -0
  411. /package/dist/{integrations → plugins/internal}/search-index/collect.d.ts +0 -0
  412. /package/dist/{integrations → plugins/internal}/search-index/dev-middleware.d.ts +0 -0
  413. /package/dist/{integrations → plugins/internal}/search-index/dev-middleware.js +0 -0
  414. /package/dist/{integrations → plugins/internal}/search-index/index.d.ts +0 -0
  415. /package/dist/{integrations → plugins/internal}/search-index/index.js +0 -0
  416. /package/dist/{integrations → plugins/internal}/search-index/types.d.ts +0 -0
  417. /package/dist/{integrations → plugins/internal}/search-index/types.js +0 -0
@@ -0,0 +1,518 @@
1
+ /* ============================================================
2
+ Swissgrid — International Typographic Style theme pack
3
+ (ADR docs/adr/theme-packs.md; epic #2813, sub-issue #2831)
4
+
5
+ A neo-grotesque grid: pure white paper, near-black ink, ONE hot
6
+ Swiss-red accent, oversized counter-driven section numbers, and a
7
+ 1px baseline-grid ruling on the page and sidebar. Everything is
8
+ square — zero radius across every seam — and hover states throw
9
+ hard red offset shadows instead of soft blurs. Self-hosted Inter
10
+ (body, variable 400-900), Inter Tight (display, variable 700-900,
11
+ latin subset only — latin-ext display glyphs fall back to Inter),
12
+ and IBM Plex Mono (code, 400 latin + latin-ext, 600 latin only —
13
+ bolded code tokens are ASCII in practice).
14
+
15
+ Every rule below is scoped under html[data-theme-pack="swissgrid"]
16
+ — this is what makes the runtime pack swap atomic (Decision 3) and
17
+ lets the validator prove a pack can never leak styles while
18
+ inactive (Decision 6.7). The @font-face blocks are the sole
19
+ exception (at-rules can't be selector-scoped).
20
+
21
+ The prototype's --sw-* helper values are inlined at each use site
22
+ (the token contract is a closed allowlist):
23
+ red display mark #ff0000 (both modes — chrome, marks, numbers)
24
+ red text = var(--zd-accent) (contrast-safe text red)
25
+ hairline light-dark(rgb(0 0 0 / .2), rgb(255 255 255 / .24))
26
+ grid line light-dark(rgb(0 0 0 / .05), rgb(255 255 255 / .055))
27
+ panel light-dark(#f4f4f4, #161616)
28
+ baseline unit calc(1.05rem * 1.65)
29
+ ============================================================ */
30
+
31
+ @font-face {
32
+ font-family: "Inter";
33
+ font-style: normal;
34
+ font-weight: 400 900;
35
+ font-display: swap;
36
+ src: url("./fonts/Inter-latin.woff2") format("woff2");
37
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
38
+ U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
39
+ U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
40
+ }
41
+
42
+ @font-face {
43
+ font-family: "Inter";
44
+ font-style: normal;
45
+ font-weight: 400 900;
46
+ font-display: swap;
47
+ src: url("./fonts/Inter-latin-ext.woff2") format("woff2");
48
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
49
+ U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
50
+ U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
51
+ U+A720-A7FF;
52
+ }
53
+
54
+ @font-face {
55
+ font-family: "Inter Tight";
56
+ font-style: normal;
57
+ font-weight: 700 900;
58
+ font-display: swap;
59
+ src: url("./fonts/InterTight-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
+ @font-face {
66
+ font-family: "IBM Plex Mono";
67
+ font-style: normal;
68
+ font-weight: 400;
69
+ font-display: swap;
70
+ src: url("./fonts/IBMPlexMono-400-latin.woff2") format("woff2");
71
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
72
+ U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
73
+ U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
74
+ }
75
+
76
+ @font-face {
77
+ font-family: "IBM Plex Mono";
78
+ font-style: normal;
79
+ font-weight: 400;
80
+ font-display: swap;
81
+ src: url("./fonts/IBMPlexMono-400-latin-ext.woff2") format("woff2");
82
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
83
+ U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
84
+ U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
85
+ U+A720-A7FF;
86
+ }
87
+
88
+ @font-face {
89
+ font-family: "IBM Plex Mono";
90
+ font-style: normal;
91
+ font-weight: 600;
92
+ font-display: swap;
93
+ src: url("./fonts/IBMPlexMono-600-latin.woff2") format("woff2");
94
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
95
+ U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
96
+ U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
97
+ }
98
+
99
+ html[data-theme-pack="swissgrid"] {
100
+ /* Tier-2 semantic roles — both modes always via light-dark(). Swiss
101
+ palette: ink, paper, one red. Success carries no hue of its own
102
+ (semantics by shape + label, not color). */
103
+ --zd-bg: light-dark(#ffffff, #0c0c0c);
104
+ --zd-fg: light-dark(#0a0a0a, #f2f2f2);
105
+ /* selection: red flag over white text — #e60000 keeps white at 4.8:1
106
+ (pure #ff0000 fails the 4.5:1 selection floor at 4.0:1) */
107
+ --zd-selection-bg: light-dark(#e60000, #e60000);
108
+ --zd-selection-fg: light-dark(#ffffff, #ffffff);
109
+ --zd-surface: light-dark(#ffffff, #0c0c0c);
110
+ --zd-muted: light-dark(#595959, #9a9a9a);
111
+ --zd-accent: light-dark(#e60000, #ff4d4d);
112
+ --zd-accent-hover: light-dark(#a30000, #ff8585);
113
+ --zd-code-bg: light-dark(#f4f4f4, #151515);
114
+ --zd-code-fg: light-dark(#0a0a0a, #ededed);
115
+ --zd-success: light-dark(#0a0a0a, #f2f2f2);
116
+ --zd-danger: light-dark(#c40000, #ff6b6b);
117
+ --zd-warning: light-dark(#c40000, #ff6b6b);
118
+ --zd-info: light-dark(#595959, #9a9a9a);
119
+
120
+ /* syntax — all 9 roles, both modes: a monochrome ink ladder with red
121
+ reserved for keywords/numbers. Diff roles follow the pack's
122
+ success/danger philosophy: inserted = ink, deleted = red (the
123
+ default --zfb-hi-ins-bg/del-bg mixes turn these into a gray wash
124
+ vs a red wash, keeping diffs legible without new hues). */
125
+ --zd-syntax-comment: light-dark(#6b6b6b, #8c8c8c);
126
+ --zd-syntax-string: light-dark(#3f3f3f, #c9c9c9);
127
+ --zd-syntax-number: light-dark(#8f0000, #ff9a9a);
128
+ /* keyword light #d40000: 5.0:1 on the #f4f4f4 code panel (the hotter
129
+ #e60000 sits at 4.37:1, under the 4.6:1 syntax floor) */
130
+ --zd-syntax-keyword: light-dark(#d40000, #ff4d4d);
131
+ --zd-syntax-callable: light-dark(#0a0a0a, #ffffff);
132
+ --zd-syntax-type: light-dark(#595959, #b3b3b3);
133
+ --zd-syntax-name: light-dark(#0a0a0a, #ededed);
134
+ --zd-syntax-inserted: light-dark(#0a0a0a, #f2f2f2);
135
+ --zd-syntax-deleted: light-dark(#c40000, #ff6b6b);
136
+
137
+ /* fonts — self-hosted OFL neo-grotesques (Decision 5). Inter for
138
+ body, Inter Tight for display, IBM Plex Mono for code. */
139
+ --font-sans: "Inter", Arial, system-ui, sans-serif;
140
+ --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo,
141
+ monospace;
142
+ --font-display: "Inter Tight", "Inter", Arial, system-ui, sans-serif;
143
+
144
+ /* Tier-3 component seams — heavy tight display headings; ruthless
145
+ zero radius on every tokenized shape. */
146
+ --zdc-doc-title-font: var(--font-display);
147
+ --zdc-doc-title-weight: 900;
148
+ --zdc-doc-title-tracking: -0.045em;
149
+ --zdc-doc-h2-font: var(--font-display);
150
+ --zdc-doc-h2-weight: 800;
151
+ --zdc-doc-h2-tracking: -0.025em;
152
+ --zdc-doc-h3-weight: 800;
153
+ --zdc-doc-prose-font: var(--font-sans);
154
+ --zdc-doc-link-decoration: underline;
155
+ --zdc-admonition-radius: 0;
156
+ --zdc-admonition-border-width: 5px;
157
+ --zdc-card-radius: 0;
158
+ --zdc-nav-active-indicator-color: var(--zd-fg);
159
+ }
160
+
161
+ /* ---- baseline-grid hint: 1px rules on the body rhythm ---- */
162
+
163
+ html[data-theme-pack="swissgrid"] body {
164
+ letter-spacing: -0.008em;
165
+ background-image: repeating-linear-gradient(
166
+ to bottom,
167
+ light-dark(rgb(0 0 0 / 0.05), rgb(255 255 255 / 0.055)) 0 1px,
168
+ transparent 1px calc(1.05rem * 1.65)
169
+ );
170
+ }
171
+
172
+ html[data-theme-pack="swissgrid"] #desktop-sidebar {
173
+ border-right: 1px solid light-dark(rgb(0 0 0 / 0.2), rgb(255 255 255 / 0.24));
174
+ background-image: repeating-linear-gradient(
175
+ to bottom,
176
+ light-dark(rgb(0 0 0 / 0.05), rgb(255 255 255 / 0.055)) 0 1px,
177
+ transparent 1px calc(1.05rem * 1.65)
178
+ );
179
+ }
180
+
181
+ html[data-theme-pack="swissgrid"] :focus-visible {
182
+ outline: 2px solid #ff0000;
183
+ outline-offset: 2px;
184
+ }
185
+
186
+ /* ---- no italics, anywhere (the Swiss rule) ---- */
187
+
188
+ html[data-theme-pack="swissgrid"] .zd-content em {
189
+ font-style: normal;
190
+ }
191
+ html[data-theme-pack="swissgrid"] .zd-content i {
192
+ font-style: normal;
193
+ }
194
+ html[data-theme-pack="swissgrid"] .zd-content blockquote {
195
+ font-style: normal;
196
+ }
197
+ html[data-theme-pack="swissgrid"] .hi-com {
198
+ font-style: normal;
199
+ }
200
+
201
+ /* ---- header: white bar, heavy black rule, red logo square ---- */
202
+
203
+ html[data-theme-pack="swissgrid"] header[data-header] {
204
+ border-bottom: 3px solid var(--zd-fg);
205
+ }
206
+ html[data-theme-pack="swissgrid"] [data-header-logo] {
207
+ display: inline-flex;
208
+ align-items: center;
209
+ gap: 0.55rem;
210
+ font-weight: 900;
211
+ letter-spacing: -0.03em;
212
+ }
213
+ html[data-theme-pack="swissgrid"] [data-header-logo]::before {
214
+ content: "";
215
+ width: 0.72em;
216
+ height: 0.72em;
217
+ flex-shrink: 0;
218
+ background: #ff0000;
219
+ }
220
+ html[data-theme-pack="swissgrid"] [data-nav-item] {
221
+ text-transform: uppercase;
222
+ font-size: 0.74rem;
223
+ font-weight: 700;
224
+ letter-spacing: 0.1em;
225
+ }
226
+ html[data-theme-pack="swissgrid"] [data-nav-item]:hover {
227
+ color: var(--zd-fg);
228
+ text-decoration-line: underline;
229
+ text-decoration-color: #ff0000;
230
+ text-decoration-thickness: 2px;
231
+ text-underline-offset: 5px;
232
+ }
233
+
234
+ /* ---- sidebar: red hover underline, red active bar ----
235
+ (The prototype's static ".sb-group > p" group heads don't exist in
236
+ the real SidebarTree island — category rows keep their tree layout;
237
+ the active page link is the a[data-nav-active] stable hook.) */
238
+
239
+ html[data-theme-pack="swissgrid"] #desktop-sidebar a:hover {
240
+ text-decoration-line: underline;
241
+ text-decoration-color: #ff0000;
242
+ text-decoration-thickness: 2px;
243
+ }
244
+ html[data-theme-pack="swissgrid"] a[data-nav-active] {
245
+ background: transparent;
246
+ color: var(--zd-fg);
247
+ font-weight: 700;
248
+ box-shadow: inset 4px 0 0 0 #ff0000;
249
+ }
250
+
251
+ /* ---- breadcrumb as a small-caps meta line ---- */
252
+
253
+ html[data-theme-pack="swissgrid"] nav[aria-label="Breadcrumb"] {
254
+ text-transform: uppercase;
255
+ font-size: 0.7rem;
256
+ letter-spacing: 0.12em;
257
+ }
258
+
259
+ /* ---- content: oversized numbered sections, hard rules ---- */
260
+
261
+ html[data-theme-pack="swissgrid"] .zd-content {
262
+ counter-reset: sw-section;
263
+ }
264
+ html[data-theme-pack="swissgrid"] .zd-content h1 {
265
+ font-size: clamp(2.3rem, 5vw + 1rem, 3.1rem);
266
+ line-height: 1.02;
267
+ }
268
+ html[data-theme-pack="swissgrid"] .zd-content h1::after {
269
+ content: "";
270
+ display: block;
271
+ width: 4.5rem;
272
+ height: 6px;
273
+ background: #ff0000;
274
+ margin-top: 0.9rem;
275
+ }
276
+
277
+ /* h2: counter-driven oversized red section number above a 4px ink
278
+ rule. border-image none !important defeats the SSR-inlined gradient
279
+ bar (Decision 6.6's sole allowlisted carve-out). */
280
+ html[data-theme-pack="swissgrid"] .zd-content h2 {
281
+ counter-increment: sw-section;
282
+ border-image: none !important;
283
+ border-top-width: 4px;
284
+ border-top-style: solid;
285
+ border-top-color: var(--zd-fg);
286
+ padding-top: 0.8rem;
287
+ }
288
+ html[data-theme-pack="swissgrid"] .zd-content h2::before {
289
+ content: counter(sw-section, decimal-leading-zero);
290
+ display: block;
291
+ font-family: var(--font-display);
292
+ font-size: 3.6rem;
293
+ font-weight: 900;
294
+ line-height: 0.95;
295
+ letter-spacing: -0.05em;
296
+ font-variant-numeric: tabular-nums;
297
+ color: #ff0000;
298
+ margin-bottom: 0.4rem;
299
+ }
300
+
301
+ /* h3: red square marker only — no rule above. border-image none
302
+ !important defeats HeadingH3's SSR-inlined muted gradient (same
303
+ inline-style class as the h2 carve-out), and zeroing the top border
304
+ removes its 2px bar. */
305
+ html[data-theme-pack="swissgrid"] .zd-content h3 {
306
+ letter-spacing: -0.015em;
307
+ border-image: none !important;
308
+ border-top-width: 0;
309
+ }
310
+ html[data-theme-pack="swissgrid"] .zd-content h3::before {
311
+ content: "";
312
+ display: inline-block;
313
+ width: 0.5em;
314
+ height: 0.5em;
315
+ background: #ff0000;
316
+ margin-right: 0.5rem;
317
+ }
318
+
319
+ /* links: ink text, red underline, red on hover */
320
+ html[data-theme-pack="swissgrid"] .zd-content a {
321
+ color: var(--zd-fg);
322
+ text-decoration-color: #ff0000;
323
+ text-decoration-thickness: 2px;
324
+ text-underline-offset: 3px;
325
+ }
326
+ html[data-theme-pack="swissgrid"] .zd-content a:hover {
327
+ color: var(--zd-accent);
328
+ }
329
+
330
+ html[data-theme-pack="swissgrid"] .zd-content blockquote {
331
+ border-left: 4px solid #ff0000;
332
+ color: var(--zd-fg);
333
+ font-weight: 500;
334
+ }
335
+ html[data-theme-pack="swissgrid"] .zd-content hr {
336
+ border-top: 2px solid var(--zd-fg);
337
+ }
338
+
339
+ /* ---- code: ruled panel, bold red keywords, bold ink callables ----
340
+ (IBM Plex Mono ships 400 + 600; keyword/callable bolding uses the
341
+ real 600 face.) */
342
+
343
+ html[data-theme-pack="swissgrid"] pre.hi-root {
344
+ border: 1px solid var(--zd-fg);
345
+ border-top-width: 4px;
346
+ border-radius: 0;
347
+ }
348
+ html[data-theme-pack="swissgrid"] .hi-kw {
349
+ font-weight: 600;
350
+ }
351
+ html[data-theme-pack="swissgrid"] .hi-fn {
352
+ font-weight: 600;
353
+ }
354
+ html[data-theme-pack="swissgrid"] .zd-content code:not(pre code) {
355
+ border: 1px solid light-dark(rgb(0 0 0 / 0.2), rgb(255 255 255 / 0.24));
356
+ border-radius: 0;
357
+ }
358
+
359
+ /* ---- admonitions: flat panels, geometry markers, typographic labels ---- */
360
+
361
+ html[data-theme-pack="swissgrid"] [data-admonition] .admonition-title {
362
+ text-transform: uppercase;
363
+ font-size: 0.74rem;
364
+ letter-spacing: 0.14em;
365
+ }
366
+ html[data-theme-pack="swissgrid"] [data-admonition="note"] {
367
+ border-left-color: var(--zd-fg);
368
+ background-color: light-dark(#f4f4f4, #161616);
369
+ }
370
+ html[data-theme-pack="swissgrid"] [data-admonition="note"] .admonition-title {
371
+ color: var(--zd-fg);
372
+ }
373
+ html[data-theme-pack="swissgrid"] [data-admonition="note"] .admonition-title::before {
374
+ content: "■ ";
375
+ color: #ff0000;
376
+ }
377
+ html[data-theme-pack="swissgrid"] [data-admonition="tip"] {
378
+ border-left-color: light-dark(#8c8c8c, #6e6e6e);
379
+ background-color: light-dark(#f4f4f4, #161616);
380
+ }
381
+ html[data-theme-pack="swissgrid"] [data-admonition="tip"] .admonition-title {
382
+ color: var(--zd-fg);
383
+ }
384
+ html[data-theme-pack="swissgrid"] [data-admonition="tip"] .admonition-title::before {
385
+ content: "● ";
386
+ color: #ff0000;
387
+ }
388
+ html[data-theme-pack="swissgrid"] [data-admonition="warning"] {
389
+ border-left-color: #ff0000;
390
+ background-color: light-dark(#fdeeee, #1d1010);
391
+ }
392
+ html[data-theme-pack="swissgrid"] [data-admonition="warning"] .admonition-title {
393
+ color: light-dark(#c40000, #ff6b6b);
394
+ }
395
+ html[data-theme-pack="swissgrid"] [data-admonition="warning"] .admonition-title::before {
396
+ content: "▲ ";
397
+ color: #ff0000;
398
+ }
399
+
400
+ /* ---- table: black rules, small-caps heads ---- */
401
+
402
+ html[data-theme-pack="swissgrid"] .zd-content th {
403
+ text-transform: uppercase;
404
+ font-size: 0.74rem;
405
+ letter-spacing: 0.1em;
406
+ border-bottom: 3px solid var(--zd-fg);
407
+ }
408
+ html[data-theme-pack="swissgrid"] .zd-content td {
409
+ border-bottom: 1px solid light-dark(rgb(0 0 0 / 0.2), rgb(255 255 255 / 0.24));
410
+ }
411
+
412
+ /* ---- pager: square cards, hard red offset on hover ----
413
+ (Retargeted onto the stable `data-doc-pager` hook on the DocPager
414
+ <nav>, zudolab/zudo-doc#2879 — was the bare `.zd-content > nav`,
415
+ which had no exclusion for the NavCardGrid "Child pages" nav that
416
+ also renders as a `.zd-content > nav` on auto-index pages; this
417
+ pack's rules were accidentally stamping those child-page cards with
418
+ the pager's square-card treatment too. The hook-scoped selector
419
+ fixes that overreach. Inside each card: <div> = the small prev/next
420
+ label row, <p> = the destination title.) */
421
+
422
+ html[data-theme-pack="swissgrid"] .zd-content > nav[data-doc-pager] a {
423
+ border: 1px solid var(--zd-fg);
424
+ border-radius: 0;
425
+ }
426
+ html[data-theme-pack="swissgrid"] .zd-content > nav[data-doc-pager] a:hover {
427
+ border-color: #ff0000;
428
+ box-shadow: 4px 4px 0 0 #ff0000;
429
+ }
430
+ html[data-theme-pack="swissgrid"] .zd-content > nav[data-doc-pager] a div {
431
+ text-transform: uppercase;
432
+ font-size: 0.66rem;
433
+ letter-spacing: 0.14em;
434
+ }
435
+ html[data-theme-pack="swissgrid"] .zd-content > nav[data-doc-pager] a p {
436
+ font-weight: 700;
437
+ }
438
+
439
+ /* ---- TOC: ruled list, red hover underline, red active bar ----
440
+ (The real Toc island has no title element and marks the active entry
441
+ with aria-current="true" — adapted from the prototype's .toc-active.) */
442
+
443
+ html[data-theme-pack="swissgrid"] nav[data-zd-toc] ul {
444
+ border-left: 1px solid light-dark(rgb(0 0 0 / 0.2), rgb(255 255 255 / 0.24));
445
+ }
446
+ html[data-theme-pack="swissgrid"] nav[data-zd-toc] a:hover {
447
+ text-decoration-line: underline;
448
+ text-decoration-color: #ff0000;
449
+ text-decoration-thickness: 2px;
450
+ }
451
+ html[data-theme-pack="swissgrid"] nav[data-zd-toc] a[aria-current="true"] {
452
+ background: transparent;
453
+ color: var(--zd-fg);
454
+ font-weight: 700;
455
+ box-shadow: inset 3px 0 0 0 #ff0000;
456
+ }
457
+
458
+ /* ---- footer: heavy rule, ink links with red underlines ----
459
+ (Retargeted onto the stable data-footer hook, zudolab/zudo-doc#2879
460
+ — was `.zd-sidebar-content-wrapper footer`.) */
461
+
462
+ html[data-theme-pack="swissgrid"] footer[data-footer] {
463
+ border-top: 4px solid var(--zd-fg);
464
+ }
465
+ html[data-theme-pack="swissgrid"] footer[data-footer] a {
466
+ color: var(--zd-fg);
467
+ text-decoration-color: #ff0000;
468
+ text-decoration-thickness: 2px;
469
+ }
470
+ html[data-theme-pack="swissgrid"] footer[data-footer] a:hover {
471
+ color: var(--zd-accent);
472
+ }
473
+
474
+ /* ---- theme-pack switcher: square, black frame, hard red shadow ----
475
+ (Retargeted onto the stable data-switcher-card / data-switcher-launcher
476
+ hooks, zudolab/zudo-doc#2879 — was the flyout card/launcher's
477
+ accessible names, `div[role="dialog"][aria-label="Theme pack
478
+ switcher"]` and `button[aria-haspopup="dialog"][aria-label="Theme
479
+ pack switcher"]`.) */
480
+
481
+ html[data-theme-pack="swissgrid"] div[data-switcher-card] {
482
+ border: 2px solid var(--zd-fg);
483
+ border-radius: 0;
484
+ box-shadow: 10px 10px 0 0 #ff0000;
485
+ }
486
+ html[data-theme-pack="swissgrid"] div[data-switcher-card] span {
487
+ border-radius: 0;
488
+ }
489
+ html[data-theme-pack="swissgrid"] div[data-switcher-card] button {
490
+ border-radius: 0;
491
+ border-color: var(--zd-fg);
492
+ text-transform: uppercase;
493
+ letter-spacing: 0.06em;
494
+ }
495
+ html[data-theme-pack="swissgrid"] div[data-switcher-card] button:hover {
496
+ background-color: var(--zd-accent);
497
+ border-color: var(--zd-accent);
498
+ color: light-dark(#ffffff, #0c0c0c);
499
+ }
500
+ html[data-theme-pack="swissgrid"] button[data-switcher-launcher] {
501
+ border-radius: 0;
502
+ border: 2px solid var(--zd-fg);
503
+ box-shadow: 5px 5px 0 0 #ff0000;
504
+ }
505
+ html[data-theme-pack="swissgrid"] button[data-switcher-launcher]:hover {
506
+ color: var(--zd-accent);
507
+ border-color: var(--zd-accent);
508
+ }
509
+
510
+ /* browse-all dialog: same square black-frame treatment */
511
+ html[data-theme-pack="swissgrid"] dialog[aria-labelledby="zd-theme-pack-dialog-title"] {
512
+ border: 2px solid var(--zd-fg);
513
+ border-radius: 0;
514
+ box-shadow: 10px 10px 0 0 #ff0000;
515
+ }
516
+ html[data-theme-pack="swissgrid"] dialog[aria-labelledby="zd-theme-pack-dialog-title"] button {
517
+ border-radius: 0;
518
+ }
@@ -0,0 +1,95 @@
1
+ Copyright 2022 The Zen Kaku Gothic Project Authors (https://github.com/googlefonts/zen-kakugothic)
2
+ Copyright 2021 The Shippori Mincho Project Authors (https://github.com/fontdasu/ShipporiMincho)
3
+ Copyright 2021 The M+ FONTS Project Authors (https://github.com/coz-m/MPLUS_FONTS)
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": "washi",
4
+ "name": "Washi",
5
+ "description": "Warm washi paper, sumi ink, and ai-iro indigo seals — quiet Japanese stationery for calm documentation.",
6
+ "mode": "light",
7
+ "version": "1.0.1",
8
+ "fonts": {
9
+ "sans": "Zen Kaku Gothic New",
10
+ "mono": "M PLUS 1 Code",
11
+ "display": "Shippori Mincho",
12
+ "loaded": ["Zen Kaku Gothic New", "Shippori Mincho", "M PLUS 1 Code"]
13
+ },
14
+ "preview": {
15
+ "light": {
16
+ "bg": "#f6f1e4",
17
+ "fg": "#2b2822",
18
+ "accent": "#274a78",
19
+ "syntax": {
20
+ "keyword": "#274a78",
21
+ "string": "#41653a",
22
+ "comment": "#6f6654",
23
+ "callable": "#963f34"
24
+ }
25
+ },
26
+ "dark": {
27
+ "bg": "#1b212c",
28
+ "fg": "#eae3d2",
29
+ "accent": "#8ab0dd",
30
+ "syntax": {
31
+ "keyword": "#97b9e6",
32
+ "string": "#a9cb90",
33
+ "comment": "#8894a4",
34
+ "callable": "#e0a49a"
35
+ }
36
+ }
37
+ }
38
+ }