@repobit/dex-system-design 3.0.1 → 3.0.3
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 +14 -0
- package/dist/src/_bundled/oxc-project_runtime/helpers/esm/decorate.js +1 -0
- package/dist/src/components/accordion/accordion-bg.css.js +1 -288
- package/dist/src/components/accordion/accordion-bg.css.js.map +1 -1
- package/dist/src/components/accordion/accordion-bg.d.ts +5 -5
- package/dist/src/components/accordion/accordion-bg.js +15 -210
- package/dist/src/components/accordion/accordion-bg.js.map +1 -1
- package/dist/src/components/accordion/accordion-keyboard.js +1 -89
- package/dist/src/components/accordion/accordion-keyboard.js.map +1 -1
- package/dist/src/components/accordion/accordion-panel.js +1 -22
- package/dist/src/components/accordion/accordion-panel.js.map +1 -1
- package/dist/src/components/accordion/accordion.css.js +1 -380
- package/dist/src/components/accordion/accordion.css.js.map +1 -1
- package/dist/src/components/accordion/accordion.d.ts +7 -7
- package/dist/src/components/accordion/accordion.js +16 -138
- package/dist/src/components/accordion/accordion.js.map +1 -1
- package/dist/src/components/agent-endpoints/agent-endpoints.css.js +1 -88
- package/dist/src/components/agent-endpoints/agent-endpoints.css.js.map +1 -1
- package/dist/src/components/agent-endpoints/agent-endpoints.d.ts +4 -4
- package/dist/src/components/agent-endpoints/agent-endpoints.js +17 -76
- package/dist/src/components/agent-endpoints/agent-endpoints.js.map +1 -1
- package/dist/src/components/alert/alert.css.js +1 -217
- package/dist/src/components/alert/alert.css.js.map +1 -1
- package/dist/src/components/alert/alert.d.ts +4 -4
- package/dist/src/components/alert/alert.js +6 -110
- package/dist/src/components/alert/alert.js.map +1 -1
- package/dist/src/components/anchor/anchor-nav.css.js +1 -546
- package/dist/src/components/anchor/anchor-nav.css.js.map +1 -1
- package/dist/src/components/anchor/anchor-nav.d.ts +4 -4
- package/dist/src/components/anchor/anchor-nav.js +23 -567
- package/dist/src/components/anchor/anchor-nav.js.map +1 -1
- package/dist/src/components/annotation/annotation.css.js +1 -64
- package/dist/src/components/annotation/annotation.css.js.map +1 -1
- package/dist/src/components/annotation/annotation.d.ts +2 -2
- package/dist/src/components/annotation/annotation.js +7 -72
- package/dist/src/components/annotation/annotation.js.map +1 -1
- package/dist/src/components/audience-card/audience-card.css.js +1 -122
- package/dist/src/components/audience-card/audience-card.css.js.map +1 -1
- package/dist/src/components/audience-card/audience-card.d.ts +2 -2
- package/dist/src/components/audience-card/audience-card.js +8 -83
- package/dist/src/components/audience-card/audience-card.js.map +1 -1
- package/dist/src/components/avatar/avatar.css.js +1 -65
- package/dist/src/components/avatar/avatar.css.js.map +1 -1
- package/dist/src/components/avatar/avatar.d.ts +3 -3
- package/dist/src/components/avatar/avatar.js +6 -76
- package/dist/src/components/avatar/avatar.js.map +1 -1
- package/dist/src/components/awards/awards-flex.css.js +1 -273
- package/dist/src/components/awards/awards-flex.css.js.map +1 -1
- package/dist/src/components/awards/awards-flex.d.ts +12 -12
- package/dist/src/components/awards/awards-flex.js +33 -264
- package/dist/src/components/awards/awards-flex.js.map +1 -1
- package/dist/src/components/awards/awards-spotlight.css.js +1 -161
- package/dist/src/components/awards/awards-spotlight.css.js.map +1 -1
- package/dist/src/components/awards/awards-spotlight.d.ts +4 -4
- package/dist/src/components/awards/awards-spotlight.js +24 -140
- package/dist/src/components/awards/awards-spotlight.js.map +1 -1
- package/dist/src/components/awards/awards.css.js +1 -401
- package/dist/src/components/awards/awards.css.js.map +1 -1
- package/dist/src/components/awards/awards.d.ts +13 -13
- package/dist/src/components/awards/awards.js +26 -179
- package/dist/src/components/awards/awards.js.map +1 -1
- package/dist/src/components/awards/scroll-slides.js +1 -131
- package/dist/src/components/awards/scroll-slides.js.map +1 -1
- package/dist/src/components/back/back.css.js +1 -91
- package/dist/src/components/back/back.css.js.map +1 -1
- package/dist/src/components/back/back.d.ts +1 -1
- package/dist/src/components/back/back.js +8 -71
- package/dist/src/components/back/back.js.map +1 -1
- package/dist/src/components/badge/badge.css.js +1 -204
- package/dist/src/components/badge/badge.css.js.map +1 -1
- package/dist/src/components/badge/badge.d.ts +4 -4
- package/dist/src/components/badge/badge.js +2 -117
- package/dist/src/components/badge/badge.js.map +1 -1
- package/dist/src/components/bento-grid/bento-grid.css.js +16 -150
- package/dist/src/components/bento-grid/bento-grid.css.js.map +1 -1
- package/dist/src/components/bento-grid/bento-grid.d.ts +3 -3
- package/dist/src/components/bento-grid/bento-grid.js +10 -189
- package/dist/src/components/bento-grid/bento-grid.js.map +1 -1
- package/dist/src/components/bento-grid/bento-item.css.js +1 -338
- package/dist/src/components/bento-grid/bento-item.css.js.map +1 -1
- package/dist/src/components/bento-grid/bento-item.d.ts +3 -3
- package/dist/src/components/bento-grid/bento-item.js +10 -94
- package/dist/src/components/bento-grid/bento-item.js.map +1 -1
- package/dist/src/components/blockquote/blockquote.css.js +1 -54
- package/dist/src/components/blockquote/blockquote.css.js.map +1 -1
- package/dist/src/components/blockquote/blockquote.d.ts +2 -2
- package/dist/src/components/blockquote/blockquote.js +1 -44
- package/dist/src/components/blockquote/blockquote.js.map +1 -1
- package/dist/src/components/breadcrumb/breadcrumb.css.js +1 -168
- package/dist/src/components/breadcrumb/breadcrumb.css.js.map +1 -1
- package/dist/src/components/breadcrumb/breadcrumb.d.ts +5 -5
- package/dist/src/components/breadcrumb/breadcrumb.js +9 -166
- package/dist/src/components/breadcrumb/breadcrumb.js.map +1 -1
- package/dist/src/components/button/button.css.js +1 -843
- package/dist/src/components/button/button.css.js.map +1 -1
- package/dist/src/components/button/button.d.ts +5 -5
- package/dist/src/components/button/button.js +18 -420
- package/dist/src/components/button/button.js.map +1 -1
- package/dist/src/components/caption/caption.css.js +1 -29
- package/dist/src/components/caption/caption.css.js.map +1 -1
- package/dist/src/components/caption/caption.d.ts +3 -3
- package/dist/src/components/caption/caption.js +2 -36
- package/dist/src/components/caption/caption.js.map +1 -1
- package/dist/src/components/card-features/card-features.css.js +1 -120
- package/dist/src/components/card-features/card-features.css.js.map +1 -1
- package/dist/src/components/card-features/card-features.d.ts +3 -3
- package/dist/src/components/card-features/card-features.js +12 -145
- package/dist/src/components/card-features/card-features.js.map +1 -1
- package/dist/src/components/cards/card.css.js +1 -369
- package/dist/src/components/cards/card.css.js.map +1 -1
- package/dist/src/components/cards/card.d.ts +3 -3
- package/dist/src/components/cards/card.js +21 -312
- package/dist/src/components/cards/card.js.map +1 -1
- package/dist/src/components/carousel/carousel.css.js +1 -261
- package/dist/src/components/carousel/carousel.css.js.map +1 -1
- package/dist/src/components/carousel/carousel.d.ts +5 -5
- package/dist/src/components/carousel/carousel.js +13 -297
- package/dist/src/components/carousel/carousel.js.map +1 -1
- package/dist/src/components/checkbox/checkbox.css.js +1 -173
- package/dist/src/components/checkbox/checkbox.css.js.map +1 -1
- package/dist/src/components/checkbox/checkbox.d.ts +2 -2
- package/dist/src/components/checkbox/checkbox.js +5 -138
- package/dist/src/components/checkbox/checkbox.js.map +1 -1
- package/dist/src/components/code/code.css.js +1 -73
- package/dist/src/components/code/code.css.js.map +1 -1
- package/dist/src/components/code/code.d.ts +2 -2
- package/dist/src/components/code/code.js +4 -87
- package/dist/src/components/code/code.js.map +1 -1
- package/dist/src/components/compare/compare.css.js +1 -478
- package/dist/src/components/compare/compare.css.js.map +1 -1
- package/dist/src/components/compare/compare.d.ts +5 -5
- package/dist/src/components/compare/compare.js +23 -476
- package/dist/src/components/compare/compare.js.map +1 -1
- package/dist/src/components/comparison-panel/comparison-panel.css.js +1 -141
- package/dist/src/components/comparison-panel/comparison-panel.css.js.map +1 -1
- package/dist/src/components/comparison-panel/comparison-panel.d.ts +2 -2
- package/dist/src/components/comparison-panel/comparison-panel.js +18 -86
- package/dist/src/components/comparison-panel/comparison-panel.js.map +1 -1
- package/dist/src/components/compatibility-table/compatibility-table.css.js +1 -391
- package/dist/src/components/compatibility-table/compatibility-table.css.js.map +1 -1
- package/dist/src/components/compatibility-table/compatibility-table.d.ts +2 -2
- package/dist/src/components/compatibility-table/compatibility-table.js +26 -136
- package/dist/src/components/compatibility-table/compatibility-table.js.map +1 -1
- package/dist/src/components/cta-banner/cta-banner.css.js +1 -97
- package/dist/src/components/cta-banner/cta-banner.css.js.map +1 -1
- package/dist/src/components/cta-banner/cta-banner.d.ts +2 -2
- package/dist/src/components/cta-banner/cta-banner.js +8 -51
- package/dist/src/components/cta-banner/cta-banner.js.map +1 -1
- package/dist/src/components/display/display.css.js +1 -95
- package/dist/src/components/display/display.css.js.map +1 -1
- package/dist/src/components/display/display.d.ts +2 -2
- package/dist/src/components/display/display.js +3 -84
- package/dist/src/components/display/display.js.map +1 -1
- package/dist/src/components/divider/divider-horizontal.d.ts +2 -2
- package/dist/src/components/divider/divider-horizontal.js +4 -63
- package/dist/src/components/divider/divider-horizontal.js.map +1 -1
- package/dist/src/components/divider/divider-vertical.d.ts +2 -2
- package/dist/src/components/divider/divider-vertical.js +6 -61
- package/dist/src/components/divider/divider-vertical.js.map +1 -1
- package/dist/src/components/divider/divider.css.js +1 -20
- package/dist/src/components/divider/divider.css.js.map +1 -1
- package/dist/src/components/dropdown/dropdown.css.js +1 -121
- package/dist/src/components/dropdown/dropdown.css.js.map +1 -1
- package/dist/src/components/dropdown/dropdown.d.ts +5 -5
- package/dist/src/components/dropdown/dropdown.js +17 -283
- package/dist/src/components/dropdown/dropdown.js.map +1 -1
- package/dist/src/components/features/features.css.js +1 -123
- package/dist/src/components/features/features.css.js.map +1 -1
- package/dist/src/components/features/features.d.ts +5 -5
- package/dist/src/components/features/features.js +11 -71
- package/dist/src/components/features/features.js.map +1 -1
- package/dist/src/components/features-tab/features-tab.css.js +1 -100
- package/dist/src/components/features-tab/features-tab.css.js.map +1 -1
- package/dist/src/components/features-tab/features-tab.d.ts +5 -5
- package/dist/src/components/features-tab/features-tab.js +9 -70
- package/dist/src/components/features-tab/features-tab.js.map +1 -1
- package/dist/src/components/fieldset/fieldset.css.js +1 -28
- package/dist/src/components/fieldset/fieldset.css.js.map +1 -1
- package/dist/src/components/fieldset/fieldset.d.ts +2 -2
- package/dist/src/components/fieldset/fieldset.js +3 -31
- package/dist/src/components/fieldset/fieldset.js.map +1 -1
- package/dist/src/components/footer/footer-images.js +5 -27
- package/dist/src/components/footer/footer-images.js.map +1 -1
- package/dist/src/components/footer/footer-links-group.css.js +1 -33
- package/dist/src/components/footer/footer-links-group.css.js.map +1 -1
- package/dist/src/components/footer/footer-links-group.d.ts +3 -3
- package/dist/src/components/footer/footer-links-group.js +3 -32
- package/dist/src/components/footer/footer-links-group.js.map +1 -1
- package/dist/src/components/footer/footer-locale.js +1 -45
- package/dist/src/components/footer/footer-locale.js.map +1 -1
- package/dist/src/components/footer/footer-lp.d.ts +7 -7
- package/dist/src/components/footer/footer-lp.js +8 -121
- package/dist/src/components/footer/footer-lp.js.map +1 -1
- package/dist/src/components/footer/footer-nav-menu.css.js +1 -61
- package/dist/src/components/footer/footer-nav-menu.css.js.map +1 -1
- package/dist/src/components/footer/footer-nav-menu.d.ts +3 -3
- package/dist/src/components/footer/footer-nav-menu.js +3 -47
- package/dist/src/components/footer/footer-nav-menu.js.map +1 -1
- package/dist/src/components/footer/footer.css.js +1 -664
- package/dist/src/components/footer/footer.css.js.map +1 -1
- package/dist/src/components/footer/footer.d.ts +13 -13
- package/dist/src/components/footer/footer.js +20 -305
- package/dist/src/components/footer/footer.js.map +1 -1
- package/dist/src/components/footer/localeMap.js +1 -1
- package/dist/src/components/footer/localeMap.js.map +1 -1
- package/dist/src/components/grid/grid.css.js +1 -78
- package/dist/src/components/grid/grid.css.js.map +1 -1
- package/dist/src/components/grid/grid.d.ts +2 -2
- package/dist/src/components/grid/grid.js +9 -126
- package/dist/src/components/grid/grid.js.map +1 -1
- package/dist/src/components/header/header-code.css.js +1 -369
- package/dist/src/components/header/header-code.css.js.map +1 -1
- package/dist/src/components/header/header-code.d.ts +4 -4
- package/dist/src/components/header/header-code.js +15 -163
- package/dist/src/components/header/header-code.js.map +1 -1
- package/dist/src/components/header/header.css.js +1 -757
- package/dist/src/components/header/header.css.js.map +1 -1
- package/dist/src/components/header/header.d.ts +7 -7
- package/dist/src/components/header/header.js +4 -212
- package/dist/src/components/header/header.js.map +1 -1
- package/dist/src/components/heading/heading.css.js +1 -89
- package/dist/src/components/heading/heading.css.js.map +1 -1
- package/dist/src/components/heading/heading.d.ts +2 -2
- package/dist/src/components/heading/heading.js +1 -108
- package/dist/src/components/heading/heading.js.map +1 -1
- package/dist/src/components/help-text/help-text.css.js +1 -19
- package/dist/src/components/help-text/help-text.css.js.map +1 -1
- package/dist/src/components/help-text/help-text.d.ts +2 -2
- package/dist/src/components/help-text/help-text.js +3 -31
- package/dist/src/components/help-text/help-text.js.map +1 -1
- package/dist/src/components/hero/hero.css.js +1 -362
- package/dist/src/components/hero/hero.css.js.map +1 -1
- package/dist/src/components/hero/hero.d.ts +3 -3
- package/dist/src/components/hero/hero.js +12 -164
- package/dist/src/components/hero/hero.js.map +1 -1
- package/dist/src/components/highlight/highlight.css.js +1 -175
- package/dist/src/components/highlight/highlight.css.js.map +1 -1
- package/dist/src/components/highlight/highlight.d.ts +3 -3
- package/dist/src/components/highlight/highlight.js +4 -115
- package/dist/src/components/highlight/highlight.js.map +1 -1
- package/dist/src/components/icons/analysis-icon.d.ts +1 -1
- package/dist/src/components/icons/analysis-icon.js +2 -20
- package/dist/src/components/icons/analysis-icon.js.map +1 -1
- package/dist/src/components/icons/arrow-down-icon.d.ts +1 -1
- package/dist/src/components/icons/arrow-down-icon.js +2 -20
- package/dist/src/components/icons/arrow-down-icon.js.map +1 -1
- package/dist/src/components/icons/arrow-icon.d.ts +1 -1
- package/dist/src/components/icons/arrow-icon.js +2 -48
- package/dist/src/components/icons/arrow-icon.js.map +1 -1
- package/dist/src/components/icons/arrow-right-icon.d.ts +1 -1
- package/dist/src/components/icons/arrow-right-icon.js +2 -45
- package/dist/src/components/icons/arrow-right-icon.js.map +1 -1
- package/dist/src/components/icons/arrow-up-icon.d.ts +1 -1
- package/dist/src/components/icons/arrow-up-icon.js +2 -33
- package/dist/src/components/icons/arrow-up-icon.js.map +1 -1
- package/dist/src/components/icons/av-comparatives-icon.js +2 -31
- package/dist/src/components/icons/av-comparatives-icon.js.map +1 -1
- package/dist/src/components/icons/bd-ai-icon.js +2 -31
- package/dist/src/components/icons/bd-ai-icon.js.map +1 -1
- package/dist/src/components/icons/best-brands-icon.js +2 -31
- package/dist/src/components/icons/best-brands-icon.js.map +1 -1
- package/dist/src/components/icons/brand-signature-icon.d.ts +1 -1
- package/dist/src/components/icons/brand-signature-icon.js +2 -46
- package/dist/src/components/icons/brand-signature-icon.js.map +1 -1
- package/dist/src/components/icons/check-icon.d.ts +1 -1
- package/dist/src/components/icons/check-icon.js +2 -31
- package/dist/src/components/icons/check-icon.js.map +1 -1
- package/dist/src/components/icons/circle-info-icon.d.ts +1 -1
- package/dist/src/components/icons/circle-info-icon.js +2 -35
- package/dist/src/components/icons/circle-info-icon.js.map +1 -1
- package/dist/src/components/icons/close-icon.d.ts +1 -1
- package/dist/src/components/icons/close-icon.js +2 -20
- package/dist/src/components/icons/close-icon.js.map +1 -1
- package/dist/src/components/icons/enterprise-icon.d.ts +1 -1
- package/dist/src/components/icons/enterprise-icon.js +2 -22
- package/dist/src/components/icons/enterprise-icon.js.map +1 -1
- package/dist/src/components/icons/family-icon.d.ts +1 -1
- package/dist/src/components/icons/family-icon.js +2 -20
- package/dist/src/components/icons/family-icon.js.map +1 -1
- package/dist/src/components/icons/globe-icon.d.ts +1 -1
- package/dist/src/components/icons/globe-icon.js +2 -20
- package/dist/src/components/icons/globe-icon.js.map +1 -1
- package/dist/src/components/icons/guide-icon.d.ts +1 -1
- package/dist/src/components/icons/guide-icon.js +2 -20
- package/dist/src/components/icons/guide-icon.js.map +1 -1
- package/dist/src/components/icons/home-icon.d.ts +1 -1
- package/dist/src/components/icons/home-icon.js +2 -22
- package/dist/src/components/icons/home-icon.js.map +1 -1
- package/dist/src/components/icons/icon-element.js +1 -162
- package/dist/src/components/icons/icon-element.js.map +1 -1
- package/dist/src/components/icons/icons.d.ts +23 -23
- package/dist/src/components/icons/icons.js +1 -42
- package/dist/src/components/icons/individual-icon.d.ts +1 -1
- package/dist/src/components/icons/individual-icon.js +2 -20
- package/dist/src/components/icons/individual-icon.js.map +1 -1
- package/dist/src/components/icons/laurel-icon.d.ts +1 -1
- package/dist/src/components/icons/laurel-icon.js +2 -24
- package/dist/src/components/icons/laurel-icon.js.map +1 -1
- package/dist/src/components/icons/machine-learning-icon.d.ts +1 -1
- package/dist/src/components/icons/machine-learning-icon.js +2 -20
- package/dist/src/components/icons/machine-learning-icon.js.map +1 -1
- package/dist/src/components/icons/marks.d.ts +9 -9
- package/dist/src/components/icons/marks.js +1 -41
- package/dist/src/components/icons/minus-icon.d.ts +1 -1
- package/dist/src/components/icons/minus-icon.js +2 -19
- package/dist/src/components/icons/minus-icon.js.map +1 -1
- package/dist/src/components/icons/missing-icon.d.ts +1 -1
- package/dist/src/components/icons/missing-icon.js +3 -53
- package/dist/src/components/icons/missing-icon.js.map +1 -1
- package/dist/src/components/icons/pause-icon.d.ts +1 -1
- package/dist/src/components/icons/pause-icon.js +2 -22
- package/dist/src/components/icons/pause-icon.js.map +1 -1
- package/dist/src/components/icons/pc-mag-2024-icon.js +2 -31
- package/dist/src/components/icons/pc-mag-2024-icon.js.map +1 -1
- package/dist/src/components/icons/pc-mag-business-icon.js +2 -31
- package/dist/src/components/icons/pc-mag-business-icon.js.map +1 -1
- package/dist/src/components/icons/pc-mag-icon.js +2 -31
- package/dist/src/components/icons/pc-mag-icon.js.map +1 -1
- package/dist/src/components/icons/pc-mag-readers-icon.js +2 -30
- package/dist/src/components/icons/pc-mag-readers-icon.js.map +1 -1
- package/dist/src/components/icons/play-icon.d.ts +1 -1
- package/dist/src/components/icons/play-icon.js +2 -22
- package/dist/src/components/icons/play-icon.js.map +1 -1
- package/dist/src/components/icons/plus-icon.d.ts +1 -1
- package/dist/src/components/icons/plus-icon.js +2 -19
- package/dist/src/components/icons/plus-icon.js.map +1 -1
- package/dist/src/components/icons/quote-icon.d.ts +1 -1
- package/dist/src/components/icons/quote-icon.js +2 -30
- package/dist/src/components/icons/quote-icon.js.map +1 -1
- package/dist/src/components/icons/small-business-icon.d.ts +1 -1
- package/dist/src/components/icons/small-business-icon.js +2 -22
- package/dist/src/components/icons/small-business-icon.js.map +1 -1
- package/dist/src/components/icons/top-product-icon.js +2 -31
- package/dist/src/components/icons/top-product-icon.js.map +1 -1
- package/dist/src/components/image/image.css.js +1 -106
- package/dist/src/components/image/image.css.js.map +1 -1
- package/dist/src/components/image/image.d.ts +2 -2
- package/dist/src/components/image/image.js +10 -115
- package/dist/src/components/image/image.js.map +1 -1
- package/dist/src/components/input/input-clipboard.css.js +1 -93
- package/dist/src/components/input/input-clipboard.css.js.map +1 -1
- package/dist/src/components/input/input-clipboard.d.ts +5 -5
- package/dist/src/components/input/input-clipboard.js +20 -257
- package/dist/src/components/input/input-clipboard.js.map +1 -1
- package/dist/src/components/input/input.css.js +1 -9
- package/dist/src/components/input/input.css.js.map +1 -1
- package/dist/src/components/input/input.d.ts +4 -4
- package/dist/src/components/input/input.js +19 -202
- package/dist/src/components/input/input.js.map +1 -1
- package/dist/src/components/install-options/install-options.css.js +1 -308
- package/dist/src/components/install-options/install-options.css.js.map +1 -1
- package/dist/src/components/install-options/install-options.d.ts +4 -4
- package/dist/src/components/install-options/install-options.js +28 -159
- package/dist/src/components/install-options/install-options.js.map +1 -1
- package/dist/src/components/label/label.css.js +1 -33
- package/dist/src/components/label/label.css.js.map +1 -1
- package/dist/src/components/label/label.d.ts +3 -3
- package/dist/src/components/label/label.js +3 -135
- package/dist/src/components/label/label.js.map +1 -1
- package/dist/src/components/light-carousel/light-carousel.css.js +1 -270
- package/dist/src/components/light-carousel/light-carousel.css.js.map +1 -1
- package/dist/src/components/light-carousel/light-carousel.d.ts +3 -3
- package/dist/src/components/light-carousel/light-carousel.js +16 -181
- package/dist/src/components/light-carousel/light-carousel.js.map +1 -1
- package/dist/src/components/link/link.css.js +1 -288
- package/dist/src/components/link/link.css.js.map +1 -1
- package/dist/src/components/link/link.d.ts +3 -3
- package/dist/src/components/link/link.js +6 -233
- package/dist/src/components/link/link.js.map +1 -1
- package/dist/src/components/list/list-item/list-item.css.js +1 -167
- package/dist/src/components/list/list-item/list-item.css.js.map +1 -1
- package/dist/src/components/list/list-item/list-item.d.ts +3 -3
- package/dist/src/components/list/list-item/list-item.js +3 -122
- package/dist/src/components/list/list-item/list-item.js.map +1 -1
- package/dist/src/components/list/list.css.js +1 -180
- package/dist/src/components/list/list.css.js.map +1 -1
- package/dist/src/components/list/list.d.ts +1 -1
- package/dist/src/components/list/list.js +5 -82
- package/dist/src/components/list/list.js.map +1 -1
- package/dist/src/components/logo-marquee/logo-marquee.css.js +1 -93
- package/dist/src/components/logo-marquee/logo-marquee.css.js.map +1 -1
- package/dist/src/components/logo-marquee/logo-marquee.d.ts +3 -3
- package/dist/src/components/logo-marquee/logo-marquee.js +6 -147
- package/dist/src/components/logo-marquee/logo-marquee.js.map +1 -1
- package/dist/src/components/modal/modal.css.js +1 -203
- package/dist/src/components/modal/modal.css.js.map +1 -1
- package/dist/src/components/modal/modal.d.ts +3 -3
- package/dist/src/components/modal/modal.js +3 -131
- package/dist/src/components/modal/modal.js.map +1 -1
- package/dist/src/components/motion-art/motion-art.d.ts +1 -1
- package/dist/src/components/motion-art/motion-art.js +1 -114
- package/dist/src/components/motion-art/motion-art.js.map +1 -1
- package/dist/src/components/overview/overview.css.js +1 -125
- package/dist/src/components/overview/overview.css.js.map +1 -1
- package/dist/src/components/overview/overview.d.ts +2 -2
- package/dist/src/components/overview/overview.js +9 -50
- package/dist/src/components/overview/overview.js.map +1 -1
- package/dist/src/components/page-switcher/page-switcher.css.js +1 -174
- package/dist/src/components/page-switcher/page-switcher.css.js.map +1 -1
- package/dist/src/components/page-switcher/page-switcher.d.ts +2 -2
- package/dist/src/components/page-switcher/page-switcher.js +6 -62
- package/dist/src/components/page-switcher/page-switcher.js.map +1 -1
- package/dist/src/components/pagination-dots/pagination-dots.css.js +1 -160
- package/dist/src/components/pagination-dots/pagination-dots.css.js.map +1 -1
- package/dist/src/components/pagination-dots/pagination-dots.d.ts +2 -2
- package/dist/src/components/pagination-dots/pagination-dots.js +10 -210
- package/dist/src/components/pagination-dots/pagination-dots.js.map +1 -1
- package/dist/src/components/paragraph/paragraph.css.js +1 -101
- package/dist/src/components/paragraph/paragraph.css.js.map +1 -1
- package/dist/src/components/paragraph/paragraph.d.ts +2 -2
- package/dist/src/components/paragraph/paragraph.js +3 -119
- package/dist/src/components/paragraph/paragraph.js.map +1 -1
- package/dist/src/components/partner-banner/partner-banner.css.js +1 -245
- package/dist/src/components/partner-banner/partner-banner.css.js.map +1 -1
- package/dist/src/components/partner-banner/partner-banner.d.ts +1 -1
- package/dist/src/components/partner-banner/partner-banner.js +6 -81
- package/dist/src/components/partner-banner/partner-banner.js.map +1 -1
- package/dist/src/components/picture/picture.css.js +1 -208
- package/dist/src/components/picture/picture.css.js.map +1 -1
- package/dist/src/components/picture/picture.d.ts +2 -2
- package/dist/src/components/picture/picture.js +14 -186
- package/dist/src/components/picture/picture.js.map +1 -1
- package/dist/src/components/post-card/post-card.css.js +1 -149
- package/dist/src/components/post-card/post-card.css.js.map +1 -1
- package/dist/src/components/post-card/post-card.d.ts +2 -2
- package/dist/src/components/post-card/post-card.js +5 -97
- package/dist/src/components/post-card/post-card.js.map +1 -1
- package/dist/src/components/pricing-cards/adopt-styles.js +1 -18
- package/dist/src/components/pricing-cards/adopt-styles.js.map +1 -1
- package/dist/src/components/pricing-cards/new-pricing-card.d.ts +2 -2
- package/dist/src/components/pricing-cards/new-pricing-card.js +4 -49
- package/dist/src/components/pricing-cards/new-pricing-card.js.map +1 -1
- package/dist/src/components/pricing-cards/new-pricing.css.js +1 -74
- package/dist/src/components/pricing-cards/new-pricing.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-actions.css.js +1 -11
- package/dist/src/components/pricing-cards/pricing-card-actions.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-actions.d.ts +2 -2
- package/dist/src/components/pricing-cards/pricing-card-actions.js +2 -59
- package/dist/src/components/pricing-cards/pricing-card-actions.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-container.css.js +1 -41
- package/dist/src/components/pricing-cards/pricing-card-container.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-container.d.ts +1 -1
- package/dist/src/components/pricing-cards/pricing-card-container.js +2 -40
- package/dist/src/components/pricing-cards/pricing-card-container.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-header.css.js +1 -82
- package/dist/src/components/pricing-cards/pricing-card-header.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-header.d.ts +5 -5
- package/dist/src/components/pricing-cards/pricing-card-header.js +7 -70
- package/dist/src/components/pricing-cards/pricing-card-header.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-pricing.css.js +1 -92
- package/dist/src/components/pricing-cards/pricing-card-pricing.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-pricing.d.ts +6 -6
- package/dist/src/components/pricing-cards/pricing-card-pricing.js +7 -87
- package/dist/src/components/pricing-cards/pricing-card-pricing.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-show-more.css.js +1 -29
- package/dist/src/components/pricing-cards/pricing-card-show-more.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-show-more.d.ts +4 -4
- package/dist/src/components/pricing-cards/pricing-card-show-more.js +5 -41
- package/dist/src/components/pricing-cards/pricing-card-show-more.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card.css.js +1 -660
- package/dist/src/components/pricing-cards/pricing-card.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card.d.ts +7 -7
- package/dist/src/components/pricing-cards/pricing-card.js +53 -639
- package/dist/src/components/pricing-cards/pricing-card.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-feature-item.css.js +1 -34
- package/dist/src/components/pricing-cards/pricing-feature-item.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-feature-item.d.ts +2 -2
- package/dist/src/components/pricing-cards/pricing-feature-item.js +2 -22
- package/dist/src/components/pricing-cards/pricing-feature-item.js.map +1 -1
- package/dist/src/components/process-steps/process-steps.css.js +1 -106
- package/dist/src/components/process-steps/process-steps.css.js.map +1 -1
- package/dist/src/components/process-steps/process-steps.d.ts +5 -5
- package/dist/src/components/process-steps/process-steps.js +10 -78
- package/dist/src/components/process-steps/process-steps.js.map +1 -1
- package/dist/src/components/progress/progress.css.js +1 -123
- package/dist/src/components/progress/progress.css.js.map +1 -1
- package/dist/src/components/progress/progress.d.ts +2 -2
- package/dist/src/components/progress/progress.js +6 -72
- package/dist/src/components/progress/progress.js.map +1 -1
- package/dist/src/components/quick-answer/quick-answer.css.js +1 -130
- package/dist/src/components/quick-answer/quick-answer.css.js.map +1 -1
- package/dist/src/components/quick-answer/quick-answer.d.ts +2 -2
- package/dist/src/components/quick-answer/quick-answer.js +9 -49
- package/dist/src/components/quick-answer/quick-answer.js.map +1 -1
- package/dist/src/components/radio/radio-group.css.js +1 -41
- package/dist/src/components/radio/radio-group.css.js.map +1 -1
- package/dist/src/components/radio/radio-group.d.ts +1 -1
- package/dist/src/components/radio/radio-group.js +5 -92
- package/dist/src/components/radio/radio-group.js.map +1 -1
- package/dist/src/components/radio/radio.css.js +1 -193
- package/dist/src/components/radio/radio.css.js.map +1 -1
- package/dist/src/components/radio/radio.d.ts +4 -4
- package/dist/src/components/radio/radio.js +6 -263
- package/dist/src/components/radio/radio.js.map +1 -1
- package/dist/src/components/radio/toggle-radio.d.ts +2 -2
- package/dist/src/components/radio/toggle-radio.js +3 -39
- package/dist/src/components/radio/toggle-radio.js.map +1 -1
- package/dist/src/components/review/review-grid.css.js +1 -46
- package/dist/src/components/review/review-grid.css.js.map +1 -1
- package/dist/src/components/review/review-grid.d.ts +2 -2
- package/dist/src/components/review/review-grid.js +4 -49
- package/dist/src/components/review/review-grid.js.map +1 -1
- package/dist/src/components/review/review.css.js +1 -54
- package/dist/src/components/review/review.css.js.map +1 -1
- package/dist/src/components/review/review.d.ts +2 -2
- package/dist/src/components/review/review.js +2 -59
- package/dist/src/components/review/review.js.map +1 -1
- package/dist/src/components/section/section.css.js +1 -37
- package/dist/src/components/section/section.css.js.map +1 -1
- package/dist/src/components/section/section.d.ts +1 -1
- package/dist/src/components/section/section.js +1 -50
- package/dist/src/components/section/section.js.map +1 -1
- package/dist/src/components/section-header/section-header.css.js +1 -99
- package/dist/src/components/section-header/section-header.css.js.map +1 -1
- package/dist/src/components/section-header/section-header.d.ts +2 -2
- package/dist/src/components/section-header/section-header.js +4 -85
- package/dist/src/components/section-header/section-header.js.map +1 -1
- package/dist/src/components/shared/announcer.d.ts +1 -1
- package/dist/src/components/shared/announcer.js +1 -34
- package/dist/src/components/shared/announcer.js.map +1 -1
- package/dist/src/components/shared/controller.media-query.d.ts +1 -1
- package/dist/src/components/shared/controller.media-query.js +1 -57
- package/dist/src/components/shared/controller.media-query.js.map +1 -1
- package/dist/src/components/shared/define-element.js +1 -16
- package/dist/src/components/shared/define-element.js.map +1 -1
- package/dist/src/components/shared/ensemble.css.js +1 -101
- package/dist/src/components/shared/ensemble.css.js.map +1 -1
- package/dist/src/components/shared/events.js +0 -13
- package/dist/src/components/shared/fill-width.css.js +2 -27
- package/dist/src/components/shared/fill-width.css.js.map +1 -1
- package/dist/src/components/shared/form-control.d.ts +1 -1
- package/dist/src/components/shared/form-control.js +1 -198
- package/dist/src/components/shared/form-control.js.map +1 -1
- package/dist/src/components/shared/form-field.css.js +1 -258
- package/dist/src/components/shared/form-field.css.js.map +1 -1
- package/dist/src/components/shared/prop-vocabulary.js +1 -49
- package/dist/src/components/shared/prop-vocabulary.js.map +1 -1
- package/dist/src/components/shared/token-scales.js +1 -351
- package/dist/src/components/shared/token-scales.js.map +1 -1
- package/dist/src/components/skeleton/skeleton.css.js +1 -32
- package/dist/src/components/skeleton/skeleton.css.js.map +1 -1
- package/dist/src/components/skeleton/skeleton.d.ts +2 -2
- package/dist/src/components/skeleton/skeleton.js +4 -36
- package/dist/src/components/skeleton/skeleton.js.map +1 -1
- package/dist/src/components/spinner/spinner.css.js +1 -87
- package/dist/src/components/spinner/spinner.css.js.map +1 -1
- package/dist/src/components/spinner/spinner.d.ts +3 -3
- package/dist/src/components/spinner/spinner.js +3 -69
- package/dist/src/components/spinner/spinner.js.map +1 -1
- package/dist/src/components/spotlight-section/spotlight-section.css.js +1 -105
- package/dist/src/components/spotlight-section/spotlight-section.css.js.map +1 -1
- package/dist/src/components/spotlight-section/spotlight-section.d.ts +2 -2
- package/dist/src/components/spotlight-section/spotlight-section.js +11 -72
- package/dist/src/components/spotlight-section/spotlight-section.js.map +1 -1
- package/dist/src/components/stat/stat-highlight.js +6 -82
- package/dist/src/components/stat/stat-highlight.js.map +1 -1
- package/dist/src/components/stat/stat-tile.js +5 -52
- package/dist/src/components/stat/stat-tile.js.map +1 -1
- package/dist/src/components/stat/stat.css.js +1 -145
- package/dist/src/components/stat/stat.css.js.map +1 -1
- package/dist/src/components/stat/stat.d.ts +2 -2
- package/dist/src/components/stat/stat.js +1 -3
- package/dist/src/components/switch/switch.css.js +1 -175
- package/dist/src/components/switch/switch.css.js.map +1 -1
- package/dist/src/components/switch/switch.d.ts +4 -4
- package/dist/src/components/switch/switch.js +4 -99
- package/dist/src/components/switch/switch.js.map +1 -1
- package/dist/src/components/tab-list/tab-list.css.js +1 -289
- package/dist/src/components/tab-list/tab-list.css.js.map +1 -1
- package/dist/src/components/tab-list/tab-list.d.ts +1 -1
- package/dist/src/components/tab-list/tab-list.js +13 -191
- package/dist/src/components/tab-list/tab-list.js.map +1 -1
- package/dist/src/components/tabs/tabs.css.js +1 -77
- package/dist/src/components/tabs/tabs.css.js.map +1 -1
- package/dist/src/components/tabs/tabs.d.ts +6 -6
- package/dist/src/components/tabs/tabs.js +8 -220
- package/dist/src/components/tabs/tabs.js.map +1 -1
- package/dist/src/components/tag/tag.css.js +1 -52
- package/dist/src/components/tag/tag.css.js.map +1 -1
- package/dist/src/components/tag/tag.d.ts +2 -2
- package/dist/src/components/tag/tag.js +2 -37
- package/dist/src/components/tag/tag.js.map +1 -1
- package/dist/src/components/terminal/terminal-cursor.js +1 -65
- package/dist/src/components/terminal/terminal-cursor.js.map +1 -1
- package/dist/src/components/terminal/terminal-message.css.js +1 -409
- package/dist/src/components/terminal/terminal-message.css.js.map +1 -1
- package/dist/src/components/terminal/terminal-message.d.ts +5 -5
- package/dist/src/components/terminal/terminal-message.js +28 -183
- package/dist/src/components/terminal/terminal-message.js.map +1 -1
- package/dist/src/components/termsOfUse/terms.css.js +1 -55
- package/dist/src/components/termsOfUse/terms.css.js.map +1 -1
- package/dist/src/components/termsOfUse/terms.d.ts +5 -5
- package/dist/src/components/termsOfUse/terms.js +9 -82
- package/dist/src/components/termsOfUse/terms.js.map +1 -1
- package/dist/src/components/textarea/textarea.css.js +1 -49
- package/dist/src/components/textarea/textarea.css.js.map +1 -1
- package/dist/src/components/textarea/textarea.d.ts +5 -5
- package/dist/src/components/textarea/textarea.js +15 -160
- package/dist/src/components/textarea/textarea.js.map +1 -1
- package/dist/src/components/tooltip/tooltip.css.js +1 -96
- package/dist/src/components/tooltip/tooltip.css.js.map +1 -1
- package/dist/src/components/tooltip/tooltip.d.ts +2 -2
- package/dist/src/components/tooltip/tooltip.js +5 -285
- package/dist/src/components/tooltip/tooltip.js.map +1 -1
- package/dist/src/components/trust-panel/trust-panel.css.js +1 -228
- package/dist/src/components/trust-panel/trust-panel.css.js.map +1 -1
- package/dist/src/components/trust-panel/trust-panel.d.ts +4 -4
- package/dist/src/components/trust-panel/trust-panel.js +25 -104
- package/dist/src/components/trust-panel/trust-panel.js.map +1 -1
- package/dist/src/components/video/video.css.js +1 -20
- package/dist/src/components/video/video.css.js.map +1 -1
- package/dist/src/components/video/video.d.ts +2 -2
- package/dist/src/components/video/video.js +5 -88
- package/dist/src/components/video/video.js.map +1 -1
- package/dist/src/components/video-player/video-player.css.js +1 -167
- package/dist/src/components/video-player/video-player.css.js.map +1 -1
- package/dist/src/components/video-player/video-player.d.ts +2 -2
- package/dist/src/components/video-player/video-player.js +15 -150
- package/dist/src/components/video-player/video-player.js.map +1 -1
- package/dist/src/components/visually-hidden/visually-hidden.css.js +1 -22
- package/dist/src/components/visually-hidden/visually-hidden.css.js.map +1 -1
- package/dist/src/components/visually-hidden/visually-hidden.d.ts +2 -2
- package/dist/src/components/visually-hidden/visually-hidden.js +2 -22
- package/dist/src/components/visually-hidden/visually-hidden.js.map +1 -1
- package/dist/src/tokens/brand-layer.js +8 -162
- package/dist/src/tokens/brand-layer.js.map +1 -1
- package/dist/src/tokens/dark-derivation.js +1 -325
- package/dist/src/tokens/dark-derivation.js.map +1 -1
- package/dist/src/tokens/dark-findings.d.ts +1 -1
- package/dist/src/tokens/dark-findings.js +1 -204
- package/dist/src/tokens/dark-findings.js.map +1 -1
- package/dist/src/tokens/fonts.css +1 -166
- package/dist/src/tokens/layout.css +1 -61
- package/dist/src/tokens/story-chrome.js +27 -221
- package/dist/src/tokens/story-chrome.js.map +1 -1
- package/dist/src/tokens/themes/bitdefender.js +1 -30
- package/dist/src/tokens/themes/bitdefender.js.map +1 -1
- package/dist/src/tokens/themes/contract.js +1 -7
- package/dist/src/tokens/themes/contract.js.map +1 -1
- package/dist/src/tokens/themes/index.js +1 -39
- package/dist/src/tokens/themes/index.js.map +1 -1
- package/dist/src/tokens/token-map.js +1 -236
- package/dist/src/tokens/token-map.js.map +1 -1
- package/dist/src/tokens/token-purposes.js +1 -259
- package/dist/src/tokens/token-purposes.js.map +1 -1
- package/dist/src/tokens/tokens.css +1 -1809
- package/dist/src/tokens/tokens.js +1 -1865
- package/dist/src/tokens/tokens.js.map +1 -1
- package/dist/src/tokens/type-ceiling-words.js +1 -293
- package/dist/src/tokens/type-ceiling-words.js.map +1 -1
- package/package.json +16 -5
- package/schemas/component-manifest.json +1 -1
- package/dist/src/components/icons/icons.js.map +0 -1
- package/dist/src/components/icons/marks.js.map +0 -1
- package/dist/src/components/shared/events.js.map +0 -1
- package/dist/src/components/stat/stat.js.map +0 -1
|
@@ -1,205 +1,2 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The findings of the 🔬 Dark mode study, as data, each with a check that runs
|
|
3
|
-
* against the code. The numbers are the Figma page's, so the two can be read
|
|
4
|
-
* side by side; 6 and 7 are observations rather than findings, below.
|
|
5
|
-
*
|
|
6
|
-
* What a finding SAYS -- its status, its wording, which commit fixed it -- is a
|
|
7
|
-
* record of a decision, and is written here by hand. What it CLAIMS about the
|
|
8
|
-
* code is checked: a fixed finding verifies the fix is still in place, an open
|
|
9
|
-
* one verifies it still fails. When a check disagrees with the status, the page
|
|
10
|
-
* says so, which is how a reverted fix or a quietly-resolved finding shows up
|
|
11
|
-
* instead of lying in prose.
|
|
12
|
-
*
|
|
13
|
-
* A check receives { decl, src, row }: the token declarations, the raw source
|
|
14
|
-
* of the component stylesheets it names, and a lookup into the derived dark
|
|
15
|
-
* values. It returns { holds, detail } -- holds is whether the status is still
|
|
16
|
-
* true. Not a story file. Pure, so it runs under Node.
|
|
17
|
-
*/
|
|
18
|
-
import { contrast } from "./dark-derivation.js";
|
|
19
|
-
const has = (s, needle) => (s || '').includes(needle);
|
|
20
|
-
const reads = (decl, token, role) => (decl.get(token) || '').trim() === `var(${role})`;
|
|
21
|
-
const r2 = (n) => (n == null ? '—' : n.toFixed(2));
|
|
22
|
-
export const FINDINGS = [
|
|
23
|
-
{
|
|
24
|
-
n: 1, status: 'fixed', commit: '591c695a', kind: 'role',
|
|
25
|
-
title: 'Button labels borrowed text-inverse',
|
|
26
|
-
summary: 'Six filled-button labels read --color-text-inverse, which a dark theme flips to near-black on the fill. They read an on-fill ink now -- --color-action-on-fill, or --color-brand-on-fill where the fill is the brand\'s -- white in both themes, 4.53 to 10.51:1.',
|
|
27
|
-
files: [],
|
|
28
|
-
check: ({ decl }) => {
|
|
29
|
-
const t = ['primary-text-default', 'accent-text-default', 'secondary-text-default', 'tertiary-text-active', 'ghost-text-active', 'outline-white-text-default'].map(x => `--button-${x}`);
|
|
30
|
-
/* either on-fill ink keeps the point of this finding: neither flips with
|
|
31
|
-
a dark theme. --color-brand-on-fill is the brand's own, which a light
|
|
32
|
-
partner brand sets dark. */
|
|
33
|
-
const off = t.filter(x => !reads(decl, x, '--color-action-on-fill') && !reads(decl, x, '--color-brand-on-fill'));
|
|
34
|
-
return { holds: !off.length, detail: off.length ? `still borrowing: ${off.join(', ')}` : 'all six label tokens read an on-fill ink' };
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
n: 2, status: 'fixed', kind: 'palette',
|
|
39
|
-
title: 'The dark end of the neutral ramp was too coarse',
|
|
40
|
-
summary: 'Light has four grounds within 1.29:1 of the page; dark had neutral-950, then 900, then 800, so container and subtle landed on one step. neutral-925 and 850 sit at the light steps, 1.04 and 1.12 off the dark page.',
|
|
41
|
-
check: ({ row }) => {
|
|
42
|
-
const g = ['--color-surface-container', '--color-surface-subtle', '--color-surface-muted'].map(row);
|
|
43
|
-
const apart = new Set(g.map(r => r.dark)).size === g.length;
|
|
44
|
-
return { holds: apart, detail: g.map(r => `${r.token.slice(16)} ${r.dark}`).join(', ') + (apart ? '' : ': two share a step again') };
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
n: 3, status: 'fixed', kind: 'palette',
|
|
49
|
-
title: 'text-subtle had no dark step that kept both its jobs',
|
|
50
|
-
summary: 'It must stay quieter than text-muted and clear 4.5:1, and no neutral step did both. neutral-450 does: 4.93:1 on the dark page and 4.75 on a dark card, 1.22:1 from muted.',
|
|
51
|
-
check: ({ row }) => {
|
|
52
|
-
const r = row('--color-text-subtle'), m = row('--color-text-muted');
|
|
53
|
-
const ok = r.ok === true && r.dark !== m.dark;
|
|
54
|
-
return { holds: ok, detail: `derives to ${r.dark}, ${r2(r.darkRatio)}:1 on the dark page; muted is ${m.dark}` };
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
n: 4, status: 'decided', kind: 'design',
|
|
59
|
-
title: 'The action ramp darkens in dark too, and the page bar is for the resting fill',
|
|
60
|
-
summary: 'On the dark page, label-on-fill times fill-on-page is 19.45 for every fill, so a white label at 4.5:1 and a fill at 3:1 leave a band 1.44:1 wide -- accent and secondary have one step in it, so no ramp keeps both bars in three states. Decided: hover and press darken as in light; every state keeps its white label at 4.5:1; a resting fill keeps 3:1 on the page by choice; hover and press are supplemental, as WCAG 1.4.11 says, and a text button needs no boundary at all.',
|
|
61
|
-
check: ({ row }) => {
|
|
62
|
-
const t = ['primary', 'accent', 'secondary'].flatMap(k => ['', '-hover', '-active'].map(s => `--color-action-${k}${s}`)).map(row)
|
|
63
|
-
.filter(r => r.token);
|
|
64
|
-
const label = t.filter(r => r.darkRatio < 4.5), rest = t.filter(r => !r.state && r.groundRatio < 3);
|
|
65
|
-
const ok = t.length === 9 && !label.length && !rest.length;
|
|
66
|
-
return { holds: ok, detail: ok
|
|
67
|
-
? `every label clears 4.5 (weakest ${r2(Math.min(...t.map(r => r.darkRatio)))}:1); resting fills ${t.filter(r => !r.state).map(r => r2(r.groundRatio))
|
|
68
|
-
.join(', ')}:1 on the page`
|
|
69
|
-
: [label.length && `label under 4.5: ${label.map(r => r.token.slice(15)).join(', ')}`, rest.length && `resting fill under 3: ${rest.map(r => r.token.slice(15)).join(', ')}`, t.length !== 9 && `${t.length} of 9 fill rows`].filter(Boolean).join(' · ') };
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
n: 5, status: 'fixed', kind: 'palette',
|
|
74
|
-
title: 'Success and warning tints ran three times heavier than in light',
|
|
75
|
-
summary: 'green-950 and yellow-950 are not near-black, so those tints sat about 1.55:1 off the dark page against 1.05 in light, and read as coloured bands on an alert. green-975 and yellow-975 sit at 1.04 and 1.03.',
|
|
76
|
-
check: ({ row }) => {
|
|
77
|
-
const g = row('--status-success-surface'), y = row('--status-warning-surface');
|
|
78
|
-
const light = g.darkRatio / g.lightRatio <= 1.3 && y.darkRatio / y.lightRatio <= 1.3;
|
|
79
|
-
return { holds: light, detail: `success ${r2(g.lightRatio)} → ${r2(g.darkRatio)}, warning ${r2(y.lightRatio)} → ${r2(y.darkRatio)} off the page` };
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
n: 8, status: 'fixed', kind: 'primitive',
|
|
84
|
-
title: 'Secondary and pressed ghost buttons read primitives, and vanished on a dark page',
|
|
85
|
-
summary: 'Their fills were neutral-950/800/1000 from the palette, which has no dark value, and the dark page is neutral-950 too. They read --color-action-secondary now. The white preset mixed a fixed fill with a switching label; its label is a fixed ramp step now (--color-brand-600), like its fill.',
|
|
86
|
-
check: ({ decl }) => {
|
|
87
|
-
const t = ['--button-secondary-background-default', '--button-secondary-background-hover', '--button-secondary-background-active', '--button-ghost-background-active'];
|
|
88
|
-
const prim = t.filter(x => !/var\(--color-action-secondary(-hover|-active)?\)/.test(decl.get(x) || ''));
|
|
89
|
-
/* fixed means a ramp step, not a role that switches. It was blue-600 by
|
|
90
|
-
name; it is the brand ramp's 600 now, which is just as fixed and also
|
|
91
|
-
follows the business line. */
|
|
92
|
-
const white = reads(decl, '--button-white-text-default', '--color-brand-600')
|
|
93
|
-
|| reads(decl, '--button-white-text-default', '--color-blue-600');
|
|
94
|
-
const ok = !prim.length && white;
|
|
95
|
-
return { holds: ok, detail: ok ? 'four fills read --color-action-secondary; the white preset label is fixed' : [prim.length && `not on the role: ${prim.join(', ')}`, !white && 'the white preset label switches again'].filter(Boolean).join(' · ') };
|
|
96
|
-
}
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
n: 9, status: 'fixed', commit: '415fc57c', kind: 'light-bug',
|
|
100
|
-
title: 'outline-white lost AA on hover and press, in light',
|
|
101
|
-
summary: 'Its white wash lightened the blue under a white label (3.91 and 3.38:1). It darkens now, and the label passes on every ground the preset sits on.',
|
|
102
|
-
check: ({ decl }) => {
|
|
103
|
-
const ok = ['--button-outline-white-background-hover', '--button-outline-white-background-active'].every(t => has(decl.get(t), '--color-neutral-1000'));
|
|
104
|
-
return { holds: ok, detail: ok ? 'hover and press wash with neutral-1000' : 'a white wash is back' };
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
n: 10, status: 'fixed', commit: '591c695a', kind: 'primitive',
|
|
109
|
-
title: 'The required mark read a primitive',
|
|
110
|
-
summary: 'It was red-600 from the palette, 3.57:1 in dark. It reads --status-error-accent now, like the error help text.',
|
|
111
|
-
check: ({ decl }) => { const ok = reads(decl, '--form-label-required-color', '--status-error-accent'); return { holds: ok, detail: ok ? '--form-label-required-color reads --status-error-accent' : `reads ${decl.get('--form-label-required-color')}` }; }
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
n: 11, status: 'fixed', commit: '415fc57c', kind: 'light-bug',
|
|
115
|
-
title: 'Placeholders failed on the error and success tints, in light',
|
|
116
|
-
summary: 'Every placeholder was text-subtle, 4.22 and 4.43:1 on the tints. Error and success fields take text-muted now. The plain field\'s dark placeholder is finding 3.',
|
|
117
|
-
files: ['form-field'],
|
|
118
|
-
check: ({ src }) => { const ok = has(src['form-field'], '.form-input--error::placeholder'); return { holds: ok, detail: ok ? 'form-field.css.ts sets tinted placeholders to text-muted' : 'the tinted-placeholder rule is gone' }; }
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
n: 12, status: 'fixed', commit: '591c695a', kind: 'role',
|
|
122
|
-
title: 'The checkmark, radio dot and switch thumb read the page colour',
|
|
123
|
-
summary: 'They were --color-surface-default, which is "the page", not "white", and turns near-black on blue in dark. They read an on-fill ink now -- the brand\'s, on the brand fill.',
|
|
124
|
-
files: ['checkbox', 'radio', 'switch'],
|
|
125
|
-
check: ({ src }) => { const off = ['checkbox', 'radio', 'switch'].filter(k => !has(src[k], 'var(--color-action-on-fill)') && !has(src[k], 'var(--color-brand-on-fill)')); return { holds: !off.length, detail: off.length ? `not on action-on-fill: ${off.join(', ')}` : 'all three read an on-fill ink' }; }
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
n: 13, status: 'fixed', commit: '591c695a', kind: 'role',
|
|
129
|
-
title: 'A link\'s hover borrowed a button fill as text',
|
|
130
|
-
summary: 'Primary and bold hovers read --color-action-primary-active; they read --color-text-brand-hover now. The subtle link at rest failed in dark too, until finding 3 gave text-subtle a dark step.',
|
|
131
|
-
files: ['link'],
|
|
132
|
-
check: ({ src }) => { const ok = !has(src.link, 'action-primary-active') && has(src.link, 'var(--color-text-brand-hover)'); return { holds: ok, detail: ok ? 'link hovers read --color-text-brand-hover' : 'a hover reads an action fill again' }; }
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
n: 14, status: 'decided', kind: 'primitive',
|
|
136
|
-
title: 'Back and Avatar read primitives, and failed in dark',
|
|
137
|
-
summary: 'Back\'s pressed ground was neutral-200 under a label that switches, 1.48:1 in dark; it reads --color-surface-pressed now. Avatar\'s disc was blue-100 from the palette, 2.68:1 in dark under its initials. Decided: the disc reads --status-brand-surface, chosen for meaning (brand identity), not for value -- the only blue-100 role is info\'s, and an avatar is not info. The initials read 5.72:1 in light and 5.10 in dark; the disc is fainter on the page (1.08:1), and the initials, not the edge, identify it.',
|
|
138
|
-
files: ['back', 'avatar'],
|
|
139
|
-
check: ({ src }) => {
|
|
140
|
-
const b = has(src.back, 'var(--color-surface-pressed)'), a = has(src.avatar, 'var(--status-brand-surface)') && !has(src.avatar, 'var(--color-blue-100)');
|
|
141
|
-
return { holds: b && a, detail: [b ? 'Back reads --color-surface-pressed' : 'Back reads a primitive again', a ? 'Avatar reads --status-brand-surface' : 'Avatar reads a primitive again'].join(' · ') };
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
n: 15, status: 'decided', kind: 'design',
|
|
146
|
-
title: 'Video and terminal frames used surface-inverse to mean "dark"',
|
|
147
|
-
summary: 'Inverse means the other polarity, so in dark the frame turned light and its ink dark: a play icon at 3.13:1, and a terminal palette (blue-400, the traffic-light green) that only works on a dark ground. Decided: --color-surface-media, dark in every theme, with --color-text-on-media and -muted fixed alongside it. The tooltip stays on surface-inverse: a bubble that flips is what inverse means.',
|
|
148
|
-
files: ['video-player', 'video', 'terminal-message', 'tooltip'],
|
|
149
|
-
check: ({ src }) => {
|
|
150
|
-
const frames = ['video-player', 'video', 'terminal-message'];
|
|
151
|
-
const off = frames.filter(k => !has(src[k], 'var(--color-surface-media)') || has(src[k], 'var(--color-surface-inverse)') || has(src[k], 'var(--color-text-inverse)'));
|
|
152
|
-
const tip = has(src.tooltip, 'var(--color-surface-inverse)');
|
|
153
|
-
const ok = !off.length && tip;
|
|
154
|
-
return { holds: ok, detail: ok ? 'video, bd-video and the terminal read surface-media and its ink; the tooltip stays inverse' : [off.length && `still on inverse: ${off.join(', ')}`, !tip && 'the tooltip left surface-inverse'].filter(Boolean).join(' · ') };
|
|
155
|
-
}
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
n: 16, status: 'fixed', commit: '591c695a', kind: 'primitive',
|
|
159
|
-
title: 'The citation reference read the palette',
|
|
160
|
-
summary: 'blue-600 and blue-700 from the ramp, 3.15 and 2.27:1 in dark. It reads --color-text-brand and --color-text-brand-hover now.',
|
|
161
|
-
check: ({ decl }) => { const ok = reads(decl, '--citation-reference-color', '--color-text-brand') && reads(decl, '--citation-reference-hover-color', '--color-text-brand-hover'); return { holds: ok, detail: ok ? 'both citation tokens read brand text roles' : 'a citation token reads a primitive again' }; }
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
n: 17, status: 'decided', commit: '415fc57c', kind: 'light-bug',
|
|
165
|
-
title: 'text-subtle failed on a card, in light, and on bands and tints in both themes',
|
|
166
|
-
summary: 'neutral-500 moved one step for the card (415fc57c, 4.61:1). On surface-subtle and the status tints it was still 4.29 to 4.46, and no value can be quieter than muted and clear 4.5 on every ground -- on surface-muted it would have to be muted. Decided: subtle text sits on the page or a card; on a band or a tint it steps up to text-muted. neutral-450 is measured on the dark card (4.75), and the compatibility table\'s blue band moved its labels to muted (6.10).',
|
|
167
|
-
files: ['compatibility-table'],
|
|
168
|
-
check: ({ decl, src }) => {
|
|
169
|
-
// what the rule is FOR: subtle clears 4.5 on a card in both themes, and the band that broke it no longer carries it
|
|
170
|
-
const c = (t) => (decl.get(t) || '').trim();
|
|
171
|
-
const light = contrast(c('--color-neutral-500'), c('--color-neutral-25')), dark = contrast(c('--color-neutral-450'), c('--color-neutral-925'));
|
|
172
|
-
const band = has(src['compatibility-table'], ':host([background="blue"]) .bd-compattable-lightlabel');
|
|
173
|
-
const ok = light >= 4.5 && dark >= 4.5 && band;
|
|
174
|
-
return { holds: ok, detail: `subtle on a card ${light.toFixed(2)}:1 in light, ${dark.toFixed(2)} in dark${band ? '; the blue-band label reads muted' : '; the blue-band label is subtle again'}` };
|
|
175
|
-
}
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
n: 18, status: 'fixed', commit: '591c695a', kind: 'role',
|
|
179
|
-
title: 'The list check borrowed its pair',
|
|
180
|
-
summary: 'Disc and tick read the status accent and text-inverse; they read the badge\'s own fill and on-fill now.',
|
|
181
|
-
files: ['list-item'],
|
|
182
|
-
check: ({ src }) => { const ok = has(src['list-item'], 'var(--status-success-fill)') && has(src['list-item'], 'var(--status-success-on-fill)'); return { holds: ok, detail: ok ? 'the check reads --status-success-fill and -on-fill' : 'the check borrows again' }; }
|
|
183
|
-
}
|
|
184
|
-
];
|
|
185
|
-
/** Observations from the study that are not defects. Shown, not checked. */
|
|
186
|
-
export const OBSERVATIONS = [
|
|
187
|
-
{ n: 6, title: 'What carries over unchanged', summary: 'muted and disabled share a value in both themes. In light, border-container is surface-muted\'s step, so a card edge disappears on a muted band; in dark it lands on surface-subtle\'s step instead (neutral-850), so the band it disappears on moves from muted to subtle.' },
|
|
188
|
-
{ n: 7, title: 'Badges and tags hold in dark', summary: 'Every part passes in both modes, on the page and on a card. A badge and a tag of one tone read further apart in dark than in light, except brand, which is the same ground in both by design.' }
|
|
189
|
-
];
|
|
190
|
-
/** Every check, run. */
|
|
191
|
-
export function runChecks({ decl, src, rows }) {
|
|
192
|
-
const byToken = new Map(rows.map(r => [r.token, r]));
|
|
193
|
-
const row = (t) => byToken.get(t) || {};
|
|
194
|
-
return FINDINGS.map(f => {
|
|
195
|
-
let res;
|
|
196
|
-
try {
|
|
197
|
-
res = f.check({ decl, src, row });
|
|
198
|
-
}
|
|
199
|
-
catch (e) {
|
|
200
|
-
res = { holds: false, detail: `check failed to run: ${e.message}` };
|
|
201
|
-
}
|
|
202
|
-
return { ...f, ...res };
|
|
203
|
-
});
|
|
204
|
-
}
|
|
1
|
+
import{contrast as e}from"./dark-derivation.js";var t=(e,t)=>(e||``).includes(t),n=(e,t,n)=>(e.get(t)||``).trim()===`var(${n})`,r=e=>e==null?`—`:e.toFixed(2),i=[{n:1,status:`fixed`,commit:`591c695a`,kind:`role`,title:`Button labels borrowed text-inverse`,summary:`Six filled-button labels read --color-text-inverse, which a dark theme flips to near-black on the fill. They read an on-fill ink now -- --color-action-on-fill, or --color-brand-on-fill where the fill is the brand's -- white in both themes, 4.53 to 10.51:1.`,files:[],check:({decl:e})=>{let t=[`primary-text-default`,`accent-text-default`,`secondary-text-default`,`tertiary-text-active`,`ghost-text-active`,`outline-white-text-default`].map(e=>`--button-${e}`).filter(t=>!n(e,t,`--color-action-on-fill`)&&!n(e,t,`--color-brand-on-fill`));return{holds:!t.length,detail:t.length?`still borrowing: ${t.join(`, `)}`:`all six label tokens read an on-fill ink`}}},{n:2,status:`fixed`,kind:`palette`,title:`The dark end of the neutral ramp was too coarse`,summary:`Light has four grounds within 1.29:1 of the page; dark had neutral-950, then 900, then 800, so container and subtle landed on one step. neutral-925 and 850 sit at the light steps, 1.04 and 1.12 off the dark page.`,check:({row:e})=>{let t=[`--color-surface-container`,`--color-surface-subtle`,`--color-surface-muted`].map(e),n=new Set(t.map(e=>e.dark)).size===t.length;return{holds:n,detail:t.map(e=>`${e.token.slice(16)} ${e.dark}`).join(`, `)+(n?``:`: two share a step again`)}}},{n:3,status:`fixed`,kind:`palette`,title:`text-subtle had no dark step that kept both its jobs`,summary:`It must stay quieter than text-muted and clear 4.5:1, and no neutral step did both. neutral-450 does: 4.93:1 on the dark page and 4.75 on a dark card, 1.22:1 from muted.`,check:({row:e})=>{let t=e(`--color-text-subtle`),n=e(`--color-text-muted`);return{holds:t.ok===!0&&t.dark!==n.dark,detail:`derives to ${t.dark}, ${r(t.darkRatio)}:1 on the dark page; muted is ${n.dark}`}}},{n:4,status:`decided`,kind:`design`,title:`The action ramp darkens in dark too, and the page bar is for the resting fill`,summary:`On the dark page, label-on-fill times fill-on-page is 19.45 for every fill, so a white label at 4.5:1 and a fill at 3:1 leave a band 1.44:1 wide -- accent and secondary have one step in it, so no ramp keeps both bars in three states. Decided: hover and press darken as in light; every state keeps its white label at 4.5:1; a resting fill keeps 3:1 on the page by choice; hover and press are supplemental, as WCAG 1.4.11 says, and a text button needs no boundary at all.`,check:({row:e})=>{let t=[`primary`,`accent`,`secondary`].flatMap(e=>[``,`-hover`,`-active`].map(t=>`--color-action-${e}${t}`)).map(e).filter(e=>e.token),n=t.filter(e=>e.darkRatio<4.5),i=t.filter(e=>!e.state&&e.groundRatio<3),a=t.length===9&&!n.length&&!i.length;return{holds:a,detail:a?`every label clears 4.5 (weakest ${r(Math.min(...t.map(e=>e.darkRatio)))}:1); resting fills ${t.filter(e=>!e.state).map(e=>r(e.groundRatio)).join(`, `)}:1 on the page`:[n.length&&`label under 4.5: ${n.map(e=>e.token.slice(15)).join(`, `)}`,i.length&&`resting fill under 3: ${i.map(e=>e.token.slice(15)).join(`, `)}`,t.length!==9&&`${t.length} of 9 fill rows`].filter(Boolean).join(` · `)}}},{n:5,status:`fixed`,kind:`palette`,title:`Success and warning tints ran three times heavier than in light`,summary:`green-950 and yellow-950 are not near-black, so those tints sat about 1.55:1 off the dark page against 1.05 in light, and read as coloured bands on an alert. green-975 and yellow-975 sit at 1.04 and 1.03.`,check:({row:e})=>{let t=e(`--status-success-surface`),n=e(`--status-warning-surface`);return{holds:t.darkRatio/t.lightRatio<=1.3&&n.darkRatio/n.lightRatio<=1.3,detail:`success ${r(t.lightRatio)} → ${r(t.darkRatio)}, warning ${r(n.lightRatio)} → ${r(n.darkRatio)} off the page`}}},{n:8,status:`fixed`,kind:`primitive`,title:`Secondary and pressed ghost buttons read primitives, and vanished on a dark page`,summary:`Their fills were neutral-950/800/1000 from the palette, which has no dark value, and the dark page is neutral-950 too. They read --color-action-secondary now. The white preset mixed a fixed fill with a switching label; its label is a fixed ramp step now (--color-brand-600), like its fill.`,check:({decl:e})=>{let t=[`--button-secondary-background-default`,`--button-secondary-background-hover`,`--button-secondary-background-active`,`--button-ghost-background-active`].filter(t=>!/var\(--color-action-secondary(-hover|-active)?\)/.test(e.get(t)||``)),r=n(e,`--button-white-text-default`,`--color-brand-600`)||n(e,`--button-white-text-default`,`--color-blue-600`),i=!t.length&&r;return{holds:i,detail:i?`four fills read --color-action-secondary; the white preset label is fixed`:[t.length&&`not on the role: ${t.join(`, `)}`,!r&&`the white preset label switches again`].filter(Boolean).join(` · `)}}},{n:9,status:`fixed`,commit:`415fc57c`,kind:`light-bug`,title:`outline-white lost AA on hover and press, in light`,summary:`Its white wash lightened the blue under a white label (3.91 and 3.38:1). It darkens now, and the label passes on every ground the preset sits on.`,check:({decl:e})=>{let n=[`--button-outline-white-background-hover`,`--button-outline-white-background-active`].every(n=>t(e.get(n),`--color-neutral-1000`));return{holds:n,detail:n?`hover and press wash with neutral-1000`:`a white wash is back`}}},{n:10,status:`fixed`,commit:`591c695a`,kind:`primitive`,title:`The required mark read a primitive`,summary:`It was red-600 from the palette, 3.57:1 in dark. It reads --status-error-accent now, like the error help text.`,check:({decl:e})=>{let t=n(e,`--form-label-required-color`,`--status-error-accent`);return{holds:t,detail:t?`--form-label-required-color reads --status-error-accent`:`reads ${e.get(`--form-label-required-color`)}`}}},{n:11,status:`fixed`,commit:`415fc57c`,kind:`light-bug`,title:`Placeholders failed on the error and success tints, in light`,summary:`Every placeholder was text-subtle, 4.22 and 4.43:1 on the tints. Error and success fields take text-muted now. The plain field's dark placeholder is finding 3.`,files:[`form-field`],check:({src:e})=>{let n=t(e[`form-field`],`.form-input--error::placeholder`);return{holds:n,detail:n?`form-field.css.ts sets tinted placeholders to text-muted`:`the tinted-placeholder rule is gone`}}},{n:12,status:`fixed`,commit:`591c695a`,kind:`role`,title:`The checkmark, radio dot and switch thumb read the page colour`,summary:`They were --color-surface-default, which is "the page", not "white", and turns near-black on blue in dark. They read an on-fill ink now -- the brand's, on the brand fill.`,files:[`checkbox`,`radio`,`switch`],check:({src:e})=>{let n=[`checkbox`,`radio`,`switch`].filter(n=>!t(e[n],`var(--color-action-on-fill)`)&&!t(e[n],`var(--color-brand-on-fill)`));return{holds:!n.length,detail:n.length?`not on action-on-fill: ${n.join(`, `)}`:`all three read an on-fill ink`}}},{n:13,status:`fixed`,commit:`591c695a`,kind:`role`,title:`A link's hover borrowed a button fill as text`,summary:`Primary and bold hovers read --color-action-primary-active; they read --color-text-brand-hover now. The subtle link at rest failed in dark too, until finding 3 gave text-subtle a dark step.`,files:[`link`],check:({src:e})=>{let n=!t(e.link,`action-primary-active`)&&t(e.link,`var(--color-text-brand-hover)`);return{holds:n,detail:n?`link hovers read --color-text-brand-hover`:`a hover reads an action fill again`}}},{n:14,status:`decided`,kind:`primitive`,title:`Back and Avatar read primitives, and failed in dark`,summary:`Back's pressed ground was neutral-200 under a label that switches, 1.48:1 in dark; it reads --color-surface-pressed now. Avatar's disc was blue-100 from the palette, 2.68:1 in dark under its initials. Decided: the disc reads --status-brand-surface, chosen for meaning (brand identity), not for value -- the only blue-100 role is info's, and an avatar is not info. The initials read 5.72:1 in light and 5.10 in dark; the disc is fainter on the page (1.08:1), and the initials, not the edge, identify it.`,files:[`back`,`avatar`],check:({src:e})=>{let n=t(e.back,`var(--color-surface-pressed)`),r=t(e.avatar,`var(--status-brand-surface)`)&&!t(e.avatar,`var(--color-blue-100)`);return{holds:n&&r,detail:[n?`Back reads --color-surface-pressed`:`Back reads a primitive again`,r?`Avatar reads --status-brand-surface`:`Avatar reads a primitive again`].join(` · `)}}},{n:15,status:`decided`,kind:`design`,title:`Video and terminal frames used surface-inverse to mean "dark"`,summary:`Inverse means the other polarity, so in dark the frame turned light and its ink dark: a play icon at 3.13:1, and a terminal palette (blue-400, the traffic-light green) that only works on a dark ground. Decided: --color-surface-media, dark in every theme, with --color-text-on-media and -muted fixed alongside it. The tooltip stays on surface-inverse: a bubble that flips is what inverse means.`,files:[`video-player`,`video`,`terminal-message`,`tooltip`],check:({src:e})=>{let n=[`video-player`,`video`,`terminal-message`].filter(n=>!t(e[n],`var(--color-surface-media)`)||t(e[n],`var(--color-surface-inverse)`)||t(e[n],`var(--color-text-inverse)`)),r=t(e.tooltip,`var(--color-surface-inverse)`),i=!n.length&&r;return{holds:i,detail:i?`video, bd-video and the terminal read surface-media and its ink; the tooltip stays inverse`:[n.length&&`still on inverse: ${n.join(`, `)}`,!r&&`the tooltip left surface-inverse`].filter(Boolean).join(` · `)}}},{n:16,status:`fixed`,commit:`591c695a`,kind:`primitive`,title:`The citation reference read the palette`,summary:`blue-600 and blue-700 from the ramp, 3.15 and 2.27:1 in dark. It reads --color-text-brand and --color-text-brand-hover now.`,check:({decl:e})=>{let t=n(e,`--citation-reference-color`,`--color-text-brand`)&&n(e,`--citation-reference-hover-color`,`--color-text-brand-hover`);return{holds:t,detail:t?`both citation tokens read brand text roles`:`a citation token reads a primitive again`}}},{n:17,status:`decided`,commit:`415fc57c`,kind:`light-bug`,title:`text-subtle failed on a card, in light, and on bands and tints in both themes`,summary:`neutral-500 moved one step for the card (415fc57c, 4.61:1). On surface-subtle and the status tints it was still 4.29 to 4.46, and no value can be quieter than muted and clear 4.5 on every ground -- on surface-muted it would have to be muted. Decided: subtle text sits on the page or a card; on a band or a tint it steps up to text-muted. neutral-450 is measured on the dark card (4.75), and the compatibility table's blue band moved its labels to muted (6.10).`,files:[`compatibility-table`],check:({decl:n,src:r})=>{let i=e=>(n.get(e)||``).trim(),a=e(i(`--color-neutral-500`),i(`--color-neutral-25`)),o=e(i(`--color-neutral-450`),i(`--color-neutral-925`)),s=t(r[`compatibility-table`],`:host([background="blue"]) .bd-compattable-lightlabel`);return{holds:a>=4.5&&o>=4.5&&s,detail:`subtle on a card ${a.toFixed(2)}:1 in light, ${o.toFixed(2)} in dark${s?`; the blue-band label reads muted`:`; the blue-band label is subtle again`}`}}},{n:18,status:`fixed`,commit:`591c695a`,kind:`role`,title:`The list check borrowed its pair`,summary:`Disc and tick read the status accent and text-inverse; they read the badge's own fill and on-fill now.`,files:[`list-item`],check:({src:e})=>{let n=t(e[`list-item`],`var(--status-success-fill)`)&&t(e[`list-item`],`var(--status-success-on-fill)`);return{holds:n,detail:n?`the check reads --status-success-fill and -on-fill`:`the check borrows again`}}}],a=[{n:6,title:`What carries over unchanged`,summary:`muted and disabled share a value in both themes. In light, border-container is surface-muted's step, so a card edge disappears on a muted band; in dark it lands on surface-subtle's step instead (neutral-850), so the band it disappears on moves from muted to subtle.`},{n:7,title:`Badges and tags hold in dark`,summary:`Every part passes in both modes, on the page and on a card. A badge and a tag of one tone read further apart in dark than in light, except brand, which is the same ground in both by design.`}];function o({decl:e,src:t,rows:n}){let r=new Map(n.map(e=>[e.token,e])),a=e=>r.get(e)||{};return i.map(n=>{let r;try{r=n.check({decl:e,src:t,row:a})}catch(e){r={holds:!1,detail:`check failed to run: ${e.message}`}}return{...n,...r}})}export{i as FINDINGS,a as OBSERVATIONS,o as runChecks};
|
|
205
2
|
//# sourceMappingURL=dark-findings.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dark-findings.js","sourceRoot":"","sources":["../../../src/tokens/dark-findings.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;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,CAAC,CAAC,CAAC,EAAE;QACtB,IAAI,GAAG,CAAC;QACR,IAAI,CAAC;YAAC,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC;QAAC,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YAAC,GAAG,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,wBAAyB,CAAW,CAAC,OAAO,EAAE,EAAE,CAAC;QAAC,CAAC;QACxI,OAAO,EAAE,GAAG,CAAC,EAAE,GAAG,GAAG,EAAE,CAAC;IAC1B,CAAC,CAAC,CAAC;AACL,CAAC","sourcesContent":["/**\n * The findings of the 🔬 Dark mode study, as data, each with a check that runs\n * against the code. The numbers are the Figma page's, so the two can be read\n * side by side; 6 and 7 are observations rather than findings, below.\n *\n * What a finding SAYS -- its status, its wording, which commit fixed it -- is a\n * record of a decision, and is written here by hand. What it CLAIMS about the\n * code is checked: a fixed finding verifies the fix is still in place, an open\n * one verifies it still fails. When a check disagrees with the status, the page\n * says so, which is how a reverted fix or a quietly-resolved finding shows up\n * instead of lying in prose.\n *\n * A check receives { decl, src, row }: the token declarations, the raw source\n * of the component stylesheets it names, and a lookup into the derived dark\n * values. It returns { holds, detail } -- holds is whether the status is still\n * true. Not a story file. Pure, so it runs under Node.\n */\n\nimport { contrast } from './dark-derivation.ts';\nimport type { DarkRow } from './dark-derivation.ts';\n\nexport interface CheckInput {\n decl: Map<string, string>;\n src : Record<string, string>;\n row : (token: string) => Partial<DarkRow>;\n}\n\nexport interface CheckResult {\n holds : boolean;\n detail: string;\n}\n\nexport interface Finding {\n n : number;\n status : 'fixed' | 'partly fixed' | 'open' | 'decision' | 'decided';\n commit?: string;\n kind : 'role' | 'palette' | 'design' | 'primitive' | 'light-bug';\n title : string;\n summary: string;\n files? : string[];\n check : (input: CheckInput) => CheckResult;\n}\n\nconst has = (s: string | undefined, needle: string) => (s || '').includes(needle);\nconst reads = (decl: Map<string, string>, token: string, role: string) => (decl.get(token) || '').trim() === `var(${role})`;\nconst r2 = (n: number | null | undefined) => (n == null ? '—' : n.toFixed(2));\n\nexport const FINDINGS: Finding[] = [\n {\n n : 1, status : 'fixed', commit : '591c695a', kind : 'role',\n title : 'Button labels borrowed text-inverse',\n summary: 'Six filled-button labels read --color-text-inverse, which a dark theme flips to near-black on the fill. They read an on-fill ink now -- --color-action-on-fill, or --color-brand-on-fill where the fill is the brand\\'s -- white in both themes, 4.53 to 10.51:1.',\n files : [],\n check : ({ decl }) => {\n const t = ['primary-text-default', 'accent-text-default', 'secondary-text-default', 'tertiary-text-active', 'ghost-text-active', 'outline-white-text-default'].map(x => `--button-${x}`);\n /* either on-fill ink keeps the point of this finding: neither flips with\n a dark theme. --color-brand-on-fill is the brand's own, which a light\n partner brand sets dark. */\n const off = t.filter(x => !reads(decl, x, '--color-action-on-fill') && !reads(decl, x, '--color-brand-on-fill'));\n return { holds: !off.length, detail: off.length ? `still borrowing: ${off.join(', ')}` : 'all six label tokens read an on-fill ink' };\n }\n },\n {\n n : 2, status : 'fixed', kind : 'palette',\n title : 'The dark end of the neutral ramp was too coarse',\n summary: 'Light has four grounds within 1.29:1 of the page; dark had neutral-950, then 900, then 800, so container and subtle landed on one step. neutral-925 and 850 sit at the light steps, 1.04 and 1.12 off the dark page.',\n check : ({ row }) => {\n const g = ['--color-surface-container', '--color-surface-subtle', '--color-surface-muted'].map(row);\n const apart = new Set(g.map(r => r.dark)).size === g.length;\n return { holds: apart, detail: g.map(r => `${r.token!.slice(16)} ${r.dark}`).join(', ') + (apart ? '' : ': two share a step again') };\n }\n },\n {\n n : 3, status : 'fixed', kind : 'palette',\n title : 'text-subtle had no dark step that kept both its jobs',\n summary: 'It must stay quieter than text-muted and clear 4.5:1, and no neutral step did both. neutral-450 does: 4.93:1 on the dark page and 4.75 on a dark card, 1.22:1 from muted.',\n check : ({ row }) => {\n const r = row('--color-text-subtle'), m = row('--color-text-muted');\n const ok = r.ok === true && r.dark !== m.dark;\n return { holds: ok, detail: `derives to ${r.dark}, ${r2(r.darkRatio)}:1 on the dark page; muted is ${m.dark}` };\n }\n },\n {\n n : 4, status : 'decided', kind : 'design',\n title : 'The action ramp darkens in dark too, and the page bar is for the resting fill',\n summary: 'On the dark page, label-on-fill times fill-on-page is 19.45 for every fill, so a white label at 4.5:1 and a fill at 3:1 leave a band 1.44:1 wide -- accent and secondary have one step in it, so no ramp keeps both bars in three states. Decided: hover and press darken as in light; every state keeps its white label at 4.5:1; a resting fill keeps 3:1 on the page by choice; hover and press are supplemental, as WCAG 1.4.11 says, and a text button needs no boundary at all.',\n check : ({ row }) => {\n const t = ['primary', 'accent', 'secondary'].flatMap(k => ['', '-hover', '-active'].map(s => `--color-action-${k}${s}`)).map(row)\n .filter(r => r.token);\n const label = t.filter(r => r.darkRatio! < 4.5), rest = t.filter(r => !r.state && r.groundRatio! < 3);\n const ok = t.length === 9 && !label.length && !rest.length;\n return { holds : ok, detail: ok\n ? `every label clears 4.5 (weakest ${r2(Math.min(...t.map(r => r.darkRatio!)))}:1); resting fills ${t.filter(r => !r.state).map(r => r2(r.groundRatio))\n .join(', ')}:1 on the page`\n : [label.length && `label under 4.5: ${label.map(r => r.token!.slice(15)).join(', ')}`, rest.length && `resting fill under 3: ${rest.map(r => r.token!.slice(15)).join(', ')}`, t.length !== 9 && `${t.length} of 9 fill rows`].filter(Boolean).join(' · ') };\n }\n },\n {\n n : 5, status : 'fixed', kind : 'palette',\n title : 'Success and warning tints ran three times heavier than in light',\n summary: 'green-950 and yellow-950 are not near-black, so those tints sat about 1.55:1 off the dark page against 1.05 in light, and read as coloured bands on an alert. green-975 and yellow-975 sit at 1.04 and 1.03.',\n check : ({ row }) => {\n const g = row('--status-success-surface'), y = row('--status-warning-surface');\n const light = g.darkRatio! / g.lightRatio! <= 1.3 && y.darkRatio! / y.lightRatio! <= 1.3;\n return { holds: light, detail: `success ${r2(g.lightRatio)} → ${r2(g.darkRatio)}, warning ${r2(y.lightRatio)} → ${r2(y.darkRatio)} off the page` };\n }\n },\n {\n n : 8, status : 'fixed', kind : 'primitive',\n title : 'Secondary and pressed ghost buttons read primitives, and vanished on a dark page',\n summary: 'Their fills were neutral-950/800/1000 from the palette, which has no dark value, and the dark page is neutral-950 too. They read --color-action-secondary now. The white preset mixed a fixed fill with a switching label; its label is a fixed ramp step now (--color-brand-600), like its fill.',\n check : ({ decl }) => {\n const t = ['--button-secondary-background-default', '--button-secondary-background-hover', '--button-secondary-background-active', '--button-ghost-background-active'];\n const prim = t.filter(x => !/var\\(--color-action-secondary(-hover|-active)?\\)/.test(decl.get(x) || ''));\n /* fixed means a ramp step, not a role that switches. It was blue-600 by\n name; it is the brand ramp's 600 now, which is just as fixed and also\n follows the business line. */\n const white = reads(decl, '--button-white-text-default', '--color-brand-600')\n || reads(decl, '--button-white-text-default', '--color-blue-600');\n const ok = !prim.length && white;\n return { holds: ok, detail: ok ? 'four fills read --color-action-secondary; the white preset label is fixed' : [prim.length && `not on the role: ${prim.join(', ')}`, !white && 'the white preset label switches again'].filter(Boolean).join(' · ') };\n }\n },\n {\n n : 9, status : 'fixed', commit : '415fc57c', kind : 'light-bug',\n title : 'outline-white lost AA on hover and press, in light',\n summary: 'Its white wash lightened the blue under a white label (3.91 and 3.38:1). It darkens now, and the label passes on every ground the preset sits on.',\n check : ({ decl }) => {\n const ok = ['--button-outline-white-background-hover', '--button-outline-white-background-active'].every(t => has(decl.get(t), '--color-neutral-1000'));\n return { holds: ok, detail: ok ? 'hover and press wash with neutral-1000' : 'a white wash is back' };\n }\n },\n {\n n : 10, status : 'fixed', commit : '591c695a', kind : 'primitive',\n title : 'The required mark read a primitive',\n summary: 'It was red-600 from the palette, 3.57:1 in dark. It reads --status-error-accent now, like the error help text.',\n check : ({ decl }) => { const ok = reads(decl, '--form-label-required-color', '--status-error-accent'); return { holds: ok, detail: ok ? '--form-label-required-color reads --status-error-accent' : `reads ${decl.get('--form-label-required-color')}` }; }\n },\n {\n n : 11, status : 'fixed', commit : '415fc57c', kind : 'light-bug',\n title : 'Placeholders failed on the error and success tints, in light',\n summary: 'Every placeholder was text-subtle, 4.22 and 4.43:1 on the tints. Error and success fields take text-muted now. The plain field\\'s dark placeholder is finding 3.',\n files : ['form-field'],\n check : ({ src }) => { const ok = has(src['form-field'], '.form-input--error::placeholder'); return { holds: ok, detail: ok ? 'form-field.css.ts sets tinted placeholders to text-muted' : 'the tinted-placeholder rule is gone' }; }\n },\n {\n n : 12, status : 'fixed', commit : '591c695a', kind : 'role',\n title : 'The checkmark, radio dot and switch thumb read the page colour',\n summary: 'They were --color-surface-default, which is \"the page\", not \"white\", and turns near-black on blue in dark. They read an on-fill ink now -- the brand\\'s, on the brand fill.',\n files : ['checkbox', 'radio', 'switch'],\n check : ({ src }) => { const off = ['checkbox', 'radio', 'switch'].filter(k => !has(src[k], 'var(--color-action-on-fill)') && !has(src[k], 'var(--color-brand-on-fill)')); return { holds: !off.length, detail: off.length ? `not on action-on-fill: ${off.join(', ')}` : 'all three read an on-fill ink' }; }\n },\n {\n n : 13, status : 'fixed', commit : '591c695a', kind : 'role',\n title : 'A link\\'s hover borrowed a button fill as text',\n summary: 'Primary and bold hovers read --color-action-primary-active; they read --color-text-brand-hover now. The subtle link at rest failed in dark too, until finding 3 gave text-subtle a dark step.',\n files : ['link'],\n check : ({ src }) => { const ok = !has(src.link, 'action-primary-active') && has(src.link, 'var(--color-text-brand-hover)'); return { holds: ok, detail: ok ? 'link hovers read --color-text-brand-hover' : 'a hover reads an action fill again' }; }\n },\n {\n n : 14, status : 'decided', kind : 'primitive',\n title : 'Back and Avatar read primitives, and failed in dark',\n summary: 'Back\\'s pressed ground was neutral-200 under a label that switches, 1.48:1 in dark; it reads --color-surface-pressed now. Avatar\\'s disc was blue-100 from the palette, 2.68:1 in dark under its initials. Decided: the disc reads --status-brand-surface, chosen for meaning (brand identity), not for value -- the only blue-100 role is info\\'s, and an avatar is not info. The initials read 5.72:1 in light and 5.10 in dark; the disc is fainter on the page (1.08:1), and the initials, not the edge, identify it.',\n files : ['back', 'avatar'],\n check : ({ src }) => {\n const b = has(src.back, 'var(--color-surface-pressed)'), a = has(src.avatar, 'var(--status-brand-surface)') && !has(src.avatar, 'var(--color-blue-100)');\n return { holds: b && a, detail: [b ? 'Back reads --color-surface-pressed' : 'Back reads a primitive again', a ? 'Avatar reads --status-brand-surface' : 'Avatar reads a primitive again'].join(' · ') };\n }\n },\n {\n n : 15, status : 'decided', kind : 'design',\n title : 'Video and terminal frames used surface-inverse to mean \"dark\"',\n summary: 'Inverse means the other polarity, so in dark the frame turned light and its ink dark: a play icon at 3.13:1, and a terminal palette (blue-400, the traffic-light green) that only works on a dark ground. Decided: --color-surface-media, dark in every theme, with --color-text-on-media and -muted fixed alongside it. The tooltip stays on surface-inverse: a bubble that flips is what inverse means.',\n files : ['video-player', 'video', 'terminal-message', 'tooltip'],\n check : ({ src }) => {\n const frames = ['video-player', 'video', 'terminal-message'];\n const off = frames.filter(k => !has(src[k], 'var(--color-surface-media)') || has(src[k], 'var(--color-surface-inverse)') || has(src[k], 'var(--color-text-inverse)'));\n const tip = has(src.tooltip, 'var(--color-surface-inverse)');\n const ok = !off.length && tip;\n return { holds: ok, detail: ok ? 'video, bd-video and the terminal read surface-media and its ink; the tooltip stays inverse' : [off.length && `still on inverse: ${off.join(', ')}`, !tip && 'the tooltip left surface-inverse'].filter(Boolean).join(' · ') };\n }\n },\n {\n n : 16, status : 'fixed', commit : '591c695a', kind : 'primitive',\n title : 'The citation reference read the palette',\n summary: 'blue-600 and blue-700 from the ramp, 3.15 and 2.27:1 in dark. It reads --color-text-brand and --color-text-brand-hover now.',\n check : ({ decl }) => { const ok = reads(decl, '--citation-reference-color', '--color-text-brand') && reads(decl, '--citation-reference-hover-color', '--color-text-brand-hover'); return { holds: ok, detail: ok ? 'both citation tokens read brand text roles' : 'a citation token reads a primitive again' }; }\n },\n {\n n : 17, status : 'decided', commit : '415fc57c', kind : 'light-bug',\n title : 'text-subtle failed on a card, in light, and on bands and tints in both themes',\n summary: 'neutral-500 moved one step for the card (415fc57c, 4.61:1). On surface-subtle and the status tints it was still 4.29 to 4.46, and no value can be quieter than muted and clear 4.5 on every ground -- on surface-muted it would have to be muted. Decided: subtle text sits on the page or a card; on a band or a tint it steps up to text-muted. neutral-450 is measured on the dark card (4.75), and the compatibility table\\'s blue band moved its labels to muted (6.10).',\n files : ['compatibility-table'],\n check : ({ decl, src }) => {\n // what the rule is FOR: subtle clears 4.5 on a card in both themes, and the band that broke it no longer carries it\n const c = (t: string) => (decl.get(t) || '').trim();\n const light = contrast(c('--color-neutral-500'), c('--color-neutral-25')), dark = contrast(c('--color-neutral-450'), c('--color-neutral-925'));\n const band = has(src['compatibility-table'], ':host([background=\"blue\"]) .bd-compattable-lightlabel');\n const ok = light >= 4.5 && dark >= 4.5 && band;\n return { holds: ok, detail: `subtle on a card ${light.toFixed(2)}:1 in light, ${dark.toFixed(2)} in dark${band ? '; the blue-band label reads muted' : '; the blue-band label is subtle again'}` };\n }\n },\n {\n n : 18, status : 'fixed', commit : '591c695a', kind : 'role',\n title : 'The list check borrowed its pair',\n summary: 'Disc and tick read the status accent and text-inverse; they read the badge\\'s own fill and on-fill now.',\n files : ['list-item'],\n check : ({ src }) => { const ok = has(src['list-item'], 'var(--status-success-fill)') && has(src['list-item'], 'var(--status-success-on-fill)'); return { holds: ok, detail: ok ? 'the check reads --status-success-fill and -on-fill' : 'the check borrows again' }; }\n }\n];\n\n/** Observations from the study that are not defects. Shown, not checked. */\nexport const OBSERVATIONS = [\n { n: 6, title: 'What carries over unchanged', summary: 'muted and disabled share a value in both themes. In light, border-container is surface-muted\\'s step, so a card edge disappears on a muted band; in dark it lands on surface-subtle\\'s step instead (neutral-850), so the band it disappears on moves from muted to subtle.' },\n { n: 7, title: 'Badges and tags hold in dark', summary: 'Every part passes in both modes, on the page and on a card. A badge and a tag of one tone read further apart in dark than in light, except brand, which is the same ground in both by design.' }\n];\n\n/** Every check, run. */\nexport function runChecks({ decl, src, rows }: Omit<CheckInput, 'row'> & { rows: DarkRow[] }) {\n const byToken = new Map(rows.map(r => [r.token, r]));\n const row = (t: string): Partial<DarkRow> => byToken.get(t) || {};\n return FINDINGS.map(f => {\n let res;\n try { res = f.check({ decl, src, row }); } catch (e) { res = { holds: false, detail: `check failed to run: ${(e as Error).message}` }; }\n return { ...f, ...res };\n });\n}\n"]}
|
|
1
|
+
{"version":3,"file":"dark-findings.js","names":["has","s","needle","reads","decl","token","role","r2","n","FINDINGS","off","x","g","row","apart","r","m","k","label","rest","ok","y","prim","white","t","src","b","a","tip","c","light","contrast","dark","band","OBSERVATIONS","runChecks","byToken","rows","res","f"],"sources":["../../../src/tokens/dark-findings.ts"],"sourcesContent":["/**\n * The findings of the 🔬 Dark mode study, as data, each with a check that runs\n * against the code. The numbers are the Figma page's, so the two can be read\n * side by side; 6 and 7 are observations rather than findings, below.\n *\n * What a finding SAYS -- its status, its wording, which commit fixed it -- is a\n * record of a decision, and is written here by hand. What it CLAIMS about the\n * code is checked: a fixed finding verifies the fix is still in place, an open\n * one verifies it still fails. When a check disagrees with the status, the page\n * says so, which is how a reverted fix or a quietly-resolved finding shows up\n * instead of lying in prose.\n *\n * A check receives { decl, src, row }: the token declarations, the raw source\n * of the component stylesheets it names, and a lookup into the derived dark\n * values. It returns { holds, detail } -- holds is whether the status is still\n * true. Not a story file. Pure, so it runs under Node.\n */\n\nimport { contrast } from './dark-derivation.ts';\nimport type { DarkRow } from './dark-derivation.ts';\n\nexport interface CheckInput {\n decl: Map<string, string>;\n src : Record<string, string>;\n row : (token: string) => Partial<DarkRow>;\n}\n\nexport interface CheckResult {\n holds : boolean;\n detail: string;\n}\n\nexport interface Finding {\n n : number;\n status : 'fixed' | 'partly fixed' | 'open' | 'decision' | 'decided';\n commit?: string;\n kind : 'role' | 'palette' | 'design' | 'primitive' | 'light-bug';\n title : string;\n summary: string;\n files? : string[];\n check : (input: CheckInput) => CheckResult;\n}\n\nconst has = (s: string | undefined, needle: string) => (s || '').includes(needle);\nconst reads = (decl: Map<string, string>, token: string, role: string) => (decl.get(token) || '').trim() === `var(${role})`;\nconst r2 = (n: number | null | undefined) => (n == null ? '—' : n.toFixed(2));\n\nexport const FINDINGS: Finding[] = [\n {\n n : 1, status : 'fixed', commit : '591c695a', kind : 'role',\n title : 'Button labels borrowed text-inverse',\n summary: 'Six filled-button labels read --color-text-inverse, which a dark theme flips to near-black on the fill. They read an on-fill ink now -- --color-action-on-fill, or --color-brand-on-fill where the fill is the brand\\'s -- white in both themes, 4.53 to 10.51:1.',\n files : [],\n check : ({ decl }) => {\n const t = ['primary-text-default', 'accent-text-default', 'secondary-text-default', 'tertiary-text-active', 'ghost-text-active', 'outline-white-text-default'].map(x => `--button-${x}`);\n /* either on-fill ink keeps the point of this finding: neither flips with\n a dark theme. --color-brand-on-fill is the brand's own, which a light\n partner brand sets dark. */\n const off = t.filter(x => !reads(decl, x, '--color-action-on-fill') && !reads(decl, x, '--color-brand-on-fill'));\n return { holds: !off.length, detail: off.length ? `still borrowing: ${off.join(', ')}` : 'all six label tokens read an on-fill ink' };\n }\n },\n {\n n : 2, status : 'fixed', kind : 'palette',\n title : 'The dark end of the neutral ramp was too coarse',\n summary: 'Light has four grounds within 1.29:1 of the page; dark had neutral-950, then 900, then 800, so container and subtle landed on one step. neutral-925 and 850 sit at the light steps, 1.04 and 1.12 off the dark page.',\n check : ({ row }) => {\n const g = ['--color-surface-container', '--color-surface-subtle', '--color-surface-muted'].map(row);\n const apart = new Set(g.map(r => r.dark)).size === g.length;\n return { holds: apart, detail: g.map(r => `${r.token!.slice(16)} ${r.dark}`).join(', ') + (apart ? '' : ': two share a step again') };\n }\n },\n {\n n : 3, status : 'fixed', kind : 'palette',\n title : 'text-subtle had no dark step that kept both its jobs',\n summary: 'It must stay quieter than text-muted and clear 4.5:1, and no neutral step did both. neutral-450 does: 4.93:1 on the dark page and 4.75 on a dark card, 1.22:1 from muted.',\n check : ({ row }) => {\n const r = row('--color-text-subtle'), m = row('--color-text-muted');\n const ok = r.ok === true && r.dark !== m.dark;\n return { holds: ok, detail: `derives to ${r.dark}, ${r2(r.darkRatio)}:1 on the dark page; muted is ${m.dark}` };\n }\n },\n {\n n : 4, status : 'decided', kind : 'design',\n title : 'The action ramp darkens in dark too, and the page bar is for the resting fill',\n summary: 'On the dark page, label-on-fill times fill-on-page is 19.45 for every fill, so a white label at 4.5:1 and a fill at 3:1 leave a band 1.44:1 wide -- accent and secondary have one step in it, so no ramp keeps both bars in three states. Decided: hover and press darken as in light; every state keeps its white label at 4.5:1; a resting fill keeps 3:1 on the page by choice; hover and press are supplemental, as WCAG 1.4.11 says, and a text button needs no boundary at all.',\n check : ({ row }) => {\n const t = ['primary', 'accent', 'secondary'].flatMap(k => ['', '-hover', '-active'].map(s => `--color-action-${k}${s}`)).map(row)\n .filter(r => r.token);\n const label = t.filter(r => r.darkRatio! < 4.5), rest = t.filter(r => !r.state && r.groundRatio! < 3);\n const ok = t.length === 9 && !label.length && !rest.length;\n return { holds : ok, detail: ok\n ? `every label clears 4.5 (weakest ${r2(Math.min(...t.map(r => r.darkRatio!)))}:1); resting fills ${t.filter(r => !r.state).map(r => r2(r.groundRatio))\n .join(', ')}:1 on the page`\n : [label.length && `label under 4.5: ${label.map(r => r.token!.slice(15)).join(', ')}`, rest.length && `resting fill under 3: ${rest.map(r => r.token!.slice(15)).join(', ')}`, t.length !== 9 && `${t.length} of 9 fill rows`].filter(Boolean).join(' · ') };\n }\n },\n {\n n : 5, status : 'fixed', kind : 'palette',\n title : 'Success and warning tints ran three times heavier than in light',\n summary: 'green-950 and yellow-950 are not near-black, so those tints sat about 1.55:1 off the dark page against 1.05 in light, and read as coloured bands on an alert. green-975 and yellow-975 sit at 1.04 and 1.03.',\n check : ({ row }) => {\n const g = row('--status-success-surface'), y = row('--status-warning-surface');\n const light = g.darkRatio! / g.lightRatio! <= 1.3 && y.darkRatio! / y.lightRatio! <= 1.3;\n return { holds: light, detail: `success ${r2(g.lightRatio)} → ${r2(g.darkRatio)}, warning ${r2(y.lightRatio)} → ${r2(y.darkRatio)} off the page` };\n }\n },\n {\n n : 8, status : 'fixed', kind : 'primitive',\n title : 'Secondary and pressed ghost buttons read primitives, and vanished on a dark page',\n summary: 'Their fills were neutral-950/800/1000 from the palette, which has no dark value, and the dark page is neutral-950 too. They read --color-action-secondary now. The white preset mixed a fixed fill with a switching label; its label is a fixed ramp step now (--color-brand-600), like its fill.',\n check : ({ decl }) => {\n const t = ['--button-secondary-background-default', '--button-secondary-background-hover', '--button-secondary-background-active', '--button-ghost-background-active'];\n const prim = t.filter(x => !/var\\(--color-action-secondary(-hover|-active)?\\)/.test(decl.get(x) || ''));\n /* fixed means a ramp step, not a role that switches. It was blue-600 by\n name; it is the brand ramp's 600 now, which is just as fixed and also\n follows the business line. */\n const white = reads(decl, '--button-white-text-default', '--color-brand-600')\n || reads(decl, '--button-white-text-default', '--color-blue-600');\n const ok = !prim.length && white;\n return { holds: ok, detail: ok ? 'four fills read --color-action-secondary; the white preset label is fixed' : [prim.length && `not on the role: ${prim.join(', ')}`, !white && 'the white preset label switches again'].filter(Boolean).join(' · ') };\n }\n },\n {\n n : 9, status : 'fixed', commit : '415fc57c', kind : 'light-bug',\n title : 'outline-white lost AA on hover and press, in light',\n summary: 'Its white wash lightened the blue under a white label (3.91 and 3.38:1). It darkens now, and the label passes on every ground the preset sits on.',\n check : ({ decl }) => {\n const ok = ['--button-outline-white-background-hover', '--button-outline-white-background-active'].every(t => has(decl.get(t), '--color-neutral-1000'));\n return { holds: ok, detail: ok ? 'hover and press wash with neutral-1000' : 'a white wash is back' };\n }\n },\n {\n n : 10, status : 'fixed', commit : '591c695a', kind : 'primitive',\n title : 'The required mark read a primitive',\n summary: 'It was red-600 from the palette, 3.57:1 in dark. It reads --status-error-accent now, like the error help text.',\n check : ({ decl }) => { const ok = reads(decl, '--form-label-required-color', '--status-error-accent'); return { holds: ok, detail: ok ? '--form-label-required-color reads --status-error-accent' : `reads ${decl.get('--form-label-required-color')}` }; }\n },\n {\n n : 11, status : 'fixed', commit : '415fc57c', kind : 'light-bug',\n title : 'Placeholders failed on the error and success tints, in light',\n summary: 'Every placeholder was text-subtle, 4.22 and 4.43:1 on the tints. Error and success fields take text-muted now. The plain field\\'s dark placeholder is finding 3.',\n files : ['form-field'],\n check : ({ src }) => { const ok = has(src['form-field'], '.form-input--error::placeholder'); return { holds: ok, detail: ok ? 'form-field.css.ts sets tinted placeholders to text-muted' : 'the tinted-placeholder rule is gone' }; }\n },\n {\n n : 12, status : 'fixed', commit : '591c695a', kind : 'role',\n title : 'The checkmark, radio dot and switch thumb read the page colour',\n summary: 'They were --color-surface-default, which is \"the page\", not \"white\", and turns near-black on blue in dark. They read an on-fill ink now -- the brand\\'s, on the brand fill.',\n files : ['checkbox', 'radio', 'switch'],\n check : ({ src }) => { const off = ['checkbox', 'radio', 'switch'].filter(k => !has(src[k], 'var(--color-action-on-fill)') && !has(src[k], 'var(--color-brand-on-fill)')); return { holds: !off.length, detail: off.length ? `not on action-on-fill: ${off.join(', ')}` : 'all three read an on-fill ink' }; }\n },\n {\n n : 13, status : 'fixed', commit : '591c695a', kind : 'role',\n title : 'A link\\'s hover borrowed a button fill as text',\n summary: 'Primary and bold hovers read --color-action-primary-active; they read --color-text-brand-hover now. The subtle link at rest failed in dark too, until finding 3 gave text-subtle a dark step.',\n files : ['link'],\n check : ({ src }) => { const ok = !has(src.link, 'action-primary-active') && has(src.link, 'var(--color-text-brand-hover)'); return { holds: ok, detail: ok ? 'link hovers read --color-text-brand-hover' : 'a hover reads an action fill again' }; }\n },\n {\n n : 14, status : 'decided', kind : 'primitive',\n title : 'Back and Avatar read primitives, and failed in dark',\n summary: 'Back\\'s pressed ground was neutral-200 under a label that switches, 1.48:1 in dark; it reads --color-surface-pressed now. Avatar\\'s disc was blue-100 from the palette, 2.68:1 in dark under its initials. Decided: the disc reads --status-brand-surface, chosen for meaning (brand identity), not for value -- the only blue-100 role is info\\'s, and an avatar is not info. The initials read 5.72:1 in light and 5.10 in dark; the disc is fainter on the page (1.08:1), and the initials, not the edge, identify it.',\n files : ['back', 'avatar'],\n check : ({ src }) => {\n const b = has(src.back, 'var(--color-surface-pressed)'), a = has(src.avatar, 'var(--status-brand-surface)') && !has(src.avatar, 'var(--color-blue-100)');\n return { holds: b && a, detail: [b ? 'Back reads --color-surface-pressed' : 'Back reads a primitive again', a ? 'Avatar reads --status-brand-surface' : 'Avatar reads a primitive again'].join(' · ') };\n }\n },\n {\n n : 15, status : 'decided', kind : 'design',\n title : 'Video and terminal frames used surface-inverse to mean \"dark\"',\n summary: 'Inverse means the other polarity, so in dark the frame turned light and its ink dark: a play icon at 3.13:1, and a terminal palette (blue-400, the traffic-light green) that only works on a dark ground. Decided: --color-surface-media, dark in every theme, with --color-text-on-media and -muted fixed alongside it. The tooltip stays on surface-inverse: a bubble that flips is what inverse means.',\n files : ['video-player', 'video', 'terminal-message', 'tooltip'],\n check : ({ src }) => {\n const frames = ['video-player', 'video', 'terminal-message'];\n const off = frames.filter(k => !has(src[k], 'var(--color-surface-media)') || has(src[k], 'var(--color-surface-inverse)') || has(src[k], 'var(--color-text-inverse)'));\n const tip = has(src.tooltip, 'var(--color-surface-inverse)');\n const ok = !off.length && tip;\n return { holds: ok, detail: ok ? 'video, bd-video and the terminal read surface-media and its ink; the tooltip stays inverse' : [off.length && `still on inverse: ${off.join(', ')}`, !tip && 'the tooltip left surface-inverse'].filter(Boolean).join(' · ') };\n }\n },\n {\n n : 16, status : 'fixed', commit : '591c695a', kind : 'primitive',\n title : 'The citation reference read the palette',\n summary: 'blue-600 and blue-700 from the ramp, 3.15 and 2.27:1 in dark. It reads --color-text-brand and --color-text-brand-hover now.',\n check : ({ decl }) => { const ok = reads(decl, '--citation-reference-color', '--color-text-brand') && reads(decl, '--citation-reference-hover-color', '--color-text-brand-hover'); return { holds: ok, detail: ok ? 'both citation tokens read brand text roles' : 'a citation token reads a primitive again' }; }\n },\n {\n n : 17, status : 'decided', commit : '415fc57c', kind : 'light-bug',\n title : 'text-subtle failed on a card, in light, and on bands and tints in both themes',\n summary: 'neutral-500 moved one step for the card (415fc57c, 4.61:1). On surface-subtle and the status tints it was still 4.29 to 4.46, and no value can be quieter than muted and clear 4.5 on every ground -- on surface-muted it would have to be muted. Decided: subtle text sits on the page or a card; on a band or a tint it steps up to text-muted. neutral-450 is measured on the dark card (4.75), and the compatibility table\\'s blue band moved its labels to muted (6.10).',\n files : ['compatibility-table'],\n check : ({ decl, src }) => {\n // what the rule is FOR: subtle clears 4.5 on a card in both themes, and the band that broke it no longer carries it\n const c = (t: string) => (decl.get(t) || '').trim();\n const light = contrast(c('--color-neutral-500'), c('--color-neutral-25')), dark = contrast(c('--color-neutral-450'), c('--color-neutral-925'));\n const band = has(src['compatibility-table'], ':host([background=\"blue\"]) .bd-compattable-lightlabel');\n const ok = light >= 4.5 && dark >= 4.5 && band;\n return { holds: ok, detail: `subtle on a card ${light.toFixed(2)}:1 in light, ${dark.toFixed(2)} in dark${band ? '; the blue-band label reads muted' : '; the blue-band label is subtle again'}` };\n }\n },\n {\n n : 18, status : 'fixed', commit : '591c695a', kind : 'role',\n title : 'The list check borrowed its pair',\n summary: 'Disc and tick read the status accent and text-inverse; they read the badge\\'s own fill and on-fill now.',\n files : ['list-item'],\n check : ({ src }) => { const ok = has(src['list-item'], 'var(--status-success-fill)') && has(src['list-item'], 'var(--status-success-on-fill)'); return { holds: ok, detail: ok ? 'the check reads --status-success-fill and -on-fill' : 'the check borrows again' }; }\n }\n];\n\n/** Observations from the study that are not defects. Shown, not checked. */\nexport const OBSERVATIONS = [\n { n: 6, title: 'What carries over unchanged', summary: 'muted and disabled share a value in both themes. In light, border-container is surface-muted\\'s step, so a card edge disappears on a muted band; in dark it lands on surface-subtle\\'s step instead (neutral-850), so the band it disappears on moves from muted to subtle.' },\n { n: 7, title: 'Badges and tags hold in dark', summary: 'Every part passes in both modes, on the page and on a card. A badge and a tag of one tone read further apart in dark than in light, except brand, which is the same ground in both by design.' }\n];\n\n/** Every check, run. */\nexport function runChecks({ decl, src, rows }: Omit<CheckInput, 'row'> & { rows: DarkRow[] }) {\n const byToken = new Map(rows.map(r => [r.token, r]));\n const row = (t: string): Partial<DarkRow> => byToken.get(t) || {};\n return FINDINGS.map(f => {\n let res;\n try { res = f.check({ decl, src, row }); } catch (e) { res = { holds: false, detail: `check failed to run: ${(e as Error).message}` }; }\n return { ...f, ...res };\n });\n}\n"],"mappings":"A,gDA2CA,IAAMA,GAAO,EAAuB,KAAoBC,GAAK,GAAA,CAAI,SAASC,CAAM,EAC1EC,GAAS,EAA2B,EAAe,KAAkBC,EAAK,IAAIC,CAAK,GAAK,GAAA,CAAI,KAAK,IAAM,OAAOC,EAAK,GACnHC,EAAM,GAAkCC,GAAK,KAAO,IAAMA,EAAE,QAAQ,CAAC,EAE9DC,EAAsB,CACjC,CACE,EAAS,EAAG,OAAS,QAAS,OAAS,WAAY,KAAS,OAC5D,MAAS,sCACT,QAAS,mQACT,MAAS,CAAC,EACV,OAAU,CAAE,UAAW,CAKrB,IAAMC,EAJI,CAAC,uBAAwB,sBAAuB,yBAA0B,uBAAwB,oBAAqB,4BAA4B,CAAC,CAAC,IAAI,GAAK,YAAYC,GAIxK,CAAA,CAAE,OAAO,GAAK,CAACR,EAAMC,EAAMO,EAAG,wBAAwB,GAAK,CAACR,EAAMC,EAAMO,EAAG,uBAAuB,CAAC,EAC/G,MAAO,CAAE,MAAO,CAACD,EAAI,OAAQ,OAAQA,EAAI,OAAS,oBAAoBA,EAAI,KAAK,IAAI,IAAM,0CAA2C,CACtI,CACF,EACA,CACE,EAAS,EAAG,OAAS,QAAS,KAAS,UACvC,MAAS,kDACT,QAAS,uNACT,OAAU,CAAE,SAAU,CACpB,IAAME,EAAI,CAAC,4BAA6B,yBAA0B,uBAAuB,CAAC,CAAC,IAAIC,CAAG,EAC5FC,EAAQ,IAAI,IAAIF,EAAE,IAAI,GAAKG,EAAE,IAAI,CAAC,CAAC,CAAC,OAASH,EAAE,OACrD,M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rU,CAAE,EAAG,EAAG,MAAO,+BAAgC,QAAS,+LAAgM,CAC1P,EAGA,SAAgBC,EAAU,CAAE,OAAM,MAAK,QAAuD,CAC5F,IAAMC,EAAU,IAAI,IAAIC,EAAK,IAAI,GAAK,CAACtB,EAAE,MAAOA,CAAC,CAAC,CAAC,EAC7CF,EAAO,GAAgCuB,EAAQ,IAAIZ,CAAC,GAAK,CAAC,EAChE,OAAOf,EAAS,IAAI,GAAK,CACvB,IAAI6B,EACJ,GAAI,CAAE,EAAMC,EAAE,MAAM,CAAE,OAAM,MAAK,KAAI,CAAC,CAAG,OAAS,EAAG,CAAE,EAAM,CAAE,MAAO,GAAO,OAAQ,wBAAyB,EAAY,SAAU,CAAG,CACvI,MAAO,CAAE,GAAGA,EAAG,GAAGD,CAAI,CACxB,CAAC,CACH,C"}
|
|
@@ -1,166 +1 @@
|
|
|
1
|
-
|
|
2
|
-
GLOBAL FONT-FACE DEFINITIONS
|
|
3
|
-
For Storybook and global usage
|
|
4
|
-
====================== */
|
|
5
|
-
|
|
6
|
-
/* IBM Plex Mono */
|
|
7
|
-
@font-face {
|
|
8
|
-
font-family: 'IBM Plex Mono';
|
|
9
|
-
font-style: normal;
|
|
10
|
-
font-weight: 300;
|
|
11
|
-
src: url('../assets/fonts/IBMPlexMono-Light.woff2') format('woff2');
|
|
12
|
-
font-display: swap;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
@font-face {
|
|
16
|
-
font-family: 'IBM Plex Mono';
|
|
17
|
-
font-style: italic;
|
|
18
|
-
font-weight: 300;
|
|
19
|
-
src: url('../assets/fonts/IBMPlexMono-LightItalic.woff2') format('woff2');
|
|
20
|
-
font-display: swap;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
@font-face {
|
|
24
|
-
font-family: 'IBM Plex Mono';
|
|
25
|
-
font-style: normal;
|
|
26
|
-
font-weight: 400;
|
|
27
|
-
src: url('../assets/fonts/IBMPlexMono-Regular.woff2') format('woff2');
|
|
28
|
-
font-display: swap;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
@font-face {
|
|
32
|
-
font-family: 'IBM Plex Mono';
|
|
33
|
-
font-style: italic;
|
|
34
|
-
font-weight: 400;
|
|
35
|
-
src: url('../assets/fonts/IBMPlexMono-Italic.woff2') format('woff2');
|
|
36
|
-
font-display: swap;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
@font-face {
|
|
40
|
-
font-family: 'IBM Plex Mono';
|
|
41
|
-
font-style: normal;
|
|
42
|
-
font-weight: 500;
|
|
43
|
-
src: url('../assets/fonts/IBMPlexMono-Medium.woff2') format('woff2');
|
|
44
|
-
font-display: swap;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
@font-face {
|
|
48
|
-
font-family: 'IBM Plex Mono';
|
|
49
|
-
font-style: italic;
|
|
50
|
-
font-weight: 500;
|
|
51
|
-
src: url('../assets/fonts/IBMPlexMono-MediumItalic.woff2') format('woff2');
|
|
52
|
-
font-display: swap;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
@font-face {
|
|
56
|
-
font-family: 'IBM Plex Mono';
|
|
57
|
-
font-style: normal;
|
|
58
|
-
font-weight: 600;
|
|
59
|
-
src: url('../assets/fonts/IBMPlexMono-SemiBold.woff2') format('woff2');
|
|
60
|
-
font-display: swap;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
@font-face {
|
|
64
|
-
font-family: 'IBM Plex Mono';
|
|
65
|
-
font-style: italic;
|
|
66
|
-
font-weight: 600;
|
|
67
|
-
src: url('../assets/fonts/IBMPlexMono-SemiBoldItalic.woff2') format('woff2');
|
|
68
|
-
font-display: swap;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
@font-face {
|
|
72
|
-
font-family: 'IBM Plex Mono';
|
|
73
|
-
font-style: normal;
|
|
74
|
-
font-weight: 700;
|
|
75
|
-
src: url('../assets/fonts/IBMPlexMono-Bold.woff2') format('woff2');
|
|
76
|
-
font-display: swap;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
@font-face {
|
|
80
|
-
font-family: 'IBM Plex Mono';
|
|
81
|
-
font-style: italic;
|
|
82
|
-
font-weight: 700;
|
|
83
|
-
src: url('../assets/fonts/IBMPlexMono-BoldItalic.woff2') format('woff2');
|
|
84
|
-
font-display: swap;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
/* IBM Plex Sans */
|
|
88
|
-
@font-face {
|
|
89
|
-
font-family: 'IBM Plex Sans';
|
|
90
|
-
font-style: normal;
|
|
91
|
-
font-weight: 300;
|
|
92
|
-
src: url('../assets/fonts/IBMPlexSans-Light.woff2') format('woff2');
|
|
93
|
-
font-display: swap;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
@font-face {
|
|
97
|
-
font-family: 'IBM Plex Sans';
|
|
98
|
-
font-style: italic;
|
|
99
|
-
font-weight: 300;
|
|
100
|
-
src: url('../assets/fonts/IBMPlexSans-LightItalic.woff2') format('woff2');
|
|
101
|
-
font-display: swap;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
@font-face {
|
|
105
|
-
font-family: 'IBM Plex Sans';
|
|
106
|
-
font-style: normal;
|
|
107
|
-
font-weight: 400;
|
|
108
|
-
src: url('../assets/fonts/IBMPlexSans-Regular.woff2') format('woff2');
|
|
109
|
-
font-display: swap;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
@font-face {
|
|
113
|
-
font-family: 'IBM Plex Sans';
|
|
114
|
-
font-style: italic;
|
|
115
|
-
font-weight: 400;
|
|
116
|
-
src: url('../assets/fonts/IBMPlexSans-Italic.woff2') format('woff2');
|
|
117
|
-
font-display: swap;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
@font-face {
|
|
121
|
-
font-family: 'IBM Plex Sans';
|
|
122
|
-
font-style: normal;
|
|
123
|
-
font-weight: 500;
|
|
124
|
-
src: url('../assets/fonts/IBMPlexSans-Medium.woff2') format('woff2');
|
|
125
|
-
font-display: swap;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
@font-face {
|
|
129
|
-
font-family: 'IBM Plex Sans';
|
|
130
|
-
font-style: italic;
|
|
131
|
-
font-weight: 500;
|
|
132
|
-
src: url('../assets/fonts/IBMPlexSans-MediumItalic.woff2') format('woff2');
|
|
133
|
-
font-display: swap;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
@font-face {
|
|
137
|
-
font-family: 'IBM Plex Sans';
|
|
138
|
-
font-style: normal;
|
|
139
|
-
font-weight: 600;
|
|
140
|
-
src: url('../assets/fonts/IBMPlexSans-SemiBold.woff2') format('woff2');
|
|
141
|
-
font-display: swap;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
@font-face {
|
|
145
|
-
font-family: 'IBM Plex Sans';
|
|
146
|
-
font-style: italic;
|
|
147
|
-
font-weight: 600;
|
|
148
|
-
src: url('../assets/fonts/IBMPlexSans-SemiBoldItalic.woff2') format('woff2');
|
|
149
|
-
font-display: swap;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
@font-face {
|
|
153
|
-
font-family: 'IBM Plex Sans';
|
|
154
|
-
font-style: normal;
|
|
155
|
-
font-weight: 700;
|
|
156
|
-
src: url('../assets/fonts/IBMPlexSans-Bold.woff2') format('woff2');
|
|
157
|
-
font-display: swap;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
@font-face {
|
|
161
|
-
font-family: 'IBM Plex Sans';
|
|
162
|
-
font-style: italic;
|
|
163
|
-
font-weight: 700;
|
|
164
|
-
src: url('../assets/fonts/IBMPlexSans-BoldItalic.woff2') format('woff2');
|
|
165
|
-
font-display: swap;
|
|
166
|
-
}
|
|
1
|
+
@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:300;src:url(../assets/fonts/IBMPlexMono-Light.woff2)format("woff2");font-display:swap}@font-face{font-family:IBM Plex Mono;font-style:italic;font-weight:300;src:url(../assets/fonts/IBMPlexMono-LightItalic.woff2)format("woff2");font-display:swap}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:400;src:url(../assets/fonts/IBMPlexMono-Regular.woff2)format("woff2");font-display:swap}@font-face{font-family:IBM Plex Mono;font-style:italic;font-weight:400;src:url(../assets/fonts/IBMPlexMono-Italic.woff2)format("woff2");font-display:swap}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:500;src:url(../assets/fonts/IBMPlexMono-Medium.woff2)format("woff2");font-display:swap}@font-face{font-family:IBM Plex Mono;font-style:italic;font-weight:500;src:url(../assets/fonts/IBMPlexMono-MediumItalic.woff2)format("woff2");font-display:swap}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:600;src:url(../assets/fonts/IBMPlexMono-SemiBold.woff2)format("woff2");font-display:swap}@font-face{font-family:IBM Plex Mono;font-style:italic;font-weight:600;src:url(../assets/fonts/IBMPlexMono-SemiBoldItalic.woff2)format("woff2");font-display:swap}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:700;src:url(../assets/fonts/IBMPlexMono-Bold.woff2)format("woff2");font-display:swap}@font-face{font-family:IBM Plex Mono;font-style:italic;font-weight:700;src:url(../assets/fonts/IBMPlexMono-BoldItalic.woff2)format("woff2");font-display:swap}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:300;src:url(../assets/fonts/IBMPlexSans-Light.woff2)format("woff2");font-display:swap}@font-face{font-family:IBM Plex Sans;font-style:italic;font-weight:300;src:url(../assets/fonts/IBMPlexSans-LightItalic.woff2)format("woff2");font-display:swap}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:400;src:url(../assets/fonts/IBMPlexSans-Regular.woff2)format("woff2");font-display:swap}@font-face{font-family:IBM Plex Sans;font-style:italic;font-weight:400;src:url(../assets/fonts/IBMPlexSans-Italic.woff2)format("woff2");font-display:swap}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:500;src:url(../assets/fonts/IBMPlexSans-Medium.woff2)format("woff2");font-display:swap}@font-face{font-family:IBM Plex Sans;font-style:italic;font-weight:500;src:url(../assets/fonts/IBMPlexSans-MediumItalic.woff2)format("woff2");font-display:swap}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:600;src:url(../assets/fonts/IBMPlexSans-SemiBold.woff2)format("woff2");font-display:swap}@font-face{font-family:IBM Plex Sans;font-style:italic;font-weight:600;src:url(../assets/fonts/IBMPlexSans-SemiBoldItalic.woff2)format("woff2");font-display:swap}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:700;src:url(../assets/fonts/IBMPlexSans-Bold.woff2)format("woff2");font-display:swap}@font-face{font-family:IBM Plex Sans;font-style:italic;font-weight:700;src:url(../assets/fonts/IBMPlexSans-BoldItalic.woff2)format("woff2");font-display:swap}
|
|
@@ -1,61 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Tokens are not imported here: every entry point that loads this file loads
|
|
3
|
-
tokens.css first, and the @import was pulling in a second ~39KB copy. */
|
|
4
|
-
|
|
5
|
-
.bd-button-container {
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: column;
|
|
8
|
-
align-items: center;
|
|
9
|
-
gap: var(--spacing-16);
|
|
10
|
-
padding: var(--spacing-16);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
@media (min-width: 768px) {
|
|
14
|
-
.bd-button-container {
|
|
15
|
-
flex-direction: row;
|
|
16
|
-
flex-wrap: wrap;
|
|
17
|
-
justify-content: center;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.bd-button-container > bd-button,
|
|
22
|
-
.bd-button-container > bd-contact-button {
|
|
23
|
-
width: 100%;
|
|
24
|
-
/* no token: the cap a stacked call-to-action column is allowed to grow to.
|
|
25
|
-
It is a layout decision with no home on the spacing or dimension scales,
|
|
26
|
-
which stop well below it, and no --layout-* token names it. */
|
|
27
|
-
max-width: 300px;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
/* The page column for light-DOM markup: the twin of .bd-ensemble in
|
|
32
|
-
src/components/shared/ensemble.css.js, which is the source of truth. A page
|
|
33
|
-
that lays out its own sections gets the same edges the modules draw. The
|
|
34
|
-
breakpoints are the scale's own values (576 / 768 / 992 / 1200 / 1400 / 1600). */
|
|
35
|
-
.bd-container {
|
|
36
|
-
box-sizing: border-box;
|
|
37
|
-
width: 100%;
|
|
38
|
-
max-width: var(--grid-container-max-xs);
|
|
39
|
-
margin-inline: auto;
|
|
40
|
-
padding-inline: var(--grid-padding-xs);
|
|
41
|
-
}
|
|
42
|
-
@media (min-width: 576px) { .bd-container { max-width: var(--grid-container-max-sm); padding-inline: var(--grid-padding-sm); } }
|
|
43
|
-
@media (min-width: 768px) { .bd-container { max-width: var(--grid-container-max-md); padding-inline: var(--grid-padding-md); } }
|
|
44
|
-
@media (min-width: 992px) { .bd-container { max-width: var(--grid-container-max-lg); padding-inline: var(--grid-padding-lg); } }
|
|
45
|
-
@media (min-width: 1200px) { .bd-container { max-width: var(--grid-container-max-xl); } }
|
|
46
|
-
@media (min-width: 1400px) { .bd-container { max-width: var(--grid-container-max-xxl); } }
|
|
47
|
-
@media (min-width: 1600px) { .bd-container { max-width: var(--grid-container-max-xxxl); } }
|
|
48
|
-
|
|
49
|
-
.bd-container-fluid {
|
|
50
|
-
width: 100%;
|
|
51
|
-
padding: var(--spacing-16);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.pricing-container {
|
|
55
|
-
display: flex;
|
|
56
|
-
gap: var(--spacing-16);
|
|
57
|
-
justify-content: center;
|
|
58
|
-
align-items: stretch;
|
|
59
|
-
padding: var(--spacing-20);
|
|
60
|
-
}
|
|
61
|
-
|
|
1
|
+
.bd-button-container{align-items:center;gap:var(--spacing-16);padding:var(--spacing-16);flex-direction:column;display:flex}@media (width>=768px){.bd-button-container{flex-flow:wrap;justify-content:center}}.bd-button-container>bd-button,.bd-button-container>bd-contact-button{width:100%;max-width:300px}.bd-container{box-sizing:border-box;width:100%;max-width:var(--grid-container-max-xs);padding-inline:var(--grid-padding-xs);margin-inline:auto}@media (width>=576px){.bd-container{max-width:var(--grid-container-max-sm);padding-inline:var(--grid-padding-sm)}}@media (width>=768px){.bd-container{max-width:var(--grid-container-max-md);padding-inline:var(--grid-padding-md)}}@media (width>=992px){.bd-container{max-width:var(--grid-container-max-lg);padding-inline:var(--grid-padding-lg)}}@media (width>=1200px){.bd-container{max-width:var(--grid-container-max-xl)}}@media (width>=1400px){.bd-container{max-width:var(--grid-container-max-xxl)}}@media (width>=1600px){.bd-container{max-width:var(--grid-container-max-xxxl)}}.bd-container-fluid{width:100%;padding:var(--spacing-16)}.pricing-container{gap:var(--spacing-16);padding:var(--spacing-20);justify-content:center;align-items:stretch;display:flex}
|