@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,94 @@
|
|
|
1
|
+
Copyright 2011 The VT323 Project Authors (peter.hull@oikoi.com)
|
|
2
|
+
Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono)
|
|
3
|
+
|
|
4
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
5
|
+
This license is copied below, and is also available with a FAQ at:
|
|
6
|
+
https://scripts.sil.org/OFL
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
-----------------------------------------------------------
|
|
10
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
11
|
+
-----------------------------------------------------------
|
|
12
|
+
|
|
13
|
+
PREAMBLE
|
|
14
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
15
|
+
development of collaborative font projects, to support the font creation
|
|
16
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
17
|
+
open framework in which fonts may be shared and improved in partnership
|
|
18
|
+
with others.
|
|
19
|
+
|
|
20
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
21
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
22
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
23
|
+
redistributed and/or sold with any software provided that any reserved
|
|
24
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
25
|
+
however, cannot be released under any other type of license. The
|
|
26
|
+
requirement for fonts to remain under this license does not apply
|
|
27
|
+
to any document created using the fonts or their derivatives.
|
|
28
|
+
|
|
29
|
+
DEFINITIONS
|
|
30
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
31
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
32
|
+
include source files, build scripts and documentation.
|
|
33
|
+
|
|
34
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
35
|
+
copyright statement(s).
|
|
36
|
+
|
|
37
|
+
"Original Version" refers to the collection of Font Software components as
|
|
38
|
+
distributed by the Copyright Holder(s).
|
|
39
|
+
|
|
40
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
41
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
42
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
43
|
+
new environment.
|
|
44
|
+
|
|
45
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
46
|
+
writer or other person who contributed to the Font Software.
|
|
47
|
+
|
|
48
|
+
PERMISSION & CONDITIONS
|
|
49
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
50
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
51
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
52
|
+
Software, subject to the following conditions:
|
|
53
|
+
|
|
54
|
+
1) Neither the Font Software nor any of its individual components,
|
|
55
|
+
in Original or Modified Versions, may be sold by itself.
|
|
56
|
+
|
|
57
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
58
|
+
redistributed and/or sold with any software, provided that each copy
|
|
59
|
+
contains the above copyright notice and this license. These can be
|
|
60
|
+
included either as stand-alone text files, human-readable headers or
|
|
61
|
+
in the appropriate machine-readable metadata fields within text or
|
|
62
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
63
|
+
|
|
64
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
65
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
66
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
67
|
+
presented to the users.
|
|
68
|
+
|
|
69
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
70
|
+
Software shall not be used to promote, endorse or advertise any
|
|
71
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
72
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
73
|
+
permission.
|
|
74
|
+
|
|
75
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
76
|
+
must be distributed entirely under this license, and must not be
|
|
77
|
+
distributed under any other license. The requirement for fonts to
|
|
78
|
+
remain under this license does not apply to any document created
|
|
79
|
+
using the Font Software.
|
|
80
|
+
|
|
81
|
+
TERMINATION
|
|
82
|
+
This license becomes null and void if any of the above conditions are
|
|
83
|
+
not met.
|
|
84
|
+
|
|
85
|
+
DISCLAIMER
|
|
86
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
87
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
88
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
89
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
90
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
91
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
92
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
93
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
94
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"slug": "phosphor",
|
|
4
|
+
"name": "Phosphor",
|
|
5
|
+
"description": "Green CRT terminal — phosphor glow, scanlines, inverse-video nav, monospace everything.",
|
|
6
|
+
"mode": "dark",
|
|
7
|
+
"version": "1.0.1",
|
|
8
|
+
"fonts": {
|
|
9
|
+
"sans": "JetBrains Mono",
|
|
10
|
+
"mono": "JetBrains Mono",
|
|
11
|
+
"display": "VT323",
|
|
12
|
+
"loaded": ["VT323", "JetBrains Mono"]
|
|
13
|
+
},
|
|
14
|
+
"preview": {
|
|
15
|
+
"light": {
|
|
16
|
+
"bg": "oklch(0.955 0.014 150)",
|
|
17
|
+
"fg": "oklch(0.28 0.058 150)",
|
|
18
|
+
"accent": "oklch(0.42 0.13 150)",
|
|
19
|
+
"syntax": {
|
|
20
|
+
"keyword": "oklch(0.4 0.13 148)",
|
|
21
|
+
"string": "oklch(0.39 0.095 165)",
|
|
22
|
+
"comment": "oklch(0.49 0.05 150)",
|
|
23
|
+
"callable": "oklch(0.43 0.095 200)"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"dark": {
|
|
27
|
+
"bg": "oklch(0.135 0.014 150)",
|
|
28
|
+
"fg": "oklch(0.845 0.145 150)",
|
|
29
|
+
"accent": "oklch(0.87 0.215 148)",
|
|
30
|
+
"syntax": {
|
|
31
|
+
"keyword": "oklch(0.9 0.21 148)",
|
|
32
|
+
"string": "oklch(0.9 0.12 165)",
|
|
33
|
+
"comment": "oklch(0.58 0.062 150)",
|
|
34
|
+
"callable": "oklch(0.83 0.125 200)"
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,493 @@
|
|
|
1
|
+
/* ============================================================
|
|
2
|
+
Phosphor — zudo-doc theme pack (ADR docs/adr/theme-packs.md)
|
|
3
|
+
|
|
4
|
+
Green CRT terminal: P1 green phosphor on a near-black tube in
|
|
5
|
+
dark (the hero mode); light is the same terminal printed out —
|
|
6
|
+
dark green ink on pale green-bar tractor-feed paper. Monospace
|
|
7
|
+
everything (JetBrains Mono prose AND code), VT323 for the
|
|
8
|
+
display layer (logo, h1, h2, flyout title) under a phosphor-glow
|
|
9
|
+
text-shadow. Fixed CRT overlay — scanlines + tube vignette via
|
|
10
|
+
body pseudo-elements, tuned per mode with light-dark(). ASCII
|
|
11
|
+
shape language: box-drawing h2 rules, "> " / ">> " prompt
|
|
12
|
+
prefixes, [i]/[+]/[!] admonition badges in a green/cyan/amber
|
|
13
|
+
phosphor triad, dashed table rules, block cursors on the logo
|
|
14
|
+
and h1 prompt.
|
|
15
|
+
|
|
16
|
+
RADIUS DECISION: zero. A CRT draws no rounded rects — cards,
|
|
17
|
+
admonitions, code blocks, chips, and the flyout all sit square.
|
|
18
|
+
|
|
19
|
+
Every rule below is scoped under html[data-theme-pack="phosphor"]
|
|
20
|
+
— this is what makes the runtime pack swap atomic (Decision 3)
|
|
21
|
+
and lets the validator prove a pack can never leak styles while
|
|
22
|
+
inactive (Decision 6.7). The @font-face blocks are the sole
|
|
23
|
+
exception (at-rules can't be selector-scoped).
|
|
24
|
+
|
|
25
|
+
Prototype-selector adaptations against the REAL DOM (tokens-dump
|
|
26
|
+
§6 + component sources), noted inline where they matter:
|
|
27
|
+
- `.sb-group a` → `#desktop-sidebar a` (hover glow) +
|
|
28
|
+
`a[data-nav-active]` (inverse-video row —
|
|
29
|
+
the indicator token paints the accent
|
|
30
|
+
fill; the real markup's `text-bg` class
|
|
31
|
+
supplies the dark-on-bright text)
|
|
32
|
+
- `.toc-active` → `nav[data-zd-toc] a[aria-current="true"]`
|
|
33
|
+
(toc/toc.tsx marks the active entry with
|
|
34
|
+
aria-current, not a mock class)
|
|
35
|
+
- `.doc-pager` → `.zd-content > nav[data-doc-pager] > a`
|
|
36
|
+
(retargeted onto the stable hook,
|
|
37
|
+
zudolab/zudo-doc#2879 — was
|
|
38
|
+
`.zd-content > nav:last-of-type:not([aria-label])`)
|
|
39
|
+
- `footer[data-footer]` → `footer[data-footer]` (retargeted onto the
|
|
40
|
+
stable hook, zudolab/zudo-doc#2879 — was
|
|
41
|
+
`.zd-sidebar-content-wrapper > footer`); the
|
|
42
|
+
"── EOF ──" end-of-stream mark rides the
|
|
43
|
+
footer's own ::after
|
|
44
|
+
- `.tp-flyout` → `div[data-switcher-card]` (retargeted onto
|
|
45
|
+
the stable hook, zudolab/zudo-doc#2879 — was
|
|
46
|
+
`div[role="dialog"][aria-label="Theme pack
|
|
47
|
+
switcher"]`); its title is
|
|
48
|
+
`p[aria-live="polite"]`. The launcher
|
|
49
|
+
(`button[data-switcher-launcher]`) has a
|
|
50
|
+
stable hook now too but stays unstyled —
|
|
51
|
+
pack choice, not a missing-hook limitation.
|
|
52
|
+
- `.hdr-search` / `.sb-group > p` — prototype-mock markup with no
|
|
53
|
+
stable hook; NOT ported.
|
|
54
|
+
- the prototype's `--phos-*` helper properties (glow, scanline,
|
|
55
|
+
vignette, line) are not part of the token manifest; their
|
|
56
|
+
light-dark() values are inlined at each use site below.
|
|
57
|
+
The recurring inks: glow
|
|
58
|
+
light-dark(oklch(0.42 0.13 150 / 0.22), oklch(0.87 0.215 148 / 0.55)),
|
|
59
|
+
large glow (same hues at /0.10, /0.28), and the hairline
|
|
60
|
+
color-mix(in oklch, var(--zd-accent) 40%, transparent).
|
|
61
|
+
- the prototype's blinking-cursor @keyframes is NOT portable: the
|
|
62
|
+
validator scopes every top-level rule under the pack attribute
|
|
63
|
+
and exempts only @font-face, so @keyframes cannot ship in a
|
|
64
|
+
pack. The logo/h1 block cursors render as steady glowing
|
|
65
|
+
cursors instead (cursor-on state).
|
|
66
|
+
============================================================ */
|
|
67
|
+
|
|
68
|
+
/* ---- VT323 — the CRT display face: logo, h1, h2, flyout title.
|
|
69
|
+
Single 400 weight (that's the whole family), latin +
|
|
70
|
+
latin-ext. The ▊ block cursors deliberately sit OUTSIDE its
|
|
71
|
+
unicode-range — Block Elements glyphs fall through to the
|
|
72
|
+
platform face, which renders a solid block identically. ---- */
|
|
73
|
+
|
|
74
|
+
@font-face {
|
|
75
|
+
font-family: "VT323";
|
|
76
|
+
font-style: normal;
|
|
77
|
+
font-weight: 400;
|
|
78
|
+
font-display: swap;
|
|
79
|
+
src: url("./fonts/VT323-latin.woff2") format("woff2");
|
|
80
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
81
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
|
|
82
|
+
U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
@font-face {
|
|
86
|
+
font-family: "VT323";
|
|
87
|
+
font-style: normal;
|
|
88
|
+
font-weight: 400;
|
|
89
|
+
font-display: swap;
|
|
90
|
+
src: url("./fonts/VT323-latin-ext.woff2") format("woff2");
|
|
91
|
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
|
|
92
|
+
U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
|
|
93
|
+
U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
|
|
94
|
+
U+A720-A7FF;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/* ---- JetBrains Mono — the workhorse: prose, chrome, AND code
|
|
98
|
+
("monospace everything"). Variable 400–700, latin +
|
|
99
|
+
latin-ext. No italic file is shipped; the .hi-com italic
|
|
100
|
+
renders synthesized-oblique (the fjord/ledger precedent). ---- */
|
|
101
|
+
|
|
102
|
+
@font-face {
|
|
103
|
+
font-family: "JetBrains Mono";
|
|
104
|
+
font-style: normal;
|
|
105
|
+
font-weight: 400 700;
|
|
106
|
+
font-display: swap;
|
|
107
|
+
src: url("./fonts/JetBrainsMono-latin.woff2") format("woff2");
|
|
108
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
109
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
|
|
110
|
+
U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
@font-face {
|
|
114
|
+
font-family: "JetBrains Mono";
|
|
115
|
+
font-style: normal;
|
|
116
|
+
font-weight: 400 700;
|
|
117
|
+
font-display: swap;
|
|
118
|
+
src: url("./fonts/JetBrainsMono-latin-ext.woff2") format("woff2");
|
|
119
|
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
|
|
120
|
+
U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
|
|
121
|
+
U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
|
|
122
|
+
U+A720-A7FF;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
html[data-theme-pack="phosphor"] {
|
|
126
|
+
/* Tier-2 semantic roles — P1 green phosphor on tube black (dark) /
|
|
127
|
+
green ink on tractor-feed paper (light). Both modes always via
|
|
128
|
+
light-dark(). Every pair clears WCAG AA ≥4.5:1 (verified
|
|
129
|
+
computationally against bg/surface/code-bg and the admonition
|
|
130
|
+
tints in both modes). */
|
|
131
|
+
--zd-bg: light-dark(oklch(0.955 0.014 150), oklch(0.135 0.014 150));
|
|
132
|
+
--zd-fg: light-dark(oklch(0.28 0.058 150), oklch(0.845 0.145 150));
|
|
133
|
+
--zd-selection-bg: light-dark(oklch(0.4 0.12 150), oklch(0.87 0.215 148));
|
|
134
|
+
--zd-selection-fg: light-dark(oklch(0.97 0.012 150), oklch(0.13 0.02 150));
|
|
135
|
+
--zd-surface: light-dark(oklch(0.93 0.02 150), oklch(0.165 0.018 150));
|
|
136
|
+
--zd-muted: light-dark(oklch(0.45 0.068 150), oklch(0.64 0.095 150));
|
|
137
|
+
--zd-accent: light-dark(oklch(0.42 0.13 150), oklch(0.87 0.215 148));
|
|
138
|
+
--zd-accent-hover: light-dark(oklch(0.33 0.11 150), oklch(0.94 0.15 148));
|
|
139
|
+
--zd-code-bg: light-dark(oklch(0.905 0.024 150), oklch(0.1 0.014 150));
|
|
140
|
+
--zd-code-fg: light-dark(oklch(0.26 0.058 150), oklch(0.855 0.16 150));
|
|
141
|
+
--zd-success: light-dark(oklch(0.42 0.13 150), oklch(0.87 0.215 148));
|
|
142
|
+
--zd-danger: light-dark(oklch(0.5 0.17 28), oklch(0.72 0.185 28));
|
|
143
|
+
--zd-warning: light-dark(oklch(0.5 0.11 85), oklch(0.8 0.155 85));
|
|
144
|
+
--zd-info: light-dark(oklch(0.45 0.095 200), oklch(0.8 0.125 200));
|
|
145
|
+
|
|
146
|
+
/* syntax — a green-screen palette, all 9 roles in both modes:
|
|
147
|
+
brightness does the work, with amber (P3) and cyan (P4)
|
|
148
|
+
phosphors as the only guests. inserted/deleted reuse the
|
|
149
|
+
success/danger inks. */
|
|
150
|
+
--zd-syntax-comment: light-dark(oklch(0.49 0.05 150), oklch(0.58 0.062 150));
|
|
151
|
+
--zd-syntax-string: light-dark(oklch(0.39 0.095 165), oklch(0.9 0.12 165));
|
|
152
|
+
--zd-syntax-number: light-dark(oklch(0.49 0.11 85), oklch(0.82 0.16 85));
|
|
153
|
+
--zd-syntax-keyword: light-dark(oklch(0.4 0.13 148), oklch(0.9 0.21 148));
|
|
154
|
+
--zd-syntax-callable: light-dark(oklch(0.43 0.095 200), oklch(0.83 0.125 200));
|
|
155
|
+
--zd-syntax-type: light-dark(oklch(0.47 0.105 110), oklch(0.85 0.155 112));
|
|
156
|
+
--zd-syntax-name: light-dark(oklch(0.27 0.058 150), oklch(0.86 0.14 150));
|
|
157
|
+
--zd-syntax-inserted: light-dark(oklch(0.42 0.13 150), oklch(0.87 0.215 148));
|
|
158
|
+
--zd-syntax-deleted: light-dark(oklch(0.5 0.17 28), oklch(0.72 0.185 28));
|
|
159
|
+
|
|
160
|
+
/* fonts — monospace everywhere, prose included; VT323 is the
|
|
161
|
+
display face for headings and terminal chrome. */
|
|
162
|
+
--font-sans: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
163
|
+
--font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
164
|
+
--font-display: "VT323", "JetBrains Mono", monospace;
|
|
165
|
+
|
|
166
|
+
/* Tier-3 component seams — VT323 display headings (single 400
|
|
167
|
+
weight), square everything, inverse-video active nav (the
|
|
168
|
+
accent fill + the markup's own text-bg class = dark-on-bright
|
|
169
|
+
terminal highlight). */
|
|
170
|
+
--zdc-doc-title-font: var(--font-display);
|
|
171
|
+
--zdc-doc-title-weight: 400;
|
|
172
|
+
--zdc-doc-title-tracking: 0.015em;
|
|
173
|
+
--zdc-doc-h2-font: var(--font-display);
|
|
174
|
+
--zdc-doc-h2-weight: 400;
|
|
175
|
+
--zdc-doc-h2-tracking: 0.02em;
|
|
176
|
+
--zdc-admonition-radius: 0;
|
|
177
|
+
--zdc-admonition-border-width: 4px;
|
|
178
|
+
--zdc-card-radius: 0;
|
|
179
|
+
--zdc-nav-active-indicator-color: var(--zd-accent);
|
|
180
|
+
--zdc-nav-active-weight: 700;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
/* ---- Phosphor extras ---- */
|
|
184
|
+
|
|
185
|
+
/* CRT overlay: tube vignette (::before) under scanlines (::after) —
|
|
186
|
+
fixed, non-interactive, above ALL UI including modals: it is the
|
|
187
|
+
glass of the tube, so everything renders behind it. */
|
|
188
|
+
html[data-theme-pack="phosphor"] body::before {
|
|
189
|
+
content: "";
|
|
190
|
+
position: fixed;
|
|
191
|
+
inset: 0;
|
|
192
|
+
z-index: 98;
|
|
193
|
+
pointer-events: none;
|
|
194
|
+
background: radial-gradient(
|
|
195
|
+
ellipse 130% 100% at 50% 42%,
|
|
196
|
+
transparent 58%,
|
|
197
|
+
light-dark(oklch(0.35 0.08 150 / 0.1), oklch(0 0 0 / 0.52)) 125%
|
|
198
|
+
);
|
|
199
|
+
}
|
|
200
|
+
html[data-theme-pack="phosphor"] body::after {
|
|
201
|
+
content: "";
|
|
202
|
+
position: fixed;
|
|
203
|
+
inset: 0;
|
|
204
|
+
z-index: 99;
|
|
205
|
+
pointer-events: none;
|
|
206
|
+
background: repeating-linear-gradient(
|
|
207
|
+
to bottom,
|
|
208
|
+
light-dark(oklch(0.4 0.1 150 / 0.055), oklch(0 0 0 / 0.26)) 0 1px,
|
|
209
|
+
transparent 1px 3px
|
|
210
|
+
);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
/* phosphor persistence: glow on the display type */
|
|
214
|
+
html[data-theme-pack="phosphor"] .zd-content h1,
|
|
215
|
+
html[data-theme-pack="phosphor"] .zd-content h2,
|
|
216
|
+
html[data-theme-pack="phosphor"] [data-header-logo] {
|
|
217
|
+
text-shadow:
|
|
218
|
+
0 0 8px light-dark(oklch(0.42 0.13 150 / 0.22), oklch(0.87 0.215 148 / 0.55)),
|
|
219
|
+
0 0 26px light-dark(oklch(0.42 0.13 150 / 0.1), oklch(0.87 0.215 148 / 0.28));
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/* header: prompt logo — ~$ zudo-doc ▊ (steady cursor; the blink
|
|
223
|
+
@keyframes can't ship, see the header comment) */
|
|
224
|
+
html[data-theme-pack="phosphor"] header[data-header] {
|
|
225
|
+
border-bottom-color: color-mix(in oklch, var(--zd-accent) 40%, transparent);
|
|
226
|
+
}
|
|
227
|
+
html[data-theme-pack="phosphor"] [data-header-logo] {
|
|
228
|
+
font-family: var(--font-display);
|
|
229
|
+
font-weight: 400;
|
|
230
|
+
font-size: 1.55rem;
|
|
231
|
+
color: var(--zd-accent);
|
|
232
|
+
}
|
|
233
|
+
html[data-theme-pack="phosphor"] [data-header-logo]::before {
|
|
234
|
+
content: "~$ ";
|
|
235
|
+
color: var(--zd-muted);
|
|
236
|
+
}
|
|
237
|
+
html[data-theme-pack="phosphor"] [data-header-logo]::after {
|
|
238
|
+
content: "▊";
|
|
239
|
+
margin-left: 0.14em;
|
|
240
|
+
}
|
|
241
|
+
/* Exclude the current page: it carries the base `bg-fg text-bg` inverted
|
|
242
|
+
fill — recoloring its text to the accent would sit bright-on-bright.
|
|
243
|
+
Two shapes exist (header.tsx): a plain `a[data-nav-item]`, and a dropdown
|
|
244
|
+
whose data-nav-item sits on the wrapper div while aria-current + the
|
|
245
|
+
colors live on its child anchor — target the anchor in both. */
|
|
246
|
+
html[data-theme-pack="phosphor"] a[data-nav-item]:not([aria-current="page"]):hover,
|
|
247
|
+
html[data-theme-pack="phosphor"] [data-nav-item-dropdown] > a:not([aria-current="page"]):hover {
|
|
248
|
+
text-decoration: none;
|
|
249
|
+
color: var(--zd-accent);
|
|
250
|
+
text-shadow: 0 0 8px light-dark(oklch(0.42 0.13 150 / 0.22), oklch(0.87 0.215 148 / 0.55));
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
/* sidebar: square rows, glow hover, inverse-video active line with
|
|
254
|
+
a prompt caret (the fill comes from the indicator token above) */
|
|
255
|
+
html[data-theme-pack="phosphor"] #desktop-sidebar {
|
|
256
|
+
border-right-color: color-mix(in oklch, var(--zd-accent) 40%, transparent);
|
|
257
|
+
}
|
|
258
|
+
html[data-theme-pack="phosphor"] #desktop-sidebar a {
|
|
259
|
+
border-radius: 0;
|
|
260
|
+
}
|
|
261
|
+
/* Every active sidebar anchor — root links included, which get the
|
|
262
|
+
inverse `bg-fg text-bg` fill WITHOUT data-nav-active — carries
|
|
263
|
+
aria-current="page" (sidebar-tree-island); excluding it here keeps
|
|
264
|
+
the glow recolor off every inverse-video row. */
|
|
265
|
+
html[data-theme-pack="phosphor"] #desktop-sidebar a:not([aria-current="page"]):hover {
|
|
266
|
+
text-decoration: none;
|
|
267
|
+
color: var(--zd-accent);
|
|
268
|
+
text-shadow: 0 0 8px light-dark(oklch(0.42 0.13 150 / 0.22), oklch(0.87 0.215 148 / 0.55));
|
|
269
|
+
}
|
|
270
|
+
html[data-theme-pack="phosphor"] a[data-nav-active] {
|
|
271
|
+
border-radius: 0;
|
|
272
|
+
}
|
|
273
|
+
html[data-theme-pack="phosphor"] a[data-nav-active]::before {
|
|
274
|
+
content: "> ";
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
/* h1 = a command being typed; cursor at rest */
|
|
278
|
+
html[data-theme-pack="phosphor"] .zd-content h1 {
|
|
279
|
+
color: var(--zd-accent);
|
|
280
|
+
font-size: 2.9rem;
|
|
281
|
+
line-height: 1.1;
|
|
282
|
+
}
|
|
283
|
+
html[data-theme-pack="phosphor"] .zd-content h1::before {
|
|
284
|
+
content: "> ";
|
|
285
|
+
color: var(--zd-muted);
|
|
286
|
+
}
|
|
287
|
+
html[data-theme-pack="phosphor"] .zd-content h1::after {
|
|
288
|
+
content: "▊";
|
|
289
|
+
margin-left: 0.12em;
|
|
290
|
+
color: var(--zd-accent);
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/* h2: box-drawing ASCII rule instead of the gradient border. The
|
|
294
|
+
SSR-inlined `style="border-image:linear-gradient(...)"` bar is
|
|
295
|
+
defeated with border-image none !important (Decision 6.6's sole
|
|
296
|
+
allowlisted carve-out) + a zeroed border-top; the ─── rule is a
|
|
297
|
+
clipped ::before line. */
|
|
298
|
+
html[data-theme-pack="phosphor"] .zd-content h2 {
|
|
299
|
+
border-image: none !important;
|
|
300
|
+
border-top-width: 0;
|
|
301
|
+
padding-top: 0;
|
|
302
|
+
color: var(--zd-accent);
|
|
303
|
+
font-size: 2rem;
|
|
304
|
+
line-height: 1.15;
|
|
305
|
+
}
|
|
306
|
+
html[data-theme-pack="phosphor"] .zd-content h2::before {
|
|
307
|
+
content: "─────────────────────────────────────────────────────────────────────────────";
|
|
308
|
+
display: block;
|
|
309
|
+
overflow: hidden;
|
|
310
|
+
max-width: 100%;
|
|
311
|
+
white-space: nowrap;
|
|
312
|
+
font-family: var(--font-mono);
|
|
313
|
+
font-size: 0.8rem;
|
|
314
|
+
line-height: 1;
|
|
315
|
+
color: color-mix(in oklch, var(--zd-accent) 40%, transparent);
|
|
316
|
+
margin-bottom: 0.65rem;
|
|
317
|
+
text-shadow: none;
|
|
318
|
+
}
|
|
319
|
+
html[data-theme-pack="phosphor"] .zd-content h3::before {
|
|
320
|
+
content: ">> ";
|
|
321
|
+
color: var(--zd-muted);
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
/* links glow on hover; the underline affordance stays */
|
|
325
|
+
html[data-theme-pack="phosphor"] .zd-content a:hover {
|
|
326
|
+
text-shadow: 0 0 8px light-dark(oklch(0.42 0.13 150 / 0.22), oklch(0.87 0.215 148 / 0.55));
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
/* horizontal rule: dashed ASCII break */
|
|
330
|
+
html[data-theme-pack="phosphor"] .zd-content hr {
|
|
331
|
+
border-top: 1px dashed color-mix(in oklch, var(--zd-accent) 40%, transparent);
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
/* blockquote as quoted terminal output */
|
|
335
|
+
html[data-theme-pack="phosphor"] .zd-content blockquote {
|
|
336
|
+
border-left: 3px double color-mix(in oklch, var(--zd-accent) 40%, transparent);
|
|
337
|
+
font-style: italic;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
/* inline code: framed cell, square */
|
|
341
|
+
html[data-theme-pack="phosphor"] .zd-content code:not(pre code) {
|
|
342
|
+
border: 1px solid color-mix(in oklch, var(--zd-accent) 30%, transparent);
|
|
343
|
+
border-radius: 0;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
/* code block = the brightest part of the tube */
|
|
347
|
+
html[data-theme-pack="phosphor"] pre.hi-root {
|
|
348
|
+
border-radius: 0;
|
|
349
|
+
border-color: color-mix(in oklch, var(--zd-accent) 40%, transparent);
|
|
350
|
+
box-shadow:
|
|
351
|
+
inset 0 0 42px color-mix(in oklch, var(--zd-accent) 7%, transparent),
|
|
352
|
+
0 0 18px light-dark(oklch(0.42 0.13 150 / 0.1), oklch(0.87 0.215 148 / 0.28));
|
|
353
|
+
}
|
|
354
|
+
html[data-theme-pack="phosphor"] .hi-kw {
|
|
355
|
+
font-weight: 700;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
/* admonitions: [i]/[+]/[!] status lines, boxed and square — the
|
|
359
|
+
left band keeps its 4px weight; the other three sides get a
|
|
360
|
+
hairline so each reads as a framed terminal message. Phosphor
|
|
361
|
+
triad: note+info=P4 cyan, tip=P1 green, warning=P3 amber; the
|
|
362
|
+
remaining variants keep their roles with ASCII badges. */
|
|
363
|
+
html[data-theme-pack="phosphor"] [data-admonition] {
|
|
364
|
+
border-top: 1px solid color-mix(in oklch, var(--zd-accent) 40%, transparent);
|
|
365
|
+
border-right: 1px solid color-mix(in oklch, var(--zd-accent) 40%, transparent);
|
|
366
|
+
border-bottom: 1px solid color-mix(in oklch, var(--zd-accent) 40%, transparent);
|
|
367
|
+
}
|
|
368
|
+
html[data-theme-pack="phosphor"] [data-admonition] .admonition-title {
|
|
369
|
+
text-transform: uppercase;
|
|
370
|
+
letter-spacing: 0.08em;
|
|
371
|
+
font-size: 0.85rem;
|
|
372
|
+
}
|
|
373
|
+
/* note re-points from the green accent to the cyan phosphor so it
|
|
374
|
+
reads distinct from tip's P1 green */
|
|
375
|
+
html[data-theme-pack="phosphor"] [data-admonition="note"] {
|
|
376
|
+
border-left-color: var(--zd-info);
|
|
377
|
+
background-color: color-mix(in srgb, var(--zd-info) 10%, var(--zd-bg));
|
|
378
|
+
}
|
|
379
|
+
html[data-theme-pack="phosphor"] [data-admonition="note"] .admonition-title {
|
|
380
|
+
color: var(--zd-info);
|
|
381
|
+
}
|
|
382
|
+
html[data-theme-pack="phosphor"] [data-admonition="note"] .admonition-title::before {
|
|
383
|
+
content: "[i]";
|
|
384
|
+
}
|
|
385
|
+
html[data-theme-pack="phosphor"] [data-admonition="info"] .admonition-title::before {
|
|
386
|
+
content: "[i]";
|
|
387
|
+
}
|
|
388
|
+
html[data-theme-pack="phosphor"] [data-admonition="tip"] .admonition-title::before {
|
|
389
|
+
content: "[+]";
|
|
390
|
+
}
|
|
391
|
+
html[data-theme-pack="phosphor"] [data-admonition="warning"] .admonition-title::before {
|
|
392
|
+
content: "[!]";
|
|
393
|
+
}
|
|
394
|
+
html[data-theme-pack="phosphor"] [data-admonition="danger"] .admonition-title::before {
|
|
395
|
+
content: "[x]";
|
|
396
|
+
}
|
|
397
|
+
html[data-theme-pack="phosphor"] [data-admonition="caution"] .admonition-title::before {
|
|
398
|
+
content: "[!!]";
|
|
399
|
+
}
|
|
400
|
+
html[data-theme-pack="phosphor"] [data-admonition="important"] .admonition-title::before {
|
|
401
|
+
content: "[*]";
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
/* table: header like a column legend, dashed row rules */
|
|
405
|
+
html[data-theme-pack="phosphor"] .zd-content th {
|
|
406
|
+
border-bottom-color: color-mix(in oklch, var(--zd-accent) 40%, transparent);
|
|
407
|
+
text-transform: uppercase;
|
|
408
|
+
letter-spacing: 0.08em;
|
|
409
|
+
font-size: 0.8rem;
|
|
410
|
+
color: var(--zd-muted);
|
|
411
|
+
}
|
|
412
|
+
html[data-theme-pack="phosphor"] .zd-content td {
|
|
413
|
+
border-bottom-style: dashed;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
/* pager: bracketed jump targets — faint green fill, glow on hover.
|
|
417
|
+
The DocPager is the article's LAST unlabelled direct-child nav
|
|
418
|
+
(breadcrumb and NavCardGrid navs carry aria-labels). */
|
|
419
|
+
html[data-theme-pack="phosphor"] .zd-content > nav[data-doc-pager] > a {
|
|
420
|
+
border-radius: 0;
|
|
421
|
+
background: color-mix(in srgb, var(--zd-accent) 4%, transparent);
|
|
422
|
+
}
|
|
423
|
+
html[data-theme-pack="phosphor"] .zd-content > nav[data-doc-pager] > a:hover {
|
|
424
|
+
box-shadow:
|
|
425
|
+
0 0 14px light-dark(oklch(0.42 0.13 150 / 0.1), oklch(0.87 0.215 148 / 0.28)),
|
|
426
|
+
inset 0 0 20px color-mix(in oklch, var(--zd-accent) 6%, transparent);
|
|
427
|
+
}
|
|
428
|
+
html[data-theme-pack="phosphor"] .zd-content > nav[data-doc-pager] > a div {
|
|
429
|
+
text-transform: uppercase;
|
|
430
|
+
letter-spacing: 0.08em;
|
|
431
|
+
font-size: 0.72rem;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
/* TOC: hairline spine, glow hover, inverse-video active line (the
|
|
435
|
+
real DOM marks it with aria-current="true"; its own text-bg class
|
|
436
|
+
supplies the dark text over the accent fill) */
|
|
437
|
+
html[data-theme-pack="phosphor"] nav[data-zd-toc] ul {
|
|
438
|
+
border-left-color: color-mix(in oklch, var(--zd-accent) 40%, transparent);
|
|
439
|
+
}
|
|
440
|
+
html[data-theme-pack="phosphor"] nav[data-zd-toc] a:not([aria-current="true"]):hover {
|
|
441
|
+
text-decoration: none;
|
|
442
|
+
color: var(--zd-accent);
|
|
443
|
+
text-shadow: 0 0 8px light-dark(oklch(0.42 0.13 150 / 0.22), oklch(0.87 0.215 148 / 0.55));
|
|
444
|
+
}
|
|
445
|
+
html[data-theme-pack="phosphor"] nav[data-zd-toc] a[aria-current="true"] {
|
|
446
|
+
background: var(--zd-accent);
|
|
447
|
+
text-shadow: none;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
/* footer: end of stream */
|
|
451
|
+
html[data-theme-pack="phosphor"] footer[data-footer] {
|
|
452
|
+
border-top-color: color-mix(in oklch, var(--zd-accent) 40%, transparent);
|
|
453
|
+
}
|
|
454
|
+
html[data-theme-pack="phosphor"] footer[data-footer]::after {
|
|
455
|
+
content: "── EOF ──";
|
|
456
|
+
display: block;
|
|
457
|
+
text-align: center;
|
|
458
|
+
padding-bottom: 1.25rem;
|
|
459
|
+
font-size: 0.8rem;
|
|
460
|
+
color: var(--zd-muted);
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
/* theme-pack flyout: a small terminal window with a glowing bezel
|
|
464
|
+
(the launcher is a stable hook now too but stays unstyled — pack
|
|
465
|
+
choice, not a missing-hook limitation) */
|
|
466
|
+
html[data-theme-pack="phosphor"] div[data-switcher-card] {
|
|
467
|
+
border: 1px solid color-mix(in oklch, var(--zd-accent) 55%, transparent);
|
|
468
|
+
border-radius: 0;
|
|
469
|
+
box-shadow:
|
|
470
|
+
0 0 26px light-dark(oklch(0.42 0.13 150 / 0.1), oklch(0.87 0.215 148 / 0.28)),
|
|
471
|
+
0 10px 30px -6px oklch(0 0 0 / 0.45);
|
|
472
|
+
}
|
|
473
|
+
html[data-theme-pack="phosphor"]
|
|
474
|
+
div[data-switcher-card]
|
|
475
|
+
p[aria-live="polite"] {
|
|
476
|
+
font-family: var(--font-display);
|
|
477
|
+
font-weight: 400;
|
|
478
|
+
font-size: 1.55rem;
|
|
479
|
+
color: var(--zd-accent);
|
|
480
|
+
text-shadow: 0 0 8px light-dark(oklch(0.42 0.13 150 / 0.22), oklch(0.87 0.215 148 / 0.55));
|
|
481
|
+
}
|
|
482
|
+
html[data-theme-pack="phosphor"]
|
|
483
|
+
div[data-switcher-card]
|
|
484
|
+
p[aria-live="polite"]::before {
|
|
485
|
+
content: "$ ";
|
|
486
|
+
color: var(--zd-muted);
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
/* keyboard focus reads as a terminal highlight */
|
|
490
|
+
html[data-theme-pack="phosphor"] :focus-visible {
|
|
491
|
+
outline: 1px solid var(--zd-accent);
|
|
492
|
+
outline-offset: 2px;
|
|
493
|
+
}
|