@takazudo/zudo-doc 3.2.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +61 -0
- package/README.md +2 -2
- package/bin/tag-cli-config.ts +126 -0
- package/bin/tags-audit-runner.ts +60 -76
- package/bin/tags-audit.mjs +17 -36
- package/bin/tags-suggest-runner.ts +429 -0
- package/bin/tags-suggest.mjs +30 -0
- package/bin/zudo-doc.mjs +78 -25
- package/dist/breadcrumb/breadcrumb.d.ts +4 -4
- package/dist/breadcrumb/find-path.d.ts +2 -2
- package/dist/breadcrumb/index.d.ts +1 -1
- package/dist/breadcrumb/types.d.ts +0 -5
- package/dist/chrome/derive.d.ts +16 -4
- package/dist/chrome/derive.js +64 -4
- package/dist/chrome/index.d.ts +13 -10
- package/dist/chrome/index.js +12 -6
- package/dist/chrome/primary-slots.d.ts +21 -0
- package/dist/chrome/primary-slots.js +59 -0
- package/dist/chrome-bindings.d.ts +227 -0
- package/dist/chrome-bindings.js +6 -0
- package/dist/code-syntax/code-block-enhancer-script.d.ts +4 -0
- package/dist/code-syntax/code-block-enhancer-script.js +7 -4
- package/dist/code-syntax/code-block-enhancer.d.ts +2 -2
- package/dist/code-syntax/code-block-enhancer.js +1 -3
- package/dist/code-syntax/index.d.ts +5 -5
- package/dist/code-syntax/index.js +4 -13
- package/dist/code-syntax/mermaid-init-script.d.ts +1 -22
- package/dist/code-syntax/mermaid-init-script.js +0 -2
- package/dist/code-syntax/mermaid-init.d.ts +0 -1
- package/dist/code-syntax/mermaid-init.js +3 -4
- package/dist/code-syntax/tabs-init.d.ts +0 -1
- package/dist/code-syntax/tabs-init.js +1 -3
- package/dist/code-syntax/tabs.d.ts +0 -1
- package/dist/code-syntax/tabs.js +1 -3
- package/dist/color-scheme-utils.d.ts +72 -4
- package/dist/color-scheme-utils.js +137 -0
- package/dist/color-schemes-defaults/index.d.ts +23 -0
- package/dist/color-schemes-defaults/index.js +134 -0
- package/dist/config.d.ts +459 -0
- package/dist/config.js +125 -0
- package/dist/content/component-map.d.ts +0 -16
- package/dist/content/component-map.js +2 -4
- package/dist/content/index.d.ts +1 -1
- package/dist/content/index.js +2 -3
- package/dist/content.css +1 -1
- package/dist/design-token-panel-bootstrap.d.ts +82 -27
- package/dist/design-token-panel-bootstrap.js +110 -21
- package/dist/design-token-panel-config/index.d.ts +49 -0
- package/dist/design-token-panel-config/index.js +211 -0
- package/dist/design-token-panel-config/manifest.d.ts +46 -0
- package/dist/design-token-panel-config/manifest.js +105 -0
- package/dist/directive-vocabulary-defaults/index.d.ts +16 -0
- package/dist/directive-vocabulary-defaults/index.js +12 -0
- package/dist/doc-body-end-islands/design-token-panel-island.d.ts +15 -0
- package/dist/doc-body-end-islands/design-token-panel-island.js +31 -0
- package/dist/doc-body-end-islands/index.d.ts +52 -7
- package/dist/doc-body-end-islands/index.js +19 -0
- package/dist/doc-body-end-islands/theme-pack-switcher-island.d.ts +37 -0
- package/dist/doc-body-end-islands/theme-pack-switcher-island.js +18 -0
- package/dist/doc-content-header/index.js +1 -1
- package/dist/doc-history-area/index.d.ts +10 -4
- package/dist/doc-history-area/index.js +3 -2
- package/dist/doc-metainfo-area/index.d.ts +1 -0
- package/dist/doc-page-props/index.d.ts +7 -23
- package/dist/doc-page-renderer/index.d.ts +1 -0
- package/dist/doc-page-renderer/index.js +1 -0
- package/dist/doc-page-shell/index.js +19 -12
- package/dist/doc-pager/index.js +1 -1
- package/dist/doc-route-entries/index.d.ts +2 -2
- package/dist/doclayout/doc-layout-with-defaults.js +4 -4
- package/dist/doclayout/doc-layout.d.ts +8 -0
- package/dist/doclayout/doc-layout.js +10 -1
- package/dist/docs-schema/index.d.ts +67 -0
- package/dist/docs-schema/index.js +43 -0
- package/dist/eject/index.d.ts +16 -0
- package/dist/eject/index.js +122 -28
- package/dist/extract-headings/index.d.ts +5 -8
- package/dist/extract-headings/index.js +2 -9
- package/dist/factory-context/index.d.ts +56 -4
- package/dist/features.css +65 -43
- package/dist/find-in-page/find-bar.d.ts +9 -0
- package/dist/find-in-page/find-bar.js +114 -0
- package/dist/find-in-page/find-in-page.d.ts +17 -0
- package/dist/find-in-page/find-in-page.js +131 -0
- package/dist/find-in-page/index.d.ts +11 -0
- package/dist/find-in-page/index.js +49 -0
- package/dist/footer/footer.js +1 -0
- package/dist/frontmatter-preview-defaults/index.d.ts +16 -0
- package/dist/frontmatter-preview-defaults/index.js +25 -0
- package/dist/head-with-defaults/index.d.ts +2 -0
- package/dist/head-with-defaults/index.js +16 -0
- package/dist/header/header.d.ts +10 -5
- package/dist/header/header.js +45 -5
- package/dist/header/index.d.ts +1 -1
- package/dist/header/types.d.ts +30 -1
- package/dist/header-with-defaults/index.js +1 -0
- package/dist/home-page/index.d.ts +2 -0
- package/dist/home-page/index.js +11 -5
- package/dist/home-page/prepare-home-data.js +1 -1
- package/dist/i18n-defaults/index.d.ts +22 -0
- package/dist/i18n-defaults/index.js +167 -0
- package/dist/locale-merge/index.d.ts +9 -14
- package/dist/locale-merge/index.js +6 -4
- package/dist/mdx-components/index.js +4 -4
- package/dist/plugins/claude-resources.d.ts +1 -0
- package/dist/plugins/claude-resources.js +4 -2
- package/dist/plugins/doc-history.js +1 -1
- package/dist/{integrations → plugins/internal}/claude-resources/index.d.ts +1 -16
- package/dist/{integrations → plugins/internal}/claude-resources/index.js +0 -9
- package/dist/{integrations → plugins/internal}/doc-history/index.d.ts +0 -17
- package/dist/{integrations → plugins/internal}/doc-history/index.js +0 -4
- package/dist/{integrations → plugins/internal}/doc-history/pre-build.d.ts +2 -4
- package/dist/plugins/internal/llms-txt/index.d.ts +7 -0
- package/dist/{integrations → plugins/internal}/llms-txt/load.d.ts +1 -1
- package/dist/{integrations → plugins/internal}/llms-txt/load.js +2 -2
- package/dist/{integrations → plugins/internal}/llms-txt/strip.d.ts +2 -3
- package/dist/{integrations → plugins/internal}/llms-txt/strip.js +1 -1
- package/dist/{integrations → plugins/internal}/llms-txt/types.d.ts +13 -22
- package/dist/{integrations → plugins/internal}/search-index/collect.js +1 -1
- package/dist/plugins/internal/theme-packs/copy.d.ts +32 -0
- package/dist/plugins/internal/theme-packs/copy.js +45 -0
- package/dist/plugins/internal/theme-packs/dev-middleware.d.ts +22 -0
- package/dist/plugins/internal/theme-packs/dev-middleware.js +80 -0
- package/dist/plugins/internal/theme-packs/index.d.ts +6 -0
- package/dist/plugins/internal/theme-packs/index.js +9 -0
- package/dist/plugins/internal/theme-packs/resolve.d.ts +17 -0
- package/dist/plugins/internal/theme-packs/resolve.js +17 -0
- package/dist/plugins/internal/theme-packs/types.d.ts +22 -0
- package/dist/plugins/internal/theme-packs/types.js +0 -0
- package/dist/plugins/llms-txt.js +1 -1
- package/dist/plugins/routes.js +55 -21
- package/dist/plugins/search-index.js +1 -1
- package/dist/plugins/theme-packs.d.ts +3 -0
- package/dist/plugins/theme-packs.js +40 -0
- package/dist/preset.d.ts +28 -14
- package/dist/preset.js +24 -9
- package/dist/route-context/index.js +4 -6
- package/dist/route-enumerators/index.d.ts +6 -18
- package/dist/route-enumerators/index.js +8 -6
- package/dist/routes/404.js +3 -1
- package/dist/routes/_chrome.js +3 -2
- package/dist/routes/_context.d.ts +7 -3
- package/dist/routes/_context.js +2 -0
- package/dist/routes/_docs-helpers.js +9 -21
- package/dist/safelist.css +1 -1
- package/dist/settings.d.ts +64 -12
- package/dist/sidebar-tree/build-tree.d.ts +3 -4
- package/dist/sidebar-tree/build-tree.js +4 -3
- package/dist/sidebar-tree/index.d.ts +2 -2
- package/dist/sidebar-tree/types.d.ts +6 -17
- package/dist/site-tree-nav-island/index.d.ts +3 -1
- package/dist/site-tree-nav-island/index.js +17 -5
- package/dist/site-tree-nav-island/state.d.ts +4 -0
- package/dist/site-tree-nav-island/state.js +10 -0
- package/dist/tag-helpers/index.d.ts +6 -13
- package/dist/tag-helpers/index.js +5 -23
- package/dist/tag-pages/index.d.ts +8 -21
- package/dist/tag-pages/index.js +14 -10
- package/dist/tags-audit.d.ts +16 -44
- package/dist/tags-audit.js +9 -172
- package/dist/theme/color-scheme-provider.d.ts +2 -3
- package/dist/theme/color-scheme-provider.js +2 -10
- package/dist/theme/index.d.ts +1 -4
- package/dist/theme/index.js +2 -30
- package/dist/theme/theme-pack-provider.d.ts +42 -0
- package/dist/theme/theme-pack-provider.js +75 -0
- package/dist/theme-cli/apply.d.ts +16 -0
- package/dist/theme-cli/apply.js +61 -0
- package/dist/theme-cli/config-io.d.ts +15 -0
- package/dist/theme-cli/config-io.js +51 -0
- package/dist/theme-cli/config-rewriter.d.ts +21 -0
- package/dist/theme-cli/config-rewriter.js +141 -0
- package/dist/theme-cli/config-scanner.d.ts +63 -0
- package/dist/theme-cli/config-scanner.js +288 -0
- package/dist/theme-cli/index.d.ts +7 -0
- package/dist/theme-cli/index.js +38 -0
- package/dist/theme-cli/list.d.ts +27 -0
- package/dist/theme-cli/list.js +64 -0
- package/dist/theme-cli/provenance.d.ts +17 -0
- package/dist/theme-cli/provenance.js +35 -0
- package/dist/theme-cli/registry.d.ts +14 -0
- package/dist/theme-cli/registry.js +13 -0
- package/dist/theme-pack-dialog/dialog-state.d.ts +25 -0
- package/dist/theme-pack-dialog/dialog-state.js +40 -0
- package/dist/theme-pack-dialog/index.d.ts +5 -0
- package/dist/theme-pack-dialog/index.js +152 -0
- package/dist/theme-pack-dialog/theme-pack-card.d.ts +25 -0
- package/dist/theme-pack-dialog/theme-pack-card.js +72 -0
- package/dist/theme-pack-switcher/index.d.ts +49 -0
- package/dist/theme-pack-switcher/index.js +205 -0
- package/dist/theme-pack-switcher/switcher-state.d.ts +56 -0
- package/dist/theme-pack-switcher/switcher-state.js +43 -0
- package/dist/theme-pack-switcher/theme-pack-sync.d.ts +85 -0
- package/dist/theme-pack-switcher/theme-pack-sync.js +121 -0
- package/dist/theme-packs/beacon/fonts/AtkinsonHyperlegible-400-latin.woff2 +0 -0
- package/dist/theme-packs/beacon/fonts/AtkinsonHyperlegible-700-latin.woff2 +0 -0
- package/dist/theme-packs/beacon/fonts/AtkinsonHyperlegible-italic-400-latin.woff2 +0 -0
- package/dist/theme-packs/beacon/fonts/AtkinsonHyperlegible-italic-700-latin.woff2 +0 -0
- package/dist/theme-packs/beacon/fonts/AtkinsonHyperlegibleMono-italic-latin.woff2 +0 -0
- package/dist/theme-packs/beacon/fonts/AtkinsonHyperlegibleMono-latin.woff2 +0 -0
- package/dist/theme-packs/beacon/fonts/OFL.txt +94 -0
- package/dist/theme-packs/beacon/meta.json +37 -0
- package/dist/theme-packs/beacon/pack.css +442 -0
- package/dist/theme-packs/broadsheet/fonts/CourierPrime-400-latin.woff2 +0 -0
- package/dist/theme-packs/broadsheet/fonts/CourierPrime-700-latin.woff2 +0 -0
- package/dist/theme-packs/broadsheet/fonts/OFL.txt +95 -0
- package/dist/theme-packs/broadsheet/fonts/PlayfairDisplay-italic-latin.woff2 +0 -0
- package/dist/theme-packs/broadsheet/fonts/PlayfairDisplay-latin.woff2 +0 -0
- package/dist/theme-packs/broadsheet/fonts/SourceSerif4-italic-latin.woff2 +0 -0
- package/dist/theme-packs/broadsheet/fonts/SourceSerif4-latin.woff2 +0 -0
- package/dist/theme-packs/broadsheet/meta.json +38 -0
- package/dist/theme-packs/broadsheet/pack.css +448 -0
- package/dist/theme-packs/brutalist/fonts/ArchivoBlack-latin.woff2 +0 -0
- package/dist/theme-packs/brutalist/fonts/IBMPlexMono-400-latin.woff2 +0 -0
- package/dist/theme-packs/brutalist/fonts/IBMPlexMono-500-latin.woff2 +0 -0
- package/dist/theme-packs/brutalist/fonts/IBMPlexMono-700-latin.woff2 +0 -0
- package/dist/theme-packs/brutalist/fonts/OFL.txt +95 -0
- package/dist/theme-packs/brutalist/fonts/SpaceGrotesk-latin.woff2 +0 -0
- package/dist/theme-packs/brutalist/meta.json +38 -0
- package/dist/theme-packs/brutalist/pack.css +546 -0
- package/dist/theme-packs/default/meta.json +37 -0
- package/dist/theme-packs/drift/fonts/IBMPlexMono-400-latin-ext.woff2 +0 -0
- package/dist/theme-packs/drift/fonts/IBMPlexMono-400-latin.woff2 +0 -0
- package/dist/theme-packs/drift/fonts/IBMPlexMono-500-latin-ext.woff2 +0 -0
- package/dist/theme-packs/drift/fonts/IBMPlexMono-500-latin.woff2 +0 -0
- package/dist/theme-packs/drift/fonts/IBMPlexSans-italic-latin.woff2 +0 -0
- package/dist/theme-packs/drift/fonts/IBMPlexSans-latin-ext.woff2 +0 -0
- package/dist/theme-packs/drift/fonts/IBMPlexSans-latin.woff2 +0 -0
- package/dist/theme-packs/drift/fonts/OFL.txt +93 -0
- package/dist/theme-packs/drift/meta.json +37 -0
- package/dist/theme-packs/drift/pack.css +478 -0
- package/dist/theme-packs/fjord/fonts/Inter-latin-ext.woff2 +0 -0
- package/dist/theme-packs/fjord/fonts/Inter-latin.woff2 +0 -0
- package/dist/theme-packs/fjord/fonts/JetBrainsMono-latin-ext.woff2 +0 -0
- package/dist/theme-packs/fjord/fonts/JetBrainsMono-latin.woff2 +0 -0
- package/dist/theme-packs/fjord/fonts/OFL.txt +94 -0
- package/dist/theme-packs/fjord/meta.json +37 -0
- package/dist/theme-packs/fjord/pack.css +375 -0
- package/dist/theme-packs/foundry/fonts/Inter-latin-ext.woff2 +0 -0
- package/dist/theme-packs/foundry/fonts/Inter-latin.woff2 +0 -0
- package/dist/theme-packs/foundry/fonts/OFL.txt +93 -0
- package/dist/theme-packs/foundry/meta.json +37 -0
- package/dist/theme-packs/foundry/pack.css +202 -0
- package/dist/theme-packs/futura-editorial/fonts/Jost-latin.woff2 +0 -0
- package/dist/theme-packs/futura-editorial/fonts/NotoSans-italic-latin.woff2 +0 -0
- package/dist/theme-packs/futura-editorial/fonts/NotoSans-latin.woff2 +0 -0
- package/dist/theme-packs/futura-editorial/fonts/OFL.txt +95 -0
- package/dist/theme-packs/futura-editorial/fonts/SpaceMono-400-latin.woff2 +0 -0
- package/dist/theme-packs/futura-editorial/fonts/SpaceMono-700-latin.woff2 +0 -0
- package/dist/theme-packs/futura-editorial/meta.json +38 -0
- package/dist/theme-packs/futura-editorial/pack.css +313 -0
- package/dist/theme-packs/hearth/fonts/Fraunces-italic-latin.woff2 +0 -0
- package/dist/theme-packs/hearth/fonts/Fraunces-latin.woff2 +0 -0
- package/dist/theme-packs/hearth/fonts/Nunito-latin.woff2 +0 -0
- package/dist/theme-packs/hearth/fonts/OFL.txt +95 -0
- package/dist/theme-packs/hearth/fonts/SplineSansMono-latin.woff2 +0 -0
- package/dist/theme-packs/hearth/meta.json +38 -0
- package/dist/theme-packs/hearth/pack.css +385 -0
- package/dist/theme-packs/hollow/fonts/OFL.txt +94 -0
- package/dist/theme-packs/hollow/fonts/SpaceGrotesk-latin.woff2 +0 -0
- package/dist/theme-packs/hollow/fonts/SpaceMono-400-italic-latin.woff2 +0 -0
- package/dist/theme-packs/hollow/fonts/SpaceMono-400-latin.woff2 +0 -0
- package/dist/theme-packs/hollow/fonts/SpaceMono-700-latin.woff2 +0 -0
- package/dist/theme-packs/hollow/meta.json +37 -0
- package/dist/theme-packs/hollow/pack.css +428 -0
- package/dist/theme-packs/ledger/fonts/CrimsonPro-latin-ext-italic.woff2 +0 -0
- package/dist/theme-packs/ledger/fonts/CrimsonPro-latin-ext.woff2 +0 -0
- package/dist/theme-packs/ledger/fonts/CrimsonPro-latin-italic.woff2 +0 -0
- package/dist/theme-packs/ledger/fonts/CrimsonPro-latin.woff2 +0 -0
- package/dist/theme-packs/ledger/fonts/IBMPlexMono-400-latin-ext.woff2 +0 -0
- package/dist/theme-packs/ledger/fonts/IBMPlexMono-400-latin.woff2 +0 -0
- package/dist/theme-packs/ledger/fonts/IBMPlexMono-500-latin-ext.woff2 +0 -0
- package/dist/theme-packs/ledger/fonts/IBMPlexMono-500-latin.woff2 +0 -0
- package/dist/theme-packs/ledger/fonts/OFL.txt +94 -0
- package/dist/theme-packs/ledger/meta.json +37 -0
- package/dist/theme-packs/ledger/pack.css +463 -0
- package/dist/theme-packs/manuscript/fonts/CourierPrime-400-latin-ext.woff2 +0 -0
- package/dist/theme-packs/manuscript/fonts/CourierPrime-400-latin.woff2 +0 -0
- package/dist/theme-packs/manuscript/fonts/CourierPrime-700-latin-ext.woff2 +0 -0
- package/dist/theme-packs/manuscript/fonts/CourierPrime-700-latin.woff2 +0 -0
- package/dist/theme-packs/manuscript/fonts/EBGaramond-latin-italic.woff2 +0 -0
- package/dist/theme-packs/manuscript/fonts/EBGaramond-latin.woff2 +0 -0
- package/dist/theme-packs/manuscript/fonts/OFL.txt +94 -0
- package/dist/theme-packs/manuscript/meta.json +37 -0
- package/dist/theme-packs/manuscript/pack.css +376 -0
- package/dist/theme-packs/matcha/fonts/MPLUS1Code-latin.woff2 +0 -0
- package/dist/theme-packs/matcha/fonts/OFL.txt +95 -0
- package/dist/theme-packs/matcha/fonts/ShipporiMincho-500-latin.woff2 +0 -0
- package/dist/theme-packs/matcha/fonts/ShipporiMincho-700-latin.woff2 +0 -0
- package/dist/theme-packs/matcha/fonts/ZenKakuGothicNew-400-latin.woff2 +0 -0
- package/dist/theme-packs/matcha/fonts/ZenKakuGothicNew-500-latin.woff2 +0 -0
- package/dist/theme-packs/matcha/meta.json +38 -0
- package/dist/theme-packs/matcha/pack.css +409 -0
- package/dist/theme-packs/nocturne/fonts/CormorantGaramond-italic-latin.woff2 +0 -0
- package/dist/theme-packs/nocturne/fonts/CormorantGaramond-latin.woff2 +0 -0
- package/dist/theme-packs/nocturne/fonts/IBMPlexMono-400-latin.woff2 +0 -0
- package/dist/theme-packs/nocturne/fonts/IBMPlexMono-500-latin.woff2 +0 -0
- package/dist/theme-packs/nocturne/fonts/IBMPlexMono-italic-latin.woff2 +0 -0
- package/dist/theme-packs/nocturne/fonts/Manrope-latin.woff2 +0 -0
- package/dist/theme-packs/nocturne/fonts/OFL.txt +95 -0
- package/dist/theme-packs/nocturne/meta.json +38 -0
- package/dist/theme-packs/nocturne/pack.css +502 -0
- package/dist/theme-packs/observatory/fonts/JosefinSans-latin.woff2 +0 -0
- package/dist/theme-packs/observatory/fonts/Jost-italic-latin.woff2 +0 -0
- package/dist/theme-packs/observatory/fonts/Jost-latin.woff2 +0 -0
- package/dist/theme-packs/observatory/fonts/OFL.txt +95 -0
- package/dist/theme-packs/observatory/fonts/SpaceMono-400-latin.woff2 +0 -0
- package/dist/theme-packs/observatory/fonts/SpaceMono-700-latin.woff2 +0 -0
- package/dist/theme-packs/observatory/fonts/SpaceMono-italic-latin.woff2 +0 -0
- package/dist/theme-packs/observatory/meta.json +38 -0
- package/dist/theme-packs/observatory/pack.css +728 -0
- package/dist/theme-packs/onyx/fonts/CormorantGaramond-italic-latin.woff2 +0 -0
- package/dist/theme-packs/onyx/fonts/CormorantGaramond-latin.woff2 +0 -0
- package/dist/theme-packs/onyx/fonts/IBMPlexMono-400-latin-ext.woff2 +0 -0
- package/dist/theme-packs/onyx/fonts/IBMPlexMono-400-latin.woff2 +0 -0
- package/dist/theme-packs/onyx/fonts/IBMPlexMono-500-latin-ext.woff2 +0 -0
- package/dist/theme-packs/onyx/fonts/IBMPlexMono-500-latin.woff2 +0 -0
- package/dist/theme-packs/onyx/fonts/Jost-latin.woff2 +0 -0
- package/dist/theme-packs/onyx/fonts/OFL.txt +95 -0
- package/dist/theme-packs/onyx/meta.json +38 -0
- package/dist/theme-packs/onyx/pack.css +497 -0
- package/dist/theme-packs/phosphor/fonts/JetBrainsMono-latin-ext.woff2 +0 -0
- package/dist/theme-packs/phosphor/fonts/JetBrainsMono-latin.woff2 +0 -0
- package/dist/theme-packs/phosphor/fonts/OFL.txt +94 -0
- package/dist/theme-packs/phosphor/fonts/VT323-latin-ext.woff2 +0 -0
- package/dist/theme-packs/phosphor/fonts/VT323-latin.woff2 +0 -0
- package/dist/theme-packs/phosphor/meta.json +38 -0
- package/dist/theme-packs/phosphor/pack.css +493 -0
- package/dist/theme-packs/solar/fonts/OFL.txt +94 -0
- package/dist/theme-packs/solar/fonts/SourceCodePro-italic-latin.woff2 +0 -0
- package/dist/theme-packs/solar/fonts/SourceCodePro-latin.woff2 +0 -0
- package/dist/theme-packs/solar/fonts/SourceSans3-italic-latin.woff2 +0 -0
- package/dist/theme-packs/solar/fonts/SourceSans3-latin.woff2 +0 -0
- package/dist/theme-packs/solar/meta.json +37 -0
- package/dist/theme-packs/solar/pack.css +380 -0
- package/dist/theme-packs/sumi/fonts/IBMPlexMono-400-latin-ext.woff2 +0 -0
- package/dist/theme-packs/sumi/fonts/IBMPlexMono-400-latin.woff2 +0 -0
- package/dist/theme-packs/sumi/fonts/IBMPlexMono-500-latin-ext.woff2 +0 -0
- package/dist/theme-packs/sumi/fonts/IBMPlexMono-500-latin.woff2 +0 -0
- package/dist/theme-packs/sumi/fonts/OFL.txt +95 -0
- package/dist/theme-packs/sumi/fonts/ShipporiMinchoB1-600-latin.woff2 +0 -0
- package/dist/theme-packs/sumi/fonts/ShipporiMinchoB1-700-latin.woff2 +0 -0
- package/dist/theme-packs/sumi/fonts/ShipporiMinchoB1-800-latin.woff2 +0 -0
- package/dist/theme-packs/sumi/fonts/ZenKakuGothicNew-400-latin.woff2 +0 -0
- package/dist/theme-packs/sumi/fonts/ZenKakuGothicNew-500-latin.woff2 +0 -0
- package/dist/theme-packs/sumi/meta.json +38 -0
- package/dist/theme-packs/sumi/pack.css +502 -0
- package/dist/theme-packs/swissgrid/fonts/IBMPlexMono-400-latin-ext.woff2 +0 -0
- package/dist/theme-packs/swissgrid/fonts/IBMPlexMono-400-latin.woff2 +0 -0
- package/dist/theme-packs/swissgrid/fonts/IBMPlexMono-600-latin.woff2 +0 -0
- package/dist/theme-packs/swissgrid/fonts/Inter-latin-ext.woff2 +0 -0
- package/dist/theme-packs/swissgrid/fonts/Inter-latin.woff2 +0 -0
- package/dist/theme-packs/swissgrid/fonts/InterTight-latin.woff2 +0 -0
- package/dist/theme-packs/swissgrid/fonts/OFL.txt +95 -0
- package/dist/theme-packs/swissgrid/meta.json +38 -0
- package/dist/theme-packs/swissgrid/pack.css +518 -0
- package/dist/theme-packs/washi/fonts/MPlus1Code-400-latin.woff2 +0 -0
- package/dist/theme-packs/washi/fonts/MPlus1Code-500-latin.woff2 +0 -0
- package/dist/theme-packs/washi/fonts/OFL.txt +95 -0
- package/dist/theme-packs/washi/fonts/ShipporiMincho-500-latin.woff2 +0 -0
- package/dist/theme-packs/washi/fonts/ShipporiMincho-600-latin.woff2 +0 -0
- package/dist/theme-packs/washi/fonts/ShipporiMincho-700-latin.woff2 +0 -0
- package/dist/theme-packs/washi/fonts/ZenKakuGothicNew-400-latin.woff2 +0 -0
- package/dist/theme-packs/washi/fonts/ZenKakuGothicNew-500-latin.woff2 +0 -0
- package/dist/theme-packs/washi/fonts/ZenKakuGothicNew-700-latin.woff2 +0 -0
- package/dist/theme-packs/washi/meta.json +38 -0
- package/dist/theme-packs/washi/pack.css +479 -0
- package/dist/theme-packs-registry/index.d.ts +5 -0
- package/dist/theme-packs-registry/index.js +30 -0
- package/dist/theme-packs-registry/load-registry.d.ts +23 -0
- package/dist/theme-packs-registry/load-registry.js +64 -0
- package/dist/theme-packs-registry/meta-schema.d.ts +70 -0
- package/dist/theme-packs-registry/meta-schema.js +38 -0
- package/dist/theme-packs-registry/resolve-enabled-packs.d.ts +25 -0
- package/dist/theme-packs-registry/resolve-enabled-packs.js +43 -0
- package/dist/theme-packs-registry/token-manifest.d.ts +19 -0
- package/dist/theme-packs-registry/token-manifest.js +57 -0
- package/dist/theme-packs-registry/validator.d.ts +35 -0
- package/dist/theme-packs-registry/validator.js +284 -0
- package/dist/theme-toggle/color-scheme-sync.d.ts +2 -4
- package/dist/theme.css +319 -0
- package/dist/versions-page/index.d.ts +2 -2
- package/dist/versions-page/index.js +8 -8
- package/dist/z-index-defaults/index.d.ts +45 -0
- package/dist/z-index-defaults/index.js +34 -0
- package/eject/breadcrumb/breadcrumb.tsx +4 -4
- package/eject/breadcrumb/find-path.ts +2 -2
- package/eject/breadcrumb/index.ts +1 -1
- package/eject/breadcrumb/types.ts +0 -6
- package/eject/code-group/index.tsx +2 -2
- package/eject/doc-history/index.tsx +1 -1
- package/eject/doc-pager/index.tsx +1 -1
- package/eject/footer/footer.tsx +1 -0
- package/eject/header/header.tsx +86 -21
- package/eject/header/index.ts +3 -0
- package/eject/header/types.ts +39 -1
- package/eject/site-tree-nav-island/index.tsx +15 -3
- package/eject/site-tree-nav-island/state.ts +9 -0
- package/eject/theme-toggle/color-scheme-sync.ts +2 -4
- package/package.json +82 -29
- package/routes-src/404.tsx +4 -1
- package/routes-src/_chrome.tsx +31 -8
- package/routes-src/_context.ts +4 -0
- package/routes-src/_docs-helpers.ts +9 -29
- package/routes-src/_virtual.d.ts +38 -2
- package/tsconfig.base.json +29 -0
- package/virtual-modules.d.ts +83 -0
- package/zfb-config-shim.d.ts +210 -0
- package/dist/integrations/llms-txt/index.d.ts +0 -33
- package/dist/theme/color-tweak-export-modal.d.ts +0 -16
- package/dist/theme/color-tweak-export-modal.js +0 -138
- package/dist/theme/design-token-serde.d.ts +0 -183
- package/dist/theme/design-token-serde.js +0 -346
- package/dist/theme/design-token-types.d.ts +0 -13
- package/dist/theme/design-token-types.js +0 -6
- package/dist/theme/iframe-bridge.d.ts +0 -42
- package/dist/theme/iframe-bridge.js +0 -72
- /package/dist/{integrations → plugins/internal}/claude-resources/escape-for-mdx.d.ts +0 -0
- /package/dist/{integrations → plugins/internal}/claude-resources/escape-for-mdx.js +0 -0
- /package/dist/{integrations → plugins/internal}/claude-resources/generate.d.ts +0 -0
- /package/dist/{integrations → plugins/internal}/claude-resources/generate.js +0 -0
- /package/dist/{integrations → plugins/internal}/doc-history/pre-build.js +0 -0
- /package/dist/{integrations → plugins/internal}/llms-txt/dev-middleware.d.ts +0 -0
- /package/dist/{integrations → plugins/internal}/llms-txt/dev-middleware.js +0 -0
- /package/dist/{integrations → plugins/internal}/llms-txt/emit.d.ts +0 -0
- /package/dist/{integrations → plugins/internal}/llms-txt/emit.js +0 -0
- /package/dist/{integrations → plugins/internal}/llms-txt/generate.d.ts +0 -0
- /package/dist/{integrations → plugins/internal}/llms-txt/generate.js +0 -0
- /package/dist/{integrations → plugins/internal}/llms-txt/index.js +0 -0
- /package/dist/{integrations → plugins/internal}/llms-txt/types.js +0 -0
- /package/dist/{integrations → plugins/internal}/search-index/build-emitter.d.ts +0 -0
- /package/dist/{integrations → plugins/internal}/search-index/build-emitter.js +0 -0
- /package/dist/{integrations → plugins/internal}/search-index/collect.d.ts +0 -0
- /package/dist/{integrations → plugins/internal}/search-index/dev-middleware.d.ts +0 -0
- /package/dist/{integrations → plugins/internal}/search-index/dev-middleware.js +0 -0
- /package/dist/{integrations → plugins/internal}/search-index/index.d.ts +0 -0
- /package/dist/{integrations → plugins/internal}/search-index/index.js +0 -0
- /package/dist/{integrations → plugins/internal}/search-index/types.d.ts +0 -0
- /package/dist/{integrations → plugins/internal}/search-index/types.js +0 -0
|
@@ -0,0 +1,448 @@
|
|
|
1
|
+
/* ============================================================
|
|
2
|
+
Broadsheet — zudo-doc theme pack (ADR docs/adr/theme-packs.md)
|
|
3
|
+
|
|
4
|
+
Newspaper editorial: a Playfair Display masthead over a thick-thin
|
|
5
|
+
Oxford rule, Source Serif 4 body copy, Courier Prime wire-report
|
|
6
|
+
code, one deep editorial red. Light = morning edition on warm
|
|
7
|
+
newsprint; dark = the night desk — warm charcoal ink field, cream
|
|
8
|
+
type, the same red running a touch brighter. Print is square: no
|
|
9
|
+
rounded corners anywhere on a broadsheet.
|
|
10
|
+
|
|
11
|
+
Every rule below is scoped under html[data-theme-pack="broadsheet"]
|
|
12
|
+
— this is what makes the runtime pack swap atomic (Decision 3) and
|
|
13
|
+
lets the validator prove a pack can never leak styles while
|
|
14
|
+
inactive (Decision 6.7). The @font-face blocks are the sole
|
|
15
|
+
exception (at-rules can't be selector-scoped).
|
|
16
|
+
|
|
17
|
+
Prototype-selector adaptations against the REAL DOM (tokens-dump
|
|
18
|
+
§6 + component sources), noted inline where they matter:
|
|
19
|
+
- `.lead` → `.zd-content > p[data-doc-description]` (the
|
|
20
|
+
description paragraph DocContentHeader emits
|
|
21
|
+
now carries a stable data-doc-description
|
|
22
|
+
hook, #2876)
|
|
23
|
+
- `.lead + p` → `.zd-content > p[data-doc-description] + p`
|
|
24
|
+
— a description-less page now gets neither
|
|
25
|
+
the deck nor the drop cap (the old
|
|
26
|
+
`.zd-content > p:first-of-type` fallback
|
|
27
|
+
mis-styled body text there — intended fix,
|
|
28
|
+
#2876)
|
|
29
|
+
- `.toc-title` → no desktop TOC heading exists (#1655); the
|
|
30
|
+
double head-rule moves onto the TOC's <ul>
|
|
31
|
+
- `.doc-pager` → `.zd-content > nav[data-doc-pager]` (the
|
|
32
|
+
DocPager nav now carries a stable
|
|
33
|
+
data-doc-pager hook, #2876)
|
|
34
|
+
- `footer[data-footer]` → ships literally now — the real footer
|
|
35
|
+
carries the stable data-footer hook (#2876)
|
|
36
|
+
- `.tp-flyout` → `div[data-switcher-card]` (the flyout card
|
|
37
|
+
now carries a stable data-switcher-card
|
|
38
|
+
hook, #2873) — its classified-ad double
|
|
39
|
+
frame, originally left unported for lack of
|
|
40
|
+
a hook, ships now (#2880).
|
|
41
|
+
============================================================ */
|
|
42
|
+
|
|
43
|
+
/* ---- Playfair Display — masthead / headlines / pull quotes / drop
|
|
44
|
+
cap. Variable file covering the 700–900 range, both styles.
|
|
45
|
+
Latin subsets only (all three families): latin-ext was dropped
|
|
46
|
+
to meet the ~250KB payload budget — a stray latin-ext glyph
|
|
47
|
+
falls back to the stack's system face. ---- */
|
|
48
|
+
|
|
49
|
+
@font-face {
|
|
50
|
+
font-family: "Playfair Display";
|
|
51
|
+
font-style: normal;
|
|
52
|
+
font-weight: 700 900;
|
|
53
|
+
font-display: swap;
|
|
54
|
+
src: url("./fonts/PlayfairDisplay-latin.woff2") format("woff2");
|
|
55
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
56
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
|
|
57
|
+
U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@font-face {
|
|
61
|
+
font-family: "Playfair Display";
|
|
62
|
+
font-style: italic;
|
|
63
|
+
font-weight: 700 900;
|
|
64
|
+
font-display: swap;
|
|
65
|
+
src: url("./fonts/PlayfairDisplay-italic-latin.woff2") format("woff2");
|
|
66
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
67
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
|
|
68
|
+
U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/* ---- Source Serif 4 — body copy. Weight-only variable file
|
|
72
|
+
(400–700; the opsz axis is dropped to halve the payload),
|
|
73
|
+
both styles — the deck and prose emphasis want TRUE italics. ---- */
|
|
74
|
+
|
|
75
|
+
@font-face {
|
|
76
|
+
font-family: "Source Serif 4";
|
|
77
|
+
font-style: normal;
|
|
78
|
+
font-weight: 400 700;
|
|
79
|
+
font-display: swap;
|
|
80
|
+
src: url("./fonts/SourceSerif4-latin.woff2") format("woff2");
|
|
81
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
82
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
|
|
83
|
+
U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@font-face {
|
|
87
|
+
font-family: "Source Serif 4";
|
|
88
|
+
font-style: italic;
|
|
89
|
+
font-weight: 400 700;
|
|
90
|
+
font-display: swap;
|
|
91
|
+
src: url("./fonts/SourceSerif4-italic-latin.woff2") format("woff2");
|
|
92
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
93
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
|
|
94
|
+
U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/* ---- Courier Prime — typewriter code face (static 400 + 700; the
|
|
98
|
+
700 keeps wire-report keywords genuinely bold, not smeared). ---- */
|
|
99
|
+
|
|
100
|
+
@font-face {
|
|
101
|
+
font-family: "Courier Prime";
|
|
102
|
+
font-style: normal;
|
|
103
|
+
font-weight: 400;
|
|
104
|
+
font-display: swap;
|
|
105
|
+
src: url("./fonts/CourierPrime-400-latin.woff2") format("woff2");
|
|
106
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
107
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
|
|
108
|
+
U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
@font-face {
|
|
112
|
+
font-family: "Courier Prime";
|
|
113
|
+
font-style: normal;
|
|
114
|
+
font-weight: 700;
|
|
115
|
+
font-display: swap;
|
|
116
|
+
src: url("./fonts/CourierPrime-700-latin.woff2") format("woff2");
|
|
117
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
118
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
|
|
119
|
+
U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
html[data-theme-pack="broadsheet"] {
|
|
123
|
+
/* Tier-2 semantic roles — newsprint paper, rich black ink, one deep
|
|
124
|
+
editorial red. Both modes always via light-dark(). */
|
|
125
|
+
--zd-bg: light-dark(oklch(0.955 0.012 92), oklch(0.185 0.012 75));
|
|
126
|
+
--zd-fg: light-dark(oklch(0.205 0.012 80), oklch(0.935 0.015 90));
|
|
127
|
+
--zd-selection-bg: light-dark(oklch(0.455 0.155 27), oklch(0.7 0.145 27));
|
|
128
|
+
--zd-selection-fg: light-dark(oklch(0.965 0.01 92), oklch(0.165 0.012 75));
|
|
129
|
+
--zd-surface: light-dark(oklch(0.97 0.01 92), oklch(0.215 0.013 75));
|
|
130
|
+
--zd-muted: light-dark(oklch(0.445 0.016 78), oklch(0.72 0.02 85));
|
|
131
|
+
--zd-accent: light-dark(oklch(0.455 0.155 27), oklch(0.7 0.145 27));
|
|
132
|
+
--zd-accent-hover: light-dark(oklch(0.37 0.135 27), oklch(0.775 0.125 27));
|
|
133
|
+
--zd-code-bg: light-dark(oklch(0.925 0.012 90), oklch(0.235 0.012 75));
|
|
134
|
+
--zd-code-fg: light-dark(oklch(0.225 0.012 80), oklch(0.925 0.015 90));
|
|
135
|
+
--zd-success: light-dark(oklch(0.44 0.1 150), oklch(0.73 0.115 150));
|
|
136
|
+
--zd-danger: light-dark(oklch(0.48 0.16 27), oklch(0.69 0.155 27));
|
|
137
|
+
--zd-warning: light-dark(oklch(0.495 0.105 80), oklch(0.79 0.12 85));
|
|
138
|
+
--zd-info: light-dark(oklch(0.43 0.09 252), oklch(0.73 0.085 250));
|
|
139
|
+
|
|
140
|
+
/* syntax — all 9 roles, both modes: pressroom inks only. Black type,
|
|
141
|
+
red rubrics for keywords, sepia strings, ballpoint blue callables,
|
|
142
|
+
proofreader green types; inserted/deleted reuse the proof-mark
|
|
143
|
+
green and red-ink hues. */
|
|
144
|
+
--zd-syntax-comment: light-dark(oklch(0.5 0.016 78), oklch(0.7 0.02 85));
|
|
145
|
+
--zd-syntax-string: light-dark(oklch(0.45 0.075 60), oklch(0.79 0.07 70));
|
|
146
|
+
--zd-syntax-number: light-dark(oklch(0.48 0.1 80), oklch(0.8 0.11 85));
|
|
147
|
+
--zd-syntax-keyword: light-dark(oklch(0.445 0.155 27), oklch(0.72 0.14 27));
|
|
148
|
+
--zd-syntax-callable: light-dark(oklch(0.42 0.09 252), oklch(0.74 0.08 248));
|
|
149
|
+
--zd-syntax-type: light-dark(oklch(0.44 0.065 130), oklch(0.78 0.07 130));
|
|
150
|
+
--zd-syntax-name: light-dark(oklch(0.225 0.012 80), oklch(0.93 0.015 90));
|
|
151
|
+
--zd-syntax-inserted: light-dark(oklch(0.44 0.1 150), oklch(0.73 0.115 150));
|
|
152
|
+
--zd-syntax-deleted: light-dark(oklch(0.48 0.16 27), oklch(0.69 0.155 27));
|
|
153
|
+
|
|
154
|
+
/* fonts — serif body (the --font-sans token carries the reading
|
|
155
|
+
face), typewriter mono, Playfair display face for headlines. */
|
|
156
|
+
--font-sans: "Source Serif 4", Georgia, "Times New Roman", serif;
|
|
157
|
+
--font-mono: "Courier Prime", "Courier New", ui-monospace, monospace;
|
|
158
|
+
--font-display: "Playfair Display", Georgia, serif;
|
|
159
|
+
|
|
160
|
+
/* Tier-3 component seams — Playfair black headline, Playfair bold
|
|
161
|
+
crossheads, red active-nav ink. Print is square: zero radii. */
|
|
162
|
+
--zdc-doc-title-font: var(--font-display);
|
|
163
|
+
--zdc-doc-title-weight: 900;
|
|
164
|
+
--zdc-doc-title-tracking: -0.015em;
|
|
165
|
+
--zdc-doc-h2-font: var(--font-display);
|
|
166
|
+
--zdc-doc-h2-weight: 700;
|
|
167
|
+
--zdc-admonition-radius: 0;
|
|
168
|
+
--zdc-card-radius: 0;
|
|
169
|
+
--zdc-nav-active-indicator-color: var(--zd-accent);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/* ---- Broadsheet extras ---- */
|
|
173
|
+
|
|
174
|
+
/* faint fibrous washes: newsprint, not flat paper */
|
|
175
|
+
html[data-theme-pack="broadsheet"] body {
|
|
176
|
+
background-image:
|
|
177
|
+
radial-gradient(
|
|
178
|
+
120% 70% at 18% -8%,
|
|
179
|
+
color-mix(in oklch, var(--zd-fg) 3.5%, transparent),
|
|
180
|
+
transparent 62%
|
|
181
|
+
),
|
|
182
|
+
radial-gradient(
|
|
183
|
+
90% 60% at 100% 100%,
|
|
184
|
+
color-mix(in oklch, var(--zd-fg) 2.5%, transparent),
|
|
185
|
+
transparent 55%
|
|
186
|
+
);
|
|
187
|
+
background-attachment: fixed;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/* masthead: Playfair black wordmark over a thick-thin Oxford rule */
|
|
191
|
+
html[data-theme-pack="broadsheet"] header[data-header] {
|
|
192
|
+
border-bottom: 3px solid var(--zd-fg);
|
|
193
|
+
box-shadow: 0 6px 0 -5px var(--zd-fg);
|
|
194
|
+
}
|
|
195
|
+
html[data-theme-pack="broadsheet"] [data-header-logo] {
|
|
196
|
+
font-family: var(--font-display);
|
|
197
|
+
font-weight: 900;
|
|
198
|
+
letter-spacing: 0.01em;
|
|
199
|
+
}
|
|
200
|
+
html[data-theme-pack="broadsheet"] [data-nav-item] {
|
|
201
|
+
text-transform: uppercase;
|
|
202
|
+
font-size: 0.74rem;
|
|
203
|
+
letter-spacing: 0.1em;
|
|
204
|
+
font-weight: 600;
|
|
205
|
+
}
|
|
206
|
+
html[data-theme-pack="broadsheet"] [data-nav-item]:hover {
|
|
207
|
+
color: var(--zd-accent);
|
|
208
|
+
text-decoration-thickness: 2px;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
/* sidebar: single hairline column rule in ink */
|
|
212
|
+
html[data-theme-pack="broadsheet"] #desktop-sidebar {
|
|
213
|
+
border-right-color: color-mix(in oklch, var(--zd-fg) 30%, transparent);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/* headline: Oxford rule (thick over thin) under the h1 */
|
|
217
|
+
html[data-theme-pack="broadsheet"] .zd-content h1 {
|
|
218
|
+
padding-bottom: 0.55rem;
|
|
219
|
+
border-bottom: 3px solid var(--zd-fg);
|
|
220
|
+
box-shadow: 0 7px 0 -6px var(--zd-fg);
|
|
221
|
+
margin-bottom: 1rem;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/* the deck: italic standfirst under the headline. The description
|
|
225
|
+
paragraph DocContentHeader renders now carries a stable
|
|
226
|
+
data-doc-description hook (#2876), so the deck only ever styles the
|
|
227
|
+
real description — not the first body paragraph. Behavior change,
|
|
228
|
+
intended fix: on a page without a description (~4% of the showcase
|
|
229
|
+
corpus) NEITHER the deck NOR the drop cap below is drawn, rather
|
|
230
|
+
than the old fallback mis-styling the first body paragraph as a
|
|
231
|
+
standfirst. */
|
|
232
|
+
html[data-theme-pack="broadsheet"] .zd-content > p[data-doc-description] {
|
|
233
|
+
font-style: italic;
|
|
234
|
+
line-height: 1.5;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
/* signature move #1 — red Playfair drop cap opening the first body
|
|
238
|
+
paragraph immediately after the description. Fails safe: on a page
|
|
239
|
+
without a description, or whose body doesn't open with a paragraph
|
|
240
|
+
right after it (or with a frontmatter-preview table between them),
|
|
241
|
+
no cap is drawn, rather than capping a random mid-article
|
|
242
|
+
paragraph. */
|
|
243
|
+
html[data-theme-pack="broadsheet"] .zd-content > p[data-doc-description] + p::first-letter {
|
|
244
|
+
float: left;
|
|
245
|
+
font-family: var(--font-display);
|
|
246
|
+
font-weight: 900;
|
|
247
|
+
font-size: 3.6rem;
|
|
248
|
+
line-height: 0.8;
|
|
249
|
+
padding: 0.3rem 0.55rem 0.05rem 0;
|
|
250
|
+
color: var(--zd-accent);
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
/* signature move #2 — 4px double rules under headings. The h2 rule
|
|
254
|
+
needs !important to defeat the SSR-inlined
|
|
255
|
+
`style="border-image:linear-gradient(...)"` (Decision 6.6's sole
|
|
256
|
+
allowlisted carve-out). */
|
|
257
|
+
html[data-theme-pack="broadsheet"] .zd-content h2 {
|
|
258
|
+
border-image: none !important;
|
|
259
|
+
border-top-width: 0;
|
|
260
|
+
padding-top: 0.2rem;
|
|
261
|
+
padding-bottom: 0.35rem;
|
|
262
|
+
border-bottom: 4px double color-mix(in oklch, var(--zd-fg) 80%, transparent);
|
|
263
|
+
}
|
|
264
|
+
html[data-theme-pack="broadsheet"] .zd-content h3 {
|
|
265
|
+
text-transform: uppercase;
|
|
266
|
+
font-size: 0.95rem;
|
|
267
|
+
letter-spacing: 0.12em;
|
|
268
|
+
padding-bottom: 0.25rem;
|
|
269
|
+
border-bottom: 1px solid color-mix(in oklch, var(--zd-fg) 35%, transparent);
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
/* pull quote: ruled top and bottom, Playfair italic, centered */
|
|
273
|
+
html[data-theme-pack="broadsheet"] .zd-content blockquote {
|
|
274
|
+
border-left: none;
|
|
275
|
+
border-top: 4px double color-mix(in oklch, var(--zd-fg) 70%, transparent);
|
|
276
|
+
border-bottom: 4px double color-mix(in oklch, var(--zd-fg) 70%, transparent);
|
|
277
|
+
padding: 1.1rem 0.75rem;
|
|
278
|
+
margin: 1.9rem 0;
|
|
279
|
+
font-family: var(--font-display);
|
|
280
|
+
font-style: italic;
|
|
281
|
+
font-size: 1.3rem;
|
|
282
|
+
line-height: 1.45;
|
|
283
|
+
text-align: center;
|
|
284
|
+
color: var(--zd-fg);
|
|
285
|
+
}
|
|
286
|
+
html[data-theme-pack="broadsheet"] .zd-content blockquote::before {
|
|
287
|
+
content: "\201C\2009";
|
|
288
|
+
color: var(--zd-accent);
|
|
289
|
+
font-size: 1.35em;
|
|
290
|
+
line-height: 0;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/* dinkus instead of a plain hr */
|
|
294
|
+
html[data-theme-pack="broadsheet"] .zd-content hr {
|
|
295
|
+
border: none;
|
|
296
|
+
text-align: center;
|
|
297
|
+
margin: 2.5rem 0 2.25rem;
|
|
298
|
+
}
|
|
299
|
+
html[data-theme-pack="broadsheet"] .zd-content hr::after {
|
|
300
|
+
content: "\2042";
|
|
301
|
+
font-size: 1.15rem;
|
|
302
|
+
color: var(--zd-muted);
|
|
303
|
+
letter-spacing: 0.4em;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
/* end-of-story slug on the final paragraph */
|
|
307
|
+
html[data-theme-pack="broadsheet"] .zd-content > p:last-of-type::after {
|
|
308
|
+
content: "\2002\25A0";
|
|
309
|
+
color: var(--zd-accent);
|
|
310
|
+
font-size: 0.78em;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
/* wire-report code boxes: heavy top rule, hairline frame, square,
|
|
314
|
+
typewriter face with genuinely bold keywords */
|
|
315
|
+
html[data-theme-pack="broadsheet"] pre.hi-root {
|
|
316
|
+
border: 1px solid color-mix(in oklch, var(--zd-fg) 45%, transparent);
|
|
317
|
+
border-top: 3px solid var(--zd-fg);
|
|
318
|
+
border-radius: 0;
|
|
319
|
+
}
|
|
320
|
+
html[data-theme-pack="broadsheet"] .hi-kw {
|
|
321
|
+
font-weight: 700;
|
|
322
|
+
}
|
|
323
|
+
html[data-theme-pack="broadsheet"] .hi-com {
|
|
324
|
+
font-style: italic;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
/* inline code: square corners (print has none) */
|
|
328
|
+
html[data-theme-pack="broadsheet"] .zd-content code:not(pre code) {
|
|
329
|
+
border-radius: 0;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
/* notice boxes: fully framed, ruled titles set in caps, printers'
|
|
333
|
+
marks instead of emoji across all seven variants */
|
|
334
|
+
html[data-theme-pack="broadsheet"] [data-admonition] {
|
|
335
|
+
border-top: 1px solid color-mix(in oklch, var(--zd-fg) 45%, transparent);
|
|
336
|
+
border-right: 1px solid color-mix(in oklch, var(--zd-fg) 45%, transparent);
|
|
337
|
+
border-bottom: 1px solid color-mix(in oklch, var(--zd-fg) 45%, transparent);
|
|
338
|
+
}
|
|
339
|
+
html[data-theme-pack="broadsheet"] [data-admonition] .admonition-title {
|
|
340
|
+
text-transform: uppercase;
|
|
341
|
+
font-size: 0.8rem;
|
|
342
|
+
letter-spacing: 0.12em;
|
|
343
|
+
}
|
|
344
|
+
html[data-theme-pack="broadsheet"] [data-admonition="note"] .admonition-title::before {
|
|
345
|
+
content: "\00B6\2002"; /* pilcrow */
|
|
346
|
+
}
|
|
347
|
+
html[data-theme-pack="broadsheet"] [data-admonition="tip"] .admonition-title::before {
|
|
348
|
+
content: "\261E\2002"; /* manicule */
|
|
349
|
+
}
|
|
350
|
+
html[data-theme-pack="broadsheet"] [data-admonition="info"] .admonition-title::before {
|
|
351
|
+
content: "\00A7\2002"; /* section sign */
|
|
352
|
+
}
|
|
353
|
+
html[data-theme-pack="broadsheet"] [data-admonition="warning"] .admonition-title::before {
|
|
354
|
+
content: "\203C\FE0E\2002"; /* double exclamation, text style */
|
|
355
|
+
}
|
|
356
|
+
html[data-theme-pack="broadsheet"] [data-admonition="important"] .admonition-title::before {
|
|
357
|
+
content: "\2020\2002"; /* dagger */
|
|
358
|
+
}
|
|
359
|
+
html[data-theme-pack="broadsheet"] [data-admonition="danger"] .admonition-title::before {
|
|
360
|
+
content: "\2021\2002"; /* double dagger */
|
|
361
|
+
}
|
|
362
|
+
html[data-theme-pack="broadsheet"] [data-admonition="caution"] .admonition-title::before {
|
|
363
|
+
content: "\203B\2002"; /* reference mark */
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
/* listings tables: heavy top/bottom rules, caps heads, dotted leaders */
|
|
367
|
+
html[data-theme-pack="broadsheet"] .zd-content table {
|
|
368
|
+
border-top: 3px solid var(--zd-fg);
|
|
369
|
+
border-bottom: 3px solid var(--zd-fg);
|
|
370
|
+
}
|
|
371
|
+
html[data-theme-pack="broadsheet"] .zd-content th {
|
|
372
|
+
text-transform: uppercase;
|
|
373
|
+
font-size: 0.76rem;
|
|
374
|
+
letter-spacing: 0.1em;
|
|
375
|
+
border-bottom: 1px solid var(--zd-fg);
|
|
376
|
+
}
|
|
377
|
+
html[data-theme-pack="broadsheet"] .zd-content td {
|
|
378
|
+
border-bottom: 1px dotted color-mix(in oklch, var(--zd-fg) 45%, transparent);
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
/* TOC — "in this edition" index. The desktop TOC renders no visible
|
|
382
|
+
heading (#1655), so the prototype's ruled `.toc-title` becomes a
|
|
383
|
+
double head-rule on the list itself; the column hairline shifts
|
|
384
|
+
from gray to ink. */
|
|
385
|
+
html[data-theme-pack="broadsheet"] nav[data-zd-toc] ul {
|
|
386
|
+
border-top: 4px double color-mix(in oklch, var(--zd-fg) 70%, transparent);
|
|
387
|
+
border-left-color: color-mix(in oklch, var(--zd-fg) 30%, transparent);
|
|
388
|
+
padding-top: 0.5rem;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
/* pager: classified-corner cards under a closing double rule. The
|
|
392
|
+
DocPager nav now carries a stable data-doc-pager hook (#2876). */
|
|
393
|
+
html[data-theme-pack="broadsheet"] .zd-content > nav[data-doc-pager] {
|
|
394
|
+
border-top: 4px double color-mix(in oklch, var(--zd-fg) 70%, transparent);
|
|
395
|
+
padding-top: 1.25rem;
|
|
396
|
+
}
|
|
397
|
+
html[data-theme-pack="broadsheet"] .zd-content > nav[data-doc-pager] a {
|
|
398
|
+
border-radius: 0;
|
|
399
|
+
border-color: color-mix(in oklch, var(--zd-fg) 50%, transparent);
|
|
400
|
+
}
|
|
401
|
+
html[data-theme-pack="broadsheet"] .zd-content > nav[data-doc-pager] a:hover {
|
|
402
|
+
border-color: var(--zd-accent);
|
|
403
|
+
}
|
|
404
|
+
html[data-theme-pack="broadsheet"] .zd-content > nav[data-doc-pager] a > div {
|
|
405
|
+
text-transform: uppercase;
|
|
406
|
+
font-size: 0.68rem;
|
|
407
|
+
letter-spacing: 0.12em;
|
|
408
|
+
}
|
|
409
|
+
html[data-theme-pack="broadsheet"] .zd-content > nav[data-doc-pager] a p {
|
|
410
|
+
font-family: var(--font-display);
|
|
411
|
+
font-weight: 700;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
/* colophon footer under its own thick-thin Oxford rule (the real
|
|
415
|
+
footer now carries the stable data-footer hook, #2876) */
|
|
416
|
+
html[data-theme-pack="broadsheet"] footer[data-footer] {
|
|
417
|
+
border-top: 3px solid var(--zd-fg);
|
|
418
|
+
box-shadow: 0 -6px 0 -5px var(--zd-fg);
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
/* switcher flyout: a classified-ad box — square, inner ink hairline
|
|
422
|
+
with an offset outer rule (the prototype's double frame, restored in
|
|
423
|
+
#2880 against the stable data-switcher-card hook, #2873). The outer
|
|
424
|
+
rule + 3px paper gap are drawn as box-shadow rings, NOT `outline`,
|
|
425
|
+
so the card's keyboard focus-visible accent outline keeps working
|
|
426
|
+
(an unlayered pack `outline` would silently override that utility);
|
|
427
|
+
the rings also replace the default elevation shadow — print floats
|
|
428
|
+
nothing. */
|
|
429
|
+
html[data-theme-pack="broadsheet"] div[data-switcher-card] {
|
|
430
|
+
border-radius: 0;
|
|
431
|
+
border: 1px solid var(--zd-fg);
|
|
432
|
+
box-shadow:
|
|
433
|
+
0 0 0 3px var(--zd-surface),
|
|
434
|
+
0 0 0 4px var(--zd-fg);
|
|
435
|
+
}
|
|
436
|
+
/* the ad's head: pack name set in the Playfair display face (the
|
|
437
|
+
p[aria-live="polite"] hook is the live pack-name line — the onyx/
|
|
438
|
+
ledger/nocturne precedent) */
|
|
439
|
+
html[data-theme-pack="broadsheet"] div[data-switcher-card] p[aria-live="polite"] {
|
|
440
|
+
font-family: var(--font-display);
|
|
441
|
+
font-weight: 900;
|
|
442
|
+
}
|
|
443
|
+
/* print is square — the card's internal controls and the mode badge
|
|
444
|
+
drop their rounding too */
|
|
445
|
+
html[data-theme-pack="broadsheet"] div[data-switcher-card] button,
|
|
446
|
+
html[data-theme-pack="broadsheet"] div[data-switcher-card] > span {
|
|
447
|
+
border-radius: 0;
|
|
448
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
Copyright 2017 Omnibus-Type (https://github.com/Omnibus-Type/ArchivoBlack) with Reserved Font Name "Archivo Black"
|
|
2
|
+
Copyright 2020 The Space Grotesk Project Authors (https://github.com/floriankarsten/space-grotesk)
|
|
3
|
+
Copyright 2017 IBM Corp. with Reserved Font Name "Plex" (https://github.com/IBM/plex)
|
|
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
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"slug": "brutalist",
|
|
4
|
+
"name": "Brutalist",
|
|
5
|
+
"description": "Raw concrete web — stark black on white, 4px slab borders, zero radius, hazard-orange tape. Structure you can see.",
|
|
6
|
+
"mode": "light",
|
|
7
|
+
"version": "1.0.1",
|
|
8
|
+
"fonts": {
|
|
9
|
+
"sans": "Space Grotesk",
|
|
10
|
+
"mono": "IBM Plex Mono",
|
|
11
|
+
"display": "Archivo Black",
|
|
12
|
+
"loaded": ["Archivo Black", "Space Grotesk", "IBM Plex Mono"]
|
|
13
|
+
},
|
|
14
|
+
"preview": {
|
|
15
|
+
"light": {
|
|
16
|
+
"bg": "#ffffff",
|
|
17
|
+
"fg": "#000000",
|
|
18
|
+
"accent": "#c2410c",
|
|
19
|
+
"syntax": {
|
|
20
|
+
"keyword": "#c2410c",
|
|
21
|
+
"string": "#9a3412",
|
|
22
|
+
"comment": "#767676",
|
|
23
|
+
"callable": "#000000"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"dark": {
|
|
27
|
+
"bg": "#0d0d0d",
|
|
28
|
+
"fg": "#f5f5f5",
|
|
29
|
+
"accent": "#ff6a1f",
|
|
30
|
+
"syntax": {
|
|
31
|
+
"keyword": "#ff7a2e",
|
|
32
|
+
"string": "#ffb38a",
|
|
33
|
+
"comment": "#878787",
|
|
34
|
+
"callable": "#ffffff"
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|