@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,428 @@
|
|
|
1
|
+
/* ============================================================
|
|
2
|
+
Hollow — zudo-doc theme pack (ADR docs/adr/theme-packs.md;
|
|
3
|
+
epic Theme Batch 3, sub-issue #2842)
|
|
4
|
+
|
|
5
|
+
Dark violet space: a CSS-only starfield (two tiled star layers
|
|
6
|
+
+ violet/pink nebula washes, fixed attachment) behind a
|
|
7
|
+
transparent floating sidebar, razor-square midnight chrome, and
|
|
8
|
+
strict neon discipline — pink belongs to headings and active
|
|
9
|
+
markers only (with a dark-mode-only h1 glow), violet to links,
|
|
10
|
+
everything else stays calm midnight indigo. Space Grotesk
|
|
11
|
+
carries all prose and headings; Space Mono the code.
|
|
12
|
+
|
|
13
|
+
Every rule below is scoped under html[data-theme-pack="hollow"]
|
|
14
|
+
— this is what makes the runtime pack swap atomic (Decision 3)
|
|
15
|
+
and lets the validator prove a pack can never leak styles while
|
|
16
|
+
inactive (Decision 6.7). The @font-face blocks are the sole
|
|
17
|
+
exception (at-rules can't be selector-scoped).
|
|
18
|
+
|
|
19
|
+
The prototype's --hollow-* helper properties are not part of
|
|
20
|
+
the closed token manifest, so their light-dark() values are
|
|
21
|
+
inlined at each use site:
|
|
22
|
+
pink light-dark(oklch(0.52 0.2 350), oklch(0.78 0.17 348))
|
|
23
|
+
violet = var(--zd-accent)
|
|
24
|
+
star light-dark(oklch(0.5 0.07 300 / 0.16), oklch(0.9 0.06 300 / 0.3))
|
|
25
|
+
star-dim light-dark(oklch(0.5 0.07 320 / 0.09), oklch(0.85 0.08 320 / 0.16))
|
|
26
|
+
nebula light-dark(oklch(0.7 0.1 300 / 0.1), oklch(0.42 0.15 300 / 0.22))
|
|
27
|
+
nebula-pink light-dark(oklch(0.75 0.12 345 / 0.06), oklch(0.48 0.16 345 / 0.13))
|
|
28
|
+
|
|
29
|
+
Prototype-selector adaptations against the REAL DOM (tokens-dump
|
|
30
|
+
§6 + component sources):
|
|
31
|
+
- `html[data-theme="dark"] .zd-content h1` (glow) → packs may
|
|
32
|
+
never select on [data-theme] (Decision 6.2); the dark-only
|
|
33
|
+
glow is expressed as a light-dark() shadow color whose light
|
|
34
|
+
value is transparent.
|
|
35
|
+
- `--radius` / `--radius-lg` are not manifest tokens — the
|
|
36
|
+
razor-square shape is carried by --zdc-admonition-radius /
|
|
37
|
+
--zdc-card-radius plus explicit border-radius: 0 on the
|
|
38
|
+
remaining rounded surfaces.
|
|
39
|
+
- `.doc-pager` → `.zd-content > nav[data-doc-pager]` (stable hook on
|
|
40
|
+
the DocPager nav, kept anchored under the structural
|
|
41
|
+
`.zd-content >` chain — the `> a` child combinator keeps
|
|
42
|
+
NavCardGrid card links out).
|
|
43
|
+
- `.toc-active` → `nav[data-zd-toc] a[aria-current="true"]`
|
|
44
|
+
(toc/toc.tsx marks the active entry with aria-current).
|
|
45
|
+
- `footer[data-footer]` → `footer[data-footer]` (stable hook on the
|
|
46
|
+
sole <footer> inside .zd-sidebar-content-wrapper).
|
|
47
|
+
- `.sb-group a[data-nav-active]` → `a[data-nav-active]` (the
|
|
48
|
+
real active link already paints --zdc-nav-active-indicator-color
|
|
49
|
+
as its fill with bg-token text — only the token + weight land).
|
|
50
|
+
- the flyout/launcher mock classes → the switcher's stable
|
|
51
|
+
[data-switcher-card] / [data-switcher-launcher] hooks.
|
|
52
|
+
- `.zd-content .lead` — prototype-mock class with no stable
|
|
53
|
+
hook; NOT ported.
|
|
54
|
+
============================================================ */
|
|
55
|
+
|
|
56
|
+
/* ---- Space Grotesk — geometric grotesque for prose AND display
|
|
57
|
+
(the pack's single voice). Variable 300–700, latin subset
|
|
58
|
+
only (a stray latin-ext glyph falls back to the system
|
|
59
|
+
stack). No italic exists — emphasis stays upright-adjacent
|
|
60
|
+
via synthesis, which suits the geometric brief. ---- */
|
|
61
|
+
|
|
62
|
+
@font-face {
|
|
63
|
+
font-family: "Space Grotesk";
|
|
64
|
+
font-style: normal;
|
|
65
|
+
font-weight: 300 700;
|
|
66
|
+
font-display: swap;
|
|
67
|
+
src: url("./fonts/SpaceGrotesk-latin.woff2") format("woff2");
|
|
68
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
69
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
|
|
70
|
+
U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/* ---- Space Mono — retro-futurist mono for the midnight code
|
|
74
|
+
panels. Static 400 + 700 (real bold for emphasized tokens)
|
|
75
|
+
+ true italic 400 (comments read italic in this pack). ---- */
|
|
76
|
+
|
|
77
|
+
@font-face {
|
|
78
|
+
font-family: "Space Mono";
|
|
79
|
+
font-style: normal;
|
|
80
|
+
font-weight: 400;
|
|
81
|
+
font-display: swap;
|
|
82
|
+
src: url("./fonts/SpaceMono-400-latin.woff2") format("woff2");
|
|
83
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
84
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
|
|
85
|
+
U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
@font-face {
|
|
89
|
+
font-family: "Space Mono";
|
|
90
|
+
font-style: normal;
|
|
91
|
+
font-weight: 700;
|
|
92
|
+
font-display: swap;
|
|
93
|
+
src: url("./fonts/SpaceMono-700-latin.woff2") format("woff2");
|
|
94
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
95
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
|
|
96
|
+
U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
@font-face {
|
|
100
|
+
font-family: "Space Mono";
|
|
101
|
+
font-style: italic;
|
|
102
|
+
font-weight: 400;
|
|
103
|
+
font-display: swap;
|
|
104
|
+
src: url("./fonts/SpaceMono-400-italic-latin.woff2") format("woff2");
|
|
105
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
106
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
|
|
107
|
+
U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
html[data-theme-pack="hollow"] {
|
|
111
|
+
/* Tier-2 semantic roles — pale violet-tinted paper by day, deep
|
|
112
|
+
violet space after dark. Both modes always via light-dark(). */
|
|
113
|
+
--zd-bg: light-dark(oklch(0.962 0.012 300), oklch(0.155 0.035 295));
|
|
114
|
+
--zd-fg: light-dark(oklch(0.24 0.045 295), oklch(0.93 0.015 295));
|
|
115
|
+
--zd-selection-bg: light-dark(oklch(0.86 0.09 348), oklch(0.4 0.14 348));
|
|
116
|
+
--zd-selection-fg: light-dark(oklch(0.2 0.05 295), oklch(0.97 0.01 340));
|
|
117
|
+
--zd-surface: light-dark(oklch(0.976 0.008 300), oklch(0.132 0.032 293));
|
|
118
|
+
--zd-muted: light-dark(oklch(0.46 0.05 297), oklch(0.71 0.045 293));
|
|
119
|
+
--zd-accent: light-dark(oklch(0.45 0.17 300), oklch(0.74 0.14 300));
|
|
120
|
+
--zd-accent-hover: light-dark(oklch(0.38 0.19 315), oklch(0.83 0.11 305));
|
|
121
|
+
--zd-code-bg: light-dark(oklch(0.934 0.018 298), oklch(0.122 0.032 293));
|
|
122
|
+
--zd-code-fg: light-dark(oklch(0.26 0.045 295), oklch(0.9 0.02 293));
|
|
123
|
+
--zd-success: light-dark(oklch(0.44 0.11 170), oklch(0.78 0.12 172));
|
|
124
|
+
--zd-danger: light-dark(oklch(0.5 0.17 18), oklch(0.7 0.16 15));
|
|
125
|
+
--zd-warning: light-dark(oklch(0.5 0.11 75), oklch(0.8 0.12 80));
|
|
126
|
+
--zd-info: light-dark(oklch(0.46 0.13 258), oklch(0.75 0.1 250));
|
|
127
|
+
|
|
128
|
+
/* syntax — all 9 roles, both modes: neon-restrained midnight
|
|
129
|
+
code. Pink keywords, violet callables, aqua strings, amber
|
|
130
|
+
numbers — each neon rationed to one role. inserted/deleted
|
|
131
|
+
reuse the success/danger hues. */
|
|
132
|
+
--zd-syntax-comment: light-dark(oklch(0.51 0.035 292), oklch(0.62 0.045 292));
|
|
133
|
+
--zd-syntax-string: light-dark(oklch(0.45 0.1 195), oklch(0.83 0.1 190));
|
|
134
|
+
--zd-syntax-number: light-dark(oklch(0.5 0.11 80), oklch(0.84 0.11 85));
|
|
135
|
+
--zd-syntax-keyword: light-dark(oklch(0.53 0.2 348), oklch(0.76 0.17 347));
|
|
136
|
+
--zd-syntax-callable: light-dark(oklch(0.46 0.16 300), oklch(0.76 0.13 300));
|
|
137
|
+
--zd-syntax-type: light-dark(oklch(0.45 0.1 252), oklch(0.8 0.09 250));
|
|
138
|
+
--zd-syntax-name: light-dark(oklch(0.25 0.04 295), oklch(0.92 0.02 292));
|
|
139
|
+
--zd-syntax-inserted: light-dark(oklch(0.44 0.11 170), oklch(0.78 0.12 172));
|
|
140
|
+
--zd-syntax-deleted: light-dark(oklch(0.5 0.17 18), oklch(0.7 0.16 15));
|
|
141
|
+
|
|
142
|
+
/* fonts — one geometric voice: Space Grotesk everywhere prose
|
|
143
|
+
lives, Space Mono in the code panels. */
|
|
144
|
+
--font-sans: "Space Grotesk", system-ui, sans-serif;
|
|
145
|
+
--font-mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
146
|
+
|
|
147
|
+
/* Tier-3 component seams — tight-tracked Grotesk headings;
|
|
148
|
+
razor-square shape language (radius 0 everywhere); the sidebar
|
|
149
|
+
active pill is the one pink fill outside headings. */
|
|
150
|
+
--zdc-doc-title-font: var(--font-sans);
|
|
151
|
+
--zdc-doc-title-weight: 700;
|
|
152
|
+
--zdc-doc-title-tracking: -0.03em;
|
|
153
|
+
--zdc-doc-h2-font: var(--font-sans);
|
|
154
|
+
--zdc-doc-h2-weight: 600;
|
|
155
|
+
--zdc-doc-h2-tracking: -0.015em;
|
|
156
|
+
--zdc-doc-link-decoration: underline;
|
|
157
|
+
--zdc-admonition-radius: 0;
|
|
158
|
+
--zdc-card-radius: 0;
|
|
159
|
+
--zdc-nav-active-indicator-color: light-dark(oklch(0.52 0.2 350), oklch(0.78 0.17 348));
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/* ---- deep-space backdrop: nebula washes + two star layers,
|
|
163
|
+
fixed so the sky holds still while the page scrolls ---- */
|
|
164
|
+
html[data-theme-pack="hollow"] body {
|
|
165
|
+
background-image:
|
|
166
|
+
radial-gradient(
|
|
167
|
+
70rem 44rem at 108% -10%,
|
|
168
|
+
light-dark(oklch(0.7 0.1 300 / 0.1), oklch(0.42 0.15 300 / 0.22)),
|
|
169
|
+
transparent 68%
|
|
170
|
+
),
|
|
171
|
+
radial-gradient(
|
|
172
|
+
56rem 38rem at -18% 30%,
|
|
173
|
+
light-dark(oklch(0.75 0.12 345 / 0.06), oklch(0.48 0.16 345 / 0.13)),
|
|
174
|
+
transparent 66%
|
|
175
|
+
),
|
|
176
|
+
radial-gradient(
|
|
177
|
+
1.3px 1.3px at 23px 41px,
|
|
178
|
+
light-dark(oklch(0.5 0.07 300 / 0.16), oklch(0.9 0.06 300 / 0.3)),
|
|
179
|
+
transparent
|
|
180
|
+
),
|
|
181
|
+
radial-gradient(
|
|
182
|
+
1px 1px at 141px 97px,
|
|
183
|
+
light-dark(oklch(0.5 0.07 320 / 0.09), oklch(0.85 0.08 320 / 0.16)),
|
|
184
|
+
transparent
|
|
185
|
+
),
|
|
186
|
+
radial-gradient(
|
|
187
|
+
1.5px 1.5px at 247px 202px,
|
|
188
|
+
light-dark(oklch(0.5 0.07 300 / 0.16), oklch(0.9 0.06 300 / 0.3)),
|
|
189
|
+
transparent
|
|
190
|
+
),
|
|
191
|
+
radial-gradient(
|
|
192
|
+
1px 1px at 317px 138px,
|
|
193
|
+
light-dark(oklch(0.5 0.07 320 / 0.09), oklch(0.85 0.08 320 / 0.16)),
|
|
194
|
+
transparent
|
|
195
|
+
),
|
|
196
|
+
radial-gradient(
|
|
197
|
+
1.2px 1.2px at 79px 283px,
|
|
198
|
+
light-dark(oklch(0.5 0.07 320 / 0.09), oklch(0.85 0.08 320 / 0.16)),
|
|
199
|
+
transparent
|
|
200
|
+
);
|
|
201
|
+
background-size:
|
|
202
|
+
100% 100%,
|
|
203
|
+
100% 100%,
|
|
204
|
+
373px 373px,
|
|
205
|
+
373px 373px,
|
|
206
|
+
373px 373px,
|
|
207
|
+
373px 373px,
|
|
208
|
+
373px 373px;
|
|
209
|
+
background-attachment: fixed;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/* sidebar floats transparently over the starfield */
|
|
213
|
+
html[data-theme-pack="hollow"] #desktop-sidebar {
|
|
214
|
+
background-color: transparent;
|
|
215
|
+
border-right-color: color-mix(in oklch, var(--zd-accent) 26%, transparent);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
/* sidebar active: the pink pill fill comes from the indicator
|
|
219
|
+
token above (the real link already paints bg-token text over
|
|
220
|
+
it); sharpen the label */
|
|
221
|
+
html[data-theme-pack="hollow"] a[data-nav-active] {
|
|
222
|
+
font-weight: 600;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
/* header: opaque panel with a faint violet drift + violet hairline */
|
|
226
|
+
html[data-theme-pack="hollow"] header[data-header] {
|
|
227
|
+
border-bottom-color: color-mix(in oklch, var(--zd-accent) 32%, transparent);
|
|
228
|
+
background-image: linear-gradient(
|
|
229
|
+
to right,
|
|
230
|
+
color-mix(in oklch, var(--zd-accent) 8%, transparent),
|
|
231
|
+
transparent 45%
|
|
232
|
+
);
|
|
233
|
+
}
|
|
234
|
+
html[data-theme-pack="hollow"] [data-header-logo] {
|
|
235
|
+
letter-spacing: -0.025em;
|
|
236
|
+
}
|
|
237
|
+
html[data-theme-pack="hollow"] [data-header-logo]::after {
|
|
238
|
+
content: "·";
|
|
239
|
+
color: light-dark(oklch(0.52 0.2 350), oklch(0.78 0.17 348));
|
|
240
|
+
margin-left: 0.18rem;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
/* ---- neon discipline: headings are the only pink prose. The h1
|
|
244
|
+
glow is dark-mode-only — its light value is transparent
|
|
245
|
+
(packs may not select on [data-theme]). ---- */
|
|
246
|
+
html[data-theme-pack="hollow"] .zd-content h1,
|
|
247
|
+
html[data-theme-pack="hollow"] .zd-content h2,
|
|
248
|
+
html[data-theme-pack="hollow"] .zd-content h3 {
|
|
249
|
+
color: light-dark(oklch(0.52 0.2 350), oklch(0.78 0.17 348));
|
|
250
|
+
}
|
|
251
|
+
html[data-theme-pack="hollow"] .zd-content h1 {
|
|
252
|
+
text-shadow: 0 0 22px light-dark(transparent, oklch(0.7 0.19 348 / 0.38));
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
/* h2: the SSR-inlined gradient bar is re-pointed at a fading pink
|
|
256
|
+
rule (Decision 6.6's sole allowlisted !important carve-out —
|
|
257
|
+
border-image only) */
|
|
258
|
+
html[data-theme-pack="hollow"] .zd-content h2 {
|
|
259
|
+
border-image: linear-gradient(
|
|
260
|
+
to right,
|
|
261
|
+
color-mix(
|
|
262
|
+
in oklch,
|
|
263
|
+
light-dark(oklch(0.52 0.2 350), oklch(0.78 0.17 348)) 62%,
|
|
264
|
+
transparent
|
|
265
|
+
),
|
|
266
|
+
transparent 72%
|
|
267
|
+
)
|
|
268
|
+
1 !important;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
/* links: violet, quiet underline that ignites on hover */
|
|
272
|
+
html[data-theme-pack="hollow"] .zd-content a {
|
|
273
|
+
text-decoration-color: color-mix(in oklch, var(--zd-accent) 45%, transparent);
|
|
274
|
+
text-underline-offset: 3px;
|
|
275
|
+
}
|
|
276
|
+
html[data-theme-pack="hollow"] .zd-content a:hover {
|
|
277
|
+
text-decoration-color: currentColor;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
/* inline code: square chip with a faint violet edge */
|
|
281
|
+
html[data-theme-pack="hollow"] .zd-content code:not(pre code) {
|
|
282
|
+
border: 1px solid color-mix(in oklch, var(--zd-accent) 24%, transparent);
|
|
283
|
+
border-radius: 0;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
/* code block: deepest panel on the page, violet-lit top edge;
|
|
287
|
+
comments speak in the true mono italic */
|
|
288
|
+
html[data-theme-pack="hollow"] pre.hi-root {
|
|
289
|
+
border-radius: 0;
|
|
290
|
+
border-color: color-mix(in oklch, var(--zd-accent) 30%, transparent);
|
|
291
|
+
box-shadow: inset 0 1px 0 color-mix(in oklch, var(--zd-accent) 28%, transparent);
|
|
292
|
+
}
|
|
293
|
+
html[data-theme-pack="hollow"] .hi-com {
|
|
294
|
+
font-style: italic;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
/* admonitions: emoji out, geometric glyphs in; typographic labels */
|
|
298
|
+
html[data-theme-pack="hollow"] [data-admonition="note"] .admonition-title::before {
|
|
299
|
+
content: "◈ ";
|
|
300
|
+
}
|
|
301
|
+
html[data-theme-pack="hollow"] [data-admonition="tip"] .admonition-title::before {
|
|
302
|
+
content: "✦ ";
|
|
303
|
+
}
|
|
304
|
+
html[data-theme-pack="hollow"] [data-admonition="warning"] .admonition-title::before {
|
|
305
|
+
content: "△ ";
|
|
306
|
+
}
|
|
307
|
+
html[data-theme-pack="hollow"] [data-admonition] .admonition-title {
|
|
308
|
+
font-family: var(--font-sans);
|
|
309
|
+
letter-spacing: 0.04em;
|
|
310
|
+
text-transform: uppercase;
|
|
311
|
+
font-size: 0.85rem;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
/* blockquote: violet spine, spoken softly */
|
|
315
|
+
html[data-theme-pack="hollow"] .zd-content blockquote {
|
|
316
|
+
border-left-color: color-mix(in oklch, var(--zd-accent) 60%, transparent);
|
|
317
|
+
font-style: italic;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
/* table: violet rules under headers */
|
|
321
|
+
html[data-theme-pack="hollow"] .zd-content th {
|
|
322
|
+
border-bottom-color: color-mix(in oklch, var(--zd-accent) 45%, transparent);
|
|
323
|
+
letter-spacing: 0.02em;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
/* hr: a thin violet horizon */
|
|
327
|
+
html[data-theme-pack="hollow"] .zd-content hr {
|
|
328
|
+
border-top: none;
|
|
329
|
+
height: 1px;
|
|
330
|
+
background: linear-gradient(
|
|
331
|
+
to right,
|
|
332
|
+
transparent,
|
|
333
|
+
color-mix(in oklch, var(--zd-accent) 55%, transparent),
|
|
334
|
+
transparent
|
|
335
|
+
);
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
/* ---- TOC: the active heading is lit pink, not blocked out. The
|
|
339
|
+
real Toc island marks the active entry with
|
|
340
|
+
aria-current="true" (toc/toc.tsx). ---- */
|
|
341
|
+
html[data-theme-pack="hollow"] nav[data-zd-toc] ul {
|
|
342
|
+
border-left-color: color-mix(in oklch, var(--zd-accent) 30%, transparent);
|
|
343
|
+
}
|
|
344
|
+
html[data-theme-pack="hollow"] nav[data-zd-toc] a[aria-current="true"] {
|
|
345
|
+
/* Small active-entry text over its own 14% pink tint over --zd-bg needs
|
|
346
|
+
4.5:1; the light pink darkens L .52 → .508 (tint source, text, and spine
|
|
347
|
+
kept in lockstep so the marker stays one colour). */
|
|
348
|
+
background: color-mix(
|
|
349
|
+
in oklch,
|
|
350
|
+
light-dark(oklch(0.508 0.2 350), oklch(0.78 0.17 348)) 14%,
|
|
351
|
+
transparent
|
|
352
|
+
);
|
|
353
|
+
color: light-dark(oklch(0.508 0.2 350), oklch(0.78 0.17 348));
|
|
354
|
+
box-shadow: inset 2px 0 0 light-dark(oklch(0.508 0.2 350), oklch(0.78 0.17 348));
|
|
355
|
+
border-radius: 0;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
/* ---- pager: square translucent cards that glow pink on hover.
|
|
359
|
+
DocPager carries the stable data-doc-pager hook. ---- */
|
|
360
|
+
html[data-theme-pack="hollow"] .zd-content > nav[data-doc-pager] > a {
|
|
361
|
+
background: color-mix(in srgb, var(--zd-surface) 60%, transparent);
|
|
362
|
+
border-radius: 0;
|
|
363
|
+
}
|
|
364
|
+
html[data-theme-pack="hollow"] .zd-content > nav[data-doc-pager] > a:hover {
|
|
365
|
+
border-color: light-dark(oklch(0.52 0.2 350), oklch(0.78 0.17 348));
|
|
366
|
+
box-shadow: 0 0 16px -6px
|
|
367
|
+
color-mix(
|
|
368
|
+
in oklch,
|
|
369
|
+
light-dark(oklch(0.52 0.2 350), oklch(0.78 0.17 348)) 65%,
|
|
370
|
+
transparent
|
|
371
|
+
);
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
/* footer: calm panel, violet hairline (footer carries the stable
|
|
375
|
+
data-footer hook) */
|
|
376
|
+
html[data-theme-pack="hollow"] footer[data-footer] {
|
|
377
|
+
border-top-color: color-mix(in oklch, var(--zd-accent) 26%, transparent);
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
/* ---- theme-pack switcher: the pack's own card — square, neon
|
|
381
|
+
pink top edge, violet halo. Both the flyout card and the
|
|
382
|
+
launcher button carry stable [data-switcher-*] hooks. ---- */
|
|
383
|
+
html[data-theme-pack="hollow"] div[data-switcher-card] {
|
|
384
|
+
border-radius: 0;
|
|
385
|
+
border-color: color-mix(in oklch, var(--zd-accent) 45%, transparent);
|
|
386
|
+
border-top: 2px solid light-dark(oklch(0.52 0.2 350), oklch(0.78 0.17 348));
|
|
387
|
+
box-shadow:
|
|
388
|
+
0 0 24px -8px color-mix(in oklch, var(--zd-accent) 55%, transparent),
|
|
389
|
+
0 18px 50px -12px oklch(0.2 0.1 300 / 0.55);
|
|
390
|
+
}
|
|
391
|
+
html[data-theme-pack="hollow"] div[data-switcher-card] span {
|
|
392
|
+
border-radius: 0;
|
|
393
|
+
}
|
|
394
|
+
html[data-theme-pack="hollow"] div[data-switcher-card] button {
|
|
395
|
+
border-radius: 0;
|
|
396
|
+
}
|
|
397
|
+
html[data-theme-pack="hollow"] div[data-switcher-card] button:hover {
|
|
398
|
+
border-color: light-dark(oklch(0.52 0.2 350), oklch(0.78 0.17 348));
|
|
399
|
+
color: light-dark(oklch(0.52 0.2 350), oklch(0.78 0.17 348));
|
|
400
|
+
}
|
|
401
|
+
html[data-theme-pack="hollow"] button[data-switcher-launcher] {
|
|
402
|
+
border-radius: 0;
|
|
403
|
+
}
|
|
404
|
+
html[data-theme-pack="hollow"] button[data-switcher-launcher]:hover {
|
|
405
|
+
color: light-dark(oklch(0.52 0.2 350), oklch(0.78 0.17 348));
|
|
406
|
+
border-color: light-dark(oklch(0.52 0.2 350), oklch(0.78 0.17 348));
|
|
407
|
+
box-shadow: 0 0 18px -4px
|
|
408
|
+
color-mix(
|
|
409
|
+
in oklch,
|
|
410
|
+
light-dark(oklch(0.52 0.2 350), oklch(0.78 0.17 348)) 60%,
|
|
411
|
+
transparent
|
|
412
|
+
);
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
/* browse-all dialog: same square treatment */
|
|
416
|
+
html[data-theme-pack="hollow"] dialog[aria-labelledby="zd-theme-pack-dialog-title"] {
|
|
417
|
+
border-radius: 0;
|
|
418
|
+
border-top: 2px solid light-dark(oklch(0.52 0.2 350), oklch(0.78 0.17 348));
|
|
419
|
+
}
|
|
420
|
+
html[data-theme-pack="hollow"] dialog[aria-labelledby="zd-theme-pack-dialog-title"] button {
|
|
421
|
+
border-radius: 0;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
/* focus ring joins the neon system */
|
|
425
|
+
html[data-theme-pack="hollow"] :focus-visible {
|
|
426
|
+
outline: 2px solid light-dark(oklch(0.52 0.2 350), oklch(0.78 0.17 348));
|
|
427
|
+
outline-offset: 2px;
|
|
428
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
Copyright 2018 The Crimson Pro Project Authors (https://github.com/Fonthausen/CrimsonPro)
|
|
2
|
+
Copyright 2017 IBM Corp. with Reserved Font Name "Plex" (https://github.com/IBM/plex)
|
|
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": "ledger",
|
|
4
|
+
"name": "Ledger",
|
|
5
|
+
"description": "Cream academic serif in the Tufte tradition — warm paper, ink prose, oxblood links, hairline rules, quiet code.",
|
|
6
|
+
"mode": "light",
|
|
7
|
+
"version": "1.0.1",
|
|
8
|
+
"fonts": {
|
|
9
|
+
"sans": "Crimson Pro",
|
|
10
|
+
"mono": "IBM Plex Mono",
|
|
11
|
+
"loaded": ["Crimson Pro", "IBM Plex Mono"]
|
|
12
|
+
},
|
|
13
|
+
"preview": {
|
|
14
|
+
"light": {
|
|
15
|
+
"bg": "#fffff8",
|
|
16
|
+
"fg": "#16130e",
|
|
17
|
+
"accent": "#8b1a1a",
|
|
18
|
+
"syntax": {
|
|
19
|
+
"keyword": "#8b1a1a",
|
|
20
|
+
"string": "#4e6328",
|
|
21
|
+
"comment": "#766b5c",
|
|
22
|
+
"callable": "#33586e"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"dark": {
|
|
26
|
+
"bg": "#191510",
|
|
27
|
+
"fg": "#e9e2d0",
|
|
28
|
+
"accent": "#d68a75",
|
|
29
|
+
"syntax": {
|
|
30
|
+
"keyword": "#e2907c",
|
|
31
|
+
"string": "#a8b47c",
|
|
32
|
+
"comment": "#948a77",
|
|
33
|
+
"callable": "#93b4cd"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|