@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,518 @@
|
|
|
1
|
+
/* ============================================================
|
|
2
|
+
Swissgrid — International Typographic Style theme pack
|
|
3
|
+
(ADR docs/adr/theme-packs.md; epic #2813, sub-issue #2831)
|
|
4
|
+
|
|
5
|
+
A neo-grotesque grid: pure white paper, near-black ink, ONE hot
|
|
6
|
+
Swiss-red accent, oversized counter-driven section numbers, and a
|
|
7
|
+
1px baseline-grid ruling on the page and sidebar. Everything is
|
|
8
|
+
square — zero radius across every seam — and hover states throw
|
|
9
|
+
hard red offset shadows instead of soft blurs. Self-hosted Inter
|
|
10
|
+
(body, variable 400-900), Inter Tight (display, variable 700-900,
|
|
11
|
+
latin subset only — latin-ext display glyphs fall back to Inter),
|
|
12
|
+
and IBM Plex Mono (code, 400 latin + latin-ext, 600 latin only —
|
|
13
|
+
bolded code tokens are ASCII in practice).
|
|
14
|
+
|
|
15
|
+
Every rule below is scoped under html[data-theme-pack="swissgrid"]
|
|
16
|
+
— this is what makes the runtime pack swap atomic (Decision 3) and
|
|
17
|
+
lets the validator prove a pack can never leak styles while
|
|
18
|
+
inactive (Decision 6.7). The @font-face blocks are the sole
|
|
19
|
+
exception (at-rules can't be selector-scoped).
|
|
20
|
+
|
|
21
|
+
The prototype's --sw-* helper values are inlined at each use site
|
|
22
|
+
(the token contract is a closed allowlist):
|
|
23
|
+
red display mark #ff0000 (both modes — chrome, marks, numbers)
|
|
24
|
+
red text = var(--zd-accent) (contrast-safe text red)
|
|
25
|
+
hairline light-dark(rgb(0 0 0 / .2), rgb(255 255 255 / .24))
|
|
26
|
+
grid line light-dark(rgb(0 0 0 / .05), rgb(255 255 255 / .055))
|
|
27
|
+
panel light-dark(#f4f4f4, #161616)
|
|
28
|
+
baseline unit calc(1.05rem * 1.65)
|
|
29
|
+
============================================================ */
|
|
30
|
+
|
|
31
|
+
@font-face {
|
|
32
|
+
font-family: "Inter";
|
|
33
|
+
font-style: normal;
|
|
34
|
+
font-weight: 400 900;
|
|
35
|
+
font-display: swap;
|
|
36
|
+
src: url("./fonts/Inter-latin.woff2") format("woff2");
|
|
37
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
38
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
|
|
39
|
+
U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@font-face {
|
|
43
|
+
font-family: "Inter";
|
|
44
|
+
font-style: normal;
|
|
45
|
+
font-weight: 400 900;
|
|
46
|
+
font-display: swap;
|
|
47
|
+
src: url("./fonts/Inter-latin-ext.woff2") format("woff2");
|
|
48
|
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
|
|
49
|
+
U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
|
|
50
|
+
U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
|
|
51
|
+
U+A720-A7FF;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@font-face {
|
|
55
|
+
font-family: "Inter Tight";
|
|
56
|
+
font-style: normal;
|
|
57
|
+
font-weight: 700 900;
|
|
58
|
+
font-display: swap;
|
|
59
|
+
src: url("./fonts/InterTight-latin.woff2") format("woff2");
|
|
60
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
61
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
|
|
62
|
+
U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@font-face {
|
|
66
|
+
font-family: "IBM Plex Mono";
|
|
67
|
+
font-style: normal;
|
|
68
|
+
font-weight: 400;
|
|
69
|
+
font-display: swap;
|
|
70
|
+
src: url("./fonts/IBMPlexMono-400-latin.woff2") format("woff2");
|
|
71
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
72
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
|
|
73
|
+
U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
@font-face {
|
|
77
|
+
font-family: "IBM Plex Mono";
|
|
78
|
+
font-style: normal;
|
|
79
|
+
font-weight: 400;
|
|
80
|
+
font-display: swap;
|
|
81
|
+
src: url("./fonts/IBMPlexMono-400-latin-ext.woff2") format("woff2");
|
|
82
|
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
|
|
83
|
+
U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
|
|
84
|
+
U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
|
|
85
|
+
U+A720-A7FF;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
@font-face {
|
|
89
|
+
font-family: "IBM Plex Mono";
|
|
90
|
+
font-style: normal;
|
|
91
|
+
font-weight: 600;
|
|
92
|
+
font-display: swap;
|
|
93
|
+
src: url("./fonts/IBMPlexMono-600-latin.woff2") format("woff2");
|
|
94
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
95
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
|
|
96
|
+
U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
html[data-theme-pack="swissgrid"] {
|
|
100
|
+
/* Tier-2 semantic roles — both modes always via light-dark(). Swiss
|
|
101
|
+
palette: ink, paper, one red. Success carries no hue of its own
|
|
102
|
+
(semantics by shape + label, not color). */
|
|
103
|
+
--zd-bg: light-dark(#ffffff, #0c0c0c);
|
|
104
|
+
--zd-fg: light-dark(#0a0a0a, #f2f2f2);
|
|
105
|
+
/* selection: red flag over white text — #e60000 keeps white at 4.8:1
|
|
106
|
+
(pure #ff0000 fails the 4.5:1 selection floor at 4.0:1) */
|
|
107
|
+
--zd-selection-bg: light-dark(#e60000, #e60000);
|
|
108
|
+
--zd-selection-fg: light-dark(#ffffff, #ffffff);
|
|
109
|
+
--zd-surface: light-dark(#ffffff, #0c0c0c);
|
|
110
|
+
--zd-muted: light-dark(#595959, #9a9a9a);
|
|
111
|
+
--zd-accent: light-dark(#e60000, #ff4d4d);
|
|
112
|
+
--zd-accent-hover: light-dark(#a30000, #ff8585);
|
|
113
|
+
--zd-code-bg: light-dark(#f4f4f4, #151515);
|
|
114
|
+
--zd-code-fg: light-dark(#0a0a0a, #ededed);
|
|
115
|
+
--zd-success: light-dark(#0a0a0a, #f2f2f2);
|
|
116
|
+
--zd-danger: light-dark(#c40000, #ff6b6b);
|
|
117
|
+
--zd-warning: light-dark(#c40000, #ff6b6b);
|
|
118
|
+
--zd-info: light-dark(#595959, #9a9a9a);
|
|
119
|
+
|
|
120
|
+
/* syntax — all 9 roles, both modes: a monochrome ink ladder with red
|
|
121
|
+
reserved for keywords/numbers. Diff roles follow the pack's
|
|
122
|
+
success/danger philosophy: inserted = ink, deleted = red (the
|
|
123
|
+
default --zfb-hi-ins-bg/del-bg mixes turn these into a gray wash
|
|
124
|
+
vs a red wash, keeping diffs legible without new hues). */
|
|
125
|
+
--zd-syntax-comment: light-dark(#6b6b6b, #8c8c8c);
|
|
126
|
+
--zd-syntax-string: light-dark(#3f3f3f, #c9c9c9);
|
|
127
|
+
--zd-syntax-number: light-dark(#8f0000, #ff9a9a);
|
|
128
|
+
/* keyword light #d40000: 5.0:1 on the #f4f4f4 code panel (the hotter
|
|
129
|
+
#e60000 sits at 4.37:1, under the 4.6:1 syntax floor) */
|
|
130
|
+
--zd-syntax-keyword: light-dark(#d40000, #ff4d4d);
|
|
131
|
+
--zd-syntax-callable: light-dark(#0a0a0a, #ffffff);
|
|
132
|
+
--zd-syntax-type: light-dark(#595959, #b3b3b3);
|
|
133
|
+
--zd-syntax-name: light-dark(#0a0a0a, #ededed);
|
|
134
|
+
--zd-syntax-inserted: light-dark(#0a0a0a, #f2f2f2);
|
|
135
|
+
--zd-syntax-deleted: light-dark(#c40000, #ff6b6b);
|
|
136
|
+
|
|
137
|
+
/* fonts — self-hosted OFL neo-grotesques (Decision 5). Inter for
|
|
138
|
+
body, Inter Tight for display, IBM Plex Mono for code. */
|
|
139
|
+
--font-sans: "Inter", Arial, system-ui, sans-serif;
|
|
140
|
+
--font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo,
|
|
141
|
+
monospace;
|
|
142
|
+
--font-display: "Inter Tight", "Inter", Arial, system-ui, sans-serif;
|
|
143
|
+
|
|
144
|
+
/* Tier-3 component seams — heavy tight display headings; ruthless
|
|
145
|
+
zero radius on every tokenized shape. */
|
|
146
|
+
--zdc-doc-title-font: var(--font-display);
|
|
147
|
+
--zdc-doc-title-weight: 900;
|
|
148
|
+
--zdc-doc-title-tracking: -0.045em;
|
|
149
|
+
--zdc-doc-h2-font: var(--font-display);
|
|
150
|
+
--zdc-doc-h2-weight: 800;
|
|
151
|
+
--zdc-doc-h2-tracking: -0.025em;
|
|
152
|
+
--zdc-doc-h3-weight: 800;
|
|
153
|
+
--zdc-doc-prose-font: var(--font-sans);
|
|
154
|
+
--zdc-doc-link-decoration: underline;
|
|
155
|
+
--zdc-admonition-radius: 0;
|
|
156
|
+
--zdc-admonition-border-width: 5px;
|
|
157
|
+
--zdc-card-radius: 0;
|
|
158
|
+
--zdc-nav-active-indicator-color: var(--zd-fg);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/* ---- baseline-grid hint: 1px rules on the body rhythm ---- */
|
|
162
|
+
|
|
163
|
+
html[data-theme-pack="swissgrid"] body {
|
|
164
|
+
letter-spacing: -0.008em;
|
|
165
|
+
background-image: repeating-linear-gradient(
|
|
166
|
+
to bottom,
|
|
167
|
+
light-dark(rgb(0 0 0 / 0.05), rgb(255 255 255 / 0.055)) 0 1px,
|
|
168
|
+
transparent 1px calc(1.05rem * 1.65)
|
|
169
|
+
);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
html[data-theme-pack="swissgrid"] #desktop-sidebar {
|
|
173
|
+
border-right: 1px solid light-dark(rgb(0 0 0 / 0.2), rgb(255 255 255 / 0.24));
|
|
174
|
+
background-image: repeating-linear-gradient(
|
|
175
|
+
to bottom,
|
|
176
|
+
light-dark(rgb(0 0 0 / 0.05), rgb(255 255 255 / 0.055)) 0 1px,
|
|
177
|
+
transparent 1px calc(1.05rem * 1.65)
|
|
178
|
+
);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
html[data-theme-pack="swissgrid"] :focus-visible {
|
|
182
|
+
outline: 2px solid #ff0000;
|
|
183
|
+
outline-offset: 2px;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/* ---- no italics, anywhere (the Swiss rule) ---- */
|
|
187
|
+
|
|
188
|
+
html[data-theme-pack="swissgrid"] .zd-content em {
|
|
189
|
+
font-style: normal;
|
|
190
|
+
}
|
|
191
|
+
html[data-theme-pack="swissgrid"] .zd-content i {
|
|
192
|
+
font-style: normal;
|
|
193
|
+
}
|
|
194
|
+
html[data-theme-pack="swissgrid"] .zd-content blockquote {
|
|
195
|
+
font-style: normal;
|
|
196
|
+
}
|
|
197
|
+
html[data-theme-pack="swissgrid"] .hi-com {
|
|
198
|
+
font-style: normal;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
/* ---- header: white bar, heavy black rule, red logo square ---- */
|
|
202
|
+
|
|
203
|
+
html[data-theme-pack="swissgrid"] header[data-header] {
|
|
204
|
+
border-bottom: 3px solid var(--zd-fg);
|
|
205
|
+
}
|
|
206
|
+
html[data-theme-pack="swissgrid"] [data-header-logo] {
|
|
207
|
+
display: inline-flex;
|
|
208
|
+
align-items: center;
|
|
209
|
+
gap: 0.55rem;
|
|
210
|
+
font-weight: 900;
|
|
211
|
+
letter-spacing: -0.03em;
|
|
212
|
+
}
|
|
213
|
+
html[data-theme-pack="swissgrid"] [data-header-logo]::before {
|
|
214
|
+
content: "";
|
|
215
|
+
width: 0.72em;
|
|
216
|
+
height: 0.72em;
|
|
217
|
+
flex-shrink: 0;
|
|
218
|
+
background: #ff0000;
|
|
219
|
+
}
|
|
220
|
+
html[data-theme-pack="swissgrid"] [data-nav-item] {
|
|
221
|
+
text-transform: uppercase;
|
|
222
|
+
font-size: 0.74rem;
|
|
223
|
+
font-weight: 700;
|
|
224
|
+
letter-spacing: 0.1em;
|
|
225
|
+
}
|
|
226
|
+
html[data-theme-pack="swissgrid"] [data-nav-item]:hover {
|
|
227
|
+
color: var(--zd-fg);
|
|
228
|
+
text-decoration-line: underline;
|
|
229
|
+
text-decoration-color: #ff0000;
|
|
230
|
+
text-decoration-thickness: 2px;
|
|
231
|
+
text-underline-offset: 5px;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
/* ---- sidebar: red hover underline, red active bar ----
|
|
235
|
+
(The prototype's static ".sb-group > p" group heads don't exist in
|
|
236
|
+
the real SidebarTree island — category rows keep their tree layout;
|
|
237
|
+
the active page link is the a[data-nav-active] stable hook.) */
|
|
238
|
+
|
|
239
|
+
html[data-theme-pack="swissgrid"] #desktop-sidebar a:hover {
|
|
240
|
+
text-decoration-line: underline;
|
|
241
|
+
text-decoration-color: #ff0000;
|
|
242
|
+
text-decoration-thickness: 2px;
|
|
243
|
+
}
|
|
244
|
+
html[data-theme-pack="swissgrid"] a[data-nav-active] {
|
|
245
|
+
background: transparent;
|
|
246
|
+
color: var(--zd-fg);
|
|
247
|
+
font-weight: 700;
|
|
248
|
+
box-shadow: inset 4px 0 0 0 #ff0000;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
/* ---- breadcrumb as a small-caps meta line ---- */
|
|
252
|
+
|
|
253
|
+
html[data-theme-pack="swissgrid"] nav[aria-label="Breadcrumb"] {
|
|
254
|
+
text-transform: uppercase;
|
|
255
|
+
font-size: 0.7rem;
|
|
256
|
+
letter-spacing: 0.12em;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
/* ---- content: oversized numbered sections, hard rules ---- */
|
|
260
|
+
|
|
261
|
+
html[data-theme-pack="swissgrid"] .zd-content {
|
|
262
|
+
counter-reset: sw-section;
|
|
263
|
+
}
|
|
264
|
+
html[data-theme-pack="swissgrid"] .zd-content h1 {
|
|
265
|
+
font-size: clamp(2.3rem, 5vw + 1rem, 3.1rem);
|
|
266
|
+
line-height: 1.02;
|
|
267
|
+
}
|
|
268
|
+
html[data-theme-pack="swissgrid"] .zd-content h1::after {
|
|
269
|
+
content: "";
|
|
270
|
+
display: block;
|
|
271
|
+
width: 4.5rem;
|
|
272
|
+
height: 6px;
|
|
273
|
+
background: #ff0000;
|
|
274
|
+
margin-top: 0.9rem;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
/* h2: counter-driven oversized red section number above a 4px ink
|
|
278
|
+
rule. border-image none !important defeats the SSR-inlined gradient
|
|
279
|
+
bar (Decision 6.6's sole allowlisted carve-out). */
|
|
280
|
+
html[data-theme-pack="swissgrid"] .zd-content h2 {
|
|
281
|
+
counter-increment: sw-section;
|
|
282
|
+
border-image: none !important;
|
|
283
|
+
border-top-width: 4px;
|
|
284
|
+
border-top-style: solid;
|
|
285
|
+
border-top-color: var(--zd-fg);
|
|
286
|
+
padding-top: 0.8rem;
|
|
287
|
+
}
|
|
288
|
+
html[data-theme-pack="swissgrid"] .zd-content h2::before {
|
|
289
|
+
content: counter(sw-section, decimal-leading-zero);
|
|
290
|
+
display: block;
|
|
291
|
+
font-family: var(--font-display);
|
|
292
|
+
font-size: 3.6rem;
|
|
293
|
+
font-weight: 900;
|
|
294
|
+
line-height: 0.95;
|
|
295
|
+
letter-spacing: -0.05em;
|
|
296
|
+
font-variant-numeric: tabular-nums;
|
|
297
|
+
color: #ff0000;
|
|
298
|
+
margin-bottom: 0.4rem;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
/* h3: red square marker only — no rule above. border-image none
|
|
302
|
+
!important defeats HeadingH3's SSR-inlined muted gradient (same
|
|
303
|
+
inline-style class as the h2 carve-out), and zeroing the top border
|
|
304
|
+
removes its 2px bar. */
|
|
305
|
+
html[data-theme-pack="swissgrid"] .zd-content h3 {
|
|
306
|
+
letter-spacing: -0.015em;
|
|
307
|
+
border-image: none !important;
|
|
308
|
+
border-top-width: 0;
|
|
309
|
+
}
|
|
310
|
+
html[data-theme-pack="swissgrid"] .zd-content h3::before {
|
|
311
|
+
content: "";
|
|
312
|
+
display: inline-block;
|
|
313
|
+
width: 0.5em;
|
|
314
|
+
height: 0.5em;
|
|
315
|
+
background: #ff0000;
|
|
316
|
+
margin-right: 0.5rem;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
/* links: ink text, red underline, red on hover */
|
|
320
|
+
html[data-theme-pack="swissgrid"] .zd-content a {
|
|
321
|
+
color: var(--zd-fg);
|
|
322
|
+
text-decoration-color: #ff0000;
|
|
323
|
+
text-decoration-thickness: 2px;
|
|
324
|
+
text-underline-offset: 3px;
|
|
325
|
+
}
|
|
326
|
+
html[data-theme-pack="swissgrid"] .zd-content a:hover {
|
|
327
|
+
color: var(--zd-accent);
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
html[data-theme-pack="swissgrid"] .zd-content blockquote {
|
|
331
|
+
border-left: 4px solid #ff0000;
|
|
332
|
+
color: var(--zd-fg);
|
|
333
|
+
font-weight: 500;
|
|
334
|
+
}
|
|
335
|
+
html[data-theme-pack="swissgrid"] .zd-content hr {
|
|
336
|
+
border-top: 2px solid var(--zd-fg);
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
/* ---- code: ruled panel, bold red keywords, bold ink callables ----
|
|
340
|
+
(IBM Plex Mono ships 400 + 600; keyword/callable bolding uses the
|
|
341
|
+
real 600 face.) */
|
|
342
|
+
|
|
343
|
+
html[data-theme-pack="swissgrid"] pre.hi-root {
|
|
344
|
+
border: 1px solid var(--zd-fg);
|
|
345
|
+
border-top-width: 4px;
|
|
346
|
+
border-radius: 0;
|
|
347
|
+
}
|
|
348
|
+
html[data-theme-pack="swissgrid"] .hi-kw {
|
|
349
|
+
font-weight: 600;
|
|
350
|
+
}
|
|
351
|
+
html[data-theme-pack="swissgrid"] .hi-fn {
|
|
352
|
+
font-weight: 600;
|
|
353
|
+
}
|
|
354
|
+
html[data-theme-pack="swissgrid"] .zd-content code:not(pre code) {
|
|
355
|
+
border: 1px solid light-dark(rgb(0 0 0 / 0.2), rgb(255 255 255 / 0.24));
|
|
356
|
+
border-radius: 0;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
/* ---- admonitions: flat panels, geometry markers, typographic labels ---- */
|
|
360
|
+
|
|
361
|
+
html[data-theme-pack="swissgrid"] [data-admonition] .admonition-title {
|
|
362
|
+
text-transform: uppercase;
|
|
363
|
+
font-size: 0.74rem;
|
|
364
|
+
letter-spacing: 0.14em;
|
|
365
|
+
}
|
|
366
|
+
html[data-theme-pack="swissgrid"] [data-admonition="note"] {
|
|
367
|
+
border-left-color: var(--zd-fg);
|
|
368
|
+
background-color: light-dark(#f4f4f4, #161616);
|
|
369
|
+
}
|
|
370
|
+
html[data-theme-pack="swissgrid"] [data-admonition="note"] .admonition-title {
|
|
371
|
+
color: var(--zd-fg);
|
|
372
|
+
}
|
|
373
|
+
html[data-theme-pack="swissgrid"] [data-admonition="note"] .admonition-title::before {
|
|
374
|
+
content: "■ ";
|
|
375
|
+
color: #ff0000;
|
|
376
|
+
}
|
|
377
|
+
html[data-theme-pack="swissgrid"] [data-admonition="tip"] {
|
|
378
|
+
border-left-color: light-dark(#8c8c8c, #6e6e6e);
|
|
379
|
+
background-color: light-dark(#f4f4f4, #161616);
|
|
380
|
+
}
|
|
381
|
+
html[data-theme-pack="swissgrid"] [data-admonition="tip"] .admonition-title {
|
|
382
|
+
color: var(--zd-fg);
|
|
383
|
+
}
|
|
384
|
+
html[data-theme-pack="swissgrid"] [data-admonition="tip"] .admonition-title::before {
|
|
385
|
+
content: "● ";
|
|
386
|
+
color: #ff0000;
|
|
387
|
+
}
|
|
388
|
+
html[data-theme-pack="swissgrid"] [data-admonition="warning"] {
|
|
389
|
+
border-left-color: #ff0000;
|
|
390
|
+
background-color: light-dark(#fdeeee, #1d1010);
|
|
391
|
+
}
|
|
392
|
+
html[data-theme-pack="swissgrid"] [data-admonition="warning"] .admonition-title {
|
|
393
|
+
color: light-dark(#c40000, #ff6b6b);
|
|
394
|
+
}
|
|
395
|
+
html[data-theme-pack="swissgrid"] [data-admonition="warning"] .admonition-title::before {
|
|
396
|
+
content: "▲ ";
|
|
397
|
+
color: #ff0000;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
/* ---- table: black rules, small-caps heads ---- */
|
|
401
|
+
|
|
402
|
+
html[data-theme-pack="swissgrid"] .zd-content th {
|
|
403
|
+
text-transform: uppercase;
|
|
404
|
+
font-size: 0.74rem;
|
|
405
|
+
letter-spacing: 0.1em;
|
|
406
|
+
border-bottom: 3px solid var(--zd-fg);
|
|
407
|
+
}
|
|
408
|
+
html[data-theme-pack="swissgrid"] .zd-content td {
|
|
409
|
+
border-bottom: 1px solid light-dark(rgb(0 0 0 / 0.2), rgb(255 255 255 / 0.24));
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
/* ---- pager: square cards, hard red offset on hover ----
|
|
413
|
+
(Retargeted onto the stable `data-doc-pager` hook on the DocPager
|
|
414
|
+
<nav>, zudolab/zudo-doc#2879 — was the bare `.zd-content > nav`,
|
|
415
|
+
which had no exclusion for the NavCardGrid "Child pages" nav that
|
|
416
|
+
also renders as a `.zd-content > nav` on auto-index pages; this
|
|
417
|
+
pack's rules were accidentally stamping those child-page cards with
|
|
418
|
+
the pager's square-card treatment too. The hook-scoped selector
|
|
419
|
+
fixes that overreach. Inside each card: <div> = the small prev/next
|
|
420
|
+
label row, <p> = the destination title.) */
|
|
421
|
+
|
|
422
|
+
html[data-theme-pack="swissgrid"] .zd-content > nav[data-doc-pager] a {
|
|
423
|
+
border: 1px solid var(--zd-fg);
|
|
424
|
+
border-radius: 0;
|
|
425
|
+
}
|
|
426
|
+
html[data-theme-pack="swissgrid"] .zd-content > nav[data-doc-pager] a:hover {
|
|
427
|
+
border-color: #ff0000;
|
|
428
|
+
box-shadow: 4px 4px 0 0 #ff0000;
|
|
429
|
+
}
|
|
430
|
+
html[data-theme-pack="swissgrid"] .zd-content > nav[data-doc-pager] a div {
|
|
431
|
+
text-transform: uppercase;
|
|
432
|
+
font-size: 0.66rem;
|
|
433
|
+
letter-spacing: 0.14em;
|
|
434
|
+
}
|
|
435
|
+
html[data-theme-pack="swissgrid"] .zd-content > nav[data-doc-pager] a p {
|
|
436
|
+
font-weight: 700;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
/* ---- TOC: ruled list, red hover underline, red active bar ----
|
|
440
|
+
(The real Toc island has no title element and marks the active entry
|
|
441
|
+
with aria-current="true" — adapted from the prototype's .toc-active.) */
|
|
442
|
+
|
|
443
|
+
html[data-theme-pack="swissgrid"] nav[data-zd-toc] ul {
|
|
444
|
+
border-left: 1px solid light-dark(rgb(0 0 0 / 0.2), rgb(255 255 255 / 0.24));
|
|
445
|
+
}
|
|
446
|
+
html[data-theme-pack="swissgrid"] nav[data-zd-toc] a:hover {
|
|
447
|
+
text-decoration-line: underline;
|
|
448
|
+
text-decoration-color: #ff0000;
|
|
449
|
+
text-decoration-thickness: 2px;
|
|
450
|
+
}
|
|
451
|
+
html[data-theme-pack="swissgrid"] nav[data-zd-toc] a[aria-current="true"] {
|
|
452
|
+
background: transparent;
|
|
453
|
+
color: var(--zd-fg);
|
|
454
|
+
font-weight: 700;
|
|
455
|
+
box-shadow: inset 3px 0 0 0 #ff0000;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
/* ---- footer: heavy rule, ink links with red underlines ----
|
|
459
|
+
(Retargeted onto the stable data-footer hook, zudolab/zudo-doc#2879
|
|
460
|
+
— was `.zd-sidebar-content-wrapper footer`.) */
|
|
461
|
+
|
|
462
|
+
html[data-theme-pack="swissgrid"] footer[data-footer] {
|
|
463
|
+
border-top: 4px solid var(--zd-fg);
|
|
464
|
+
}
|
|
465
|
+
html[data-theme-pack="swissgrid"] footer[data-footer] a {
|
|
466
|
+
color: var(--zd-fg);
|
|
467
|
+
text-decoration-color: #ff0000;
|
|
468
|
+
text-decoration-thickness: 2px;
|
|
469
|
+
}
|
|
470
|
+
html[data-theme-pack="swissgrid"] footer[data-footer] a:hover {
|
|
471
|
+
color: var(--zd-accent);
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
/* ---- theme-pack switcher: square, black frame, hard red shadow ----
|
|
475
|
+
(Retargeted onto the stable data-switcher-card / data-switcher-launcher
|
|
476
|
+
hooks, zudolab/zudo-doc#2879 — was the flyout card/launcher's
|
|
477
|
+
accessible names, `div[role="dialog"][aria-label="Theme pack
|
|
478
|
+
switcher"]` and `button[aria-haspopup="dialog"][aria-label="Theme
|
|
479
|
+
pack switcher"]`.) */
|
|
480
|
+
|
|
481
|
+
html[data-theme-pack="swissgrid"] div[data-switcher-card] {
|
|
482
|
+
border: 2px solid var(--zd-fg);
|
|
483
|
+
border-radius: 0;
|
|
484
|
+
box-shadow: 10px 10px 0 0 #ff0000;
|
|
485
|
+
}
|
|
486
|
+
html[data-theme-pack="swissgrid"] div[data-switcher-card] span {
|
|
487
|
+
border-radius: 0;
|
|
488
|
+
}
|
|
489
|
+
html[data-theme-pack="swissgrid"] div[data-switcher-card] button {
|
|
490
|
+
border-radius: 0;
|
|
491
|
+
border-color: var(--zd-fg);
|
|
492
|
+
text-transform: uppercase;
|
|
493
|
+
letter-spacing: 0.06em;
|
|
494
|
+
}
|
|
495
|
+
html[data-theme-pack="swissgrid"] div[data-switcher-card] button:hover {
|
|
496
|
+
background-color: var(--zd-accent);
|
|
497
|
+
border-color: var(--zd-accent);
|
|
498
|
+
color: light-dark(#ffffff, #0c0c0c);
|
|
499
|
+
}
|
|
500
|
+
html[data-theme-pack="swissgrid"] button[data-switcher-launcher] {
|
|
501
|
+
border-radius: 0;
|
|
502
|
+
border: 2px solid var(--zd-fg);
|
|
503
|
+
box-shadow: 5px 5px 0 0 #ff0000;
|
|
504
|
+
}
|
|
505
|
+
html[data-theme-pack="swissgrid"] button[data-switcher-launcher]:hover {
|
|
506
|
+
color: var(--zd-accent);
|
|
507
|
+
border-color: var(--zd-accent);
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
/* browse-all dialog: same square black-frame treatment */
|
|
511
|
+
html[data-theme-pack="swissgrid"] dialog[aria-labelledby="zd-theme-pack-dialog-title"] {
|
|
512
|
+
border: 2px solid var(--zd-fg);
|
|
513
|
+
border-radius: 0;
|
|
514
|
+
box-shadow: 10px 10px 0 0 #ff0000;
|
|
515
|
+
}
|
|
516
|
+
html[data-theme-pack="swissgrid"] dialog[aria-labelledby="zd-theme-pack-dialog-title"] button {
|
|
517
|
+
border-radius: 0;
|
|
518
|
+
}
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
Copyright 2022 The Zen Kaku Gothic Project Authors (https://github.com/googlefonts/zen-kakugothic)
|
|
2
|
+
Copyright 2021 The Shippori Mincho Project Authors (https://github.com/fontdasu/ShipporiMincho)
|
|
3
|
+
Copyright 2021 The M+ FONTS Project Authors (https://github.com/coz-m/MPLUS_FONTS)
|
|
4
|
+
|
|
5
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
6
|
+
This license is copied below, and is also available with a FAQ at:
|
|
7
|
+
https://scripts.sil.org/OFL
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
12
|
+
-----------------------------------------------------------
|
|
13
|
+
|
|
14
|
+
PREAMBLE
|
|
15
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
16
|
+
development of collaborative font projects, to support the font creation
|
|
17
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
18
|
+
open framework in which fonts may be shared and improved in partnership
|
|
19
|
+
with others.
|
|
20
|
+
|
|
21
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
22
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
23
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
24
|
+
redistributed and/or sold with any software provided that any reserved
|
|
25
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
26
|
+
however, cannot be released under any other type of license. The
|
|
27
|
+
requirement for fonts to remain under this license does not apply
|
|
28
|
+
to any document created using the fonts or their derivatives.
|
|
29
|
+
|
|
30
|
+
DEFINITIONS
|
|
31
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
32
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
33
|
+
include source files, build scripts and documentation.
|
|
34
|
+
|
|
35
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
36
|
+
copyright statement(s).
|
|
37
|
+
|
|
38
|
+
"Original Version" refers to the collection of Font Software components as
|
|
39
|
+
distributed by the Copyright Holder(s).
|
|
40
|
+
|
|
41
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
42
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
43
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
44
|
+
new environment.
|
|
45
|
+
|
|
46
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
47
|
+
writer or other person who contributed to the Font Software.
|
|
48
|
+
|
|
49
|
+
PERMISSION & CONDITIONS
|
|
50
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
51
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
52
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
53
|
+
Software, subject to the following conditions:
|
|
54
|
+
|
|
55
|
+
1) Neither the Font Software nor any of its individual components,
|
|
56
|
+
in Original or Modified Versions, may be sold by itself.
|
|
57
|
+
|
|
58
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
59
|
+
redistributed and/or sold with any software, provided that each copy
|
|
60
|
+
contains the above copyright notice and this license. These can be
|
|
61
|
+
included either as stand-alone text files, human-readable headers or
|
|
62
|
+
in the appropriate machine-readable metadata fields within text or
|
|
63
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
64
|
+
|
|
65
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
66
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
67
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
68
|
+
presented to the users.
|
|
69
|
+
|
|
70
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
71
|
+
Software shall not be used to promote, endorse or advertise any
|
|
72
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
73
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
74
|
+
permission.
|
|
75
|
+
|
|
76
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
77
|
+
must be distributed entirely under this license, and must not be
|
|
78
|
+
distributed under any other license. The requirement for fonts to
|
|
79
|
+
remain under this license does not apply to any document created
|
|
80
|
+
using the Font Software.
|
|
81
|
+
|
|
82
|
+
TERMINATION
|
|
83
|
+
This license becomes null and void if any of the above conditions are
|
|
84
|
+
not met.
|
|
85
|
+
|
|
86
|
+
DISCLAIMER
|
|
87
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
88
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
89
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
90
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
91
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
92
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
93
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
94
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
95
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"slug": "washi",
|
|
4
|
+
"name": "Washi",
|
|
5
|
+
"description": "Warm washi paper, sumi ink, and ai-iro indigo seals — quiet Japanese stationery for calm documentation.",
|
|
6
|
+
"mode": "light",
|
|
7
|
+
"version": "1.0.1",
|
|
8
|
+
"fonts": {
|
|
9
|
+
"sans": "Zen Kaku Gothic New",
|
|
10
|
+
"mono": "M PLUS 1 Code",
|
|
11
|
+
"display": "Shippori Mincho",
|
|
12
|
+
"loaded": ["Zen Kaku Gothic New", "Shippori Mincho", "M PLUS 1 Code"]
|
|
13
|
+
},
|
|
14
|
+
"preview": {
|
|
15
|
+
"light": {
|
|
16
|
+
"bg": "#f6f1e4",
|
|
17
|
+
"fg": "#2b2822",
|
|
18
|
+
"accent": "#274a78",
|
|
19
|
+
"syntax": {
|
|
20
|
+
"keyword": "#274a78",
|
|
21
|
+
"string": "#41653a",
|
|
22
|
+
"comment": "#6f6654",
|
|
23
|
+
"callable": "#963f34"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"dark": {
|
|
27
|
+
"bg": "#1b212c",
|
|
28
|
+
"fg": "#eae3d2",
|
|
29
|
+
"accent": "#8ab0dd",
|
|
30
|
+
"syntax": {
|
|
31
|
+
"keyword": "#97b9e6",
|
|
32
|
+
"string": "#a9cb90",
|
|
33
|
+
"comment": "#8894a4",
|
|
34
|
+
"callable": "#e0a49a"
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|