@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.
- package/CHANGELOG.md +32 -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 -10
- package/dist/chrome/derive.js +53 -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 +68 -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 +71 -3
- package/dist/color-scheme-utils.js +137 -0
- package/dist/color-schemes-defaults/index.js +13 -0
- package/dist/config.d.ts +28 -12
- package/dist/config.js +11 -2
- 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 +45 -40
- package/dist/design-token-panel-bootstrap.js +98 -21
- package/dist/design-token-panel-config/index.js +1 -4
- 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 +39 -17
- package/dist/doc-body-end-islands/index.js +13 -21
- 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.js +1 -5
- 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 +42 -4
- package/dist/features.css +55 -43
- package/dist/footer/footer.js +1 -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/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 +11 -1
- 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 +19 -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 +2 -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 +27 -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/versions-page/index.d.ts +2 -2
- package/dist/versions-page/index.js +8 -8
- 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 +35 -29
- package/routes-src/404.tsx +4 -1
- package/routes-src/_chrome.tsx +6 -5
- package/routes-src/_context.ts +4 -0
- package/routes-src/_docs-helpers.ts +9 -29
- package/routes-src/_virtual.d.ts +4 -0
- package/virtual-modules.d.ts +4 -0
- package/zfb-config-shim.d.ts +40 -18
- 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,463 @@
|
|
|
1
|
+
/* ============================================================
|
|
2
|
+
Ledger — zudo-doc theme pack (ADR docs/adr/theme-packs.md)
|
|
3
|
+
|
|
4
|
+
Cream academic serif in the Tufte tradition. Light (hero):
|
|
5
|
+
#fffff8 paper, near-black ink, oxblood #8b1a1a links. Dark:
|
|
6
|
+
lamplight library — warm umber-black paper, aged-cream ink,
|
|
7
|
+
terracotta links. Same restraint, same hairlines, no inversion
|
|
8
|
+
tricks. Radius decision: SQUARE everywhere — this is a printed
|
|
9
|
+
page, not an app. Rules are hairlines (1px) or double rules
|
|
10
|
+
(ledger totals); color is reserved for links, marginal marks,
|
|
11
|
+
and a whisper of tinted paper. Self-hosted Crimson Pro
|
|
12
|
+
(variable 300-700, roman + italic) and IBM Plex Mono (400/500),
|
|
13
|
+
latin + latin-ext.
|
|
14
|
+
|
|
15
|
+
Every rule below is scoped under html[data-theme-pack="ledger"] —
|
|
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
|
+
|
|
22
|
+
@font-face {
|
|
23
|
+
font-family: "Crimson Pro";
|
|
24
|
+
font-style: normal;
|
|
25
|
+
font-weight: 300 700;
|
|
26
|
+
font-display: swap;
|
|
27
|
+
src: url("./fonts/CrimsonPro-latin.woff2") format("woff2");
|
|
28
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
29
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
|
|
30
|
+
U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@font-face {
|
|
34
|
+
font-family: "Crimson Pro";
|
|
35
|
+
font-style: normal;
|
|
36
|
+
font-weight: 300 700;
|
|
37
|
+
font-display: swap;
|
|
38
|
+
src: url("./fonts/CrimsonPro-latin-ext.woff2") format("woff2");
|
|
39
|
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
|
|
40
|
+
U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
|
|
41
|
+
U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
|
|
42
|
+
U+A720-A7FF;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@font-face {
|
|
46
|
+
font-family: "Crimson Pro";
|
|
47
|
+
font-style: italic;
|
|
48
|
+
font-weight: 300 700;
|
|
49
|
+
font-display: swap;
|
|
50
|
+
src: url("./fonts/CrimsonPro-latin-italic.woff2") format("woff2");
|
|
51
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
52
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
|
|
53
|
+
U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
@font-face {
|
|
57
|
+
font-family: "Crimson Pro";
|
|
58
|
+
font-style: italic;
|
|
59
|
+
font-weight: 300 700;
|
|
60
|
+
font-display: swap;
|
|
61
|
+
src: url("./fonts/CrimsonPro-latin-ext-italic.woff2") format("woff2");
|
|
62
|
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
|
|
63
|
+
U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
|
|
64
|
+
U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
|
|
65
|
+
U+A720-A7FF;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
@font-face {
|
|
69
|
+
font-family: "IBM Plex Mono";
|
|
70
|
+
font-style: normal;
|
|
71
|
+
font-weight: 400;
|
|
72
|
+
font-display: swap;
|
|
73
|
+
src: url("./fonts/IBMPlexMono-400-latin.woff2") format("woff2");
|
|
74
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
75
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
|
|
76
|
+
U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@font-face {
|
|
80
|
+
font-family: "IBM Plex Mono";
|
|
81
|
+
font-style: normal;
|
|
82
|
+
font-weight: 400;
|
|
83
|
+
font-display: swap;
|
|
84
|
+
src: url("./fonts/IBMPlexMono-400-latin-ext.woff2") format("woff2");
|
|
85
|
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
|
|
86
|
+
U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
|
|
87
|
+
U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
|
|
88
|
+
U+A720-A7FF;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@font-face {
|
|
92
|
+
font-family: "IBM Plex Mono";
|
|
93
|
+
font-style: normal;
|
|
94
|
+
font-weight: 500;
|
|
95
|
+
font-display: swap;
|
|
96
|
+
src: url("./fonts/IBMPlexMono-500-latin.woff2") format("woff2");
|
|
97
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
98
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
|
|
99
|
+
U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
@font-face {
|
|
103
|
+
font-family: "IBM Plex Mono";
|
|
104
|
+
font-style: normal;
|
|
105
|
+
font-weight: 500;
|
|
106
|
+
font-display: swap;
|
|
107
|
+
src: url("./fonts/IBMPlexMono-500-latin-ext.woff2") format("woff2");
|
|
108
|
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
|
|
109
|
+
U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
|
|
110
|
+
U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
|
|
111
|
+
U+A720-A7FF;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
html[data-theme-pack="ledger"] {
|
|
115
|
+
/* Tier-2 semantic roles — cream paper / ink / oxblood, both modes always
|
|
116
|
+
via light-dark(). */
|
|
117
|
+
--zd-bg: light-dark(#fffff8, #191510);
|
|
118
|
+
--zd-fg: light-dark(#16130e, #e9e2d0);
|
|
119
|
+
--zd-selection-bg: light-dark(#f0dcd2, #59281e);
|
|
120
|
+
--zd-selection-fg: light-dark(#3a1410, #f5ead9);
|
|
121
|
+
--zd-surface: light-dark(#fffff8, #191510);
|
|
122
|
+
--zd-muted: light-dark(#6d6357, #a89c8a);
|
|
123
|
+
--zd-accent: light-dark(#8b1a1a, #d68a75);
|
|
124
|
+
--zd-accent-hover: light-dark(#5e0f0f, #e8a892);
|
|
125
|
+
--zd-code-bg: light-dark(#f7f5e8, #221c14);
|
|
126
|
+
--zd-code-fg: light-dark(#232019, #ddd6c2);
|
|
127
|
+
--zd-success: light-dark(#42611f, #a8b47c);
|
|
128
|
+
--zd-danger: light-dark(#8b1a1a, #e2907c);
|
|
129
|
+
--zd-warning: light-dark(#7d5215, #d4a662);
|
|
130
|
+
--zd-info: light-dark(#33586e, #93b4cd);
|
|
131
|
+
|
|
132
|
+
/* syntax — all 9 roles restyled, both modes: ink first, restrained
|
|
133
|
+
scholarly color second. inserted/deleted reuse the success/danger hues. */
|
|
134
|
+
--zd-syntax-comment: light-dark(#766b5c, #948a77);
|
|
135
|
+
--zd-syntax-string: light-dark(#4e6328, #a8b47c);
|
|
136
|
+
--zd-syntax-number: light-dark(#7d5215, #d4a662);
|
|
137
|
+
--zd-syntax-keyword: light-dark(#8b1a1a, #e2907c);
|
|
138
|
+
--zd-syntax-callable: light-dark(#33586e, #93b4cd);
|
|
139
|
+
--zd-syntax-type: light-dark(#6b4f24, #c9a97e);
|
|
140
|
+
--zd-syntax-name: light-dark(#232019, #e5ddc9);
|
|
141
|
+
--zd-syntax-inserted: light-dark(#42611f, #a8b47c);
|
|
142
|
+
--zd-syntax-deleted: light-dark(#8b1a1a, #e2907c);
|
|
143
|
+
|
|
144
|
+
/* fonts — self-hosted Crimson Pro (roman + italic) everywhere, IBM Plex
|
|
145
|
+
Mono for code. Loaded face first, generic last (Decision 5). */
|
|
146
|
+
--font-sans: "Crimson Pro", "Iowan Old Style", "Palatino Linotype", Georgia,
|
|
147
|
+
serif;
|
|
148
|
+
--font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
149
|
+
|
|
150
|
+
/* Tier-3 component seams — roman titles at book weight; square shapes
|
|
151
|
+
(printed matter has no border-radius); a book-page content band. */
|
|
152
|
+
--zdc-doc-title-font: var(--font-sans);
|
|
153
|
+
--zdc-doc-title-weight: 500;
|
|
154
|
+
--zdc-doc-title-tracking: -0.015em;
|
|
155
|
+
--zdc-doc-h2-font: var(--font-sans);
|
|
156
|
+
--zdc-doc-h2-weight: 500;
|
|
157
|
+
--zdc-doc-h2-tracking: 0;
|
|
158
|
+
--zdc-doc-h3-weight: 500;
|
|
159
|
+
--zdc-doc-prose-font: var(--font-sans);
|
|
160
|
+
--zdc-doc-link-decoration: underline;
|
|
161
|
+
--zdc-admonition-radius: 0;
|
|
162
|
+
--zdc-admonition-border-width: 1px;
|
|
163
|
+
--zdc-card-radius: 0;
|
|
164
|
+
/* Band cap = 44rem text measure + TOC rail + gap + main padding, so the
|
|
165
|
+
book measure below keeps the TOC within reading distance. */
|
|
166
|
+
--zdc-content-max-width: 70rem;
|
|
167
|
+
/* transparent in both modes — clears the default solid active block; the
|
|
168
|
+
oxblood italic active treatment is the scoped rules below. */
|
|
169
|
+
--zdc-nav-active-indicator-color: transparent;
|
|
170
|
+
--zdc-nav-active-weight: 500;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/* ---- Ledger extras: hairlines, double rules, printer's marks ---- */
|
|
174
|
+
|
|
175
|
+
/* Crimson Pro runs small — set the reading size up on the prose container
|
|
176
|
+
itself (content.css pins `.zd-content { font-size: var(--text-body) }`,
|
|
177
|
+
so a body-level size never reaches paragraphs). Token-sized chrome and
|
|
178
|
+
explicitly-sized elements below are unaffected. */
|
|
179
|
+
html[data-theme-pack="ledger"] .zd-content {
|
|
180
|
+
font-size: 1.16rem;
|
|
181
|
+
font-variant-numeric: oldstyle-nums;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/* the book measure: cap the text column, breadcrumb, and pager like a
|
|
185
|
+
printed page (left-set, Tufte-style wide right margin). Wide pages
|
|
186
|
+
(`data-zd-wide` — e.g. the site home) keep their full-band layout. */
|
|
187
|
+
html[data-theme-pack="ledger"] .zd-doc-content-band:not([data-zd-wide]) .zd-content {
|
|
188
|
+
max-width: 44rem;
|
|
189
|
+
}
|
|
190
|
+
html[data-theme-pack="ledger"] .zd-doc-content-band:not([data-zd-wide]) main nav[aria-label="Breadcrumb"],
|
|
191
|
+
html[data-theme-pack="ledger"] .zd-doc-content-band:not([data-zd-wide]) .zd-content > nav[data-doc-pager] {
|
|
192
|
+
max-width: 44rem;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/* lining figures where columns must align */
|
|
196
|
+
html[data-theme-pack="ledger"] .zd-content table,
|
|
197
|
+
html[data-theme-pack="ledger"] .zd-content pre {
|
|
198
|
+
font-variant-numeric: lining-nums;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
/* ---- header: a running head, not an app bar ---- */
|
|
202
|
+
html[data-theme-pack="ledger"] header[data-header] {
|
|
203
|
+
border-bottom-color: color-mix(in srgb, var(--zd-fg) 30%, transparent);
|
|
204
|
+
}
|
|
205
|
+
html[data-theme-pack="ledger"] [data-header-logo] {
|
|
206
|
+
font-weight: 500;
|
|
207
|
+
font-style: italic;
|
|
208
|
+
font-size: 1.4rem;
|
|
209
|
+
letter-spacing: 0.01em;
|
|
210
|
+
}
|
|
211
|
+
html[data-theme-pack="ledger"] [data-nav-item] {
|
|
212
|
+
font-size: 1rem;
|
|
213
|
+
font-weight: 500;
|
|
214
|
+
font-variant-caps: all-small-caps;
|
|
215
|
+
letter-spacing: 0.09em;
|
|
216
|
+
}
|
|
217
|
+
html[data-theme-pack="ledger"] [data-nav-item]:hover {
|
|
218
|
+
color: var(--zd-accent);
|
|
219
|
+
text-decoration: none;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/* ---- sidebar: a contents page — hairline spine, oxblood italic active
|
|
223
|
+
entries instead of solid blocks. `aside` covers both the desktop
|
|
224
|
+
rail and the mobile drawer (the only asides in the chrome). ---- */
|
|
225
|
+
html[data-theme-pack="ledger"] #desktop-sidebar {
|
|
226
|
+
border-right-color: color-mix(in srgb, var(--zd-fg) 22%, transparent);
|
|
227
|
+
}
|
|
228
|
+
html[data-theme-pack="ledger"] #desktop-sidebar a:hover {
|
|
229
|
+
color: var(--zd-accent);
|
|
230
|
+
text-decoration: none;
|
|
231
|
+
}
|
|
232
|
+
html[data-theme-pack="ledger"] aside a[aria-current="page"],
|
|
233
|
+
html[data-theme-pack="ledger"] aside div:has(> a[aria-current="page"]) {
|
|
234
|
+
background-color: transparent;
|
|
235
|
+
color: var(--zd-accent);
|
|
236
|
+
font-style: italic;
|
|
237
|
+
font-weight: 500;
|
|
238
|
+
}
|
|
239
|
+
html[data-theme-pack="ledger"] aside a[aria-current="page"] {
|
|
240
|
+
box-shadow: inset 2px 0 0 0 var(--zd-accent);
|
|
241
|
+
}
|
|
242
|
+
/* the default active row paints its icons/borders in bg-on-fg colors; with
|
|
243
|
+
the block cleared those would vanish — re-ink them. */
|
|
244
|
+
html[data-theme-pack="ledger"] aside a[aria-current="page"] svg {
|
|
245
|
+
color: currentcolor;
|
|
246
|
+
}
|
|
247
|
+
html[data-theme-pack="ledger"] aside div:has(> a[aria-current="page"]) > button {
|
|
248
|
+
border-color: color-mix(in srgb, var(--zd-fg) 22%, transparent);
|
|
249
|
+
}
|
|
250
|
+
html[data-theme-pack="ledger"] aside div:has(> a[aria-current="page"]) > button svg {
|
|
251
|
+
color: var(--zd-muted);
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/* ---- breadcrumb: quiet, current page in italic ---- */
|
|
255
|
+
html[data-theme-pack="ledger"] main nav[aria-label="Breadcrumb"] ol span {
|
|
256
|
+
font-style: italic;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
/* ---- headings: roman title over a double ledger rule; italic subheads.
|
|
260
|
+
The h2 !important is Decision 6.6's sole allowlisted carve-out
|
|
261
|
+
(defeats the SSR-inlined gradient border-image). ---- */
|
|
262
|
+
html[data-theme-pack="ledger"] .zd-content h1 {
|
|
263
|
+
border-bottom: 3px double color-mix(in srgb, var(--zd-fg) 65%, transparent);
|
|
264
|
+
padding-bottom: 0.45rem;
|
|
265
|
+
margin-bottom: 0.9rem;
|
|
266
|
+
}
|
|
267
|
+
html[data-theme-pack="ledger"] .zd-content h2 {
|
|
268
|
+
border-image: none !important;
|
|
269
|
+
border-top-width: 1px;
|
|
270
|
+
border-top-color: color-mix(in srgb, var(--zd-fg) 30%, transparent);
|
|
271
|
+
font-style: italic;
|
|
272
|
+
font-size: 1.6rem;
|
|
273
|
+
}
|
|
274
|
+
html[data-theme-pack="ledger"] .zd-content h3 {
|
|
275
|
+
font-style: italic;
|
|
276
|
+
font-size: 1.3rem;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
/* ---- links: Tufte underline — thin, offset, ink-shy until hover ---- */
|
|
280
|
+
html[data-theme-pack="ledger"] .zd-content a {
|
|
281
|
+
text-underline-offset: 0.18em;
|
|
282
|
+
text-decoration-thickness: 1px;
|
|
283
|
+
text-decoration-color: color-mix(in srgb, var(--zd-accent) 55%, transparent);
|
|
284
|
+
}
|
|
285
|
+
html[data-theme-pack="ledger"] .zd-content a:hover {
|
|
286
|
+
text-decoration-color: currentcolor;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
/* ---- inline code: no pill, just a whisper of tinted paper ---- */
|
|
290
|
+
html[data-theme-pack="ledger"] .zd-content code:not(pre code) {
|
|
291
|
+
font-size: 0.8em;
|
|
292
|
+
border: 1px solid color-mix(in srgb, var(--zd-fg) 16%, transparent);
|
|
293
|
+
border-radius: 0;
|
|
294
|
+
padding: 1px 0.35rem;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
/* ---- code blocks: understated — hairline box, airy leading ---- */
|
|
298
|
+
html[data-theme-pack="ledger"] pre.hi-root {
|
|
299
|
+
font-size: 0.82rem;
|
|
300
|
+
line-height: 1.75;
|
|
301
|
+
border: 1px solid color-mix(in srgb, var(--zd-fg) 22%, transparent);
|
|
302
|
+
border-radius: 0;
|
|
303
|
+
padding: 1.1rem 1.25rem;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
/* ---- blockquote: a sidenote pulled into the column ---- */
|
|
307
|
+
html[data-theme-pack="ledger"] .zd-content blockquote {
|
|
308
|
+
border-left: 1px solid var(--zd-accent);
|
|
309
|
+
font-style: italic;
|
|
310
|
+
font-size: 1.05em;
|
|
311
|
+
color: color-mix(in srgb, var(--zd-fg) 78%, var(--zd-muted));
|
|
312
|
+
padding: 0.35rem 0 0.35rem 1.2rem;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
/* ---- hr: a short centered rule, like a section break in a monograph ---- */
|
|
316
|
+
html[data-theme-pack="ledger"] .zd-content hr {
|
|
317
|
+
max-width: 11rem;
|
|
318
|
+
margin: 2.6rem auto;
|
|
319
|
+
border-top: 1px solid color-mix(in srgb, var(--zd-fg) 40%, transparent);
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
/* ---- admonitions: marginal notes in a full hairline box, quieter paper
|
|
323
|
+
tints, printer's marks instead of emoji ---- */
|
|
324
|
+
html[data-theme-pack="ledger"] [data-admonition] {
|
|
325
|
+
border-top: 1px solid color-mix(in srgb, var(--zd-fg) 20%, transparent);
|
|
326
|
+
border-right: 1px solid color-mix(in srgb, var(--zd-fg) 20%, transparent);
|
|
327
|
+
border-bottom: 1px solid color-mix(in srgb, var(--zd-fg) 20%, transparent);
|
|
328
|
+
padding: 0.95rem 1.1rem 0.8rem;
|
|
329
|
+
}
|
|
330
|
+
html[data-theme-pack="ledger"] [data-admonition] .admonition-title {
|
|
331
|
+
font-variant-caps: all-small-caps;
|
|
332
|
+
font-weight: 500;
|
|
333
|
+
font-size: 1.08em;
|
|
334
|
+
letter-spacing: 0.12em;
|
|
335
|
+
margin-bottom: 0.25rem;
|
|
336
|
+
}
|
|
337
|
+
html[data-theme-pack="ledger"] [data-admonition="note"] {
|
|
338
|
+
background-color: color-mix(in srgb, var(--zd-accent) 7%, var(--zd-bg));
|
|
339
|
+
}
|
|
340
|
+
html[data-theme-pack="ledger"] [data-admonition="tip"] {
|
|
341
|
+
background-color: color-mix(in srgb, var(--zd-success) 7%, var(--zd-bg));
|
|
342
|
+
}
|
|
343
|
+
html[data-theme-pack="ledger"] [data-admonition="info"] {
|
|
344
|
+
background-color: color-mix(in srgb, var(--zd-info) 7%, var(--zd-bg));
|
|
345
|
+
}
|
|
346
|
+
html[data-theme-pack="ledger"] [data-admonition="warning"] {
|
|
347
|
+
background-color: color-mix(in srgb, var(--zd-warning) 8%, var(--zd-bg));
|
|
348
|
+
}
|
|
349
|
+
html[data-theme-pack="ledger"] [data-admonition="danger"] {
|
|
350
|
+
background-color: color-mix(in srgb, var(--zd-danger) 7%, var(--zd-bg));
|
|
351
|
+
}
|
|
352
|
+
html[data-theme-pack="ledger"] [data-admonition="important"] {
|
|
353
|
+
background-color: color-mix(in srgb, var(--zd-accent) 7%, var(--zd-bg));
|
|
354
|
+
}
|
|
355
|
+
html[data-theme-pack="ledger"] [data-admonition="caution"] {
|
|
356
|
+
background-color: color-mix(in srgb, var(--zd-danger) 8%, var(--zd-bg));
|
|
357
|
+
}
|
|
358
|
+
html[data-theme-pack="ledger"] [data-admonition="note"] .admonition-title::before {
|
|
359
|
+
content: "§";
|
|
360
|
+
}
|
|
361
|
+
html[data-theme-pack="ledger"] [data-admonition="tip"] .admonition-title::before {
|
|
362
|
+
content: "❧";
|
|
363
|
+
}
|
|
364
|
+
html[data-theme-pack="ledger"] [data-admonition="info"] .admonition-title::before {
|
|
365
|
+
content: "¶";
|
|
366
|
+
}
|
|
367
|
+
html[data-theme-pack="ledger"] [data-admonition="warning"] .admonition-title::before {
|
|
368
|
+
content: "†";
|
|
369
|
+
}
|
|
370
|
+
html[data-theme-pack="ledger"] [data-admonition="danger"] .admonition-title::before {
|
|
371
|
+
content: "‡";
|
|
372
|
+
}
|
|
373
|
+
html[data-theme-pack="ledger"] [data-admonition="important"] .admonition-title::before {
|
|
374
|
+
content: "☞";
|
|
375
|
+
}
|
|
376
|
+
html[data-theme-pack="ledger"] [data-admonition="caution"] .admonition-title::before {
|
|
377
|
+
content: "⁂";
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
/* ---- table: booktabs — heavy open rule, hairline body, no verticals ---- */
|
|
381
|
+
html[data-theme-pack="ledger"] .zd-content table {
|
|
382
|
+
border-top: 2px solid color-mix(in srgb, var(--zd-fg) 70%, transparent);
|
|
383
|
+
font-size: 1rem;
|
|
384
|
+
}
|
|
385
|
+
html[data-theme-pack="ledger"] .zd-content th {
|
|
386
|
+
font-variant-caps: all-small-caps;
|
|
387
|
+
font-weight: 500;
|
|
388
|
+
font-size: 1.05em;
|
|
389
|
+
letter-spacing: 0.07em;
|
|
390
|
+
border-bottom: 1px solid color-mix(in srgb, var(--zd-fg) 70%, transparent);
|
|
391
|
+
}
|
|
392
|
+
html[data-theme-pack="ledger"] .zd-content td {
|
|
393
|
+
border-bottom-color: color-mix(in srgb, var(--zd-fg) 18%, transparent);
|
|
394
|
+
}
|
|
395
|
+
html[data-theme-pack="ledger"] .zd-content tbody tr:last-child td {
|
|
396
|
+
border-bottom: 1px solid color-mix(in srgb, var(--zd-fg) 55%, transparent);
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
/* ---- pager: square hairline cards, small-caps labels, italic titles.
|
|
400
|
+
DocPager carries the stable data-doc-pager hook. ---- */
|
|
401
|
+
html[data-theme-pack="ledger"] .zd-content > nav[data-doc-pager] > a {
|
|
402
|
+
border-color: color-mix(in srgb, var(--zd-fg) 25%, transparent);
|
|
403
|
+
border-radius: 0;
|
|
404
|
+
background: transparent;
|
|
405
|
+
}
|
|
406
|
+
html[data-theme-pack="ledger"] .zd-content > nav[data-doc-pager] > a:hover {
|
|
407
|
+
background: color-mix(in srgb, var(--zd-accent) 5%, transparent);
|
|
408
|
+
}
|
|
409
|
+
html[data-theme-pack="ledger"] .zd-content > nav[data-doc-pager] > a div {
|
|
410
|
+
font-variant-caps: all-small-caps;
|
|
411
|
+
letter-spacing: 0.12em;
|
|
412
|
+
}
|
|
413
|
+
html[data-theme-pack="ledger"] .zd-content > nav[data-doc-pager] > a p {
|
|
414
|
+
font-style: italic;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
/* ---- TOC: hairline spine, oxblood italic for the current entry ---- */
|
|
418
|
+
html[data-theme-pack="ledger"] nav[data-zd-toc] {
|
|
419
|
+
font-size: 0.95rem;
|
|
420
|
+
}
|
|
421
|
+
html[data-theme-pack="ledger"] nav[data-zd-toc] ul {
|
|
422
|
+
border-left-color: color-mix(in srgb, var(--zd-fg) 25%, transparent);
|
|
423
|
+
}
|
|
424
|
+
html[data-theme-pack="ledger"] nav[data-zd-toc] a:hover {
|
|
425
|
+
color: var(--zd-accent);
|
|
426
|
+
text-decoration: none;
|
|
427
|
+
}
|
|
428
|
+
html[data-theme-pack="ledger"] nav[data-zd-toc] a[aria-current="true"] {
|
|
429
|
+
background: transparent;
|
|
430
|
+
color: var(--zd-accent);
|
|
431
|
+
font-style: italic;
|
|
432
|
+
font-weight: 500;
|
|
433
|
+
/* pull the entry back over the list's hairline so the accent spine sits
|
|
434
|
+
on it (compensates the ul's pl-hsp-lg padding + 1px border). */
|
|
435
|
+
margin-left: calc(-1 * var(--spacing-hsp-lg) - 1px);
|
|
436
|
+
padding-left: var(--spacing-hsp-lg);
|
|
437
|
+
box-shadow: inset 2px 0 0 0 var(--zd-accent);
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
/* ---- footer: the closing double rule of the ledger ---- */
|
|
441
|
+
html[data-theme-pack="ledger"] footer[data-footer] {
|
|
442
|
+
border-top: 3px double color-mix(in srgb, var(--zd-fg) 45%, transparent);
|
|
443
|
+
}
|
|
444
|
+
/* italicize the copyright line only when it coexists with link/tag columns
|
|
445
|
+
(`:not(:first-child)` keeps a columns-only footer's grid — which is then
|
|
446
|
+
the sole child — out of this positional rule). */
|
|
447
|
+
html[data-theme-pack="ledger"] footer[data-footer] > div > div:last-child:not(:first-child) {
|
|
448
|
+
font-style: italic;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
/* ---- theme-pack flyout: a catalogue card — oxblood double rule at its
|
|
452
|
+
head, square corners, roman italic title ---- */
|
|
453
|
+
html[data-theme-pack="ledger"] div[data-switcher-card] {
|
|
454
|
+
border: 1px solid color-mix(in srgb, var(--zd-fg) 30%, transparent);
|
|
455
|
+
border-top: 4px double var(--zd-accent);
|
|
456
|
+
border-radius: 0;
|
|
457
|
+
box-shadow: 0 16px 40px -18px light-dark(rgb(60 30 10 / 0.4), rgb(0 0 0 / 0.7));
|
|
458
|
+
}
|
|
459
|
+
html[data-theme-pack="ledger"] div[data-switcher-card] p[aria-live="polite"] {
|
|
460
|
+
font-style: italic;
|
|
461
|
+
font-weight: 500;
|
|
462
|
+
font-size: 1.2rem;
|
|
463
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
Copyright 2017 The EB Garamond Project Authors (https://github.com/octaviopardo/EBGaramond12)
|
|
2
|
+
Copyright 2015 The Courier Prime Project Authors (https://github.com/quoteunquoteapps/CourierPrime)
|
|
3
|
+
|
|
4
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
5
|
+
This license is copied below, and is also available with a FAQ at:
|
|
6
|
+
https://scripts.sil.org/OFL
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
-----------------------------------------------------------
|
|
10
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
11
|
+
-----------------------------------------------------------
|
|
12
|
+
|
|
13
|
+
PREAMBLE
|
|
14
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
15
|
+
development of collaborative font projects, to support the font creation
|
|
16
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
17
|
+
open framework in which fonts may be shared and improved in partnership
|
|
18
|
+
with others.
|
|
19
|
+
|
|
20
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
21
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
22
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
23
|
+
redistributed and/or sold with any software provided that any reserved
|
|
24
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
25
|
+
however, cannot be released under any other type of license. The
|
|
26
|
+
requirement for fonts to remain under this license does not apply
|
|
27
|
+
to any document created using the fonts or their derivatives.
|
|
28
|
+
|
|
29
|
+
DEFINITIONS
|
|
30
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
31
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
32
|
+
include source files, build scripts and documentation.
|
|
33
|
+
|
|
34
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
35
|
+
copyright statement(s).
|
|
36
|
+
|
|
37
|
+
"Original Version" refers to the collection of Font Software components as
|
|
38
|
+
distributed by the Copyright Holder(s).
|
|
39
|
+
|
|
40
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
41
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
42
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
43
|
+
new environment.
|
|
44
|
+
|
|
45
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
46
|
+
writer or other person who contributed to the Font Software.
|
|
47
|
+
|
|
48
|
+
PERMISSION & CONDITIONS
|
|
49
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
50
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
51
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
52
|
+
Software, subject to the following conditions:
|
|
53
|
+
|
|
54
|
+
1) Neither the Font Software nor any of its individual components,
|
|
55
|
+
in Original or Modified Versions, may be sold by itself.
|
|
56
|
+
|
|
57
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
58
|
+
redistributed and/or sold with any software, provided that each copy
|
|
59
|
+
contains the above copyright notice and this license. These can be
|
|
60
|
+
included either as stand-alone text files, human-readable headers or
|
|
61
|
+
in the appropriate machine-readable metadata fields within text or
|
|
62
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
63
|
+
|
|
64
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
65
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
66
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
67
|
+
presented to the users.
|
|
68
|
+
|
|
69
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
70
|
+
Software shall not be used to promote, endorse or advertise any
|
|
71
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
72
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
73
|
+
permission.
|
|
74
|
+
|
|
75
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
76
|
+
must be distributed entirely under this license, and must not be
|
|
77
|
+
distributed under any other license. The requirement for fonts to
|
|
78
|
+
remain under this license does not apply to any document created
|
|
79
|
+
using the Font Software.
|
|
80
|
+
|
|
81
|
+
TERMINATION
|
|
82
|
+
This license becomes null and void if any of the above conditions are
|
|
83
|
+
not met.
|
|
84
|
+
|
|
85
|
+
DISCLAIMER
|
|
86
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
87
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
88
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
89
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
90
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
91
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
92
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
93
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
94
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"slug": "manuscript",
|
|
4
|
+
"name": "Manuscript",
|
|
5
|
+
"description": "A quiet Garamond book page — warm paper, soft ink, sepia rubrication, small-caps subheads, fleuron section marks.",
|
|
6
|
+
"mode": "light",
|
|
7
|
+
"version": "1.0.1",
|
|
8
|
+
"fonts": {
|
|
9
|
+
"sans": "EB Garamond",
|
|
10
|
+
"mono": "Courier Prime",
|
|
11
|
+
"loaded": ["EB Garamond", "Courier Prime"]
|
|
12
|
+
},
|
|
13
|
+
"preview": {
|
|
14
|
+
"light": {
|
|
15
|
+
"bg": "oklch(0.963 0.013 85)",
|
|
16
|
+
"fg": "oklch(0.245 0.018 60)",
|
|
17
|
+
"accent": "oklch(0.44 0.095 55)",
|
|
18
|
+
"syntax": {
|
|
19
|
+
"keyword": "oklch(0.455 0.13 30)",
|
|
20
|
+
"string": "oklch(0.44 0.085 150)",
|
|
21
|
+
"comment": "oklch(0.5 0.03 70)",
|
|
22
|
+
"callable": "oklch(0.435 0.09 275)"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"dark": {
|
|
26
|
+
"bg": "oklch(0.215 0.015 65)",
|
|
27
|
+
"fg": "oklch(0.885 0.022 80)",
|
|
28
|
+
"accent": "oklch(0.735 0.095 70)",
|
|
29
|
+
"syntax": {
|
|
30
|
+
"keyword": "oklch(0.72 0.115 35)",
|
|
31
|
+
"string": "oklch(0.745 0.085 150)",
|
|
32
|
+
"comment": "oklch(0.645 0.03 75)",
|
|
33
|
+
"callable": "oklch(0.745 0.07 275)"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|