@fairgarden/design 0.1.0-alpha.1 → 0.1.0-alpha.2
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/LICENSE +21 -0
- package/Readme.md +51 -27
- package/actions/button/Button.d.ts.map +1 -1
- package/actions/button/Button.js +13 -1
- package/actions/button/Button.js.map +1 -1
- package/actions/button/button.module.css +85 -25
- package/actions/chip/Chip.d.ts +2 -2
- package/actions/chip/Chip.js +2 -2
- package/actions/chip/chip.module.css +12 -18
- package/actions/link/Link.d.ts +1 -1
- package/actions/link/link.module.css +22 -19
- package/actions/toggle/Toggle.js +1 -1
- package/actions/toggle/toggle.module.css +27 -23
- package/content/card/card.module.css +27 -27
- package/content/card-grid/CardGrid.js +1 -1
- package/content/card-grid/card-grid.module.css +3 -3
- package/content/carousel/Carousel.d.ts.map +1 -1
- package/content/carousel/Carousel.js +1 -4
- package/content/carousel/Carousel.js.map +1 -1
- package/content/carousel/carousel.module.css +19 -9
- package/content/code-block/CodeActionsMenu.d.ts +34 -0
- package/content/code-block/CodeActionsMenu.d.ts.map +1 -0
- package/content/code-block/CodeActionsMenu.js +102 -0
- package/content/code-block/CodeActionsMenu.js.map +1 -0
- package/content/code-block/CodeBlock.d.ts +37 -0
- package/content/code-block/CodeBlock.d.ts.map +1 -0
- package/content/code-block/CodeBlock.js +30 -0
- package/content/code-block/CodeBlock.js.map +1 -0
- package/content/code-block/CodeBlockFrame.d.ts +54 -0
- package/content/code-block/CodeBlockFrame.d.ts.map +1 -0
- package/content/code-block/CodeBlockFrame.js +80 -0
- package/content/code-block/CodeBlockFrame.js.map +1 -0
- package/content/code-block/CodeBlockHeader.d.ts +26 -0
- package/content/code-block/CodeBlockHeader.d.ts.map +1 -0
- package/content/code-block/CodeBlockHeader.js +16 -0
- package/content/code-block/CodeBlockHeader.js.map +1 -0
- package/content/code-block/CodeBlockLazy.d.ts +11 -0
- package/content/code-block/CodeBlockLazy.d.ts.map +1 -0
- package/content/code-block/CodeBlockLazy.js +14 -0
- package/content/code-block/CodeBlockLazy.js.map +1 -0
- package/content/code-block/CodeBlockLoading.d.ts +31 -0
- package/content/code-block/CodeBlockLoading.d.ts.map +1 -0
- package/content/code-block/CodeBlockLoading.js +90 -0
- package/content/code-block/CodeBlockLoading.js.map +1 -0
- package/content/code-block/CodeBlockSection.d.ts +40 -0
- package/content/code-block/CodeBlockSection.d.ts.map +1 -0
- package/content/code-block/CodeBlockSection.js +105 -0
- package/content/code-block/CodeBlockSection.js.map +1 -0
- package/content/code-block/CodeBlockToasts.d.ts +26 -0
- package/content/code-block/CodeBlockToasts.d.ts.map +1 -0
- package/content/code-block/CodeBlockToasts.js +88 -0
- package/content/code-block/CodeBlockToasts.js.map +1 -0
- package/content/code-block/code-block.module.css +949 -0
- package/content/code-block/index.d.ts +4 -0
- package/content/code-block/index.d.ts.map +1 -0
- package/content/code-block/index.js +4 -0
- package/content/code-block/index.js.map +1 -0
- package/content/demo/DemoContent.d.ts +32 -0
- package/content/demo/DemoContent.d.ts.map +1 -0
- package/content/demo/DemoContent.js +87 -0
- package/content/demo/DemoContent.js.map +1 -0
- package/content/demo/DemoFrame.d.ts +6 -0
- package/content/demo/DemoFrame.d.ts.map +1 -0
- package/content/demo/DemoFrame.js +17 -0
- package/content/demo/DemoFrame.js.map +1 -0
- package/content/demo/DemoLazy.d.ts +11 -0
- package/content/demo/DemoLazy.d.ts.map +1 -0
- package/content/demo/DemoLazy.js +14 -0
- package/content/demo/DemoLazy.js.map +1 -0
- package/content/demo/DemoLoading.d.ts +23 -0
- package/content/demo/DemoLoading.d.ts.map +1 -0
- package/content/demo/DemoLoading.js +26 -0
- package/content/demo/DemoLoading.js.map +1 -0
- package/content/demo/demo.module.css +163 -0
- package/content/demo/index.d.ts +4 -0
- package/content/demo/index.d.ts.map +1 -0
- package/content/demo/index.js +4 -0
- package/content/demo/index.js.map +1 -0
- package/content/empty-state/EmptyState.d.ts +1 -1
- package/content/empty-state/EmptyState.js +1 -1
- package/content/empty-state/empty-state.module.css +11 -11
- package/content/feature-grid/feature-grid.module.css +22 -22
- package/content/index-rows/IndexRows.d.ts +2 -2
- package/content/index-rows/IndexRows.d.ts.map +1 -1
- package/content/index-rows/IndexRows.js +1 -1
- package/content/index-rows/index-rows.module.css +29 -29
- package/content/pricing/Pricing.d.ts +4 -4
- package/content/pricing/Pricing.d.ts.map +1 -1
- package/content/pricing/Pricing.js +4 -4
- package/content/pricing/Pricing.js.map +1 -1
- package/content/pricing/pricing.module.css +22 -22
- package/content/profile/Profile.d.ts +1 -1
- package/content/profile/Profile.js +2 -2
- package/content/profile/profile.module.css +13 -13
- package/content/quote/Quote.d.ts +1 -1
- package/content/quote/quote.module.css +9 -9
- package/content/timeline/Timeline.d.ts +1 -1
- package/content/timeline/Timeline.d.ts.map +1 -1
- package/content/timeline/Timeline.js +5 -5
- package/content/timeline/Timeline.js.map +1 -1
- package/content/timeline/timeline.module.css +12 -12
- package/content/types-table/TypePre.d.ts +11 -0
- package/content/types-table/TypePre.d.ts.map +1 -0
- package/content/types-table/TypePre.js +13 -0
- package/content/types-table/TypePre.js.map +1 -0
- package/content/types-table/TypesTable.d.ts +22 -0
- package/content/types-table/TypesTable.d.ts.map +1 -0
- package/content/types-table/TypesTable.js +124 -0
- package/content/types-table/TypesTable.js.map +1 -0
- package/content/types-table/index.d.ts +3 -0
- package/content/types-table/index.d.ts.map +1 -0
- package/content/types-table/index.js +3 -0
- package/content/types-table/index.js.map +1 -0
- package/content/types-table/types-table.module.css +160 -0
- package/data/chart/Chart.d.ts +8 -1
- package/data/chart/Chart.d.ts.map +1 -1
- package/data/chart/Chart.js +28 -15
- package/data/chart/Chart.js.map +1 -1
- package/data/chart/chart.module.css +20 -6
- package/data/figure/Figure.d.ts +1 -1
- package/data/figure/Figure.js +1 -1
- package/data/figure/figure.module.css +7 -7
- package/data/map/Map.d.ts +3 -3
- package/data/map/Map.d.ts.map +1 -1
- package/data/map/Map.js +10 -8
- package/data/map/Map.js.map +1 -1
- package/data/map/MapCanvas.d.ts.map +1 -1
- package/data/map/MapCanvas.js +5 -9
- package/data/map/MapCanvas.js.map +1 -1
- package/data/map/map.module.css +39 -14
- package/data/map/mapStyle.d.ts +2 -2
- package/data/map/mapStyle.d.ts.map +1 -1
- package/data/map/mapStyle.js +5 -5
- package/data/map/mapStyle.js.map +1 -1
- package/data/scroll-area/ScrollArea.d.ts.map +1 -1
- package/data/scroll-area/ScrollArea.js +8 -4
- package/data/scroll-area/ScrollArea.js.map +1 -1
- package/data/scroll-area/scroll-area.module.css +28 -9
- package/data/spec-grid/spec-grid.module.css +8 -8
- package/data/spec-list/spec-list.module.css +3 -3
- package/data/spec-sheet/SpecSheet.d.ts +2 -2
- package/data/spec-sheet/SpecSheet.js +1 -1
- package/data/spec-sheet/spec-sheet.module.css +9 -9
- package/data/stat/Stat.d.ts +1 -1
- package/data/stat/Stat.d.ts.map +1 -1
- package/data/stat/stat.module.css +4 -4
- package/data/table/Table.d.ts +6 -5
- package/data/table/Table.d.ts.map +1 -1
- package/data/table/Table.js.map +1 -1
- package/data/table/table.module.css +43 -46
- package/disclosure/accordion/Accordion.d.ts +1 -1
- package/disclosure/accordion/Accordion.js +1 -1
- package/disclosure/accordion/accordion.module.css +12 -12
- package/disclosure/collapsible/Collapsible.d.ts +4 -4
- package/disclosure/collapsible/Collapsible.js +4 -4
- package/disclosure/collapsible/collapsible.module.css +10 -10
- package/disclosure/faq/FAQ.d.ts +3 -3
- package/disclosure/faq/FAQ.d.ts.map +1 -1
- package/disclosure/faq/FAQ.js +3 -3
- package/disclosure/faq/FAQ.js.map +1 -1
- package/disclosure/faq/faq.module.css +20 -20
- package/feedback/alert/alert.module.css +4 -4
- package/feedback/avatar/avatar-group.module.css +2 -2
- package/feedback/avatar/avatar.module.css +9 -9
- package/feedback/badge/Badge.d.ts +1 -1
- package/feedback/badge/badge.module.css +7 -7
- package/feedback/meter/Meter.d.ts +2 -2
- package/feedback/meter/meter.module.css +14 -14
- package/feedback/progress/Progress.d.ts +1 -1
- package/feedback/progress/progress.module.css +7 -7
- package/feedback/tag/tag.module.css +7 -7
- package/feedback/toast/Toast.d.ts +3 -3
- package/feedback/toast/Toast.d.ts.map +1 -1
- package/feedback/toast/Toast.js +17 -7
- package/feedback/toast/Toast.js.map +1 -1
- package/feedback/toast/toast.module.css +31 -20
- package/forms/autocomplete/Autocomplete.d.ts +11 -0
- package/forms/autocomplete/Autocomplete.d.ts.map +1 -1
- package/forms/autocomplete/Autocomplete.js +27 -6
- package/forms/autocomplete/Autocomplete.js.map +1 -1
- package/forms/autocomplete/autocomplete.module.css +35 -41
- package/forms/checkbox/Checkbox.js +1 -1
- package/forms/checkbox/checkbox.module.css +29 -25
- package/forms/checkbox-group/checkbox-group.module.css +4 -4
- package/forms/combobox/Combobox.d.ts +10 -0
- package/forms/combobox/Combobox.d.ts.map +1 -1
- package/forms/combobox/Combobox.js +28 -7
- package/forms/combobox/Combobox.js.map +1 -1
- package/forms/combobox/combobox.module.css +34 -41
- package/forms/field/field.module.css +1 -1
- package/forms/fieldset/Fieldset.d.ts +1 -1
- package/forms/fieldset/Fieldset.js +2 -2
- package/forms/fieldset/fieldset.module.css +14 -14
- package/forms/form/form.module.css +2 -2
- package/forms/input/Input.d.ts +10 -3
- package/forms/input/Input.d.ts.map +1 -1
- package/forms/input/Input.js +10 -4
- package/forms/input/Input.js.map +1 -1
- package/forms/input/input.module.css +38 -21
- package/forms/number-field/number-field.module.css +24 -23
- package/forms/radio/Radio.d.ts +1 -1
- package/forms/radio/Radio.d.ts.map +1 -1
- package/forms/radio/Radio.js +5 -3
- package/forms/radio/Radio.js.map +1 -1
- package/forms/radio/radio.module.css +38 -30
- package/forms/radio-group/RadioGroup.d.ts +1 -1
- package/forms/radio-group/radio-group.module.css +3 -3
- package/forms/search/Search.d.ts +10 -0
- package/forms/search/Search.d.ts.map +1 -1
- package/forms/search/Search.js +25 -6
- package/forms/search/Search.js.map +1 -1
- package/forms/search/search.module.css +25 -33
- package/forms/select/Select.d.ts +10 -2
- package/forms/select/Select.d.ts.map +1 -1
- package/forms/select/Select.js +27 -12
- package/forms/select/Select.js.map +1 -1
- package/forms/select/select.module.css +42 -48
- package/forms/slider/Slider.js +2 -2
- package/forms/slider/slider.module.css +23 -23
- package/forms/switch/Switch.js +1 -1
- package/forms/switch/switch.module.css +23 -19
- package/foundations/expanding-box/ExpandingBox.d.ts +86 -0
- package/foundations/expanding-box/ExpandingBox.d.ts.map +1 -0
- package/foundations/expanding-box/ExpandingBox.js +179 -0
- package/foundations/expanding-box/ExpandingBox.js.map +1 -0
- package/foundations/expanding-box/expanding-box.module.css +415 -0
- package/foundations/expanding-box/index.d.ts +3 -0
- package/foundations/expanding-box/index.d.ts.map +1 -0
- package/foundations/expanding-box/index.js +3 -0
- package/foundations/expanding-box/index.js.map +1 -0
- package/foundations/expanding-box/startExpandingTransition.d.ts +33 -0
- package/foundations/expanding-box/startExpandingTransition.d.ts.map +1 -0
- package/foundations/expanding-box/startExpandingTransition.js +82 -0
- package/foundations/expanding-box/startExpandingTransition.js.map +1 -0
- package/foundations/ground/Ground.d.ts +1 -1
- package/foundations/ground/ground.module.css +4 -4
- package/foundations/icon/Icon.d.ts +1 -1
- package/foundations/icon/Icon.js +1 -1
- package/foundations/icon/icon.module.css +1 -1
- package/foundations/outline-morph/OutlineMorph.d.ts +112 -0
- package/foundations/outline-morph/OutlineMorph.d.ts.map +1 -0
- package/foundations/outline-morph/OutlineMorph.js +83 -0
- package/foundations/outline-morph/OutlineMorph.js.map +1 -0
- package/foundations/outline-morph/index.d.ts +3 -0
- package/foundations/outline-morph/index.d.ts.map +1 -0
- package/foundations/outline-morph/index.js +3 -0
- package/foundations/outline-morph/index.js.map +1 -0
- package/foundations/outline-morph/morphEngine.d.ts +219 -0
- package/foundations/outline-morph/morphEngine.d.ts.map +1 -0
- package/foundations/outline-morph/morphEngine.js +1331 -0
- package/foundations/outline-morph/morphEngine.js.map +1 -0
- package/foundations/outline-morph/outline-morph.module.css +113 -0
- package/foundations/outline-morph/useOutlineMorphRoot.d.ts +50 -0
- package/foundations/outline-morph/useOutlineMorphRoot.d.ts.map +1 -0
- package/foundations/outline-morph/useOutlineMorphRoot.js +55 -0
- package/foundations/outline-morph/useOutlineMorphRoot.js.map +1 -0
- package/foundations/separator/separator.module.css +10 -10
- package/foundations/sticker/Sticker.d.ts +4 -4
- package/foundations/sticker/Sticker.d.ts.map +1 -1
- package/foundations/sticker/Sticker.js +3 -3
- package/foundations/sticker/sticker.module.css +10 -10
- package/icons/paths.d.ts +1 -1
- package/icons/paths.d.ts.map +1 -1
- package/icons/paths.js +50 -0
- package/icons/paths.js.map +1 -1
- package/navigation/breadcrumb/Breadcrumb.d.ts +7 -1
- package/navigation/breadcrumb/Breadcrumb.d.ts.map +1 -1
- package/navigation/breadcrumb/Breadcrumb.js +8 -8
- package/navigation/breadcrumb/Breadcrumb.js.map +1 -1
- package/navigation/breadcrumb/breadcrumb.module.css +14 -14
- package/navigation/file-tabs/FileTabs.d.ts +169 -0
- package/navigation/file-tabs/FileTabs.d.ts.map +1 -0
- package/navigation/file-tabs/FileTabs.js +253 -0
- package/navigation/file-tabs/FileTabs.js.map +1 -0
- package/navigation/file-tabs/file-tabs.module.css +868 -0
- package/navigation/file-tabs/index.d.ts +2 -0
- package/navigation/file-tabs/index.d.ts.map +1 -0
- package/navigation/file-tabs/index.js +2 -0
- package/navigation/file-tabs/index.js.map +1 -0
- package/navigation/nav-drawer/NavDrawer.d.ts +32 -6
- package/navigation/nav-drawer/NavDrawer.d.ts.map +1 -1
- package/navigation/nav-drawer/NavDrawer.js +94 -28
- package/navigation/nav-drawer/NavDrawer.js.map +1 -1
- package/navigation/nav-drawer/nav-drawer.module.css +78 -55
- package/navigation/navigation-bar/NavigationBar.d.ts +31 -11
- package/navigation/navigation-bar/NavigationBar.d.ts.map +1 -1
- package/navigation/navigation-bar/NavigationBar.js +40 -17
- package/navigation/navigation-bar/NavigationBar.js.map +1 -1
- package/navigation/navigation-bar/navigation-bar.module.css +58 -27
- package/navigation/navigation-menu/NavigationMenu.d.ts +9 -9
- package/navigation/navigation-menu/NavigationMenu.d.ts.map +1 -1
- package/navigation/navigation-menu/NavigationMenu.js +15 -15
- package/navigation/navigation-menu/navigation-menu.module.css +39 -53
- package/navigation/pagination/Pagination.js +1 -1
- package/navigation/pagination/pagination.module.css +24 -24
- package/navigation/sidebar-nav/SidebarNav.d.ts +71 -0
- package/navigation/sidebar-nav/SidebarNav.d.ts.map +1 -0
- package/navigation/sidebar-nav/SidebarNav.js +169 -0
- package/navigation/sidebar-nav/SidebarNav.js.map +1 -0
- package/navigation/sidebar-nav/index.d.ts +2 -0
- package/navigation/sidebar-nav/index.d.ts.map +1 -0
- package/navigation/sidebar-nav/index.js +2 -0
- package/navigation/sidebar-nav/index.js.map +1 -0
- package/navigation/sidebar-nav/sidebar-nav.module.css +270 -0
- package/navigation/table-of-contents/TableOfContents.d.ts +92 -0
- package/navigation/table-of-contents/TableOfContents.d.ts.map +1 -0
- package/navigation/table-of-contents/TableOfContents.js +211 -0
- package/navigation/table-of-contents/TableOfContents.js.map +1 -0
- package/navigation/table-of-contents/index.d.ts +3 -0
- package/navigation/table-of-contents/index.d.ts.map +1 -0
- package/navigation/table-of-contents/index.js +3 -0
- package/navigation/table-of-contents/index.js.map +1 -0
- package/navigation/table-of-contents/table-of-contents.module.css +322 -0
- package/navigation/table-of-contents/useActiveHeading.d.ts +37 -0
- package/navigation/table-of-contents/useActiveHeading.d.ts.map +1 -0
- package/navigation/table-of-contents/useActiveHeading.js +111 -0
- package/navigation/table-of-contents/useActiveHeading.js.map +1 -0
- package/navigation/tabs/Tabs.d.ts +2 -2
- package/navigation/tabs/Tabs.js +3 -3
- package/navigation/tabs/tabs.module.css +22 -19
- package/navigation/toolbar/Toolbar.d.ts +7 -1
- package/navigation/toolbar/Toolbar.d.ts.map +1 -1
- package/navigation/toolbar/Toolbar.js +3 -3
- package/navigation/toolbar/Toolbar.js.map +1 -1
- package/navigation/toolbar/toolbar.module.css +6 -6
- package/overlays/alert-dialog/AlertDialog.d.ts +14 -4
- package/overlays/alert-dialog/AlertDialog.d.ts.map +1 -1
- package/overlays/alert-dialog/AlertDialog.js +15 -5
- package/overlays/alert-dialog/AlertDialog.js.map +1 -1
- package/overlays/alert-dialog/alert-dialog.module.css +4 -4
- package/overlays/context-menu/ContextMenu.d.ts +1 -1
- package/overlays/context-menu/ContextMenu.js +1 -1
- package/overlays/dialog/Dialog.d.ts +26 -11
- package/overlays/dialog/Dialog.d.ts.map +1 -1
- package/overlays/dialog/Dialog.js +36 -17
- package/overlays/dialog/Dialog.js.map +1 -1
- package/overlays/dialog/dialog.module.css +32 -31
- package/overlays/dialog/morph.d.ts +17 -0
- package/overlays/dialog/morph.d.ts.map +1 -0
- package/overlays/dialog/morph.js +44 -0
- package/overlays/dialog/morph.js.map +1 -0
- package/overlays/menu/Menu.d.ts +18 -7
- package/overlays/menu/Menu.d.ts.map +1 -1
- package/overlays/menu/Menu.js +35 -12
- package/overlays/menu/Menu.js.map +1 -1
- package/overlays/menu/menu.module.css +26 -50
- package/overlays/menu/morph.d.ts +16 -0
- package/overlays/menu/morph.d.ts.map +1 -0
- package/overlays/menu/morph.js +36 -0
- package/overlays/menu/morph.js.map +1 -0
- package/overlays/menu/popup.d.ts +2 -0
- package/overlays/menu/popup.d.ts.map +1 -1
- package/overlays/menu/popup.js +11 -3
- package/overlays/menu/popup.js.map +1 -1
- package/overlays/menubar/Menubar.d.ts +10 -1
- package/overlays/menubar/Menubar.d.ts.map +1 -1
- package/overlays/menubar/Menubar.js +22 -12
- package/overlays/menubar/Menubar.js.map +1 -1
- package/overlays/menubar/menubar.module.css +13 -13
- package/overlays/popover/Popover.d.ts +22 -8
- package/overlays/popover/Popover.d.ts.map +1 -1
- package/overlays/popover/Popover.js +51 -16
- package/overlays/popover/Popover.js.map +1 -1
- package/overlays/popover/popover.module.css +73 -47
- package/overlays/preview-card/PreviewCard.d.ts +3 -3
- package/overlays/preview-card/PreviewCard.d.ts.map +1 -1
- package/overlays/preview-card/PreviewCard.js +5 -6
- package/overlays/preview-card/PreviewCard.js.map +1 -1
- package/overlays/preview-card/preview-card.module.css +19 -54
- package/overlays/search-dialog/SearchDialog.d.ts +89 -0
- package/overlays/search-dialog/SearchDialog.d.ts.map +1 -0
- package/overlays/search-dialog/SearchDialog.js +220 -0
- package/overlays/search-dialog/SearchDialog.js.map +1 -0
- package/overlays/search-dialog/SearchDialogPopup.d.ts +39 -0
- package/overlays/search-dialog/SearchDialogPopup.d.ts.map +1 -0
- package/overlays/search-dialog/SearchDialogPopup.js +80 -0
- package/overlays/search-dialog/SearchDialogPopup.js.map +1 -0
- package/overlays/search-dialog/SearchDialogTrigger.d.ts +24 -0
- package/overlays/search-dialog/SearchDialogTrigger.d.ts.map +1 -0
- package/overlays/search-dialog/SearchDialogTrigger.js +32 -0
- package/overlays/search-dialog/SearchDialogTrigger.js.map +1 -0
- package/overlays/search-dialog/index.d.ts +3 -0
- package/overlays/search-dialog/index.d.ts.map +1 -0
- package/overlays/search-dialog/index.js +3 -0
- package/overlays/search-dialog/index.js.map +1 -0
- package/overlays/search-dialog/search-dialog.module.css +492 -0
- package/overlays/search-dialog/useShortcutLabel.d.ts +13 -0
- package/overlays/search-dialog/useShortcutLabel.d.ts.map +1 -0
- package/overlays/search-dialog/useShortcutLabel.js +19 -0
- package/overlays/search-dialog/useShortcutLabel.js.map +1 -0
- package/overlays/search-dialog/variants.d.ts +25 -0
- package/overlays/search-dialog/variants.d.ts.map +1 -0
- package/overlays/search-dialog/variants.js +31 -0
- package/overlays/search-dialog/variants.js.map +1 -0
- package/overlays/tooltip/Tooltip.d.ts +3 -3
- package/overlays/tooltip/Tooltip.d.ts.map +1 -1
- package/overlays/tooltip/Tooltip.js +3 -3
- package/overlays/tooltip/Tooltip.js.map +1 -1
- package/overlays/tooltip/tooltip.module.css +2 -2
- package/package.json +27 -19
- package/page/announcement-bar/AnnouncementBar.d.ts +1 -1
- package/page/announcement-bar/AnnouncementBar.js +4 -4
- package/page/announcement-bar/AnnouncementBar.js.map +1 -1
- package/page/announcement-bar/announcement-bar.module.css +11 -17
- package/page/cta-block/CTABlock.d.ts +5 -5
- package/page/cta-block/CTABlock.d.ts.map +1 -1
- package/page/cta-block/CTABlock.js +2 -2
- package/page/cta-block/cta-block.module.css +26 -26
- package/page/docs-layout/DocsLayout.d.ts +83 -0
- package/page/docs-layout/DocsLayout.d.ts.map +1 -0
- package/page/docs-layout/DocsLayout.js +108 -0
- package/page/docs-layout/DocsLayout.js.map +1 -0
- package/page/docs-layout/docs-layout.module.css +266 -0
- package/page/docs-layout/index.d.ts +2 -0
- package/page/docs-layout/index.d.ts.map +1 -0
- package/page/docs-layout/index.js +2 -0
- package/page/docs-layout/index.js.map +1 -0
- package/page/footer/Footer.d.ts +1 -1
- package/page/footer/Footer.js +1 -1
- package/page/footer/footer.module.css +31 -31
- package/page/hero/Hero.d.ts +3 -3
- package/page/hero/Hero.d.ts.map +1 -1
- package/page/hero/Hero.js +1 -1
- package/page/hero/hero.module.css +36 -36
- package/page/marquee/Marquee.d.ts +2 -2
- package/page/marquee/Marquee.js +1 -1
- package/page/marquee/marquee.module.css +11 -11
- package/page/newsletter/Newsletter.d.ts.map +1 -1
- package/page/newsletter/Newsletter.js +4 -59
- package/page/newsletter/Newsletter.js.map +1 -1
- package/page/newsletter/newsletter.module.css +44 -22
- package/page/section-bar/SectionBar.d.ts +10 -3
- package/page/section-bar/SectionBar.d.ts.map +1 -1
- package/page/section-bar/SectionBar.js +21 -11
- package/page/section-bar/SectionBar.js.map +1 -1
- package/page/section-bar/section-bar.module.css +43 -46
- package/page/section-divider/SectionDivider.d.ts +2 -2
- package/page/section-divider/SectionDivider.js +4 -4
- package/page/section-divider/SectionDivider.js.map +1 -1
- package/page/section-divider/section-divider.module.css +18 -18
- package/page/section-header/SectionHeader.d.ts +7 -7
- package/page/section-header/SectionHeader.d.ts.map +1 -1
- package/page/section-header/SectionHeader.js +3 -3
- package/page/section-header/SectionHeader.js.map +1 -1
- package/page/section-header/section-header.module.css +16 -16
- package/utils/Ornament.d.ts +1 -1
- package/utils/Ornament.js +2 -2
- package/utils/assignRef.d.ts +7 -1
- package/utils/assignRef.d.ts.map +1 -1
- package/utils/assignRef.js +18 -0
- package/utils/assignRef.js.map +1 -1
- package/utils/docs/DemoTitle.d.ts +12 -0
- package/utils/docs/DemoTitle.d.ts.map +1 -0
- package/utils/docs/DemoTitle.js +11 -0
- package/utils/docs/DemoTitle.js.map +1 -0
- package/utils/docs/Pre.d.ts +39 -0
- package/utils/docs/Pre.d.ts.map +1 -0
- package/utils/docs/Pre.js +26 -0
- package/utils/docs/Pre.js.map +1 -0
- package/utils/docs/createDemo.d.ts +89 -0
- package/utils/docs/createDemo.d.ts.map +1 -0
- package/utils/docs/createDemo.js +51 -0
- package/utils/docs/createDemo.js.map +1 -0
- package/utils/docs/createMdxComponents.d.ts +52 -0
- package/utils/docs/createMdxComponents.d.ts.map +1 -0
- package/utils/docs/createMdxComponents.js +59 -0
- package/utils/docs/createMdxComponents.js.map +1 -0
- package/utils/docs/createTypes.d.ts +23 -0
- package/utils/docs/createTypes.d.ts.map +1 -0
- package/utils/docs/createTypes.js +27 -0
- package/utils/docs/createTypes.js.map +1 -0
- package/utils/docs/index.d.ts +8 -0
- package/utils/docs/index.d.ts.map +1 -0
- package/utils/docs/index.js +16 -0
- package/utils/docs/index.js.map +1 -0
- package/utils/docs/mdx.module.css +201 -0
- package/utils/docs/serverSourceEnhancers.d.ts +26 -0
- package/utils/docs/serverSourceEnhancers.d.ts.map +1 -0
- package/utils/docs/serverSourceEnhancers.js +32 -0
- package/utils/docs/serverSourceEnhancers.js.map +1 -0
- package/utils/docs/toSidebarItems.d.ts +23 -0
- package/utils/docs/toSidebarItems.d.ts.map +1 -0
- package/utils/docs/toSidebarItems.js +36 -0
- package/utils/docs/toSidebarItems.js.map +1 -0
- package/utils/font-fallbacks.css +176 -0
- package/utils/fonts.d.ts +1 -0
- package/utils/fonts.d.ts.map +1 -1
- package/utils/fonts.js +12 -0
- package/utils/fonts.js.map +1 -1
- package/utils/frame.d.ts +4 -0
- package/utils/frame.d.ts.map +1 -0
- package/utils/frame.js +11 -0
- package/utils/frame.js.map +1 -0
- package/utils/global.css +480 -266
- package/utils/line.module.css +17 -17
- package/utils/media.css +1 -1
- package/utils/ornament.module.css +19 -19
- package/utils/overlay.d.ts +4 -4
- package/utils/overlay.js +4 -4
- package/utils/pattern.module.css +45 -45
- package/utils/print.css +48 -34
- package/utils/reset.css +9 -2
- package/utils/roles.css +29 -29
- package/utils/seriesPatterns.js +3 -3
- package/utils/syntax.module.css +92 -0
- package/utils/theme.css +6 -6
- package/utils/tokens.css +262 -192
- package/utils/tokens.d.ts +51 -8
- package/utils/tokens.d.ts.map +1 -1
- package/utils/tokens.js +46 -9
- package/utils/tokens.js.map +1 -1
- package/utils/type.module.css +87 -87
- package/utils/useReleaseMark.d.ts +13 -0
- package/utils/useReleaseMark.d.ts.map +1 -0
- package/utils/useReleaseMark.js +44 -0
- package/utils/useReleaseMark.js.map +1 -0
- package/utils/view-transitions.css +122 -0
package/utils/line.module.css
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* The part colors the line from a role variable (`stroke`, `border-color`,
|
|
6
6
|
* `outline-color`); the line style never carries a color.
|
|
7
7
|
*
|
|
8
|
-
* SVG first. Dots and dashes are drawn in SVG from the --
|
|
8
|
+
* SVG first. Dots and dashes are drawn in SVG from the --fgd- geometry
|
|
9
9
|
* tokens [D36, D68]: every class sets the SVG stroke properties, which
|
|
10
10
|
* inherit, so an inline <svg><line/></svg> or <rect/> inside the part draws
|
|
11
11
|
* true round dots and exact dash arrays (round caps extend each dash by the
|
|
@@ -28,27 +28,27 @@
|
|
|
28
28
|
/* Relation: leaders, tethers, estimates, disabled edges. 1 px at 3 px. */
|
|
29
29
|
.lineDottedFine {
|
|
30
30
|
border-style: dotted;
|
|
31
|
-
border-width: var(--
|
|
32
|
-
stroke-width: var(--
|
|
33
|
-
stroke-dasharray: 0 var(--
|
|
31
|
+
border-width: var(--fgd-dot-fine);
|
|
32
|
+
stroke-width: var(--fgd-dot-fine);
|
|
33
|
+
stroke-dasharray: 0 var(--fgd-dot-fine-pitch);
|
|
34
34
|
stroke-linecap: round;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
/* Relation, grouping frames, ornamental rules. 2 px at 5 px. */
|
|
38
38
|
.lineDotted {
|
|
39
39
|
border-style: dotted;
|
|
40
|
-
border-width: var(--
|
|
41
|
-
stroke-width: var(--
|
|
42
|
-
stroke-dasharray: 0 var(--
|
|
40
|
+
border-width: var(--fgd-dot);
|
|
41
|
+
stroke-width: var(--fgd-dot);
|
|
42
|
+
stroke-dasharray: 0 var(--fgd-dot-pitch);
|
|
43
43
|
stroke-linecap: round;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
/* Ornamental dot underline; dot-and-star rule. 4 px at 9 px. */
|
|
47
47
|
.lineDottedBold {
|
|
48
48
|
border-style: dotted;
|
|
49
|
-
border-width: var(--
|
|
50
|
-
stroke-width: var(--
|
|
51
|
-
stroke-dasharray: 0 var(--
|
|
49
|
+
border-width: var(--fgd-dot-bold);
|
|
50
|
+
stroke-width: var(--fgd-dot-bold);
|
|
51
|
+
stroke-dasharray: 0 var(--fgd-dot-bold-pitch);
|
|
52
52
|
stroke-linecap: round;
|
|
53
53
|
}
|
|
54
54
|
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
border-style: dashed;
|
|
58
58
|
border-width: var(--border-size-1);
|
|
59
59
|
stroke-width: var(--border-size-1);
|
|
60
|
-
stroke-dasharray: var(--
|
|
60
|
+
stroke-dasharray: var(--fgd-dash-fine) var(--fgd-dash-fine-gap);
|
|
61
61
|
stroke-linecap: butt;
|
|
62
62
|
}
|
|
63
63
|
|
|
@@ -66,13 +66,13 @@
|
|
|
66
66
|
border-style: dashed;
|
|
67
67
|
border-width: var(--border-size-2);
|
|
68
68
|
stroke-width: var(--border-size-2);
|
|
69
|
-
stroke-dasharray: calc(var(--
|
|
70
|
-
calc(var(--
|
|
69
|
+
stroke-dasharray: calc(var(--fgd-dash) - var(--border-size-2))
|
|
70
|
+
calc(var(--fgd-dash-gap) + var(--border-size-2));
|
|
71
71
|
stroke-linecap: round;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
/*
|
|
75
|
-
* Frame / terminal: outer --border-size-2, --
|
|
75
|
+
* Frame / terminal: outer --border-size-2, --fgd-double-gap, inner
|
|
76
76
|
* --border-size-1. The inner line is an outline inset inside the border;
|
|
77
77
|
* set `outline-color` with `border-color`.
|
|
78
78
|
*/
|
|
@@ -82,13 +82,13 @@
|
|
|
82
82
|
outline-style: solid;
|
|
83
83
|
outline-width: var(--border-size-1);
|
|
84
84
|
outline-offset: calc(
|
|
85
|
-
-1 * (var(--border-size-2) + var(--
|
|
85
|
+
-1 * (var(--border-size-2) + var(--fgd-double-gap) + var(--border-size-1))
|
|
86
86
|
);
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
/*
|
|
90
90
|
* Table totals, running header: two --border-size-1 hairlines
|
|
91
|
-
* --
|
|
91
|
+
* --fgd-double-hair-gap apart. The element sits between its block-start
|
|
92
92
|
* and block-end borders: empty, it is the gap; as a band, content grows it.
|
|
93
93
|
*/
|
|
94
94
|
.lineDoubleHair {
|
|
@@ -96,6 +96,6 @@
|
|
|
96
96
|
border-style: solid;
|
|
97
97
|
border-width: 0;
|
|
98
98
|
border-block-width: var(--border-size-1);
|
|
99
|
-
min-block-size: var(--
|
|
99
|
+
min-block-size: var(--fgd-double-hair-gap);
|
|
100
100
|
}
|
|
101
101
|
}
|
package/utils/media.css
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* docs/postcss.config.mjs), beside Open Props' media.min.css. The
|
|
5
5
|
* definitions are consumed at build time and emit nothing.
|
|
6
6
|
*
|
|
7
|
-
* --
|
|
7
|
+
* --fgd-nav-inline-n-above: where the inline Navigation Bar replaces the
|
|
8
8
|
* drawer. A build-time constant: 1024 px by default (the --lg-n-above
|
|
9
9
|
* value); a site whose bar exceeds its fit budget points its PostCSS
|
|
10
10
|
* global data at its own file that sets 1440 px (the --xl-n-above value).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Ornaments and markers (§1.5.16; geometry §4.7; usage §8.4, §8.10, §8.11,
|
|
3
3
|
* §12.11, §12.14, §12.16). Shared classes for inline, aria-hidden SVG: the
|
|
4
|
-
* `marker-*` shapes, the index and rank numerals, `ornament-trail`, the
|
|
5
|
-
* dashed trail, and `ornament-blob`, the
|
|
4
|
+
* `marker-*` shapes, the index and rank numerals, `ornament-trail`, the
|
|
5
|
+
* dashed trail, and `ornament-blob`, the blob mount (§6.6).
|
|
6
6
|
* utils/Ornament.tsx draws the SVG geometry and adds these
|
|
7
7
|
* classes; compose them into a module part in a top-level rule outside any
|
|
8
8
|
* @layer (Lightning CSS rejects nested composes):
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* --primary12 on the saturated fields [D14, D117]. The index marker names
|
|
15
15
|
* its --primary1 face directly (a face under ink, not a knockout) [D144].
|
|
16
16
|
*
|
|
17
|
-
* Geometry. Fixed pixel sizes from the --
|
|
18
|
-
* with a figure or the viewport (P9). Open shapes at --
|
|
17
|
+
* Geometry. Fixed pixel sizes from the --fgd-marker-* tokens, never scaled
|
|
18
|
+
* with a figure or the viewport (P9). Open shapes at --border-size-1-5 with
|
|
19
19
|
* round caps and joins; `marker-current` is the one solid mark, a data mark
|
|
20
20
|
* a legend defines [D58]. A dash stops --size-px-1 short of a marker and
|
|
21
21
|
* restarts past it, so no partial dash touches one (§4.7.5).
|
|
@@ -61,25 +61,25 @@
|
|
|
61
61
|
overflow: visible;
|
|
62
62
|
fill: none;
|
|
63
63
|
stroke: currentColor;
|
|
64
|
-
stroke-width: var(--
|
|
64
|
+
stroke-width: var(--border-size-1-5);
|
|
65
65
|
stroke-linecap: round;
|
|
66
66
|
stroke-linejoin: round;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
.markerOrigin {
|
|
70
|
-
--marker-size: var(--
|
|
70
|
+
--marker-size: var(--fgd-marker-trail);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
.markerWaypoint {
|
|
74
|
-
--marker-size: var(--
|
|
74
|
+
--marker-size: var(--fgd-marker-waypoint);
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
.markerTerminal {
|
|
78
|
-
--marker-size: var(--
|
|
78
|
+
--marker-size: var(--fgd-arrow-head);
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
.markerCurrent {
|
|
82
|
-
--marker-size: var(--
|
|
82
|
+
--marker-size: var(--fgd-marker-current);
|
|
83
83
|
|
|
84
84
|
fill: currentColor;
|
|
85
85
|
stroke: none;
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
|
|
88
88
|
/*
|
|
89
89
|
* marker-index (§4.7.5, §8.10): a --size-px-5 circle, a --primary1 face
|
|
90
|
-
* with a --
|
|
90
|
+
* with a --border-size-1-5 --primary12 edge, holding a zero-padded numeral
|
|
91
91
|
* in type-label (--font-weight-6). Numbered map and figure callouts keyed
|
|
92
92
|
* to a list; never an unstroked colored disc.
|
|
93
93
|
*/
|
|
@@ -98,11 +98,11 @@
|
|
|
98
98
|
box-sizing: border-box;
|
|
99
99
|
inline-size: var(--size-px-5);
|
|
100
100
|
block-size: var(--size-px-5);
|
|
101
|
-
border: var(--
|
|
101
|
+
border: var(--border-size-1-5) solid var(--primary12);
|
|
102
102
|
border-radius: var(--radius-round);
|
|
103
103
|
background-color: var(--primary1);
|
|
104
104
|
color: var(--primary12);
|
|
105
|
-
font-variant-numeric: var(--
|
|
105
|
+
font-variant-numeric: var(--fgd-numerals-data);
|
|
106
106
|
line-height: 1;
|
|
107
107
|
}
|
|
108
108
|
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
display: inline-block;
|
|
116
116
|
flex: none;
|
|
117
117
|
min-inline-size: 2.5ch;
|
|
118
|
-
font-variant-numeric: var(--
|
|
118
|
+
font-variant-numeric: var(--fgd-numerals-data);
|
|
119
119
|
text-align: end;
|
|
120
120
|
}
|
|
121
121
|
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
* ornament-trail (§4.7.1): a freehand line-dashed path with its markers,
|
|
124
124
|
* 110–220 × 45–90 px, decorative. At most one per band and two per page;
|
|
125
125
|
* never with an eyebrow rule or on a haloed lockup [D38]; it stops
|
|
126
|
-
* --
|
|
126
|
+
* --fgd-space-halo short of a label and hides rather than touch type.
|
|
127
127
|
*/
|
|
128
128
|
.ornamentTrail {
|
|
129
129
|
display: block;
|
|
@@ -188,7 +188,7 @@
|
|
|
188
188
|
.trailMarker {
|
|
189
189
|
fill: none;
|
|
190
190
|
stroke: currentColor;
|
|
191
|
-
stroke-width: var(--
|
|
191
|
+
stroke-width: var(--border-size-1-5);
|
|
192
192
|
stroke-dasharray: none;
|
|
193
193
|
stroke-linecap: round;
|
|
194
194
|
stroke-linejoin: round;
|
|
@@ -196,9 +196,9 @@
|
|
|
196
196
|
}
|
|
197
197
|
|
|
198
198
|
@layer variants {
|
|
199
|
-
/* On a timeline, origin and terminal take --
|
|
199
|
+
/* On a timeline, origin and terminal take --fgd-marker-timeline (8 px) (§4.7.2). */
|
|
200
200
|
.markerTimeline {
|
|
201
|
-
--marker-size: var(--
|
|
201
|
+
--marker-size: var(--fgd-marker-timeline);
|
|
202
202
|
}
|
|
203
203
|
|
|
204
204
|
/* Where the mount is omitted (forest, the solid fields), the bare mark takes the scope's one ink. */
|
|
@@ -211,8 +211,8 @@
|
|
|
211
211
|
@media print {
|
|
212
212
|
/* The trail prints black at 0.75 pt with 3 / 2.5 pt dashes, markers kept [D142]. */
|
|
213
213
|
.ornamentTrailPath {
|
|
214
|
-
stroke-width: var(--
|
|
215
|
-
stroke-dasharray: var(--
|
|
214
|
+
stroke-width: var(--fgd-print-trail-stroke);
|
|
215
|
+
stroke-dasharray: var(--fgd-print-trail-dash) var(--fgd-print-trail-gap);
|
|
216
216
|
stroke-linecap: butt;
|
|
217
217
|
}
|
|
218
218
|
|
package/utils/overlay.d.ts
CHANGED
|
@@ -28,17 +28,17 @@ export declare function OverlayScope({ children }: {
|
|
|
28
28
|
children?: React.ReactNode;
|
|
29
29
|
}): React.JSX.Element;
|
|
30
30
|
/**
|
|
31
|
-
* The anchored-panel offset from the trigger, `--
|
|
31
|
+
* The anchored-panel offset from the trigger, `--fgd-popup-offset` (8 px,
|
|
32
32
|
* §9.1, §10.1). Base UI positions in JavaScript, so the token is restated.
|
|
33
33
|
*/
|
|
34
34
|
export declare const OVERLAY_SIDE_OFFSET = 8;
|
|
35
35
|
/**
|
|
36
|
-
* Viewport clearance before a panel flips or shifts: `--
|
|
37
|
-
* (16 px, the base `--
|
|
36
|
+
* Viewport clearance before a panel flips or shifts: `--fgd-popup-clearance`
|
|
37
|
+
* (16 px, the base `--fgd-space-margin`, §10.1).
|
|
38
38
|
*/
|
|
39
39
|
export declare const OVERLAY_COLLISION_PADDING = 16;
|
|
40
40
|
/**
|
|
41
|
-
* The anchored-panel tail on a 12 × 8 box (--
|
|
41
|
+
* The anchored-panel tail on a 12 × 8 box (--size-px-2-5 wide): 6 px of
|
|
42
42
|
* triangle plus the 2 px band that overlaps the panel's frame, filled with
|
|
43
43
|
* the face so the frame opens under the tail, and the two slanted edges at
|
|
44
44
|
* the frame's --border-size-2. The host module sets fill and stroke.
|
package/utils/overlay.js
CHANGED
|
@@ -50,17 +50,17 @@ export function OverlayScope({ children }) {
|
|
|
50
50
|
return React.createElement(GroundContext.Provider, { value: overlayScope }, children);
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
|
-
* The anchored-panel offset from the trigger, `--
|
|
53
|
+
* The anchored-panel offset from the trigger, `--fgd-popup-offset` (8 px,
|
|
54
54
|
* §9.1, §10.1). Base UI positions in JavaScript, so the token is restated.
|
|
55
55
|
*/
|
|
56
56
|
export const OVERLAY_SIDE_OFFSET = POPUP_OFFSET_PX;
|
|
57
57
|
/**
|
|
58
|
-
* Viewport clearance before a panel flips or shifts: `--
|
|
59
|
-
* (16 px, the base `--
|
|
58
|
+
* Viewport clearance before a panel flips or shifts: `--fgd-popup-clearance`
|
|
59
|
+
* (16 px, the base `--fgd-space-margin`, §10.1).
|
|
60
60
|
*/
|
|
61
61
|
export const OVERLAY_COLLISION_PADDING = POPUP_CLEARANCE_PX;
|
|
62
62
|
/**
|
|
63
|
-
* The anchored-panel tail on a 12 × 8 box (--
|
|
63
|
+
* The anchored-panel tail on a 12 × 8 box (--size-px-2-5 wide): 6 px of
|
|
64
64
|
* triangle plus the 2 px band that overlaps the panel's frame, filled with
|
|
65
65
|
* the face so the frame opens under the tail, and the two slanted edges at
|
|
66
66
|
* the frame's --border-size-2. The host module sets fill and stroke.
|
package/utils/pattern.module.css
CHANGED
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
* never share an element.
|
|
22
22
|
*
|
|
23
23
|
* Geometry. Tiles are drawn at the §1.5.9 token values and sized by the
|
|
24
|
-
* tokens (--
|
|
25
|
-
* --
|
|
24
|
+
* tokens (--fgd-dotgrid-pitch, --fgd-hatch-tile, --fgd-dotscreen-pitch-*,
|
|
25
|
+
* --fgd-awning-stripe); a mark keeps its proportion to its tile. Ranges and
|
|
26
26
|
* jitter (grain, fringe) are generator parameters baked into their tiles.
|
|
27
27
|
*
|
|
28
28
|
* Decorative (dotgrid, speckle, sunburst, grain, awning, fringe): dropped
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
* under 35% of the page above the footer at each breakpoint; patterned bands
|
|
35
35
|
* never touch; only --primary12 text sits on a decorative pattern, and never
|
|
36
36
|
* --role-rule or --role-muted; behind running text a pattern covers ≤ 12%
|
|
37
|
-
* with marks ≤ --
|
|
37
|
+
* with marks ≤ --fgd-sunburst-dot (grain ≈ 10.6%, dotgrid 0.7%). Dotgrid and
|
|
38
38
|
* awning carry display type and one action only; running text sits on a
|
|
39
39
|
* solid plate (a nested ground face). Semantic patterns carry no text: a
|
|
40
40
|
* label sits on a --primary1 knockout plate.
|
|
@@ -89,8 +89,8 @@
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
/*
|
|
92
|
-
* pattern-dotgrid (decorative) [D72, D111]: --
|
|
93
|
-
* circles at --
|
|
92
|
+
* pattern-dotgrid (decorative) [D72, D111]: --fgd-dotgrid-dot (1.5 px) true
|
|
93
|
+
* circles at --fgd-dotgrid-pitch (16 px) in --role-tint; --role-hairline on
|
|
94
94
|
* a plate (patternPlate). Technical grounds, figure plates, and the dot
|
|
95
95
|
* field on forest, night and amber feature bands (§2.2.1). Never behind
|
|
96
96
|
* running text.
|
|
@@ -99,27 +99,27 @@
|
|
|
99
99
|
.patternDotgridFine::before {
|
|
100
100
|
background-color: var(--role-tint);
|
|
101
101
|
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='0.75'/%3E%3C/svg%3E");
|
|
102
|
-
mask-size: var(--
|
|
103
|
-
mask-position: calc(var(--
|
|
102
|
+
mask-size: var(--fgd-dotgrid-pitch) var(--fgd-dotgrid-pitch);
|
|
103
|
+
mask-position: calc(var(--fgd-dotgrid-pitch) / -2) calc(var(--fgd-dotgrid-pitch) / -2);
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
/*
|
|
107
|
-
* pattern-dotgrid-fine: --
|
|
108
|
-
* --
|
|
107
|
+
* pattern-dotgrid-fine: --fgd-dotgrid-fine-dot (1 px) at
|
|
108
|
+
* --fgd-dotgrid-fine-pitch (8 px), only at ≥ 2 dppx; below, the standard
|
|
109
109
|
* grid, because 1 px dots smudge gray at 1–1.5× density [D72].
|
|
110
110
|
*/
|
|
111
111
|
@media (min-resolution: 2dppx) {
|
|
112
112
|
.patternDotgridFine::before {
|
|
113
113
|
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Ccircle cx='4' cy='4' r='0.5'/%3E%3C/svg%3E");
|
|
114
|
-
mask-size: var(--
|
|
115
|
-
mask-position: calc(var(--
|
|
116
|
-
calc(var(--
|
|
114
|
+
mask-size: var(--fgd-dotgrid-fine-pitch) var(--fgd-dotgrid-fine-pitch);
|
|
115
|
+
mask-position: calc(var(--fgd-dotgrid-fine-pitch) / -2)
|
|
116
|
+
calc(var(--fgd-dotgrid-fine-pitch) / -2);
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
/*
|
|
121
|
-
* pattern-speckle (decorative) [D176, D177]: one mark per --
|
|
122
|
-
* (16 px) cell, jittered ±4 px: 70% round dots of --
|
|
121
|
+
* pattern-speckle (decorative) [D176, D177]: one mark per --fgd-speckle-grid
|
|
122
|
+
* (16 px) cell, jittered ±4 px: 70% round dots of --fgd-speckle-dot (2 px)
|
|
123
123
|
* and 30% seed strokes 1 × 4 px at random angles, a third of them comma
|
|
124
124
|
* flecks, in --role-tint. A seamless tile of 16 × 16 cells (256 px;
|
|
125
125
|
* seeded, so deterministic); marks never leave their cell. One full-bleed
|
|
@@ -129,16 +129,16 @@
|
|
|
129
129
|
.patternSpeckle::before {
|
|
130
130
|
background-color: var(--role-tint);
|
|
131
131
|
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256' fill='none' stroke='%23000' stroke-linecap='round'%3E%3Cpath d='M9.4 5.5h0M20.7 10.1h0M53.9 5.6h0M70.3 7.9h0M88.4 8.9h0M119.4 9.1h0M133.8 10.4h0M167.1 9.8h0M217.6 5h0M232.7 10.7h0M251.6 6.2h0M39.5 20.5h0M72.4 20.9h0M88.5 21.1h0M123.2 22.5h0M134.5 20.9h0M151 24.3h0M166 27.4h0M184.6 24.4h0M202.5 23.1h0M212.9 21h0M228.4 24.8h0M245.2 24.2h0M5.3 36.1h0M20.2 42.8h0M36.3 43.3h0M56.6 39.3h0M76 43.4h0M86.1 39.2h0M103.8 36.3h0M120.5 38.5h0M169.4 40h0M183.6 36.9h0M229.3 38.4h0M251.7 37h0M68.1 55.3h0M89.5 54.5h0M103.9 52.9h0M135.9 54.2h0M154.4 52.1h0M167.7 58h0M200.2 54.3h0M217 52.5h0M230.9 59.4h0M246.8 57.3h0M5.4 71.7h0M27.3 68.2h0M38.6 73.6h0M59 74.4h0M69.2 74.8h0M85.9 73.5h0M118.4 75.3h0M133.3 70.1h0M165.5 74.1h0M186.4 73.2h0M198.2 71h0M235.8 75.9h0M251.2 75.4h0M27.1 85.3h0M43.2 91.6h0M75.2 88.6h0M90.9 91.4h0M103.6 91.8h0M116.6 87.1h0M132 90.5h0M170.3 85.8h0M186.4 90.3h0M247.6 89.7h0M27.5 105h0M38.1 104.3h0M57.4 101.1h0M121.5 102.2h0M137 107.3h0M169.6 104h0M228.9 105.3h0M11.7 120.2h0M59.4 119.7h0M73.7 121.4h0M103.5 122.3h0M118.5 122.8h0M155.7 123h0M168.2 122.3h0M183.3 117.2h0M244.1 122.4h0M11.3 132.5h0M43.1 138.4h0M52.7 139.3h0M72.8 133.5h0M119.8 139.5h0M140 136.3h0M168.3 138.9h0M219.2 137.1h0M232.4 135.3h0M8.1 155.6h0M37.4 150h0M69.3 155.3h0M86.7 150.8h0M123.6 148.2h0M138.1 154.3h0M155 154.8h0M170.1 148.3h0M180.9 152.7h0M200.5 155.5h0M214.2 148.3h0M229.6 150.4h0M246.2 154.2h0M8.5 166.3h0M52.6 166.7h0M73.2 165.2h0M123.6 168.7h0M155.9 169.2h0M168.6 171.5h0M185.9 170.7h0M214.1 164.2h0M228.7 168.8h0M7.2 184.2h0M21.6 180.6h0M43.5 185.4h0M70.4 187.6h0M84.6 187.3h0M117 184h0M136.6 185.2h0M165.2 186.6h0M182.8 183.9h0M231.3 187.7h0M244.9 182.4h0M6.8 203h0M25.1 198.2h0M41.3 196.2h0M55 200.3h0M68.6 203.1h0M85.2 197h0M103 201.4h0M116.6 197.1h0M148.2 196.7h0M184.6 203.2h0M202.1 196.6h0M214.1 202.3h0M245.2 200.2h0M20.2 217.8h0M36.5 214.1h0M55.8 217.7h0M100.5 212.3h0M117.3 216h0M132.9 215.2h0M154 214.7h0M197.1 218.3h0M215.1 216.7h0M231.5 218.9h0M244.7 215.2h0M7.1 232.6h0M26 231h0M57.2 235.7h0M69.4 229.8h0M88 234.1h0M136.4 234.7h0M151.7 233.4h0M166.6 229.3h0M196.4 234.4h0M214 232.7h0M233.5 234.8h0M246.1 232.9h0M8.8 248.8h0M25.6 248.4h0M53.5 248.8h0M71.7 251.5h0M85.8 247.8h0M106.3 247.9h0M117.5 250.5h0M137.8 248.1h0M153.3 248.6h0M171.5 247.8h0M183.7 245.6h0M198.1 247.6h0M212.7 251h0M250.1 249.8h0' stroke-width='2'/%3E%3Cpath d='M37.2 8.2Q36.4 10.6 38.9 10.7M99.7 3.2L101.3 5.8M149.3 4Q149.4 6.5 151.8 5.7M181.3 9.1L182.6 11.8M197.8 4.3L197.2 7.3M5.9 21.5Q3.4 21.8 4.4 24.1M25.5 24.2L23.4 26.4M55.6 20.1L58.5 20.6M99.8 24.7L100.6 27.6M137.6 40.1L140.5 40.7M151.1 38L154 38.8M196.8 39.6L198.9 41.8M213.1 37.3L213.7 40.2M8.9 54.5Q6.4 54.7 7.3 57M20 51.6L22.1 53.7M43.2 52.1L44.2 55M57.7 55Q57.2 57.4 59.7 57.3M121.1 52.9Q121.5 55.3 123.7 54.2M180.7 57Q178.3 57.8 179.7 59.9M100.8 71.7L102.5 74.2M154.9 70.6Q153.4 72.6 155.7 73.5M215.8 74L218.6 75M8.1 88.2L5.1 88.3M58.9 84.5Q56.8 85.9 58.7 87.5M155.2 90.9Q153.2 89.3 152.3 91.6M196.7 86.5L199.3 88M215.2 83.7Q212.7 83.1 212.9 85.6M228.5 87.8L230.4 90.2M8 100L7.1 102.8M69.5 105.3L71.3 107.7M91.4 101.3L88.4 101.6M102.4 101.9L101.3 104.7M149 106.9L151.5 108.6M182.2 103.2Q179.9 104.1 181.5 106.1M197.4 105.2L195.4 107.4M214.8 100.3L211.9 101.1M249.6 105.8L246.8 106.7M22.3 117.6L22.8 120.6M39.1 118.5L38.4 121.4M87.9 116Q86 117.6 88.1 119M137.9 122.8Q138.8 125.1 140.8 123.7M203.6 118.1Q202 120 204.3 121M218.4 119.6L221.2 120.4M235.8 121.2L235 124.1M27.2 132.8L24.4 133.8M89.9 135.6L92.7 136.8M102.2 134.1L105.2 134.2M156.7 131.5L153.9 132.6M185.7 133.2L182.8 134.1M197.9 133.5Q195.8 135 197.8 136.5M243.6 136.2L246.4 137.3M25.3 152.8Q24.4 155.1 26.9 155.3M57.7 147.8L55 149.2M99.2 152.3L101.9 153.7M27.7 170.3L24.8 170.8M39.7 170.2Q37.6 171.5 39.5 173.1M91.4 168L88.5 168.9M103.4 167.5Q101.7 169.3 103.9 170.4M134.9 170.5L137.7 171.6M199.7 169.7L198.4 172.4M250 164Q247.8 165.2 249.6 167M51.8 179.6L53.8 181.9M101.9 180.1L103 182.9M151.5 179.8L154 181.5M195.7 182.6L197.8 184.7M216 182.8Q214.9 185.1 217.3 185.5M140.3 203.1L137.8 204.8M167.7 199.1L165.7 201.4M231.3 195L233.2 197.3M4.6 218L6.6 220.2M67.6 212.1L70.4 213.1M90.2 215.3Q87.7 215.9 88.9 218M170 218L168 220.3M181.9 212.2L181.8 215.2M41.5 228.5L38.5 228.8M101.3 234.2Q98.8 233.7 99 236.2M117 228.5L115.7 231.2M184.7 231.3Q183.7 233.6 186.1 233.9M41.3 247.4Q39.4 245.8 38.4 248M229.2 248.9L231.3 251' stroke-width='1'/%3E%3C/svg%3E");
|
|
132
|
-
mask-size: calc(16 * var(--
|
|
132
|
+
mask-size: calc(16 * var(--fgd-speckle-grid)) calc(16 * var(--fgd-speckle-grid));
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
/*
|
|
136
136
|
* pattern-sunburst (decorative) [D143]: 60 rays 6° apart from an origin at
|
|
137
|
-
* the host's bottom centre, radius --
|
|
137
|
+
* the host's bottom centre, radius --fgd-sunburst-radius (290 px), clipped
|
|
138
138
|
* by the host's edges. Lay the host out so that its bottom edge is the
|
|
139
|
-
* origin: --
|
|
140
|
-
* edge, which then clips the lower half
|
|
141
|
-
* (2.5 px) round-capped dashes on shared radii --
|
|
139
|
+
* origin: --size-px-7-5 below the CTA's bottom edge, or the band's bottom
|
|
140
|
+
* edge, which then clips the lower half. Marks are --fgd-sunburst-dot
|
|
141
|
+
* (2.5 px) round-capped dashes on shared radii --fgd-sunburst-pitch
|
|
142
142
|
* (6.5 px) apart, so arcs form across the rays, in five discrete zones
|
|
143
143
|
* outward: dots, then 4, 6, 8 and 10 px dashes (no ramp [D21]); the
|
|
144
144
|
* 6–10 px dashes take every second radius. In --role-tint. CTA backdrop
|
|
@@ -149,10 +149,10 @@
|
|
|
149
149
|
.patternSunburst::before {
|
|
150
150
|
background-color: var(--role-tint);
|
|
151
151
|
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-290 -290 580 580' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cdefs%3E%3Cpath id='r' d='M0-39V-287' stroke-dasharray='0 6.5 0 6.5 0 6.5 0 6.5 0 6.5 0 6.5 0 6.5 0 6.5 0 6.5 1.5 5 1.5 5 1.5 5 1.5 5 1.5 5 1.5 5 1.5 5 1.5 5 3.5 9.5 3.5 9.5 3.5 9.5 3.5 9.5 5.5 7.5 5.5 7.5 5.5 7.5 5.5 7.5 7.5 5.5 7.5 5.5 7.5 5.5'/%3E%3Cg id='a'%3E%3Cuse href='%23r'/%3E%3Cuse href='%23r' transform='rotate(6)'/%3E%3C/g%3E%3Cg id='b'%3E%3Cuse href='%23a'/%3E%3Cuse href='%23a' transform='rotate(12)'/%3E%3C/g%3E%3Cg id='c'%3E%3Cuse href='%23b'/%3E%3Cuse href='%23b' transform='rotate(24)'/%3E%3Cuse href='%23b' transform='rotate(48)'/%3E%3C/g%3E%3C/defs%3E%3Cuse href='%23c'/%3E%3Cuse href='%23c' transform='rotate(72)'/%3E%3Cuse href='%23c' transform='rotate(144)'/%3E%3Cuse href='%23c' transform='rotate(216)'/%3E%3Cuse href='%23c' transform='rotate(288)'/%3E%3C/svg%3E");
|
|
152
|
-
mask-size: calc(2 * var(--
|
|
152
|
+
mask-size: calc(2 * var(--fgd-sunburst-radius)) calc(2 * var(--fgd-sunburst-radius));
|
|
153
153
|
mask-repeat: no-repeat;
|
|
154
154
|
mask-origin: border-box;
|
|
155
|
-
mask-position: left 50% bottom calc(-1 * var(--
|
|
155
|
+
mask-position: left 50% bottom calc(-1 * var(--fgd-sunburst-radius));
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
/*
|
|
@@ -178,14 +178,14 @@
|
|
|
178
178
|
|
|
179
179
|
/*
|
|
180
180
|
* pattern-awning (decorative) [D172, D175]: equal vertical stripes of
|
|
181
|
-
* --
|
|
181
|
+
* --fgd-awning-stripe (24 px), --role-tint alternating with the ground,
|
|
182
182
|
* starting at the left content-box edge; the band keeps a straight edge.
|
|
183
183
|
* Campaign bands only, at most one per page; display type and one action.
|
|
184
184
|
*/
|
|
185
185
|
.patternAwning::before {
|
|
186
186
|
background-color: var(--role-tint);
|
|
187
187
|
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2 1' preserveAspectRatio='none' shape-rendering='crispEdges'%3E%3Crect width='1' height='1'/%3E%3C/svg%3E");
|
|
188
|
-
mask-size: calc(2 * var(--
|
|
188
|
+
mask-size: calc(2 * var(--fgd-awning-stripe)) 100%;
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
/* Semantic patterns: a --border-size-1 --primary12 outline on every fill [D12]. */
|
|
@@ -214,71 +214,71 @@
|
|
|
214
214
|
|
|
215
215
|
/*
|
|
216
216
|
* pattern-hatch (semantic): 1 px lines at 45°. As a CSS tile the 45° hatch
|
|
217
|
-
* uses --
|
|
217
|
+
* uses --fgd-hatch-tile (8 px, ≈ 5.7 px pitch): an exact 6 px pitch needs an
|
|
218
218
|
* 8.49 px tile and shows seams [D72]. An SVG chart pattern rotates a 6 px
|
|
219
219
|
* pitch instead. Partial, projected or other; series slot 2.
|
|
220
220
|
*/
|
|
221
221
|
.patternHatch::before {
|
|
222
222
|
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath d='M-1 1l2-2M0 8l8-8M7 9l2-2' stroke='%23000'/%3E%3C/svg%3E");
|
|
223
|
-
mask-size: var(--
|
|
223
|
+
mask-size: var(--fgd-hatch-tile) var(--fgd-hatch-tile);
|
|
224
224
|
}
|
|
225
225
|
|
|
226
|
-
/* pattern-hatch-0: 1 px horizontal lines at --
|
|
226
|
+
/* pattern-hatch-0: 1 px horizontal lines at --fgd-hatch-pitch (6 px); series slot 4. */
|
|
227
227
|
.patternHatch0::before {
|
|
228
228
|
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 6'%3E%3Crect width='6' height='1'/%3E%3C/svg%3E");
|
|
229
|
-
mask-size: var(--
|
|
229
|
+
mask-size: var(--fgd-hatch-pitch) var(--fgd-hatch-pitch);
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
/* pattern-hatch-135: reserved for projected or partial data, never a series slot. */
|
|
233
233
|
.patternHatch135::before {
|
|
234
234
|
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath d='M-1 7l2 2M0 0l8 8M7-1l2 2' stroke='%23000'/%3E%3C/svg%3E");
|
|
235
|
-
mask-size: var(--
|
|
235
|
+
mask-size: var(--fgd-hatch-tile) var(--fgd-hatch-tile);
|
|
236
236
|
}
|
|
237
237
|
|
|
238
238
|
/* pattern-hatch-crossed: 45° and 135° together; series slot 5, sequential step 5. */
|
|
239
239
|
.patternHatchCrossed::before {
|
|
240
240
|
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath d='M-1 1l2-2M0 8l8-8M7 9l2-2M-1 7l2 2M0 0l8 8M7-1l2 2' stroke='%23000'/%3E%3C/svg%3E");
|
|
241
|
-
mask-size: var(--
|
|
241
|
+
mask-size: var(--fgd-hatch-tile) var(--fgd-hatch-tile);
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
/*
|
|
245
|
-
* pattern-dotscreen (semantic) [D72]: --
|
|
246
|
-
* circles, orthogonal, at --
|
|
247
|
-
* (series slot 3), Pitch3 4 px; heavy: --
|
|
245
|
+
* pattern-dotscreen (semantic) [D72]: --fgd-dotscreen-dot (1.25 px) true
|
|
246
|
+
* circles, orthogonal, at --fgd-dotscreen-pitch-1 (6 px); Pitch2 5 px
|
|
247
|
+
* (series slot 3), Pitch3 4 px; heavy: --fgd-dotscreen-dot-heavy (2 px) at
|
|
248
248
|
* 4 px. Tone: ≈ 3, 8 and 20% ink, so the steps read in order on paper.
|
|
249
249
|
*/
|
|
250
250
|
.patternDotscreen::before {
|
|
251
251
|
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 6'%3E%3Ccircle cx='3' cy='3' r='0.625'/%3E%3C/svg%3E");
|
|
252
|
-
mask-size: var(--
|
|
253
|
-
mask-position: calc(var(--
|
|
252
|
+
mask-size: var(--fgd-dotscreen-pitch-1) var(--fgd-dotscreen-pitch-1);
|
|
253
|
+
mask-position: calc(var(--fgd-dotscreen-pitch-1) / -2) calc(var(--fgd-dotscreen-pitch-1) / -2);
|
|
254
254
|
}
|
|
255
255
|
|
|
256
256
|
.patternDotscreenPitch2::before {
|
|
257
257
|
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 5'%3E%3Ccircle cx='2.5' cy='2.5' r='0.625'/%3E%3C/svg%3E");
|
|
258
|
-
mask-size: var(--
|
|
259
|
-
mask-position: calc(var(--
|
|
258
|
+
mask-size: var(--fgd-dotscreen-pitch-2) var(--fgd-dotscreen-pitch-2);
|
|
259
|
+
mask-position: calc(var(--fgd-dotscreen-pitch-2) / -2) calc(var(--fgd-dotscreen-pitch-2) / -2);
|
|
260
260
|
}
|
|
261
261
|
|
|
262
262
|
.patternDotscreenPitch3::before {
|
|
263
263
|
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Ccircle cx='2' cy='2' r='0.625'/%3E%3C/svg%3E");
|
|
264
|
-
mask-size: var(--
|
|
265
|
-
mask-position: calc(var(--
|
|
264
|
+
mask-size: var(--fgd-dotscreen-pitch-3) var(--fgd-dotscreen-pitch-3);
|
|
265
|
+
mask-position: calc(var(--fgd-dotscreen-pitch-3) / -2) calc(var(--fgd-dotscreen-pitch-3) / -2);
|
|
266
266
|
}
|
|
267
267
|
|
|
268
268
|
.patternDotscreenHeavy::before {
|
|
269
269
|
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Ccircle cx='2' cy='2' r='1'/%3E%3C/svg%3E");
|
|
270
|
-
mask-size: var(--
|
|
271
|
-
mask-position: calc(var(--
|
|
270
|
+
mask-size: var(--fgd-dotscreen-pitch-3) var(--fgd-dotscreen-pitch-3);
|
|
271
|
+
mask-position: calc(var(--fgd-dotscreen-pitch-3) / -2) calc(var(--fgd-dotscreen-pitch-3) / -2);
|
|
272
272
|
}
|
|
273
273
|
|
|
274
274
|
/*
|
|
275
275
|
* ornament-fringe, the hatched fringe (decorative) [D172, D175]:
|
|
276
|
-
* --
|
|
277
|
-
* --
|
|
276
|
+
* --border-size-1-5 ticks, --fgd-fringe-tick (6 px) ± 2 px jitter, at
|
|
277
|
+
* --fgd-fringe-pitch (4 px), in the band's --primary12, hanging from its top
|
|
278
278
|
* edge along the seam (a 96 px tile of 24 seeded ticks, round-capped at the
|
|
279
279
|
* free end). Drawn ticks, not a mask cut of the band. On the lower band of
|
|
280
280
|
* a campaign page: the page's one shaped edge and one decorative separator
|
|
281
|
-
* [D38, D39]. --
|
|
281
|
+
* [D38, D39]. --fgd-edge-shaped: none (set per scope by the role maps where
|
|
282
282
|
* the band shows its --role-seam rule instead, §4.9.2) removes it.
|
|
283
283
|
*/
|
|
284
284
|
.ornamentFringe {
|
|
@@ -287,12 +287,12 @@
|
|
|
287
287
|
|
|
288
288
|
.ornamentFringe::after {
|
|
289
289
|
content: '';
|
|
290
|
-
display: var(--
|
|
290
|
+
display: var(--fgd-edge-shaped, block);
|
|
291
291
|
position: absolute;
|
|
292
292
|
inset-block-start: 0;
|
|
293
293
|
inset-inline: 0;
|
|
294
294
|
z-index: -1;
|
|
295
|
-
block-size: calc(var(--
|
|
295
|
+
block-size: calc(var(--fgd-fringe-tick) + var(--fringe-jitter));
|
|
296
296
|
pointer-events: none;
|
|
297
297
|
background-color: var(--primary12);
|
|
298
298
|
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='8'%3E%3Cpath d='M2 0v5.25M6 0v7.25M10 0v4.25M14 0v6.25M18 0v3.25M22 0v5.25M26 0v6.25M30 0v4.25M34 0v7.25M38 0v5.25M42 0v3.25M46 0v6.25M50 0v4.25M54 0v5.25M58 0v7.25M62 0v4.25M66 0v6.25M70 0v5.25M74 0v3.25M78 0v7.25M82 0v5.25M86 0v4.25M90 0v6.25M94 0v5.25' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
|
package/utils/print.css
CHANGED
|
@@ -1,52 +1,53 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* The print remap (§1.11.6, §1.4.5). Print always renders light, whatever
|
|
3
3
|
* the screen mode, including inside a data-theme="dark" band: steps 1–5 of
|
|
4
|
-
* the role scales go white and 6–12 black
|
|
5
|
-
* black;
|
|
6
|
-
*
|
|
7
|
-
*
|
|
4
|
+
* the role scales (danger included) go white and 6–12 black, so the danger
|
|
5
|
+
* roles print black; contrast inks and label aliases black; halo, grounds,
|
|
6
|
+
* tints and grain white; the seam black. Browsers drop backgrounds by
|
|
7
|
+
* default, so fills and decorative patterns vanish; borders and inline SVG
|
|
8
|
+
* print. Modules add structural print rules only.
|
|
8
9
|
*/
|
|
9
10
|
@layer print {
|
|
10
11
|
@media print {
|
|
11
12
|
@page {
|
|
12
|
-
margin: var(--
|
|
13
|
+
margin: var(--fgd-print-margin-block) var(--fgd-print-margin-inline);
|
|
13
14
|
}
|
|
14
15
|
|
|
15
16
|
:root {
|
|
16
17
|
color-scheme: light;
|
|
17
|
-
--
|
|
18
|
-
--
|
|
18
|
+
--fgd-font-fine: var(--fgd-font-text);
|
|
19
|
+
--fgd-muted-weight-step: 0;
|
|
19
20
|
|
|
20
21
|
/* Print values of the tokens (§1.5). 1 px = 0.75 pt, so most px values already map exactly. */
|
|
21
|
-
--
|
|
22
|
-
--
|
|
23
|
-
--
|
|
24
|
-
--
|
|
25
|
-
--
|
|
26
|
-
--
|
|
27
|
-
--
|
|
28
|
-
--
|
|
29
|
-
--
|
|
30
|
-
--
|
|
31
|
-
--
|
|
32
|
-
--
|
|
33
|
-
--
|
|
34
|
-
--
|
|
35
|
-
--
|
|
36
|
-
--
|
|
37
|
-
--
|
|
38
|
-
--
|
|
39
|
-
--
|
|
40
|
-
--
|
|
41
|
-
--
|
|
22
|
+
--fgd-font-size-display-xl: 26pt;
|
|
23
|
+
--fgd-font-size-stat: 24pt; /* type-stat (§1.5.6, §8.8); type-display-xl keeps 26 pt */
|
|
24
|
+
--fgd-font-size-display: 22pt;
|
|
25
|
+
--fgd-font-size-h2: 17pt;
|
|
26
|
+
--fgd-font-size-itemhead: 13pt;
|
|
27
|
+
--fgd-font-size-kicker: 10.5pt;
|
|
28
|
+
--fgd-font-size-subhead: 11pt;
|
|
29
|
+
--fgd-font-size-lead: 12pt;
|
|
30
|
+
--fgd-font-size-quote: 14pt;
|
|
31
|
+
--fgd-font-size-body: 10.5pt;
|
|
32
|
+
--fgd-font-size-body-ui: 10pt;
|
|
33
|
+
--fgd-font-size-marquee: 11pt;
|
|
34
|
+
--fgd-font-size-button-lg: 10pt;
|
|
35
|
+
--fgd-font-size-button: 9pt;
|
|
36
|
+
--fgd-font-size-footnote: 8.5pt;
|
|
37
|
+
--fgd-font-size-caption: 8.5pt;
|
|
38
|
+
--fgd-font-size-eyebrow: 8pt;
|
|
39
|
+
--fgd-font-size-label: 8pt;
|
|
40
|
+
--fgd-leading-reading: var(--fgd-leading-compact);
|
|
41
|
+
--size-px-8-5: 36pt;
|
|
42
|
+
--fgd-space-section: 36pt;
|
|
42
43
|
--size-px-10: 36pt;
|
|
43
44
|
--size-px-11: 48pt;
|
|
44
|
-
--
|
|
45
|
-
--
|
|
46
|
-
--
|
|
47
|
-
--
|
|
48
|
-
--
|
|
49
|
-
--
|
|
45
|
+
--fgd-space-margin: 0;
|
|
46
|
+
--border-size-0-75: 0.75pt;
|
|
47
|
+
--border-size-1-25: 1pt;
|
|
48
|
+
--border-size-1-5: 1.1pt;
|
|
49
|
+
--border-size-3-5: 4pt;
|
|
50
|
+
--fgd-measure-reading: var(--fgd-measure-print);
|
|
50
51
|
}
|
|
51
52
|
|
|
52
53
|
:root,
|
|
@@ -87,12 +88,25 @@
|
|
|
87
88
|
--action10: #000;
|
|
88
89
|
--action11: #000;
|
|
89
90
|
--action12: #000;
|
|
91
|
+
--danger1: #fff;
|
|
92
|
+
--danger2: #fff;
|
|
93
|
+
--danger3: #fff;
|
|
94
|
+
--danger4: #fff;
|
|
95
|
+
--danger5: #fff;
|
|
96
|
+
--danger6: #000;
|
|
97
|
+
--danger7: #000;
|
|
98
|
+
--danger8: #000;
|
|
99
|
+
--danger9: #000;
|
|
100
|
+
--danger10: #000;
|
|
101
|
+
--danger11: #000;
|
|
102
|
+
--danger12: #000;
|
|
90
103
|
--primary-contrast: #000;
|
|
91
104
|
--secondary-contrast: #000;
|
|
92
105
|
--action-contrast: #000;
|
|
93
106
|
--role-inverse: #000;
|
|
94
107
|
--role-action-label: #000;
|
|
95
108
|
--role-action-pressed-label: #000;
|
|
109
|
+
--role-danger-label: #000;
|
|
96
110
|
--role-select-mark: #000;
|
|
97
111
|
--role-status-text: #000;
|
|
98
112
|
--role-halo: #fff;
|