@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.
- package/CHANGELOG.md +61 -0
- package/README.md +2 -2
- package/bin/tag-cli-config.ts +126 -0
- package/bin/tags-audit-runner.ts +60 -76
- package/bin/tags-audit.mjs +17 -36
- package/bin/tags-suggest-runner.ts +429 -0
- package/bin/tags-suggest.mjs +30 -0
- package/bin/zudo-doc.mjs +78 -25
- package/dist/breadcrumb/breadcrumb.d.ts +4 -4
- package/dist/breadcrumb/find-path.d.ts +2 -2
- package/dist/breadcrumb/index.d.ts +1 -1
- package/dist/breadcrumb/types.d.ts +0 -5
- package/dist/chrome/derive.d.ts +16 -4
- package/dist/chrome/derive.js +64 -4
- package/dist/chrome/index.d.ts +13 -10
- package/dist/chrome/index.js +12 -6
- package/dist/chrome/primary-slots.d.ts +21 -0
- package/dist/chrome/primary-slots.js +59 -0
- package/dist/chrome-bindings.d.ts +227 -0
- package/dist/chrome-bindings.js +6 -0
- package/dist/code-syntax/code-block-enhancer-script.d.ts +4 -0
- package/dist/code-syntax/code-block-enhancer-script.js +7 -4
- package/dist/code-syntax/code-block-enhancer.d.ts +2 -2
- package/dist/code-syntax/code-block-enhancer.js +1 -3
- package/dist/code-syntax/index.d.ts +5 -5
- package/dist/code-syntax/index.js +4 -13
- package/dist/code-syntax/mermaid-init-script.d.ts +1 -22
- package/dist/code-syntax/mermaid-init-script.js +0 -2
- package/dist/code-syntax/mermaid-init.d.ts +0 -1
- package/dist/code-syntax/mermaid-init.js +3 -4
- package/dist/code-syntax/tabs-init.d.ts +0 -1
- package/dist/code-syntax/tabs-init.js +1 -3
- package/dist/code-syntax/tabs.d.ts +0 -1
- package/dist/code-syntax/tabs.js +1 -3
- package/dist/color-scheme-utils.d.ts +72 -4
- package/dist/color-scheme-utils.js +137 -0
- package/dist/color-schemes-defaults/index.d.ts +23 -0
- package/dist/color-schemes-defaults/index.js +134 -0
- package/dist/config.d.ts +459 -0
- package/dist/config.js +125 -0
- package/dist/content/component-map.d.ts +0 -16
- package/dist/content/component-map.js +2 -4
- package/dist/content/index.d.ts +1 -1
- package/dist/content/index.js +2 -3
- package/dist/content.css +1 -1
- package/dist/design-token-panel-bootstrap.d.ts +82 -27
- package/dist/design-token-panel-bootstrap.js +110 -21
- package/dist/design-token-panel-config/index.d.ts +49 -0
- package/dist/design-token-panel-config/index.js +211 -0
- package/dist/design-token-panel-config/manifest.d.ts +46 -0
- package/dist/design-token-panel-config/manifest.js +105 -0
- package/dist/directive-vocabulary-defaults/index.d.ts +16 -0
- package/dist/directive-vocabulary-defaults/index.js +12 -0
- package/dist/doc-body-end-islands/design-token-panel-island.d.ts +15 -0
- package/dist/doc-body-end-islands/design-token-panel-island.js +31 -0
- package/dist/doc-body-end-islands/index.d.ts +52 -7
- package/dist/doc-body-end-islands/index.js +19 -0
- package/dist/doc-body-end-islands/theme-pack-switcher-island.d.ts +37 -0
- package/dist/doc-body-end-islands/theme-pack-switcher-island.js +18 -0
- package/dist/doc-content-header/index.js +1 -1
- package/dist/doc-history-area/index.d.ts +10 -4
- package/dist/doc-history-area/index.js +3 -2
- package/dist/doc-metainfo-area/index.d.ts +1 -0
- package/dist/doc-page-props/index.d.ts +7 -23
- package/dist/doc-page-renderer/index.d.ts +1 -0
- package/dist/doc-page-renderer/index.js +1 -0
- package/dist/doc-page-shell/index.js +19 -12
- package/dist/doc-pager/index.js +1 -1
- package/dist/doc-route-entries/index.d.ts +2 -2
- package/dist/doclayout/doc-layout-with-defaults.js +4 -4
- package/dist/doclayout/doc-layout.d.ts +8 -0
- package/dist/doclayout/doc-layout.js +10 -1
- package/dist/docs-schema/index.d.ts +67 -0
- package/dist/docs-schema/index.js +43 -0
- package/dist/eject/index.d.ts +16 -0
- package/dist/eject/index.js +122 -28
- package/dist/extract-headings/index.d.ts +5 -8
- package/dist/extract-headings/index.js +2 -9
- package/dist/factory-context/index.d.ts +56 -4
- package/dist/features.css +65 -43
- package/dist/find-in-page/find-bar.d.ts +9 -0
- package/dist/find-in-page/find-bar.js +114 -0
- package/dist/find-in-page/find-in-page.d.ts +17 -0
- package/dist/find-in-page/find-in-page.js +131 -0
- package/dist/find-in-page/index.d.ts +11 -0
- package/dist/find-in-page/index.js +49 -0
- package/dist/footer/footer.js +1 -0
- package/dist/frontmatter-preview-defaults/index.d.ts +16 -0
- package/dist/frontmatter-preview-defaults/index.js +25 -0
- package/dist/head-with-defaults/index.d.ts +2 -0
- package/dist/head-with-defaults/index.js +16 -0
- package/dist/header/header.d.ts +10 -5
- package/dist/header/header.js +45 -5
- package/dist/header/index.d.ts +1 -1
- package/dist/header/types.d.ts +30 -1
- package/dist/header-with-defaults/index.js +1 -0
- package/dist/home-page/index.d.ts +2 -0
- package/dist/home-page/index.js +11 -5
- package/dist/home-page/prepare-home-data.js +1 -1
- package/dist/i18n-defaults/index.d.ts +22 -0
- package/dist/i18n-defaults/index.js +167 -0
- package/dist/locale-merge/index.d.ts +9 -14
- package/dist/locale-merge/index.js +6 -4
- package/dist/mdx-components/index.js +4 -4
- package/dist/plugins/claude-resources.d.ts +1 -0
- package/dist/plugins/claude-resources.js +4 -2
- package/dist/plugins/doc-history.js +1 -1
- package/dist/{integrations → plugins/internal}/claude-resources/index.d.ts +1 -16
- package/dist/{integrations → plugins/internal}/claude-resources/index.js +0 -9
- package/dist/{integrations → plugins/internal}/doc-history/index.d.ts +0 -17
- package/dist/{integrations → plugins/internal}/doc-history/index.js +0 -4
- package/dist/{integrations → plugins/internal}/doc-history/pre-build.d.ts +2 -4
- package/dist/plugins/internal/llms-txt/index.d.ts +7 -0
- package/dist/{integrations → plugins/internal}/llms-txt/load.d.ts +1 -1
- package/dist/{integrations → plugins/internal}/llms-txt/load.js +2 -2
- package/dist/{integrations → plugins/internal}/llms-txt/strip.d.ts +2 -3
- package/dist/{integrations → plugins/internal}/llms-txt/strip.js +1 -1
- package/dist/{integrations → plugins/internal}/llms-txt/types.d.ts +13 -22
- package/dist/{integrations → plugins/internal}/search-index/collect.js +1 -1
- package/dist/plugins/internal/theme-packs/copy.d.ts +32 -0
- package/dist/plugins/internal/theme-packs/copy.js +45 -0
- package/dist/plugins/internal/theme-packs/dev-middleware.d.ts +22 -0
- package/dist/plugins/internal/theme-packs/dev-middleware.js +80 -0
- package/dist/plugins/internal/theme-packs/index.d.ts +6 -0
- package/dist/plugins/internal/theme-packs/index.js +9 -0
- package/dist/plugins/internal/theme-packs/resolve.d.ts +17 -0
- package/dist/plugins/internal/theme-packs/resolve.js +17 -0
- package/dist/plugins/internal/theme-packs/types.d.ts +22 -0
- package/dist/plugins/internal/theme-packs/types.js +0 -0
- package/dist/plugins/llms-txt.js +1 -1
- package/dist/plugins/routes.js +55 -21
- package/dist/plugins/search-index.js +1 -1
- package/dist/plugins/theme-packs.d.ts +3 -0
- package/dist/plugins/theme-packs.js +40 -0
- package/dist/preset.d.ts +28 -14
- package/dist/preset.js +24 -9
- package/dist/route-context/index.js +4 -6
- package/dist/route-enumerators/index.d.ts +6 -18
- package/dist/route-enumerators/index.js +8 -6
- package/dist/routes/404.js +3 -1
- package/dist/routes/_chrome.js +3 -2
- package/dist/routes/_context.d.ts +7 -3
- package/dist/routes/_context.js +2 -0
- package/dist/routes/_docs-helpers.js +9 -21
- package/dist/safelist.css +1 -1
- package/dist/settings.d.ts +64 -12
- package/dist/sidebar-tree/build-tree.d.ts +3 -4
- package/dist/sidebar-tree/build-tree.js +4 -3
- package/dist/sidebar-tree/index.d.ts +2 -2
- package/dist/sidebar-tree/types.d.ts +6 -17
- package/dist/site-tree-nav-island/index.d.ts +3 -1
- package/dist/site-tree-nav-island/index.js +17 -5
- package/dist/site-tree-nav-island/state.d.ts +4 -0
- package/dist/site-tree-nav-island/state.js +10 -0
- package/dist/tag-helpers/index.d.ts +6 -13
- package/dist/tag-helpers/index.js +5 -23
- package/dist/tag-pages/index.d.ts +8 -21
- package/dist/tag-pages/index.js +14 -10
- package/dist/tags-audit.d.ts +16 -44
- package/dist/tags-audit.js +9 -172
- package/dist/theme/color-scheme-provider.d.ts +2 -3
- package/dist/theme/color-scheme-provider.js +2 -10
- package/dist/theme/index.d.ts +1 -4
- package/dist/theme/index.js +2 -30
- package/dist/theme/theme-pack-provider.d.ts +42 -0
- package/dist/theme/theme-pack-provider.js +75 -0
- package/dist/theme-cli/apply.d.ts +16 -0
- package/dist/theme-cli/apply.js +61 -0
- package/dist/theme-cli/config-io.d.ts +15 -0
- package/dist/theme-cli/config-io.js +51 -0
- package/dist/theme-cli/config-rewriter.d.ts +21 -0
- package/dist/theme-cli/config-rewriter.js +141 -0
- package/dist/theme-cli/config-scanner.d.ts +63 -0
- package/dist/theme-cli/config-scanner.js +288 -0
- package/dist/theme-cli/index.d.ts +7 -0
- package/dist/theme-cli/index.js +38 -0
- package/dist/theme-cli/list.d.ts +27 -0
- package/dist/theme-cli/list.js +64 -0
- package/dist/theme-cli/provenance.d.ts +17 -0
- package/dist/theme-cli/provenance.js +35 -0
- package/dist/theme-cli/registry.d.ts +14 -0
- package/dist/theme-cli/registry.js +13 -0
- package/dist/theme-pack-dialog/dialog-state.d.ts +25 -0
- package/dist/theme-pack-dialog/dialog-state.js +40 -0
- package/dist/theme-pack-dialog/index.d.ts +5 -0
- package/dist/theme-pack-dialog/index.js +152 -0
- package/dist/theme-pack-dialog/theme-pack-card.d.ts +25 -0
- package/dist/theme-pack-dialog/theme-pack-card.js +72 -0
- package/dist/theme-pack-switcher/index.d.ts +49 -0
- package/dist/theme-pack-switcher/index.js +205 -0
- package/dist/theme-pack-switcher/switcher-state.d.ts +56 -0
- package/dist/theme-pack-switcher/switcher-state.js +43 -0
- package/dist/theme-pack-switcher/theme-pack-sync.d.ts +85 -0
- package/dist/theme-pack-switcher/theme-pack-sync.js +121 -0
- package/dist/theme-packs/beacon/fonts/AtkinsonHyperlegible-400-latin.woff2 +0 -0
- package/dist/theme-packs/beacon/fonts/AtkinsonHyperlegible-700-latin.woff2 +0 -0
- package/dist/theme-packs/beacon/fonts/AtkinsonHyperlegible-italic-400-latin.woff2 +0 -0
- package/dist/theme-packs/beacon/fonts/AtkinsonHyperlegible-italic-700-latin.woff2 +0 -0
- package/dist/theme-packs/beacon/fonts/AtkinsonHyperlegibleMono-italic-latin.woff2 +0 -0
- package/dist/theme-packs/beacon/fonts/AtkinsonHyperlegibleMono-latin.woff2 +0 -0
- package/dist/theme-packs/beacon/fonts/OFL.txt +94 -0
- package/dist/theme-packs/beacon/meta.json +37 -0
- package/dist/theme-packs/beacon/pack.css +442 -0
- package/dist/theme-packs/broadsheet/fonts/CourierPrime-400-latin.woff2 +0 -0
- package/dist/theme-packs/broadsheet/fonts/CourierPrime-700-latin.woff2 +0 -0
- package/dist/theme-packs/broadsheet/fonts/OFL.txt +95 -0
- package/dist/theme-packs/broadsheet/fonts/PlayfairDisplay-italic-latin.woff2 +0 -0
- package/dist/theme-packs/broadsheet/fonts/PlayfairDisplay-latin.woff2 +0 -0
- package/dist/theme-packs/broadsheet/fonts/SourceSerif4-italic-latin.woff2 +0 -0
- package/dist/theme-packs/broadsheet/fonts/SourceSerif4-latin.woff2 +0 -0
- package/dist/theme-packs/broadsheet/meta.json +38 -0
- package/dist/theme-packs/broadsheet/pack.css +448 -0
- package/dist/theme-packs/brutalist/fonts/ArchivoBlack-latin.woff2 +0 -0
- package/dist/theme-packs/brutalist/fonts/IBMPlexMono-400-latin.woff2 +0 -0
- package/dist/theme-packs/brutalist/fonts/IBMPlexMono-500-latin.woff2 +0 -0
- package/dist/theme-packs/brutalist/fonts/IBMPlexMono-700-latin.woff2 +0 -0
- package/dist/theme-packs/brutalist/fonts/OFL.txt +95 -0
- package/dist/theme-packs/brutalist/fonts/SpaceGrotesk-latin.woff2 +0 -0
- package/dist/theme-packs/brutalist/meta.json +38 -0
- package/dist/theme-packs/brutalist/pack.css +546 -0
- package/dist/theme-packs/default/meta.json +37 -0
- package/dist/theme-packs/drift/fonts/IBMPlexMono-400-latin-ext.woff2 +0 -0
- package/dist/theme-packs/drift/fonts/IBMPlexMono-400-latin.woff2 +0 -0
- package/dist/theme-packs/drift/fonts/IBMPlexMono-500-latin-ext.woff2 +0 -0
- package/dist/theme-packs/drift/fonts/IBMPlexMono-500-latin.woff2 +0 -0
- package/dist/theme-packs/drift/fonts/IBMPlexSans-italic-latin.woff2 +0 -0
- package/dist/theme-packs/drift/fonts/IBMPlexSans-latin-ext.woff2 +0 -0
- package/dist/theme-packs/drift/fonts/IBMPlexSans-latin.woff2 +0 -0
- package/dist/theme-packs/drift/fonts/OFL.txt +93 -0
- package/dist/theme-packs/drift/meta.json +37 -0
- package/dist/theme-packs/drift/pack.css +478 -0
- package/dist/theme-packs/fjord/fonts/Inter-latin-ext.woff2 +0 -0
- package/dist/theme-packs/fjord/fonts/Inter-latin.woff2 +0 -0
- package/dist/theme-packs/fjord/fonts/JetBrainsMono-latin-ext.woff2 +0 -0
- package/dist/theme-packs/fjord/fonts/JetBrainsMono-latin.woff2 +0 -0
- package/dist/theme-packs/fjord/fonts/OFL.txt +94 -0
- package/dist/theme-packs/fjord/meta.json +37 -0
- package/dist/theme-packs/fjord/pack.css +375 -0
- package/dist/theme-packs/foundry/fonts/Inter-latin-ext.woff2 +0 -0
- package/dist/theme-packs/foundry/fonts/Inter-latin.woff2 +0 -0
- package/dist/theme-packs/foundry/fonts/OFL.txt +93 -0
- package/dist/theme-packs/foundry/meta.json +37 -0
- package/dist/theme-packs/foundry/pack.css +202 -0
- package/dist/theme-packs/futura-editorial/fonts/Jost-latin.woff2 +0 -0
- package/dist/theme-packs/futura-editorial/fonts/NotoSans-italic-latin.woff2 +0 -0
- package/dist/theme-packs/futura-editorial/fonts/NotoSans-latin.woff2 +0 -0
- package/dist/theme-packs/futura-editorial/fonts/OFL.txt +95 -0
- package/dist/theme-packs/futura-editorial/fonts/SpaceMono-400-latin.woff2 +0 -0
- package/dist/theme-packs/futura-editorial/fonts/SpaceMono-700-latin.woff2 +0 -0
- package/dist/theme-packs/futura-editorial/meta.json +38 -0
- package/dist/theme-packs/futura-editorial/pack.css +313 -0
- package/dist/theme-packs/hearth/fonts/Fraunces-italic-latin.woff2 +0 -0
- package/dist/theme-packs/hearth/fonts/Fraunces-latin.woff2 +0 -0
- package/dist/theme-packs/hearth/fonts/Nunito-latin.woff2 +0 -0
- package/dist/theme-packs/hearth/fonts/OFL.txt +95 -0
- package/dist/theme-packs/hearth/fonts/SplineSansMono-latin.woff2 +0 -0
- package/dist/theme-packs/hearth/meta.json +38 -0
- package/dist/theme-packs/hearth/pack.css +385 -0
- package/dist/theme-packs/hollow/fonts/OFL.txt +94 -0
- package/dist/theme-packs/hollow/fonts/SpaceGrotesk-latin.woff2 +0 -0
- package/dist/theme-packs/hollow/fonts/SpaceMono-400-italic-latin.woff2 +0 -0
- package/dist/theme-packs/hollow/fonts/SpaceMono-400-latin.woff2 +0 -0
- package/dist/theme-packs/hollow/fonts/SpaceMono-700-latin.woff2 +0 -0
- package/dist/theme-packs/hollow/meta.json +37 -0
- package/dist/theme-packs/hollow/pack.css +428 -0
- package/dist/theme-packs/ledger/fonts/CrimsonPro-latin-ext-italic.woff2 +0 -0
- package/dist/theme-packs/ledger/fonts/CrimsonPro-latin-ext.woff2 +0 -0
- package/dist/theme-packs/ledger/fonts/CrimsonPro-latin-italic.woff2 +0 -0
- package/dist/theme-packs/ledger/fonts/CrimsonPro-latin.woff2 +0 -0
- package/dist/theme-packs/ledger/fonts/IBMPlexMono-400-latin-ext.woff2 +0 -0
- package/dist/theme-packs/ledger/fonts/IBMPlexMono-400-latin.woff2 +0 -0
- package/dist/theme-packs/ledger/fonts/IBMPlexMono-500-latin-ext.woff2 +0 -0
- package/dist/theme-packs/ledger/fonts/IBMPlexMono-500-latin.woff2 +0 -0
- package/dist/theme-packs/ledger/fonts/OFL.txt +94 -0
- package/dist/theme-packs/ledger/meta.json +37 -0
- package/dist/theme-packs/ledger/pack.css +463 -0
- package/dist/theme-packs/manuscript/fonts/CourierPrime-400-latin-ext.woff2 +0 -0
- package/dist/theme-packs/manuscript/fonts/CourierPrime-400-latin.woff2 +0 -0
- package/dist/theme-packs/manuscript/fonts/CourierPrime-700-latin-ext.woff2 +0 -0
- package/dist/theme-packs/manuscript/fonts/CourierPrime-700-latin.woff2 +0 -0
- package/dist/theme-packs/manuscript/fonts/EBGaramond-latin-italic.woff2 +0 -0
- package/dist/theme-packs/manuscript/fonts/EBGaramond-latin.woff2 +0 -0
- package/dist/theme-packs/manuscript/fonts/OFL.txt +94 -0
- package/dist/theme-packs/manuscript/meta.json +37 -0
- package/dist/theme-packs/manuscript/pack.css +376 -0
- package/dist/theme-packs/matcha/fonts/MPLUS1Code-latin.woff2 +0 -0
- package/dist/theme-packs/matcha/fonts/OFL.txt +95 -0
- package/dist/theme-packs/matcha/fonts/ShipporiMincho-500-latin.woff2 +0 -0
- package/dist/theme-packs/matcha/fonts/ShipporiMincho-700-latin.woff2 +0 -0
- package/dist/theme-packs/matcha/fonts/ZenKakuGothicNew-400-latin.woff2 +0 -0
- package/dist/theme-packs/matcha/fonts/ZenKakuGothicNew-500-latin.woff2 +0 -0
- package/dist/theme-packs/matcha/meta.json +38 -0
- package/dist/theme-packs/matcha/pack.css +409 -0
- package/dist/theme-packs/nocturne/fonts/CormorantGaramond-italic-latin.woff2 +0 -0
- package/dist/theme-packs/nocturne/fonts/CormorantGaramond-latin.woff2 +0 -0
- package/dist/theme-packs/nocturne/fonts/IBMPlexMono-400-latin.woff2 +0 -0
- package/dist/theme-packs/nocturne/fonts/IBMPlexMono-500-latin.woff2 +0 -0
- package/dist/theme-packs/nocturne/fonts/IBMPlexMono-italic-latin.woff2 +0 -0
- package/dist/theme-packs/nocturne/fonts/Manrope-latin.woff2 +0 -0
- package/dist/theme-packs/nocturne/fonts/OFL.txt +95 -0
- package/dist/theme-packs/nocturne/meta.json +38 -0
- package/dist/theme-packs/nocturne/pack.css +502 -0
- package/dist/theme-packs/observatory/fonts/JosefinSans-latin.woff2 +0 -0
- package/dist/theme-packs/observatory/fonts/Jost-italic-latin.woff2 +0 -0
- package/dist/theme-packs/observatory/fonts/Jost-latin.woff2 +0 -0
- package/dist/theme-packs/observatory/fonts/OFL.txt +95 -0
- package/dist/theme-packs/observatory/fonts/SpaceMono-400-latin.woff2 +0 -0
- package/dist/theme-packs/observatory/fonts/SpaceMono-700-latin.woff2 +0 -0
- package/dist/theme-packs/observatory/fonts/SpaceMono-italic-latin.woff2 +0 -0
- package/dist/theme-packs/observatory/meta.json +38 -0
- package/dist/theme-packs/observatory/pack.css +728 -0
- package/dist/theme-packs/onyx/fonts/CormorantGaramond-italic-latin.woff2 +0 -0
- package/dist/theme-packs/onyx/fonts/CormorantGaramond-latin.woff2 +0 -0
- package/dist/theme-packs/onyx/fonts/IBMPlexMono-400-latin-ext.woff2 +0 -0
- package/dist/theme-packs/onyx/fonts/IBMPlexMono-400-latin.woff2 +0 -0
- package/dist/theme-packs/onyx/fonts/IBMPlexMono-500-latin-ext.woff2 +0 -0
- package/dist/theme-packs/onyx/fonts/IBMPlexMono-500-latin.woff2 +0 -0
- package/dist/theme-packs/onyx/fonts/Jost-latin.woff2 +0 -0
- package/dist/theme-packs/onyx/fonts/OFL.txt +95 -0
- package/dist/theme-packs/onyx/meta.json +38 -0
- package/dist/theme-packs/onyx/pack.css +497 -0
- package/dist/theme-packs/phosphor/fonts/JetBrainsMono-latin-ext.woff2 +0 -0
- package/dist/theme-packs/phosphor/fonts/JetBrainsMono-latin.woff2 +0 -0
- package/dist/theme-packs/phosphor/fonts/OFL.txt +94 -0
- package/dist/theme-packs/phosphor/fonts/VT323-latin-ext.woff2 +0 -0
- package/dist/theme-packs/phosphor/fonts/VT323-latin.woff2 +0 -0
- package/dist/theme-packs/phosphor/meta.json +38 -0
- package/dist/theme-packs/phosphor/pack.css +493 -0
- package/dist/theme-packs/solar/fonts/OFL.txt +94 -0
- package/dist/theme-packs/solar/fonts/SourceCodePro-italic-latin.woff2 +0 -0
- package/dist/theme-packs/solar/fonts/SourceCodePro-latin.woff2 +0 -0
- package/dist/theme-packs/solar/fonts/SourceSans3-italic-latin.woff2 +0 -0
- package/dist/theme-packs/solar/fonts/SourceSans3-latin.woff2 +0 -0
- package/dist/theme-packs/solar/meta.json +37 -0
- package/dist/theme-packs/solar/pack.css +380 -0
- package/dist/theme-packs/sumi/fonts/IBMPlexMono-400-latin-ext.woff2 +0 -0
- package/dist/theme-packs/sumi/fonts/IBMPlexMono-400-latin.woff2 +0 -0
- package/dist/theme-packs/sumi/fonts/IBMPlexMono-500-latin-ext.woff2 +0 -0
- package/dist/theme-packs/sumi/fonts/IBMPlexMono-500-latin.woff2 +0 -0
- package/dist/theme-packs/sumi/fonts/OFL.txt +95 -0
- package/dist/theme-packs/sumi/fonts/ShipporiMinchoB1-600-latin.woff2 +0 -0
- package/dist/theme-packs/sumi/fonts/ShipporiMinchoB1-700-latin.woff2 +0 -0
- package/dist/theme-packs/sumi/fonts/ShipporiMinchoB1-800-latin.woff2 +0 -0
- package/dist/theme-packs/sumi/fonts/ZenKakuGothicNew-400-latin.woff2 +0 -0
- package/dist/theme-packs/sumi/fonts/ZenKakuGothicNew-500-latin.woff2 +0 -0
- package/dist/theme-packs/sumi/meta.json +38 -0
- package/dist/theme-packs/sumi/pack.css +502 -0
- package/dist/theme-packs/swissgrid/fonts/IBMPlexMono-400-latin-ext.woff2 +0 -0
- package/dist/theme-packs/swissgrid/fonts/IBMPlexMono-400-latin.woff2 +0 -0
- package/dist/theme-packs/swissgrid/fonts/IBMPlexMono-600-latin.woff2 +0 -0
- package/dist/theme-packs/swissgrid/fonts/Inter-latin-ext.woff2 +0 -0
- package/dist/theme-packs/swissgrid/fonts/Inter-latin.woff2 +0 -0
- package/dist/theme-packs/swissgrid/fonts/InterTight-latin.woff2 +0 -0
- package/dist/theme-packs/swissgrid/fonts/OFL.txt +95 -0
- package/dist/theme-packs/swissgrid/meta.json +38 -0
- package/dist/theme-packs/swissgrid/pack.css +518 -0
- package/dist/theme-packs/washi/fonts/MPlus1Code-400-latin.woff2 +0 -0
- package/dist/theme-packs/washi/fonts/MPlus1Code-500-latin.woff2 +0 -0
- package/dist/theme-packs/washi/fonts/OFL.txt +95 -0
- package/dist/theme-packs/washi/fonts/ShipporiMincho-500-latin.woff2 +0 -0
- package/dist/theme-packs/washi/fonts/ShipporiMincho-600-latin.woff2 +0 -0
- package/dist/theme-packs/washi/fonts/ShipporiMincho-700-latin.woff2 +0 -0
- package/dist/theme-packs/washi/fonts/ZenKakuGothicNew-400-latin.woff2 +0 -0
- package/dist/theme-packs/washi/fonts/ZenKakuGothicNew-500-latin.woff2 +0 -0
- package/dist/theme-packs/washi/fonts/ZenKakuGothicNew-700-latin.woff2 +0 -0
- package/dist/theme-packs/washi/meta.json +38 -0
- package/dist/theme-packs/washi/pack.css +479 -0
- package/dist/theme-packs-registry/index.d.ts +5 -0
- package/dist/theme-packs-registry/index.js +30 -0
- package/dist/theme-packs-registry/load-registry.d.ts +23 -0
- package/dist/theme-packs-registry/load-registry.js +64 -0
- package/dist/theme-packs-registry/meta-schema.d.ts +70 -0
- package/dist/theme-packs-registry/meta-schema.js +38 -0
- package/dist/theme-packs-registry/resolve-enabled-packs.d.ts +25 -0
- package/dist/theme-packs-registry/resolve-enabled-packs.js +43 -0
- package/dist/theme-packs-registry/token-manifest.d.ts +19 -0
- package/dist/theme-packs-registry/token-manifest.js +57 -0
- package/dist/theme-packs-registry/validator.d.ts +35 -0
- package/dist/theme-packs-registry/validator.js +284 -0
- package/dist/theme-toggle/color-scheme-sync.d.ts +2 -4
- package/dist/theme.css +319 -0
- package/dist/versions-page/index.d.ts +2 -2
- package/dist/versions-page/index.js +8 -8
- package/dist/z-index-defaults/index.d.ts +45 -0
- package/dist/z-index-defaults/index.js +34 -0
- package/eject/breadcrumb/breadcrumb.tsx +4 -4
- package/eject/breadcrumb/find-path.ts +2 -2
- package/eject/breadcrumb/index.ts +1 -1
- package/eject/breadcrumb/types.ts +0 -6
- package/eject/code-group/index.tsx +2 -2
- package/eject/doc-history/index.tsx +1 -1
- package/eject/doc-pager/index.tsx +1 -1
- package/eject/footer/footer.tsx +1 -0
- package/eject/header/header.tsx +86 -21
- package/eject/header/index.ts +3 -0
- package/eject/header/types.ts +39 -1
- package/eject/site-tree-nav-island/index.tsx +15 -3
- package/eject/site-tree-nav-island/state.ts +9 -0
- package/eject/theme-toggle/color-scheme-sync.ts +2 -4
- package/package.json +82 -29
- package/routes-src/404.tsx +4 -1
- package/routes-src/_chrome.tsx +31 -8
- package/routes-src/_context.ts +4 -0
- package/routes-src/_docs-helpers.ts +9 -29
- package/routes-src/_virtual.d.ts +38 -2
- package/tsconfig.base.json +29 -0
- package/virtual-modules.d.ts +83 -0
- package/zfb-config-shim.d.ts +210 -0
- package/dist/integrations/llms-txt/index.d.ts +0 -33
- package/dist/theme/color-tweak-export-modal.d.ts +0 -16
- package/dist/theme/color-tweak-export-modal.js +0 -138
- package/dist/theme/design-token-serde.d.ts +0 -183
- package/dist/theme/design-token-serde.js +0 -346
- package/dist/theme/design-token-types.d.ts +0 -13
- package/dist/theme/design-token-types.js +0 -6
- package/dist/theme/iframe-bridge.d.ts +0 -42
- package/dist/theme/iframe-bridge.js +0 -72
- /package/dist/{integrations → plugins/internal}/claude-resources/escape-for-mdx.d.ts +0 -0
- /package/dist/{integrations → plugins/internal}/claude-resources/escape-for-mdx.js +0 -0
- /package/dist/{integrations → plugins/internal}/claude-resources/generate.d.ts +0 -0
- /package/dist/{integrations → plugins/internal}/claude-resources/generate.js +0 -0
- /package/dist/{integrations → plugins/internal}/doc-history/pre-build.js +0 -0
- /package/dist/{integrations → plugins/internal}/llms-txt/dev-middleware.d.ts +0 -0
- /package/dist/{integrations → plugins/internal}/llms-txt/dev-middleware.js +0 -0
- /package/dist/{integrations → plugins/internal}/llms-txt/emit.d.ts +0 -0
- /package/dist/{integrations → plugins/internal}/llms-txt/emit.js +0 -0
- /package/dist/{integrations → plugins/internal}/llms-txt/generate.d.ts +0 -0
- /package/dist/{integrations → plugins/internal}/llms-txt/generate.js +0 -0
- /package/dist/{integrations → plugins/internal}/llms-txt/index.js +0 -0
- /package/dist/{integrations → plugins/internal}/llms-txt/types.js +0 -0
- /package/dist/{integrations → plugins/internal}/search-index/build-emitter.d.ts +0 -0
- /package/dist/{integrations → plugins/internal}/search-index/build-emitter.js +0 -0
- /package/dist/{integrations → plugins/internal}/search-index/collect.d.ts +0 -0
- /package/dist/{integrations → plugins/internal}/search-index/dev-middleware.d.ts +0 -0
- /package/dist/{integrations → plugins/internal}/search-index/dev-middleware.js +0 -0
- /package/dist/{integrations → plugins/internal}/search-index/index.d.ts +0 -0
- /package/dist/{integrations → plugins/internal}/search-index/index.js +0 -0
- /package/dist/{integrations → plugins/internal}/search-index/types.d.ts +0 -0
- /package/dist/{integrations → plugins/internal}/search-index/types.js +0 -0
|
@@ -0,0 +1,376 @@
|
|
|
1
|
+
/* ============================================================
|
|
2
|
+
Manuscript — zudo-doc theme pack (ADR docs/adr/theme-packs.md)
|
|
3
|
+
|
|
4
|
+
A quiet Garamond book page: warm paper, soft ink, sepia
|
|
5
|
+
rubrication, letterspaced small-caps subheads, fleuron section
|
|
6
|
+
marks, marginalia admonition glyphs, and a faint laid-paper
|
|
7
|
+
ruling. Dark mode is the same book read by lamplight — umber
|
|
8
|
+
page, parchment ink, amber-sepia rubrication. Self-hosted
|
|
9
|
+
EB Garamond (variable 400-800, roman + italic) for body and
|
|
10
|
+
display; Courier Prime (400/700) as the typewritten code face.
|
|
11
|
+
|
|
12
|
+
Every rule below is scoped under html[data-theme-pack="manuscript"]
|
|
13
|
+
— this is what makes the runtime pack swap atomic (Decision 3) and
|
|
14
|
+
lets the validator prove a pack can never leak styles while
|
|
15
|
+
inactive (Decision 6.7). The @font-face blocks are the sole
|
|
16
|
+
exception (at-rules can't be selector-scoped).
|
|
17
|
+
|
|
18
|
+
Ported from _temp-resource/2812-theme-prototypes/themes/
|
|
19
|
+
05-manuscript.html; prototype-only selectors (.sb-group > p,
|
|
20
|
+
.toc-title, .lead, .footer-copy, .tp-flyout) were adapted to the
|
|
21
|
+
real DOM's stable hooks or dropped — see the extras comments.
|
|
22
|
+
============================================================ */
|
|
23
|
+
|
|
24
|
+
/* EB Garamond — variable weight 400-800, roman. Body, headings, chrome.
|
|
25
|
+
Latin subset only (latin-ext trimmed for the ~250 KB payload budget —
|
|
26
|
+
rare extended-Latin glyphs fall back to the generic serif tail). */
|
|
27
|
+
@font-face {
|
|
28
|
+
font-family: "EB Garamond";
|
|
29
|
+
font-style: normal;
|
|
30
|
+
font-weight: 400 800;
|
|
31
|
+
font-display: swap;
|
|
32
|
+
src: url("./fonts/EBGaramond-latin.woff2") format("woff2");
|
|
33
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
34
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
|
|
35
|
+
U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/* EB Garamond — italic. Blockquotes, emphasis, pager titles. */
|
|
39
|
+
@font-face {
|
|
40
|
+
font-family: "EB Garamond";
|
|
41
|
+
font-style: italic;
|
|
42
|
+
font-weight: 400 800;
|
|
43
|
+
font-display: swap;
|
|
44
|
+
src: url("./fonts/EBGaramond-latin-italic.woff2") format("woff2");
|
|
45
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
46
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
|
|
47
|
+
U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* Courier Prime — the typewritten insert tipped into the book. */
|
|
51
|
+
@font-face {
|
|
52
|
+
font-family: "Courier Prime";
|
|
53
|
+
font-style: normal;
|
|
54
|
+
font-weight: 400;
|
|
55
|
+
font-display: swap;
|
|
56
|
+
src: url("./fonts/CourierPrime-400-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: "Courier Prime";
|
|
64
|
+
font-style: normal;
|
|
65
|
+
font-weight: 400;
|
|
66
|
+
font-display: swap;
|
|
67
|
+
src: url("./fonts/CourierPrime-400-latin-ext.woff2") format("woff2");
|
|
68
|
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
|
|
69
|
+
U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
|
|
70
|
+
U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
|
|
71
|
+
U+A720-A7FF;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@font-face {
|
|
75
|
+
font-family: "Courier Prime";
|
|
76
|
+
font-style: normal;
|
|
77
|
+
font-weight: 700;
|
|
78
|
+
font-display: swap;
|
|
79
|
+
src: url("./fonts/CourierPrime-700-latin.woff2") format("woff2");
|
|
80
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
81
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
|
|
82
|
+
U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
@font-face {
|
|
86
|
+
font-family: "Courier Prime";
|
|
87
|
+
font-style: normal;
|
|
88
|
+
font-weight: 700;
|
|
89
|
+
font-display: swap;
|
|
90
|
+
src: url("./fonts/CourierPrime-700-latin-ext.woff2") format("woff2");
|
|
91
|
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
|
|
92
|
+
U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
|
|
93
|
+
U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
|
|
94
|
+
U+A720-A7FF;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
html[data-theme-pack="manuscript"] {
|
|
98
|
+
/* Tier-2 semantic roles — warm paper & soft ink (light hero); dark mode
|
|
99
|
+
is the same book read by lamplight. Both modes always via light-dark(). */
|
|
100
|
+
--zd-bg: light-dark(oklch(0.963 0.013 85), oklch(0.215 0.015 65));
|
|
101
|
+
--zd-fg: light-dark(oklch(0.245 0.018 60), oklch(0.885 0.022 80));
|
|
102
|
+
--zd-selection-bg: light-dark(oklch(0.878 0.048 82), oklch(0.425 0.055 62));
|
|
103
|
+
--zd-selection-fg: light-dark(oklch(0.22 0.02 60), oklch(0.96 0.015 85));
|
|
104
|
+
--zd-surface: light-dark(oklch(0.945 0.016 85), oklch(0.245 0.016 62));
|
|
105
|
+
--zd-muted: light-dark(oklch(0.455 0.035 62), oklch(0.685 0.035 75));
|
|
106
|
+
--zd-accent: light-dark(oklch(0.44 0.095 55), oklch(0.735 0.095 70));
|
|
107
|
+
--zd-accent-hover: light-dark(oklch(0.355 0.095 45), oklch(0.8 0.085 78));
|
|
108
|
+
--zd-code-bg: light-dark(oklch(0.928 0.016 85), oklch(0.255 0.016 62));
|
|
109
|
+
--zd-code-fg: light-dark(oklch(0.26 0.02 60), oklch(0.885 0.022 80));
|
|
110
|
+
--zd-success: light-dark(oklch(0.45 0.085 145), oklch(0.72 0.09 145));
|
|
111
|
+
--zd-danger: light-dark(oklch(0.475 0.125 30), oklch(0.7 0.12 30));
|
|
112
|
+
--zd-warning: light-dark(oklch(0.485 0.09 80), oklch(0.77 0.1 85));
|
|
113
|
+
--zd-info: light-dark(oklch(0.455 0.08 245), oklch(0.72 0.08 245));
|
|
114
|
+
|
|
115
|
+
/* syntax — all 9 roles restyled, both modes. Annotated-manuscript inks:
|
|
116
|
+
pencil comments, bottle-green strings, sienna numbers, rubric-red
|
|
117
|
+
keywords, indigo callables, olive-gold types; inserted/deleted reuse
|
|
118
|
+
the bottle-green / rubric-red hues. */
|
|
119
|
+
--zd-syntax-comment: light-dark(oklch(0.5 0.03 70), oklch(0.645 0.03 75));
|
|
120
|
+
--zd-syntax-string: light-dark(oklch(0.44 0.085 150), oklch(0.745 0.085 150));
|
|
121
|
+
--zd-syntax-number: light-dark(oklch(0.475 0.1 45), oklch(0.755 0.1 60));
|
|
122
|
+
--zd-syntax-keyword: light-dark(oklch(0.455 0.13 30), oklch(0.72 0.115 35));
|
|
123
|
+
--zd-syntax-callable: light-dark(oklch(0.435 0.09 275), oklch(0.745 0.07 275));
|
|
124
|
+
--zd-syntax-type: light-dark(oklch(0.465 0.08 95), oklch(0.775 0.09 95));
|
|
125
|
+
--zd-syntax-name: light-dark(oklch(0.28 0.02 60), oklch(0.86 0.022 80));
|
|
126
|
+
--zd-syntax-inserted: light-dark(oklch(0.45 0.085 145), oklch(0.72 0.09 145));
|
|
127
|
+
--zd-syntax-deleted: light-dark(oklch(0.475 0.125 30), oklch(0.7 0.12 30));
|
|
128
|
+
|
|
129
|
+
/* fonts — self-hosted EB Garamond for body AND display (one face, the
|
|
130
|
+
book way); Courier Prime for code. Generic-family tail keeps CJK on
|
|
131
|
+
platform serifs. */
|
|
132
|
+
--font-sans: "EB Garamond", "Iowan Old Style", "Palatino Linotype", Georgia,
|
|
133
|
+
serif;
|
|
134
|
+
--font-mono: "Courier Prime", "Courier New", Courier, monospace;
|
|
135
|
+
|
|
136
|
+
/* Tier-3 component seams — medium-weight Garamond headings; the h2
|
|
137
|
+
tracking carries the letterspaced-small-caps signature. A book page
|
|
138
|
+
has no rounded corners — admonitions and cards square off. */
|
|
139
|
+
--zdc-doc-title-font: var(--font-sans);
|
|
140
|
+
--zdc-doc-title-weight: 500;
|
|
141
|
+
--zdc-doc-title-tracking: 0.005em;
|
|
142
|
+
--zdc-doc-h2-font: var(--font-sans);
|
|
143
|
+
--zdc-doc-h2-weight: 500;
|
|
144
|
+
--zdc-doc-h2-tracking: 0.1em;
|
|
145
|
+
--zdc-doc-h3-weight: 500;
|
|
146
|
+
--zdc-admonition-radius: 0;
|
|
147
|
+
--zdc-admonition-border-width: 2px;
|
|
148
|
+
--zdc-card-radius: 0;
|
|
149
|
+
--zdc-nav-active-indicator-color: light-dark(
|
|
150
|
+
oklch(0.35 0.05 55),
|
|
151
|
+
oklch(0.82 0.05 80)
|
|
152
|
+
);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/* ---- Manuscript extras ---- */
|
|
156
|
+
|
|
157
|
+
/* the page: comfortable book measure, old-style numerals, the faintest
|
|
158
|
+
laid-paper ruling. (EB Garamond's default figures are old-style; the
|
|
159
|
+
explicit declarations keep the intent when a fallback face renders.) */
|
|
160
|
+
html[data-theme-pack="manuscript"] body {
|
|
161
|
+
font-size: 1.14rem;
|
|
162
|
+
line-height: 1.72;
|
|
163
|
+
font-variant-numeric: oldstyle-nums;
|
|
164
|
+
font-feature-settings: "onum" 1, "liga" 1;
|
|
165
|
+
background-image: repeating-linear-gradient(
|
|
166
|
+
0deg,
|
|
167
|
+
color-mix(in oklch, var(--zd-fg) 2%, transparent) 0 1px,
|
|
168
|
+
transparent 1px 30px
|
|
169
|
+
);
|
|
170
|
+
}
|
|
171
|
+
/* .zd-content re-declares font-size/line-height on itself (content.css), so
|
|
172
|
+
the body values above never reach the prose — restate the book measure on
|
|
173
|
+
the content root. */
|
|
174
|
+
html[data-theme-pack="manuscript"] .zd-content {
|
|
175
|
+
font-size: 1.14rem;
|
|
176
|
+
line-height: 1.72;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/* masthead: title-page double rule, small-caps wordmark + nav */
|
|
180
|
+
html[data-theme-pack="manuscript"] header[data-header] {
|
|
181
|
+
border-bottom: 3px double color-mix(in oklch, var(--zd-fg) 50%, transparent);
|
|
182
|
+
}
|
|
183
|
+
html[data-theme-pack="manuscript"] [data-header-logo] {
|
|
184
|
+
font-variant-caps: small-caps;
|
|
185
|
+
letter-spacing: 0.06em;
|
|
186
|
+
font-weight: 600;
|
|
187
|
+
font-size: 1.35rem;
|
|
188
|
+
}
|
|
189
|
+
html[data-theme-pack="manuscript"] [data-nav-item] {
|
|
190
|
+
font-variant-caps: small-caps;
|
|
191
|
+
letter-spacing: 0.07em;
|
|
192
|
+
font-weight: 500;
|
|
193
|
+
font-size: 1.02rem;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
/* sidebar & TOC: a touch more size — Garamond's small x-height reads tight
|
|
197
|
+
at the default text-small. (The prototype sized the containers; the real
|
|
198
|
+
links carry fixed-size utilities, so the bump targets the elements.) */
|
|
199
|
+
html[data-theme-pack="manuscript"] #desktop-sidebar a,
|
|
200
|
+
html[data-theme-pack="manuscript"] #desktop-sidebar button {
|
|
201
|
+
font-size: 0.98rem;
|
|
202
|
+
}
|
|
203
|
+
html[data-theme-pack="manuscript"] nav[data-zd-toc] a {
|
|
204
|
+
font-size: 0.95rem;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/* the signature: letterspaced small-capital subheads. The real h2/h3 carry
|
|
208
|
+
an SSR-inlined `style="border-image:linear-gradient(...)"` bar: the h2
|
|
209
|
+
replaces it with a hairline rule (border-image none !important is
|
|
210
|
+
Decision 6.6's sole allowlisted carve-out); the h3 wants NO bar, which
|
|
211
|
+
zeroing the class-level border-top-width achieves without !important
|
|
212
|
+
(a zero-width border area leaves the inline border-image nothing to
|
|
213
|
+
paint on). */
|
|
214
|
+
html[data-theme-pack="manuscript"] .zd-content h2 {
|
|
215
|
+
border-image: none !important;
|
|
216
|
+
border-top-width: 1px;
|
|
217
|
+
border-top-color: color-mix(in oklch, var(--zd-fg) 28%, transparent);
|
|
218
|
+
padding-top: 1.35rem;
|
|
219
|
+
font-variant-caps: small-caps;
|
|
220
|
+
font-size: 1.55rem;
|
|
221
|
+
}
|
|
222
|
+
html[data-theme-pack="manuscript"] .zd-content h3 {
|
|
223
|
+
border-top-width: 0;
|
|
224
|
+
font-variant-caps: small-caps;
|
|
225
|
+
letter-spacing: 0.09em;
|
|
226
|
+
font-size: 1.28rem;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
/* rubricated drop cap on the opening paragraph. The prototype's `.lead + p`
|
|
230
|
+
has no stable-DOM equivalent (the frontmatter-description <p> carries only
|
|
231
|
+
utility classes), so the drop cap sits on the article's first direct-child
|
|
232
|
+
paragraph — the description when present, the opening prose otherwise. */
|
|
233
|
+
html[data-theme-pack="manuscript"] .zd-content > p:first-of-type::first-letter {
|
|
234
|
+
float: left;
|
|
235
|
+
font-size: 3.4em;
|
|
236
|
+
line-height: 0.8;
|
|
237
|
+
padding: 0.07em 0.12em 0 0;
|
|
238
|
+
font-weight: 500;
|
|
239
|
+
color: var(--zd-accent);
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
/* the other signature: centered ornamental rest (fleuron) */
|
|
243
|
+
html[data-theme-pack="manuscript"] .zd-content hr {
|
|
244
|
+
border: none;
|
|
245
|
+
height: auto;
|
|
246
|
+
overflow: visible;
|
|
247
|
+
text-align: center;
|
|
248
|
+
margin: 2.75rem 0;
|
|
249
|
+
}
|
|
250
|
+
html[data-theme-pack="manuscript"] .zd-content hr::before {
|
|
251
|
+
content: "❦";
|
|
252
|
+
display: inline-block;
|
|
253
|
+
font-size: 1.4rem;
|
|
254
|
+
line-height: 1;
|
|
255
|
+
color: var(--zd-accent);
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
/* literary details */
|
|
259
|
+
html[data-theme-pack="manuscript"] .zd-content a {
|
|
260
|
+
text-underline-offset: 0.18em;
|
|
261
|
+
text-decoration-thickness: 1px;
|
|
262
|
+
text-decoration-color: color-mix(in oklch, var(--zd-accent) 55%, transparent);
|
|
263
|
+
}
|
|
264
|
+
html[data-theme-pack="manuscript"] .zd-content a:hover {
|
|
265
|
+
text-decoration-color: currentColor;
|
|
266
|
+
}
|
|
267
|
+
html[data-theme-pack="manuscript"] .zd-content blockquote {
|
|
268
|
+
font-style: italic;
|
|
269
|
+
font-size: 1.06em;
|
|
270
|
+
border-left: 2px solid var(--zd-accent);
|
|
271
|
+
color: color-mix(in oklch, var(--zd-fg) 82%, var(--zd-muted));
|
|
272
|
+
}
|
|
273
|
+
html[data-theme-pack="manuscript"] .zd-content th {
|
|
274
|
+
font-variant-caps: small-caps;
|
|
275
|
+
letter-spacing: 0.08em;
|
|
276
|
+
border-bottom-color: color-mix(in oklch, var(--zd-fg) 55%, transparent);
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
/* marginalia marks instead of emoji: reference mark, hedera, pilcrow,
|
|
280
|
+
manicule, dagger ladder — the full admonition vocabulary so no variant
|
|
281
|
+
keeps a stray emoji. */
|
|
282
|
+
html[data-theme-pack="manuscript"] [data-admonition] .admonition-title {
|
|
283
|
+
font-variant-caps: small-caps;
|
|
284
|
+
letter-spacing: 0.1em;
|
|
285
|
+
font-weight: 600;
|
|
286
|
+
}
|
|
287
|
+
html[data-theme-pack="manuscript"]
|
|
288
|
+
[data-admonition="note"]
|
|
289
|
+
.admonition-title::before {
|
|
290
|
+
content: "※ ";
|
|
291
|
+
}
|
|
292
|
+
html[data-theme-pack="manuscript"]
|
|
293
|
+
[data-admonition="tip"]
|
|
294
|
+
.admonition-title::before {
|
|
295
|
+
content: "❧ ";
|
|
296
|
+
}
|
|
297
|
+
html[data-theme-pack="manuscript"]
|
|
298
|
+
[data-admonition="info"]
|
|
299
|
+
.admonition-title::before {
|
|
300
|
+
content: "¶ ";
|
|
301
|
+
}
|
|
302
|
+
html[data-theme-pack="manuscript"]
|
|
303
|
+
[data-admonition="important"]
|
|
304
|
+
.admonition-title::before {
|
|
305
|
+
content: "☞ ";
|
|
306
|
+
}
|
|
307
|
+
html[data-theme-pack="manuscript"]
|
|
308
|
+
[data-admonition="warning"]
|
|
309
|
+
.admonition-title::before {
|
|
310
|
+
content: "† ";
|
|
311
|
+
}
|
|
312
|
+
html[data-theme-pack="manuscript"]
|
|
313
|
+
[data-admonition="caution"]
|
|
314
|
+
.admonition-title::before {
|
|
315
|
+
content: "‡ ";
|
|
316
|
+
}
|
|
317
|
+
html[data-theme-pack="manuscript"]
|
|
318
|
+
[data-admonition="danger"]
|
|
319
|
+
.admonition-title::before {
|
|
320
|
+
content: "‡ ";
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
/* code: a typewritten insert tipped into the book — square, hairline-framed */
|
|
324
|
+
html[data-theme-pack="manuscript"] pre.hi-root {
|
|
325
|
+
font-size: 0.95rem;
|
|
326
|
+
line-height: 1.65;
|
|
327
|
+
padding: 1.1rem 1.25rem;
|
|
328
|
+
border: 1px solid color-mix(in oklch, var(--zd-fg) 25%, transparent);
|
|
329
|
+
}
|
|
330
|
+
html[data-theme-pack="manuscript"] .zd-content code:not(pre code) {
|
|
331
|
+
font-size: 0.92em;
|
|
332
|
+
border-radius: 0;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
/* pager: colophon cards, targeted at the DocPager's `data-doc-pager` hook
|
|
336
|
+
(#2873). The prior broad `.zd-content > nav a` form matched EVERY direct-
|
|
337
|
+
child nav's descendant <a> — including NavCardGrid's `aria-label="Child
|
|
338
|
+
pages"` grid on auto-index pages, which picked up the colophon-card
|
|
339
|
+
framing by accident (no NavCardGrid-specific intent was ever documented
|
|
340
|
+
here). The `[data-doc-pager]` hook scopes this to the pager only; the
|
|
341
|
+
prototype's .doc-pager/.pager-label/.pager-title classes don't exist in
|
|
342
|
+
the real DOM. */
|
|
343
|
+
html[data-theme-pack="manuscript"] .zd-content > nav[data-doc-pager] a {
|
|
344
|
+
border-radius: 0;
|
|
345
|
+
border-color: color-mix(in oklch, var(--zd-fg) 25%, transparent);
|
|
346
|
+
}
|
|
347
|
+
html[data-theme-pack="manuscript"] .zd-content > nav[data-doc-pager] a:hover {
|
|
348
|
+
border-color: var(--zd-accent);
|
|
349
|
+
}
|
|
350
|
+
html[data-theme-pack="manuscript"] .zd-content > nav[data-doc-pager] a > div {
|
|
351
|
+
font-variant-caps: small-caps;
|
|
352
|
+
letter-spacing: 0.08em;
|
|
353
|
+
}
|
|
354
|
+
html[data-theme-pack="manuscript"] .zd-content > nav[data-doc-pager] a > p {
|
|
355
|
+
font-style: italic;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
/* footer: closing double rule + fleuron colophon above the copyright line
|
|
359
|
+
(the prototype's .footer-copy class does not exist in the real DOM). The
|
|
360
|
+
:not(:has(ul)) guard keeps the ornament off the link/tag column grid when
|
|
361
|
+
a footer configures columns but no copyright — the grid's div always
|
|
362
|
+
contains <ul> lists, the copyright block never does. Targets the
|
|
363
|
+
`data-footer` hook (#2873) instead of the wrapper-descendant form. */
|
|
364
|
+
html[data-theme-pack="manuscript"] footer[data-footer] {
|
|
365
|
+
border-top: 3px double color-mix(in oklch, var(--zd-fg) 50%, transparent);
|
|
366
|
+
}
|
|
367
|
+
html[data-theme-pack="manuscript"]
|
|
368
|
+
footer[data-footer]
|
|
369
|
+
> div
|
|
370
|
+
> div:last-child:not(:has(ul))::before {
|
|
371
|
+
content: "❦";
|
|
372
|
+
display: block;
|
|
373
|
+
font-size: 1.05rem;
|
|
374
|
+
color: var(--zd-accent);
|
|
375
|
+
margin-bottom: 0.4rem;
|
|
376
|
+
}
|
|
Binary file
|
|
@@ -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.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"slug": "matcha",
|
|
4
|
+
"name": "Matcha",
|
|
5
|
+
"description": "Green tea ceremony — deep matcha on warm cream, mincho headings, zen whitespace, tea-foam surfaces in both modes.",
|
|
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": "oklch(0.973 0.012 106)",
|
|
17
|
+
"fg": "oklch(0.245 0.018 148)",
|
|
18
|
+
"accent": "oklch(0.435 0.105 142)",
|
|
19
|
+
"syntax": {
|
|
20
|
+
"keyword": "oklch(0.418 0.105 150)",
|
|
21
|
+
"string": "oklch(0.47 0.092 106)",
|
|
22
|
+
"comment": "oklch(0.512 0.034 130)",
|
|
23
|
+
"callable": "oklch(0.438 0.082 196)"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"dark": {
|
|
27
|
+
"bg": "oklch(0.205 0.016 152)",
|
|
28
|
+
"fg": "oklch(0.938 0.018 106)",
|
|
29
|
+
"accent": "oklch(0.79 0.115 138)",
|
|
30
|
+
"syntax": {
|
|
31
|
+
"keyword": "oklch(0.782 0.118 148)",
|
|
32
|
+
"string": "oklch(0.822 0.102 108)",
|
|
33
|
+
"comment": "oklch(0.668 0.034 130)",
|
|
34
|
+
"callable": "oklch(0.772 0.088 192)"
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|