paris 0.23.0 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/README.md +17 -17
- package/dist/helpers/OpenChangeEffect.d.ts +11 -0
- package/dist/helpers/OpenChangeEffect.js +16 -0
- package/dist/helpers/OpenChangeEffect.js.map +1 -0
- package/dist/helpers/renderEnhancer.d.ts +7 -0
- package/dist/helpers/renderEnhancer.js +20 -0
- package/dist/helpers/renderEnhancer.js.map +1 -0
- package/dist/helpers/useControllableState.d.ts +7 -0
- package/dist/helpers/useControllableState.js +49 -0
- package/dist/helpers/useControllableState.js.map +1 -0
- package/dist/helpers/useIsMounted.d.ts +1 -0
- package/dist/helpers/useResizeObserver.d.ts +12 -0
- package/dist/stories/accordion/Accordion.d.ts +47 -0
- package/dist/stories/accordion/Accordion.js +82 -0
- package/dist/stories/accordion/Accordion.js.map +1 -0
- package/dist/stories/accordion/Accordion.module.css +130 -0
- package/dist/stories/accordion/Accordion.module.scss.js +26 -0
- package/dist/stories/accordion/Accordion.module.scss.js.map +1 -0
- package/dist/stories/accordion/index.js +2 -0
- package/dist/stories/accordion/index.js.map +1 -0
- package/dist/stories/accordionselect/AccordionSelect.d.ts +102 -0
- package/dist/stories/accordionselect/AccordionSelect.js +137 -0
- package/dist/stories/accordionselect/AccordionSelect.js.map +1 -0
- package/dist/stories/accordionselect/AccordionSelect.module.css +106 -0
- package/dist/stories/accordionselect/AccordionSelect.module.scss.js +27 -0
- package/dist/stories/accordionselect/AccordionSelect.module.scss.js.map +1 -0
- package/dist/stories/accordionselect/index.js +2 -0
- package/dist/stories/accordionselect/index.js.map +1 -0
- package/dist/stories/avatar/Avatar.d.ts +22 -0
- package/dist/stories/avatar/Avatar.js +37 -0
- package/dist/stories/avatar/Avatar.js.map +1 -0
- package/dist/stories/avatar/Avatar.module.css +7 -0
- package/dist/stories/avatar/Avatar.module.scss.js +7 -0
- package/dist/stories/avatar/Avatar.module.scss.js.map +1 -0
- package/dist/stories/avatar/index.js +2 -0
- package/dist/stories/avatar/index.js.map +1 -0
- package/dist/stories/button/Button.d.ts +120 -0
- package/dist/stories/button/Button.js +123 -0
- package/dist/stories/button/Button.js.map +1 -0
- package/dist/stories/button/Button.module.css +137 -0
- package/dist/stories/button/Button.module.scss.js +35 -0
- package/dist/stories/button/Button.module.scss.js.map +1 -0
- package/dist/stories/button/index.js +2 -0
- package/dist/stories/button/index.js.map +1 -0
- package/dist/stories/callout/Callout.d.ts +22 -0
- package/dist/stories/callout/Callout.js +21 -0
- package/dist/stories/callout/Callout.js.map +1 -0
- package/dist/stories/callout/Callout.module.css +35 -0
- package/dist/stories/callout/Callout.module.scss.js +15 -0
- package/dist/stories/callout/Callout.module.scss.js.map +1 -0
- package/dist/stories/callout/index.js +2 -0
- package/dist/stories/callout/index.js.map +1 -0
- package/dist/stories/card/Card.d.ts +30 -0
- package/dist/stories/card/Card.js +22 -0
- package/dist/stories/card/Card.js.map +1 -0
- package/dist/stories/card/Card.module.css +39 -0
- package/dist/stories/card/Card.module.scss.js +17 -0
- package/dist/stories/card/Card.module.scss.js.map +1 -0
- package/dist/stories/card/index.js +2 -0
- package/dist/stories/card/index.js.map +1 -0
- package/dist/stories/cardbutton/CardButton.d.ts +50 -0
- package/dist/stories/cardbutton/CardButton.js +53 -0
- package/dist/stories/cardbutton/CardButton.js.map +1 -0
- package/dist/stories/cardbutton/CardButton.module.css +77 -0
- package/dist/stories/cardbutton/CardButton.module.scss.js +19 -0
- package/dist/stories/cardbutton/CardButton.module.scss.js.map +1 -0
- package/dist/stories/cardbutton/index.js +2 -0
- package/dist/stories/cardbutton/index.js.map +1 -0
- package/dist/stories/checkbox/Checkbox.d.ts +31 -0
- package/dist/stories/checkbox/Checkbox.js +99 -0
- package/dist/stories/checkbox/Checkbox.js.map +1 -0
- package/dist/stories/checkbox/Checkbox.module.css +155 -0
- package/dist/stories/checkbox/Checkbox.module.scss.js +32 -0
- package/dist/stories/checkbox/Checkbox.module.scss.js.map +1 -0
- package/dist/stories/checkbox/index.js +2 -0
- package/dist/stories/checkbox/index.js.map +1 -0
- package/dist/stories/codeinput/CodeInput.d.ts +47 -0
- package/dist/stories/codeinput/CodeInput.js +105 -0
- package/dist/stories/codeinput/CodeInput.js.map +1 -0
- package/dist/stories/codeinput/CodeInput.module.css +63 -0
- package/dist/stories/codeinput/CodeInput.module.scss.js +13 -0
- package/dist/stories/codeinput/CodeInput.module.scss.js.map +1 -0
- package/dist/stories/codeinput/index.js +2 -0
- package/dist/stories/codeinput/index.js.map +1 -0
- package/dist/stories/combobox/Combobox.d.ts +125 -0
- package/dist/stories/combobox/Combobox.js +257 -0
- package/dist/stories/combobox/Combobox.js.map +1 -0
- package/dist/stories/combobox/index.js +2 -0
- package/dist/stories/combobox/index.js.map +1 -0
- package/dist/stories/dialog/Dialog.d.ts +103 -0
- package/dist/stories/dialog/Dialog.js +187 -0
- package/dist/stories/dialog/Dialog.js.map +1 -0
- package/dist/stories/dialog/Dialog.module.css +185 -0
- package/dist/stories/dialog/Dialog.module.scss.js +48 -0
- package/dist/stories/dialog/Dialog.module.scss.js.map +1 -0
- package/dist/stories/dialog/index.js +2 -0
- package/dist/stories/dialog/index.js.map +1 -0
- package/dist/stories/drawer/Drawer.d.ts +143 -0
- package/dist/stories/drawer/Drawer.js +357 -0
- package/dist/stories/drawer/Drawer.js.map +1 -0
- package/dist/stories/drawer/Drawer.module.css +406 -0
- package/dist/stories/drawer/Drawer.module.scss.js +96 -0
- package/dist/stories/drawer/Drawer.module.scss.js.map +1 -0
- package/dist/stories/drawer/DrawerActions.d.ts +5 -0
- package/dist/stories/drawer/DrawerActions.js +23 -0
- package/dist/stories/drawer/DrawerActions.js.map +1 -0
- package/dist/stories/drawer/DrawerBottomPanel.d.ts +9 -0
- package/dist/stories/drawer/DrawerBottomPanel.js +48 -0
- package/dist/stories/drawer/DrawerBottomPanel.js.map +1 -0
- package/dist/stories/drawer/DrawerContext.d.ts +11 -0
- package/dist/stories/drawer/DrawerContext.js +23 -0
- package/dist/stories/drawer/DrawerContext.js.map +1 -0
- package/dist/stories/drawer/DrawerPage.d.ts +12 -0
- package/dist/stories/drawer/DrawerPage.js +22 -0
- package/dist/stories/drawer/DrawerPage.js.map +1 -0
- package/dist/stories/drawer/DrawerPageContext.d.ts +12 -0
- package/dist/stories/drawer/DrawerPageContext.js +23 -0
- package/dist/stories/drawer/DrawerPageContext.js.map +1 -0
- package/dist/stories/drawer/DrawerPaginationContext.d.ts +9 -0
- package/dist/stories/drawer/DrawerPaginationContext.js +17 -0
- package/dist/stories/drawer/DrawerPaginationContext.js.map +1 -0
- package/dist/stories/drawer/DrawerProgressBar.d.ts +15 -0
- package/dist/stories/drawer/DrawerProgressBar.js +60 -0
- package/dist/stories/drawer/DrawerProgressBar.js.map +1 -0
- package/dist/stories/drawer/DrawerSlotContext.d.ts +34 -0
- package/dist/stories/drawer/DrawerSlotContext.js +120 -0
- package/dist/stories/drawer/DrawerSlotContext.js.map +1 -0
- package/dist/stories/drawer/DrawerTitle.d.ts +5 -0
- package/dist/stories/drawer/DrawerTitle.js +29 -0
- package/dist/stories/drawer/DrawerTitle.js.map +1 -0
- package/dist/stories/drawer/index.js +10 -0
- package/dist/stories/drawer/index.js.map +1 -0
- package/dist/stories/field/Field.d.ts +54 -0
- package/dist/stories/field/Field.js +91 -0
- package/dist/stories/field/Field.js.map +1 -0
- package/dist/stories/field/index.js +2 -0
- package/dist/stories/field/index.js.map +1 -0
- package/dist/stories/icon/ArrowRight.d.ts +2 -0
- package/dist/stories/icon/ArrowRight.js +13 -0
- package/dist/stories/icon/ArrowRight.js.map +1 -0
- package/dist/stories/icon/Check.d.ts +2 -0
- package/dist/stories/icon/Check.js +13 -0
- package/dist/stories/icon/Check.js.map +1 -0
- package/dist/stories/icon/ChevronLeft.d.ts +2 -0
- package/dist/stories/icon/ChevronLeft.js +13 -0
- package/dist/stories/icon/ChevronLeft.js.map +1 -0
- package/dist/stories/icon/ChevronRight.d.ts +2 -0
- package/dist/stories/icon/ChevronRight.js +13 -0
- package/dist/stories/icon/ChevronRight.js.map +1 -0
- package/dist/stories/icon/Close.d.ts +2 -0
- package/dist/stories/icon/Close.js +13 -0
- package/dist/stories/icon/Close.js.map +1 -0
- package/dist/stories/icon/Ellipsis.d.ts +2 -0
- package/dist/stories/icon/Ellipsis.js +13 -0
- package/dist/stories/icon/Ellipsis.js.map +1 -0
- package/{src/stories/icon/Icon.tsx → dist/stories/icon/Icon.d.ts} +2 -8
- package/dist/stories/icon/Icon.js +8 -0
- package/dist/stories/icon/Icon.js.map +1 -0
- package/dist/stories/icon/Info.d.ts +2 -0
- package/dist/stories/icon/Info.js +13 -0
- package/dist/stories/icon/Info.js.map +1 -0
- package/dist/stories/icon/NotificationDot.d.ts +2 -0
- package/dist/stories/icon/NotificationDot.js +7 -0
- package/dist/stories/icon/NotificationDot.js.map +1 -0
- package/dist/stories/icon/Spinner.d.ts +2 -0
- package/dist/stories/icon/Spinner.js +24 -0
- package/dist/stories/icon/Spinner.js.map +1 -0
- package/dist/stories/icon/index.js +11 -0
- package/dist/stories/icon/index.js.map +1 -0
- package/dist/stories/informationaltooltip/InformationalTooltip.d.ts +68 -0
- package/dist/stories/informationaltooltip/InformationalTooltip.js +85 -0
- package/dist/stories/informationaltooltip/InformationalTooltip.js.map +1 -0
- package/dist/stories/informationaltooltip/InformationalTooltip.module.css +22 -0
- package/dist/stories/informationaltooltip/InformationalTooltip.module.scss.js +11 -0
- package/dist/stories/informationaltooltip/InformationalTooltip.module.scss.js.map +1 -0
- package/dist/stories/informationaltooltip/index.js +2 -0
- package/dist/stories/informationaltooltip/index.js.map +1 -0
- package/dist/stories/input/Input.d.ts +57 -0
- package/dist/stories/input/Input.js +108 -0
- package/dist/stories/input/Input.js.map +1 -0
- package/dist/stories/input/Input.module.css +165 -0
- package/dist/stories/input/Input.module.scss.js +23 -0
- package/dist/stories/input/Input.module.scss.js.map +1 -0
- package/dist/stories/input/index.js +2 -0
- package/dist/stories/input/index.js.map +1 -0
- package/dist/stories/markdown/Markdown.d.ts +36 -0
- package/dist/stories/markdown/Markdown.js +141 -0
- package/dist/stories/markdown/Markdown.js.map +1 -0
- package/dist/stories/markdown/Markdown.module.css +301 -0
- package/dist/stories/markdown/Markdown.module.scss.js +73 -0
- package/dist/stories/markdown/Markdown.module.scss.js.map +1 -0
- package/dist/stories/markdown/index.js +2 -0
- package/dist/stories/markdown/index.js.map +1 -0
- package/dist/stories/markdowneditor/FixedToolbar.d.ts +19 -0
- package/dist/stories/markdowneditor/FixedToolbar.js +212 -0
- package/dist/stories/markdowneditor/FixedToolbar.js.map +1 -0
- package/dist/stories/markdowneditor/FixedToolbar.module.css +24 -0
- package/dist/stories/markdowneditor/FixedToolbar.module.scss.js +11 -0
- package/dist/stories/markdowneditor/FixedToolbar.module.scss.js.map +1 -0
- package/dist/stories/markdowneditor/FloatingToolbar.d.ts +15 -0
- package/dist/stories/markdowneditor/FloatingToolbar.js +66 -0
- package/dist/stories/markdowneditor/FloatingToolbar.js.map +1 -0
- package/dist/stories/markdowneditor/FloatingToolbar.module.css +18 -0
- package/dist/stories/markdowneditor/FloatingToolbar.module.scss.js +9 -0
- package/dist/stories/markdowneditor/FloatingToolbar.module.scss.js.map +1 -0
- package/dist/stories/markdowneditor/LinkPopover.d.ts +11 -0
- package/dist/stories/markdowneditor/LinkPopover.js +106 -0
- package/dist/stories/markdowneditor/LinkPopover.js.map +1 -0
- package/dist/stories/markdowneditor/LinkPopover.module.css +113 -0
- package/dist/stories/markdowneditor/LinkPopover.module.scss.js +21 -0
- package/dist/stories/markdowneditor/LinkPopover.module.scss.js.map +1 -0
- package/{src/stories/markdowneditor/MarkdownEditor.tsx → dist/stories/markdowneditor/MarkdownEditor.d.ts} +5 -68
- package/dist/stories/markdowneditor/MarkdownEditor.js +62 -0
- package/dist/stories/markdowneditor/MarkdownEditor.js.map +1 -0
- package/dist/stories/markdowneditor/MarkdownEditor.module.css +325 -0
- package/dist/stories/markdowneditor/MarkdownEditor.module.scss.js +11 -0
- package/dist/stories/markdowneditor/MarkdownEditor.module.scss.js.map +1 -0
- package/dist/stories/markdowneditor/MarkdownEditorContext.d.ts +10 -0
- package/dist/stories/markdowneditor/MarkdownEditorContext.js +11 -0
- package/dist/stories/markdowneditor/MarkdownEditorContext.js.map +1 -0
- package/dist/stories/markdowneditor/ToolbarButton.d.ts +22 -0
- package/dist/stories/markdowneditor/ToolbarButton.js +33 -0
- package/dist/stories/markdowneditor/ToolbarButton.js.map +1 -0
- package/dist/stories/markdowneditor/ToolbarButton.module.css +30 -0
- package/dist/stories/markdowneditor/ToolbarButton.module.scss.js +7 -0
- package/dist/stories/markdowneditor/ToolbarButton.module.scss.js.map +1 -0
- package/dist/stories/markdowneditor/features.d.ts +10 -0
- package/dist/stories/markdowneditor/features.js +79 -0
- package/dist/stories/markdowneditor/features.js.map +1 -0
- package/dist/stories/markdowneditor/index.js +7 -0
- package/dist/stories/markdowneditor/index.js.map +1 -0
- package/dist/stories/markdowneditor/useMarkdownEditor.d.ts +19 -0
- package/dist/stories/markdowneditor/useMarkdownEditor.js +50 -0
- package/dist/stories/markdowneditor/useMarkdownEditor.js.map +1 -0
- package/dist/stories/menu/Menu.d.ts +48 -0
- package/dist/stories/menu/Menu.js +31 -0
- package/dist/stories/menu/Menu.js.map +1 -0
- package/dist/stories/menu/Menu.module.css +59 -0
- package/dist/stories/menu/Menu.module.scss.js +12 -0
- package/dist/stories/menu/Menu.module.scss.js.map +1 -0
- package/dist/stories/menu/index.js +2 -0
- package/dist/stories/menu/index.js.map +1 -0
- package/dist/stories/pagination/index.js +2 -0
- package/dist/stories/pagination/index.js.map +1 -0
- package/dist/stories/pagination/usePagination.d.ts +47 -0
- package/dist/stories/pagination/usePagination.js +52 -0
- package/dist/stories/pagination/usePagination.js.map +1 -0
- package/dist/stories/popover/Popover.d.ts +29 -0
- package/dist/stories/popover/Popover.js +56 -0
- package/dist/stories/popover/Popover.js.map +1 -0
- package/dist/stories/popover/Popover.module.css +20 -0
- package/dist/stories/popover/Popover.module.scss.js +8 -0
- package/dist/stories/popover/Popover.module.scss.js.map +1 -0
- package/dist/stories/popover/index.js +2 -0
- package/dist/stories/popover/index.js.map +1 -0
- package/dist/stories/select/Select.d.ts +112 -0
- package/dist/stories/select/Select.js +283 -0
- package/dist/stories/select/Select.js.map +1 -0
- package/dist/stories/select/Select.module.css +236 -0
- package/dist/stories/select/Select.module.scss.js +47 -0
- package/dist/stories/select/Select.module.scss.js.map +1 -0
- package/dist/stories/select/index.js +2 -0
- package/dist/stories/select/index.js.map +1 -0
- package/dist/stories/styledlink/StyledLink.d.ts +20 -0
- package/dist/stories/styledlink/StyledLink.js +15 -0
- package/dist/stories/styledlink/StyledLink.js.map +1 -0
- package/dist/stories/styledlink/StyledLink.module.css +10 -0
- package/dist/stories/styledlink/StyledLink.module.scss.js +7 -0
- package/dist/stories/styledlink/StyledLink.module.scss.js.map +1 -0
- package/dist/stories/styledlink/index.js +2 -0
- package/dist/stories/styledlink/index.js.map +1 -0
- package/dist/stories/table/Table.d.ts +76 -0
- package/dist/stories/table/Table.js +91 -0
- package/dist/stories/table/Table.js.map +1 -0
- package/dist/stories/table/Table.module.css +60 -0
- package/dist/stories/table/Table.module.scss.js +21 -0
- package/dist/stories/table/Table.module.scss.js.map +1 -0
- package/dist/stories/table/index.js +2 -0
- package/dist/stories/table/index.js.map +1 -0
- package/dist/stories/tabs/Tabs.d.ts +74 -0
- package/dist/stories/tabs/Tabs.js +128 -0
- package/dist/stories/tabs/Tabs.js.map +1 -0
- package/dist/stories/tabs/Tabs.module.css +144 -0
- package/dist/stories/tabs/Tabs.module.scss.js +37 -0
- package/dist/stories/tabs/Tabs.module.scss.js.map +1 -0
- package/dist/stories/tabs/index.js +2 -0
- package/dist/stories/tabs/index.js.map +1 -0
- package/dist/stories/tag/Tag.d.ts +36 -0
- package/dist/stories/tag/Tag.js +52 -0
- package/dist/stories/tag/Tag.js.map +1 -0
- package/dist/stories/tag/Tag.module.css +164 -0
- package/dist/stories/tag/Tag.module.scss.js +38 -0
- package/dist/stories/tag/Tag.module.scss.js.map +1 -0
- package/dist/stories/tag/index.js +2 -0
- package/dist/stories/tag/index.js.map +1 -0
- package/dist/stories/text/Text.d.ts +52 -0
- package/dist/stories/text/Text.js +37 -0
- package/dist/stories/text/Text.js.map +1 -0
- package/dist/stories/text/Text.module.css +54 -0
- package/dist/stories/text/Text.module.scss.js +19 -0
- package/dist/stories/text/Text.module.scss.js.map +1 -0
- package/{src → dist}/stories/text/Typography.module.css +20 -20
- package/dist/stories/text/Typography.module.css.js +45 -0
- package/dist/stories/text/Typography.module.css.js.map +1 -0
- package/dist/stories/text/index.js +2 -0
- package/dist/stories/text/index.js.map +1 -0
- package/dist/stories/textarea/TextArea.d.ts +28 -0
- package/dist/stories/textarea/TextArea.js +102 -0
- package/dist/stories/textarea/TextArea.js.map +1 -0
- package/dist/stories/textarea/index.js +2 -0
- package/dist/stories/textarea/index.js.map +1 -0
- package/{src/stories/theme/tw-preflight.css → dist/stories/theme/global.css} +86 -110
- package/dist/stories/theme/index.js +4 -0
- package/dist/stories/theme/index.js.map +1 -0
- package/dist/stories/theme/themes.d.ts +513 -0
- package/dist/stories/theme/themes.js +854 -0
- package/dist/stories/theme/themes.js.map +1 -0
- package/dist/stories/theme/tokens.d.ts +128 -0
- package/dist/stories/theme/tokens.js +130 -0
- package/dist/stories/theme/tokens.js.map +1 -0
- package/dist/stories/tilt/Tilt.d.ts +70 -0
- package/dist/stories/tilt/Tilt.js +256 -0
- package/dist/stories/tilt/Tilt.js.map +1 -0
- package/dist/stories/tilt/Tilt.module.css +22 -0
- package/dist/stories/tilt/Tilt.module.scss.js +11 -0
- package/dist/stories/tilt/Tilt.module.scss.js.map +1 -0
- package/dist/stories/tilt/index.js +2 -0
- package/dist/stories/tilt/index.js.map +1 -0
- package/{src/stories/toast/Toast.tsx → dist/stories/toast/Toast.d.ts} +3 -17
- package/dist/stories/toast/Toast.js +19 -0
- package/dist/stories/toast/Toast.js.map +1 -0
- package/dist/stories/toast/Toast.module.css +17 -0
- package/dist/stories/toast/Toast.module.scss.js +7 -0
- package/dist/stories/toast/Toast.module.scss.js.map +1 -0
- package/dist/stories/toast/index.js +3 -0
- package/dist/stories/toast/index.js.map +1 -0
- package/dist/stories/utility/EasingFunctions.d.ts +1 -0
- package/dist/stories/utility/EasingFunctions.js +6 -0
- package/dist/stories/utility/EasingFunctions.js.map +1 -0
- package/dist/stories/utility/RemoveFromDOM.d.ts +11 -0
- package/dist/stories/utility/RemoveFromDOM.js +7 -0
- package/dist/stories/utility/RemoveFromDOM.js.map +1 -0
- package/dist/stories/utility/TextWhenString.d.ts +6 -0
- package/dist/stories/utility/TextWhenString.js +13 -0
- package/dist/stories/utility/TextWhenString.js.map +1 -0
- package/dist/stories/utility/VisuallyHidden.d.ts +13 -0
- package/dist/stories/utility/VisuallyHidden.js +8 -0
- package/dist/stories/utility/VisuallyHidden.js.map +1 -0
- package/dist/stories/utility/index.js +5 -0
- package/dist/stories/utility/index.js.map +1 -0
- package/dist/styles.css +3307 -0
- package/dist/types/Enhancer.d.ts +4 -0
- package/package.json +148 -44
- package/src/helpers/OpenChangeEffect.tsx +0 -21
- package/src/helpers/renderEnhancer.tsx +0 -20
- package/src/helpers/useControllableState.test.ts +0 -88
- package/src/helpers/useControllableState.ts +0 -59
- package/src/helpers/useIsMounted.ts +0 -17
- package/src/helpers/useResizeObserver.ts +0 -94
- package/src/pages/_app.tsx +0 -6
- package/src/pages/_document.tsx +0 -13
- package/src/pages/index.tsx +0 -116
- package/src/stories/Pagination.mdx +0 -73
- package/src/stories/Tokens.mdx +0 -46
- package/src/stories/Welcome.mdx +0 -8
- package/src/stories/accordion/Accordion.module.scss +0 -163
- package/src/stories/accordion/Accordion.stories.ts +0 -48
- package/src/stories/accordion/Accordion.test.tsx +0 -142
- package/src/stories/accordion/Accordion.tsx +0 -148
- package/src/stories/accordionselect/AccordionSelect.module.scss +0 -119
- package/src/stories/accordionselect/AccordionSelect.stories.ts +0 -38
- package/src/stories/accordionselect/AccordionSelect.test.tsx +0 -327
- package/src/stories/accordionselect/AccordionSelect.tsx +0 -249
- package/src/stories/avatar/Avatar.module.scss +0 -7
- package/src/stories/avatar/Avatar.stories.ts +0 -22
- package/src/stories/avatar/Avatar.test.tsx +0 -77
- package/src/stories/avatar/Avatar.tsx +0 -55
- package/src/stories/button/Button.module.scss +0 -167
- package/src/stories/button/Button.stories.ts +0 -93
- package/src/stories/button/Button.test.tsx +0 -266
- package/src/stories/button/Button.tsx +0 -226
- package/src/stories/callout/Callout.module.scss +0 -43
- package/src/stories/callout/Callout.stories.ts +0 -52
- package/src/stories/callout/Callout.test.tsx +0 -79
- package/src/stories/callout/Callout.tsx +0 -43
- package/src/stories/card/Card.module.scss +0 -42
- package/src/stories/card/Card.stories.ts +0 -38
- package/src/stories/card/Card.test.tsx +0 -81
- package/src/stories/card/Card.tsx +0 -54
- package/src/stories/cardbutton/CardButton.module.scss +0 -88
- package/src/stories/cardbutton/CardButton.stories.tsx +0 -24
- package/src/stories/cardbutton/CardButton.test.tsx +0 -174
- package/src/stories/cardbutton/CardButton.tsx +0 -100
- package/src/stories/checkbox/Checkbox.module.scss +0 -198
- package/src/stories/checkbox/Checkbox.stories.ts +0 -87
- package/src/stories/checkbox/Checkbox.test.tsx +0 -584
- package/src/stories/checkbox/Checkbox.tsx +0 -123
- package/src/stories/codeinput/CodeInput.module.scss +0 -77
- package/src/stories/codeinput/CodeInput.stories.ts +0 -51
- package/src/stories/codeinput/CodeInput.test.tsx +0 -56
- package/src/stories/codeinput/CodeInput.tsx +0 -160
- package/src/stories/combobox/Combobox.module.scss +0 -5
- package/src/stories/combobox/Combobox.stories.ts +0 -270
- package/src/stories/combobox/Combobox.test.tsx +0 -275
- package/src/stories/combobox/Combobox.tsx +0 -396
- package/src/stories/dialog/Dialog.module.scss +0 -211
- package/src/stories/dialog/Dialog.stories.tsx +0 -93
- package/src/stories/dialog/Dialog.test.tsx +0 -244
- package/src/stories/dialog/Dialog.tsx +0 -283
- package/src/stories/drawer/Drawer.module.scss +0 -479
- package/src/stories/drawer/Drawer.stories.tsx +0 -494
- package/src/stories/drawer/Drawer.test.tsx +0 -734
- package/src/stories/drawer/Drawer.tsx +0 -542
- package/src/stories/drawer/DrawerActions.tsx +0 -28
- package/src/stories/drawer/DrawerBottomPanel.tsx +0 -55
- package/src/stories/drawer/DrawerContext.tsx +0 -31
- package/src/stories/drawer/DrawerPage.tsx +0 -37
- package/src/stories/drawer/DrawerPageContext.tsx +0 -35
- package/src/stories/drawer/DrawerPaginationContext.tsx +0 -22
- package/src/stories/drawer/DrawerProgressBar.tsx +0 -72
- package/src/stories/drawer/DrawerSlotContext.tsx +0 -172
- package/src/stories/drawer/DrawerTitle.tsx +0 -35
- package/src/stories/field/Field.stories.ts +0 -36
- package/src/stories/field/Field.test.tsx +0 -146
- package/src/stories/field/Field.tsx +0 -145
- package/src/stories/icon/ArrowRight.tsx +0 -11
- package/src/stories/icon/Check.tsx +0 -11
- package/src/stories/icon/ChevronLeft.tsx +0 -11
- package/src/stories/icon/ChevronRight.tsx +0 -11
- package/src/stories/icon/Close.tsx +0 -11
- package/src/stories/icon/Ellipsis.tsx +0 -11
- package/src/stories/icon/Icon.module.scss +0 -5
- package/src/stories/icon/Icon.stories.ts +0 -33
- package/src/stories/icon/Icon.test.tsx +0 -59
- package/src/stories/icon/Info.tsx +0 -11
- package/src/stories/icon/NotificationDot.tsx +0 -8
- package/src/stories/icon/Spinner.tsx +0 -17
- package/src/stories/informationaltooltip/InformationalTooltip.module.scss +0 -23
- package/src/stories/informationaltooltip/InformationalTooltip.stories.tsx +0 -61
- package/src/stories/informationaltooltip/InformationalTooltip.test.tsx +0 -178
- package/src/stories/informationaltooltip/InformationalTooltip.tsx +0 -170
- package/src/stories/input/Input.module.scss +0 -217
- package/src/stories/input/Input.stories.ts +0 -110
- package/src/stories/input/Input.test.tsx +0 -174
- package/src/stories/input/Input.tsx +0 -181
- package/src/stories/markdown/Markdown.module.scss +0 -384
- package/src/stories/markdown/Markdown.stories.ts +0 -203
- package/src/stories/markdown/Markdown.test.tsx +0 -228
- package/src/stories/markdown/Markdown.tsx +0 -293
- package/src/stories/markdowneditor/FixedToolbar.module.scss +0 -24
- package/src/stories/markdowneditor/FixedToolbar.tsx +0 -274
- package/src/stories/markdowneditor/FloatingToolbar.module.scss +0 -21
- package/src/stories/markdowneditor/FloatingToolbar.tsx +0 -94
- package/src/stories/markdowneditor/LinkPopover.module.scss +0 -124
- package/src/stories/markdowneditor/LinkPopover.tsx +0 -135
- package/src/stories/markdowneditor/MarkdownEditor.module.scss +0 -405
- package/src/stories/markdowneditor/MarkdownEditor.stories.tsx +0 -226
- package/src/stories/markdowneditor/MarkdownEditor.test.tsx +0 -115
- package/src/stories/markdowneditor/MarkdownEditorContext.tsx +0 -20
- package/src/stories/markdowneditor/ToolbarButton.module.scss +0 -35
- package/src/stories/markdowneditor/ToolbarButton.tsx +0 -52
- package/src/stories/markdowneditor/features.ts +0 -92
- package/src/stories/markdowneditor/useMarkdownEditor.ts +0 -75
- package/src/stories/menu/Menu.module.scss +0 -71
- package/src/stories/menu/Menu.stories.tsx +0 -37
- package/src/stories/menu/Menu.test.tsx +0 -254
- package/src/stories/menu/Menu.tsx +0 -95
- package/src/stories/pagination/usePagination.test.ts +0 -259
- package/src/stories/pagination/usePagination.ts +0 -117
- package/src/stories/popover/Popover.module.scss +0 -22
- package/src/stories/popover/Popover.stories.ts +0 -20
- package/src/stories/popover/Popover.test.tsx +0 -152
- package/src/stories/popover/Popover.tsx +0 -89
- package/src/stories/select/Select.module.scss +0 -311
- package/src/stories/select/Select.stories.ts +0 -153
- package/src/stories/select/Select.test.tsx +0 -341
- package/src/stories/select/Select.tsx +0 -398
- package/src/stories/styledlink/StyledLink.module.scss +0 -11
- package/src/stories/styledlink/StyledLink.stories.ts +0 -28
- package/src/stories/styledlink/StyledLink.test.tsx +0 -59
- package/src/stories/styledlink/StyledLink.tsx +0 -33
- package/src/stories/table/Table.module.scss +0 -74
- package/src/stories/table/Table.stories.ts +0 -62
- package/src/stories/table/Table.test.tsx +0 -156
- package/src/stories/table/Table.tsx +0 -182
- package/src/stories/tabs/Tabs.module.scss +0 -185
- package/src/stories/tabs/Tabs.stories.tsx +0 -209
- package/src/stories/tabs/Tabs.test.tsx +0 -167
- package/src/stories/tabs/Tabs.tsx +0 -191
- package/src/stories/tag/Tag.module.scss +0 -189
- package/src/stories/tag/Tag.stories.ts +0 -58
- package/src/stories/tag/Tag.test.tsx +0 -90
- package/src/stories/tag/Tag.tsx +0 -84
- package/src/stories/text/Text.module.scss +0 -39
- package/src/stories/text/Text.stories.ts +0 -195
- package/src/stories/text/Text.test.tsx +0 -81
- package/src/stories/text/Text.tsx +0 -108
- package/src/stories/textarea/TextArea.stories.ts +0 -39
- package/src/stories/textarea/TextArea.test.tsx +0 -147
- package/src/stories/textarea/TextArea.tsx +0 -112
- package/src/stories/theme/global.scss +0 -6
- package/src/stories/theme/themes.ts +0 -1509
- package/src/stories/theme/tokens.ts +0 -149
- package/src/stories/theme/util.scss +0 -8
- package/src/stories/tilt/Tilt.module.scss +0 -22
- package/src/stories/tilt/Tilt.stories.tsx +0 -42
- package/src/stories/tilt/Tilt.test.tsx +0 -203
- package/src/stories/tilt/Tilt.tsx +0 -375
- package/src/stories/toast/Toast.module.scss +0 -20
- package/src/stories/toast/Toast.stories.tsx +0 -31
- package/src/stories/toast/Toast.test.tsx +0 -86
- package/src/stories/utility/Dropdown.module.scss +0 -28
- package/src/stories/utility/EasingFunctions.ts +0 -3
- package/src/stories/utility/RemoveFromDOM.tsx +0 -15
- package/src/stories/utility/TextWhenString.tsx +0 -15
- package/src/stories/utility/Utility.test.tsx +0 -96
- package/src/stories/utility/VisuallyHidden.tsx +0 -18
- package/src/styles/Home.module.css +0 -268
- package/src/styles/globals.css +0 -3
- package/src/test/render.tsx +0 -20
- package/src/test/setup.ts +0 -32
- package/src/types/Enhancer.ts +0 -3
- /package/{src/stories/accordion/index.ts → dist/stories/accordion/index.d.ts} +0 -0
- /package/{src/stories/accordionselect/index.ts → dist/stories/accordionselect/index.d.ts} +0 -0
- /package/{src/stories/avatar/index.ts → dist/stories/avatar/index.d.ts} +0 -0
- /package/{src/stories/button/index.ts → dist/stories/button/index.d.ts} +0 -0
- /package/{src/stories/callout/index.ts → dist/stories/callout/index.d.ts} +0 -0
- /package/{src/stories/card/index.ts → dist/stories/card/index.d.ts} +0 -0
- /package/{src/stories/cardbutton/index.ts → dist/stories/cardbutton/index.d.ts} +0 -0
- /package/{src/stories/checkbox/index.ts → dist/stories/checkbox/index.d.ts} +0 -0
- /package/{src/stories/codeinput/index.ts → dist/stories/codeinput/index.d.ts} +0 -0
- /package/{src/stories/combobox/index.ts → dist/stories/combobox/index.d.ts} +0 -0
- /package/{src/stories/dialog/index.ts → dist/stories/dialog/index.d.ts} +0 -0
- /package/{src/stories/drawer/index.ts → dist/stories/drawer/index.d.ts} +0 -0
- /package/{src/stories/field/index.ts → dist/stories/field/index.d.ts} +0 -0
- /package/{src/stories/icon/index.ts → dist/stories/icon/index.d.ts} +0 -0
- /package/{src/stories/informationaltooltip/index.ts → dist/stories/informationaltooltip/index.d.ts} +0 -0
- /package/{src/stories/input/index.ts → dist/stories/input/index.d.ts} +0 -0
- /package/{src/stories/markdown/index.ts → dist/stories/markdown/index.d.ts} +0 -0
- /package/{src/stories/markdowneditor/index.ts → dist/stories/markdowneditor/index.d.ts} +0 -0
- /package/{src/stories/menu/index.ts → dist/stories/menu/index.d.ts} +0 -0
- /package/{src/stories/pagination/index.ts → dist/stories/pagination/index.d.ts} +0 -0
- /package/{src/stories/popover/index.ts → dist/stories/popover/index.d.ts} +0 -0
- /package/{src/stories/select/index.ts → dist/stories/select/index.d.ts} +0 -0
- /package/{src/stories/styledlink/index.ts → dist/stories/styledlink/index.d.ts} +0 -0
- /package/{src/stories/table/index.ts → dist/stories/table/index.d.ts} +0 -0
- /package/{src/stories/tabs/index.ts → dist/stories/tabs/index.d.ts} +0 -0
- /package/{src/stories/tag/index.ts → dist/stories/tag/index.d.ts} +0 -0
- /package/{src/stories/text/index.ts → dist/stories/text/index.d.ts} +0 -0
- /package/{src/stories/textarea/index.ts → dist/stories/textarea/index.d.ts} +0 -0
- /package/{src/stories/theme/index.ts → dist/stories/theme/index.d.ts} +0 -0
- /package/{src/stories/tilt/index.ts → dist/stories/tilt/index.d.ts} +0 -0
- /package/{src/stories/toast/index.ts → dist/stories/toast/index.d.ts} +0 -0
- /package/{src/stories/utility/index.ts → dist/stories/utility/index.d.ts} +0 -0
|
@@ -1,1509 +0,0 @@
|
|
|
1
|
-
import type { CSSColor, CSSLength, PixelSize } from '@ssh/csstypes';
|
|
2
|
-
import type { Property } from 'csstype';
|
|
3
|
-
import { createTheme } from 'pte';
|
|
4
|
-
import merge from 'ts-deepmerge';
|
|
5
|
-
import type { PartialDeep } from 'type-fest';
|
|
6
|
-
import type { TokensT } from './tokens';
|
|
7
|
-
import { Tokens as T } from './tokens';
|
|
8
|
-
|
|
9
|
-
export type FontDefinition = {
|
|
10
|
-
fontSize: CSSLength;
|
|
11
|
-
fontWeight: number | 'normal';
|
|
12
|
-
lineHeight: CSSLength;
|
|
13
|
-
fontStyle: 'normal' | 'italic';
|
|
14
|
-
letterSpacing: CSSLength | 'normal';
|
|
15
|
-
textTransform: Property.TextTransform;
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
export type FontClassDefinition = Omit<FontDefinition, 'fontSize' | 'lineHeight'>;
|
|
19
|
-
|
|
20
|
-
export type ShadowDefinition = `${PixelSize} ${PixelSize} ${PixelSize} ${PixelSize} ${CSSColor}` | 'none';
|
|
21
|
-
|
|
22
|
-
export type ShadowsType = {
|
|
23
|
-
shallowAbove: ShadowDefinition;
|
|
24
|
-
deepAbove: ShadowDefinition;
|
|
25
|
-
shallowBelow: ShadowDefinition;
|
|
26
|
-
deepBelow: ShadowDefinition;
|
|
27
|
-
shallowLeft: ShadowDefinition;
|
|
28
|
-
shallowRight: ShadowDefinition;
|
|
29
|
-
subtlePopup: ShadowDefinition;
|
|
30
|
-
shallowPopup: ShadowDefinition;
|
|
31
|
-
deepPopup: ShadowDefinition;
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
const Shadows: ShadowsType = {
|
|
35
|
-
shallowAbove: '0px -4px 20px 0px rgba(0, 0, 0, 0.2)',
|
|
36
|
-
deepAbove: '0px -8px 20px 0px rgba(0, 0, 0, 0.2)',
|
|
37
|
-
shallowBelow: '0px 4px 20px 0px rgba(0, 0, 0, 0.2)',
|
|
38
|
-
deepBelow: '0px 8px 20px 0px rgba(0, 0, 0, 0.2)',
|
|
39
|
-
shallowLeft: '-20px 0px 40px 0px rgba(0, 0, 0, 0.1)',
|
|
40
|
-
shallowRight: '20px 0px 40px 0px rgba(0, 0, 0, 0.1)',
|
|
41
|
-
subtlePopup: '0px 0px 10px 0px rgba(0, 0, 0, 0.1)',
|
|
42
|
-
shallowPopup: '0px 0px 30px 0px rgba(0, 0, 0, 0.2)',
|
|
43
|
-
deepPopup: '0px 0px 40px 0px rgba(0, 0, 0, 0.2)',
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
const ShadowsDark: ShadowsType = {
|
|
47
|
-
...Shadows,
|
|
48
|
-
deepBelow: '0px 20px 30px 10px rgba(0, 0, 0, 0.5)',
|
|
49
|
-
shallowLeft: '-20px 0px 60px 20px rgba(0, 0, 0, 0.25)',
|
|
50
|
-
shallowRight: '20px 0px 60px 20px rgba(0, 0, 0, 0.25)',
|
|
51
|
-
deepPopup: '0px 0px 40px 15px rgba(0, 0, 0, 0.35)',
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
export type GlowsType = {
|
|
55
|
-
glowSubtle1: ShadowDefinition;
|
|
56
|
-
glowSubtle2: ShadowDefinition;
|
|
57
|
-
glowSubtle3: ShadowDefinition;
|
|
58
|
-
glowDeep1: ShadowDefinition;
|
|
59
|
-
glowDeep2: ShadowDefinition;
|
|
60
|
-
glowDeep3: ShadowDefinition;
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
const Glows: GlowsType = {
|
|
64
|
-
glowSubtle1: '0px 0px 3px 0px rgba(29, 238, 205, 0.3)',
|
|
65
|
-
glowSubtle2: '0px 0px 6px 0px rgba(29, 238, 205, 0.2)',
|
|
66
|
-
glowSubtle3: '0px 0px 9px 0px rgba(29, 238, 205, 0.1)',
|
|
67
|
-
glowDeep1: '0px 0px 3px 1px rgba(29, 238, 205, 0.3)',
|
|
68
|
-
glowDeep2: '0px 0px 9px 3px rgba(29, 238, 205, 0.3)',
|
|
69
|
-
glowDeep3: '0px 0px 15px 0px rgba(29, 238, 205, 0.2)',
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
const GlowsDark: GlowsType = {
|
|
73
|
-
glowSubtle1: '0px 0px 3px 0px rgba(29, 238, 205, 0.15)',
|
|
74
|
-
glowSubtle2: '0px 0px 6px 0px rgba(29, 238, 205, 0.1)',
|
|
75
|
-
glowSubtle3: '0px 0px 9px 0px rgba(29, 238, 205, 0.05)',
|
|
76
|
-
glowDeep1: '0px 0px 3px 1px rgba(29, 238, 205, 0.15)',
|
|
77
|
-
glowDeep2: '0px 0px 9px 3px rgba(29, 238, 205, 0.15)',
|
|
78
|
-
glowDeep3: '0px 0px 12px 0px rgba(29, 238, 205, 0.1)',
|
|
79
|
-
};
|
|
80
|
-
|
|
81
|
-
export type TimingFunction =
|
|
82
|
-
| `cubic-bezier(${number}, ${number}, ${number}, ${number})`
|
|
83
|
-
| 'ease'
|
|
84
|
-
| 'ease-in'
|
|
85
|
-
| 'ease-out'
|
|
86
|
-
| 'ease-in-out'
|
|
87
|
-
| 'linear';
|
|
88
|
-
export type Duration = `${number}ms` | `${number}s`;
|
|
89
|
-
|
|
90
|
-
const TimingFunctions: Omit<Theme['animations']['timing'], 'default'> = {
|
|
91
|
-
easeInOut: 'cubic-bezier(0.42, 0.0, 0.58, 1.0)',
|
|
92
|
-
easeOut: 'cubic-bezier(0.0, 0.0, 0.58, 1.0)',
|
|
93
|
-
easeIn: 'cubic-bezier(0.42, 0.0, 1.0, 1.0)',
|
|
94
|
-
easeOutQuad: 'cubic-bezier(0.5, 1, 0.89, 1)',
|
|
95
|
-
easeInQuad: 'cubic-bezier(0.11, 0, 0.5, 0)',
|
|
96
|
-
easeInOutExpo: 'cubic-bezier(0.87, 0, 0.13, 1)',
|
|
97
|
-
};
|
|
98
|
-
|
|
99
|
-
export type Theme = {
|
|
100
|
-
new: {
|
|
101
|
-
tokens: TokensT['new'];
|
|
102
|
-
utils: {
|
|
103
|
-
defaultUserSelect: Property.UserSelect;
|
|
104
|
-
};
|
|
105
|
-
colors: {
|
|
106
|
-
// Content
|
|
107
|
-
contentPrimary: CSSColor;
|
|
108
|
-
contentSecondary: CSSColor;
|
|
109
|
-
contentTertiary: CSSColor;
|
|
110
|
-
contentDisabled: CSSColor;
|
|
111
|
-
contentAccent: CSSColor;
|
|
112
|
-
contentNegative: CSSColor;
|
|
113
|
-
contentWarning: CSSColor;
|
|
114
|
-
contentPositive: CSSColor;
|
|
115
|
-
contentLink: CSSColor;
|
|
116
|
-
|
|
117
|
-
// Content Inverse
|
|
118
|
-
contentInversePrimary: CSSColor;
|
|
119
|
-
contentInverseSecondary: CSSColor;
|
|
120
|
-
contentInverseTertiary: CSSColor;
|
|
121
|
-
contentInverseDisabled: CSSColor;
|
|
122
|
-
|
|
123
|
-
// Background
|
|
124
|
-
backgroundPrimary: CSSColor;
|
|
125
|
-
backgroundSecondary: CSSColor;
|
|
126
|
-
backgroundMobilePrimary: CSSColor;
|
|
127
|
-
backgroundMobileSecondary: CSSColor;
|
|
128
|
-
backgroundNegative: CSSColor;
|
|
129
|
-
backgroundNegativeMedium: CSSColor;
|
|
130
|
-
backgroundNegativeStrong: CSSColor;
|
|
131
|
-
backgroundWarning: CSSColor;
|
|
132
|
-
backgroundWarningMedium: CSSColor;
|
|
133
|
-
backgroundWarningStrong: CSSColor;
|
|
134
|
-
backgroundPositive: CSSColor;
|
|
135
|
-
backgroundPositiveMedium: CSSColor;
|
|
136
|
-
backgroundPositiveStrong: CSSColor;
|
|
137
|
-
backgroundAccent: CSSColor;
|
|
138
|
-
backgroundAccentMedium: CSSColor;
|
|
139
|
-
backgroundAccentStrong: CSSColor;
|
|
140
|
-
|
|
141
|
-
// Surface
|
|
142
|
-
surfacePrimary: CSSColor;
|
|
143
|
-
surfaceSecondary: CSSColor;
|
|
144
|
-
surfaceTertiary: CSSColor;
|
|
145
|
-
surfaceQuaternary: CSSColor;
|
|
146
|
-
|
|
147
|
-
// Border
|
|
148
|
-
borderSubtle: CSSColor;
|
|
149
|
-
borderMedium: CSSColor;
|
|
150
|
-
borderStrong: CSSColor;
|
|
151
|
-
borderUltrastrong: CSSColor;
|
|
152
|
-
|
|
153
|
-
// Button
|
|
154
|
-
buttonFill: CSSColor;
|
|
155
|
-
buttonFillHover: CSSColor;
|
|
156
|
-
buttonFillDisabled: CSSColor;
|
|
157
|
-
buttonFillHoverAlt: CSSColor;
|
|
158
|
-
buttonFillHoverNegative: CSSColor;
|
|
159
|
-
buttonBorder: CSSColor;
|
|
160
|
-
buttonBorderDisabled: CSSColor;
|
|
161
|
-
buttonBorderNegative: CSSColor;
|
|
162
|
-
|
|
163
|
-
// Input
|
|
164
|
-
inputFill: CSSColor;
|
|
165
|
-
inputFillFocus: CSSColor;
|
|
166
|
-
inputFillNegative: CSSColor;
|
|
167
|
-
inputFillDisabled: CSSColor;
|
|
168
|
-
inputBorderFocus: CSSColor;
|
|
169
|
-
inputBorderNegative: CSSColor;
|
|
170
|
-
|
|
171
|
-
// Overlay
|
|
172
|
-
overlaySubtle: CSSColor;
|
|
173
|
-
overlayMedium: CSSColor;
|
|
174
|
-
overlayStrong: CSSColor;
|
|
175
|
-
overlayInverseSubtle: CSSColor;
|
|
176
|
-
overlayInverseMedium: CSSColor;
|
|
177
|
-
overlayWhiteSubtle: CSSColor;
|
|
178
|
-
overlayWhiteMedium: CSSColor;
|
|
179
|
-
overlayWhiteStrong: CSSColor;
|
|
180
|
-
overlayWhiteUltrastrong: CSSColor;
|
|
181
|
-
overlayBlackSubtle: CSSColor;
|
|
182
|
-
overlayBlackMedium: CSSColor;
|
|
183
|
-
overlayBlackStrong: CSSColor;
|
|
184
|
-
overlayPageBackground: CSSColor;
|
|
185
|
-
overlayRed: CSSColor;
|
|
186
|
-
overlayTeal: CSSColor;
|
|
187
|
-
};
|
|
188
|
-
blurs: {
|
|
189
|
-
strong: string;
|
|
190
|
-
ultrastrong: string;
|
|
191
|
-
};
|
|
192
|
-
typography: {
|
|
193
|
-
fontFamily: string;
|
|
194
|
-
italicLetterSpacing: CSSLength;
|
|
195
|
-
verticalMetricsAdjust: CSSLength;
|
|
196
|
-
|
|
197
|
-
fontWeights: {
|
|
198
|
-
thin: number;
|
|
199
|
-
extralight: number;
|
|
200
|
-
light: number;
|
|
201
|
-
normal: number;
|
|
202
|
-
medium: number;
|
|
203
|
-
semibold: number;
|
|
204
|
-
bold: number;
|
|
205
|
-
extrabold: number;
|
|
206
|
-
black: number;
|
|
207
|
-
extrablack: number;
|
|
208
|
-
};
|
|
209
|
-
|
|
210
|
-
fontStyles: {
|
|
211
|
-
normal: string;
|
|
212
|
-
italic: string;
|
|
213
|
-
};
|
|
214
|
-
|
|
215
|
-
styles: {
|
|
216
|
-
// Display
|
|
217
|
-
|
|
218
|
-
displayLarge: FontDefinition;
|
|
219
|
-
displayMedium: FontDefinition;
|
|
220
|
-
display: FontDefinition;
|
|
221
|
-
displaySmall: FontDefinition;
|
|
222
|
-
|
|
223
|
-
// Heading
|
|
224
|
-
|
|
225
|
-
headingLarge: FontDefinition;
|
|
226
|
-
headingMedium: FontDefinition;
|
|
227
|
-
headingSmall: FontDefinition;
|
|
228
|
-
headingXSmall: FontDefinition;
|
|
229
|
-
headingXXSmall: FontDefinition;
|
|
230
|
-
|
|
231
|
-
// Label
|
|
232
|
-
|
|
233
|
-
labelXLarge: FontDefinition;
|
|
234
|
-
labelLarge: FontDefinition;
|
|
235
|
-
labelMedium: FontDefinition;
|
|
236
|
-
labelSmall: FontDefinition;
|
|
237
|
-
labelXSmall: FontDefinition;
|
|
238
|
-
labelXXSmall: FontDefinition;
|
|
239
|
-
|
|
240
|
-
// Paragraph
|
|
241
|
-
|
|
242
|
-
paragraphLarge: FontDefinition;
|
|
243
|
-
paragraphMedium: FontDefinition;
|
|
244
|
-
paragraphSmall: FontDefinition;
|
|
245
|
-
paragraphXSmall: FontDefinition;
|
|
246
|
-
paragraphXXSmall: FontDefinition;
|
|
247
|
-
};
|
|
248
|
-
};
|
|
249
|
-
lighting: {
|
|
250
|
-
shallowBelow: ShadowDefinition;
|
|
251
|
-
deepBelow: ShadowDefinition;
|
|
252
|
-
shallowAbove: ShadowDefinition;
|
|
253
|
-
deepAbove: ShadowDefinition;
|
|
254
|
-
shallowPopup: ShadowDefinition;
|
|
255
|
-
deepPopup: ShadowDefinition;
|
|
256
|
-
subtlePopup: ShadowDefinition;
|
|
257
|
-
shallowLeft: ShadowDefinition;
|
|
258
|
-
shallowRight: ShadowDefinition;
|
|
259
|
-
glowSubtle1: ShadowDefinition;
|
|
260
|
-
glowSubtle2: ShadowDefinition;
|
|
261
|
-
glowSubtle3: ShadowDefinition;
|
|
262
|
-
glowDeep1: ShadowDefinition;
|
|
263
|
-
glowDeep2: ShadowDefinition;
|
|
264
|
-
glowDeep3: ShadowDefinition;
|
|
265
|
-
};
|
|
266
|
-
materials: {
|
|
267
|
-
// Simple Materials
|
|
268
|
-
whiteThin: {
|
|
269
|
-
background: CSSColor;
|
|
270
|
-
};
|
|
271
|
-
whiteRegular: {
|
|
272
|
-
background: CSSColor;
|
|
273
|
-
};
|
|
274
|
-
whiteThick: {
|
|
275
|
-
background: CSSColor;
|
|
276
|
-
};
|
|
277
|
-
blackThin: {
|
|
278
|
-
background: CSSColor;
|
|
279
|
-
};
|
|
280
|
-
blackRegular: {
|
|
281
|
-
background: CSSColor;
|
|
282
|
-
};
|
|
283
|
-
blackThick: {
|
|
284
|
-
background: CSSColor;
|
|
285
|
-
};
|
|
286
|
-
|
|
287
|
-
// Multi-part Materials
|
|
288
|
-
lightGreyUltrathin: {
|
|
289
|
-
background: CSSColor;
|
|
290
|
-
backgroundBlend: CSSColor;
|
|
291
|
-
mixBlendMode: Property.MixBlendMode;
|
|
292
|
-
};
|
|
293
|
-
lightGreyThin: {
|
|
294
|
-
background: CSSColor;
|
|
295
|
-
backgroundBlend: CSSColor;
|
|
296
|
-
mixBlendMode: Property.MixBlendMode;
|
|
297
|
-
};
|
|
298
|
-
lightGreyRegular: {
|
|
299
|
-
background: CSSColor;
|
|
300
|
-
backgroundBlend: CSSColor;
|
|
301
|
-
mixBlendMode: Property.MixBlendMode;
|
|
302
|
-
};
|
|
303
|
-
lightGreyThick: {
|
|
304
|
-
background: CSSColor;
|
|
305
|
-
backgroundBlend: CSSColor;
|
|
306
|
-
mixBlendMode: Property.MixBlendMode;
|
|
307
|
-
};
|
|
308
|
-
darkGreyUltrathin: {
|
|
309
|
-
background: CSSColor;
|
|
310
|
-
backgroundBlend: CSSColor;
|
|
311
|
-
mixBlendMode: Property.MixBlendMode;
|
|
312
|
-
};
|
|
313
|
-
darkGreyThin: {
|
|
314
|
-
background: CSSColor;
|
|
315
|
-
backgroundBlend: CSSColor;
|
|
316
|
-
mixBlendMode: Property.MixBlendMode;
|
|
317
|
-
};
|
|
318
|
-
darkGreyRegular: {
|
|
319
|
-
background: CSSColor;
|
|
320
|
-
backgroundBlend: CSSColor;
|
|
321
|
-
mixBlendMode: Property.MixBlendMode;
|
|
322
|
-
};
|
|
323
|
-
darkGreyThick: {
|
|
324
|
-
background: CSSColor;
|
|
325
|
-
backgroundBlend: CSSColor;
|
|
326
|
-
mixBlendMode: Property.MixBlendMode;
|
|
327
|
-
};
|
|
328
|
-
greyUltrathin: {
|
|
329
|
-
background: CSSColor;
|
|
330
|
-
backgroundBlend: CSSColor;
|
|
331
|
-
mixBlendMode: Property.MixBlendMode;
|
|
332
|
-
};
|
|
333
|
-
greyThin: {
|
|
334
|
-
background: CSSColor;
|
|
335
|
-
backgroundBlend: CSSColor;
|
|
336
|
-
mixBlendMode: Property.MixBlendMode;
|
|
337
|
-
};
|
|
338
|
-
greyRegular: {
|
|
339
|
-
background: CSSColor;
|
|
340
|
-
backgroundBlend: CSSColor;
|
|
341
|
-
mixBlendMode: Property.MixBlendMode;
|
|
342
|
-
};
|
|
343
|
-
greyThick: {
|
|
344
|
-
background: CSSColor;
|
|
345
|
-
backgroundBlend: CSSColor;
|
|
346
|
-
mixBlendMode: Property.MixBlendMode;
|
|
347
|
-
};
|
|
348
|
-
|
|
349
|
-
// Material Variables
|
|
350
|
-
primaryThin: {
|
|
351
|
-
background: CSSColor;
|
|
352
|
-
};
|
|
353
|
-
primaryRegular: {
|
|
354
|
-
background: CSSColor;
|
|
355
|
-
};
|
|
356
|
-
primaryThick: {
|
|
357
|
-
background: CSSColor;
|
|
358
|
-
};
|
|
359
|
-
secondaryUltrathin: {
|
|
360
|
-
background: CSSColor;
|
|
361
|
-
backgroundBlend: CSSColor;
|
|
362
|
-
mixBlendMode: Property.MixBlendMode;
|
|
363
|
-
};
|
|
364
|
-
secondaryThin: {
|
|
365
|
-
background: CSSColor;
|
|
366
|
-
backgroundBlend: CSSColor;
|
|
367
|
-
mixBlendMode: Property.MixBlendMode;
|
|
368
|
-
};
|
|
369
|
-
secondaryRegular: {
|
|
370
|
-
background: CSSColor;
|
|
371
|
-
backgroundBlend: CSSColor;
|
|
372
|
-
mixBlendMode: Property.MixBlendMode;
|
|
373
|
-
};
|
|
374
|
-
secondaryThick: {
|
|
375
|
-
background: CSSColor;
|
|
376
|
-
backgroundBlend: CSSColor;
|
|
377
|
-
mixBlendMode: Property.MixBlendMode;
|
|
378
|
-
};
|
|
379
|
-
};
|
|
380
|
-
borders: {
|
|
381
|
-
// Border Radius
|
|
382
|
-
radius: {
|
|
383
|
-
pill: CSSLength;
|
|
384
|
-
circle: CSSLength;
|
|
385
|
-
rectangle: CSSLength;
|
|
386
|
-
rounded: CSSLength;
|
|
387
|
-
roundedSmall: CSSLength;
|
|
388
|
-
roundedMedium: CSSLength;
|
|
389
|
-
roundedLarge: CSSLength;
|
|
390
|
-
roundedXL: CSSLength;
|
|
391
|
-
};
|
|
392
|
-
|
|
393
|
-
// Dropdowns (Select, Menu, Popovers, etc.)
|
|
394
|
-
|
|
395
|
-
dropdown: {
|
|
396
|
-
color: CSSColor;
|
|
397
|
-
shadow: ShadowDefinition;
|
|
398
|
-
border: `${number}px ${string} ${CSSColor}` | 'none';
|
|
399
|
-
};
|
|
400
|
-
};
|
|
401
|
-
surfaces: {
|
|
402
|
-
dialog: {
|
|
403
|
-
border: `${number}px ${string} ${CSSColor}`;
|
|
404
|
-
outline: `${number}px ${string} ${CSSColor}`;
|
|
405
|
-
background: CSSColor;
|
|
406
|
-
backdropFilter: string;
|
|
407
|
-
};
|
|
408
|
-
};
|
|
409
|
-
animations: {
|
|
410
|
-
interaction: string;
|
|
411
|
-
timing: {
|
|
412
|
-
easeInOut: TimingFunction;
|
|
413
|
-
easeOut: TimingFunction;
|
|
414
|
-
easeIn: TimingFunction;
|
|
415
|
-
easeOutQuad: TimingFunction;
|
|
416
|
-
easeInQuad: TimingFunction;
|
|
417
|
-
easeInOutExpo: TimingFunction;
|
|
418
|
-
default: TimingFunction;
|
|
419
|
-
};
|
|
420
|
-
duration: {
|
|
421
|
-
rapid: Duration;
|
|
422
|
-
fast: Duration;
|
|
423
|
-
normal: Duration;
|
|
424
|
-
relaxed: Duration;
|
|
425
|
-
slow: Duration;
|
|
426
|
-
gradual: Duration;
|
|
427
|
-
};
|
|
428
|
-
};
|
|
429
|
-
breakpoints: {
|
|
430
|
-
sm: `${number}px`;
|
|
431
|
-
md: `${number}px`;
|
|
432
|
-
lg: `${number}px`;
|
|
433
|
-
xl: `${number}px`;
|
|
434
|
-
};
|
|
435
|
-
layers: {
|
|
436
|
-
below: number;
|
|
437
|
-
sticky: number;
|
|
438
|
-
overlay: number;
|
|
439
|
-
dropdown: number;
|
|
440
|
-
popover: number;
|
|
441
|
-
menu: number;
|
|
442
|
-
};
|
|
443
|
-
};
|
|
444
|
-
tokens: TokensT;
|
|
445
|
-
utils: {
|
|
446
|
-
defaultUserSelect: Property.UserSelect;
|
|
447
|
-
};
|
|
448
|
-
colors: {
|
|
449
|
-
// Primary
|
|
450
|
-
|
|
451
|
-
black: CSSColor;
|
|
452
|
-
white: CSSColor;
|
|
453
|
-
accent: CSSColor;
|
|
454
|
-
negative: CSSColor;
|
|
455
|
-
warning: CSSColor;
|
|
456
|
-
positive: CSSColor;
|
|
457
|
-
|
|
458
|
-
// Content
|
|
459
|
-
|
|
460
|
-
contentPrimary: CSSColor;
|
|
461
|
-
contentSecondary: CSSColor;
|
|
462
|
-
contentTertiary: CSSColor;
|
|
463
|
-
contentDisabled: CSSColor;
|
|
464
|
-
contentAccent: CSSColor;
|
|
465
|
-
contentNegative: CSSColor;
|
|
466
|
-
contentWarning: CSSColor;
|
|
467
|
-
contentPositive: CSSColor;
|
|
468
|
-
|
|
469
|
-
// Content Inverse
|
|
470
|
-
|
|
471
|
-
contentInversePrimary: CSSColor;
|
|
472
|
-
contentInverseSecondary: CSSColor;
|
|
473
|
-
contentInverseTertiary: CSSColor;
|
|
474
|
-
contentInverseDisabled: CSSColor;
|
|
475
|
-
|
|
476
|
-
// Background
|
|
477
|
-
|
|
478
|
-
backgroundSidebar: CSSColor;
|
|
479
|
-
backgroundPrimary: CSSColor;
|
|
480
|
-
backgroundSecondary: CSSColor;
|
|
481
|
-
backgroundTertiary: CSSColor;
|
|
482
|
-
backgroundAccent: CSSColor;
|
|
483
|
-
backgroundNegative: CSSColor;
|
|
484
|
-
backgroundWarning: CSSColor;
|
|
485
|
-
backgroundPositive: CSSColor;
|
|
486
|
-
|
|
487
|
-
// Background Inverse
|
|
488
|
-
|
|
489
|
-
backgroundInverseSidebar: CSSColor;
|
|
490
|
-
backgroundInversePrimary: CSSColor;
|
|
491
|
-
backgroundInverseSecondary: CSSColor;
|
|
492
|
-
backgroundInverseTertiary: CSSColor;
|
|
493
|
-
backgroundInverseNegative: CSSColor;
|
|
494
|
-
backgroundInverseWarning: CSSColor;
|
|
495
|
-
backgroundInversePositive: CSSColor;
|
|
496
|
-
|
|
497
|
-
// Background Overlays
|
|
498
|
-
|
|
499
|
-
backgroundOverlayLight: CSSColor;
|
|
500
|
-
backgroundOverlayXLight: CSSColor;
|
|
501
|
-
backgroundOverlayGrey: CSSColor;
|
|
502
|
-
backgroundOverlayDark: CSSColor;
|
|
503
|
-
backgroundOverlayTeal: CSSColor;
|
|
504
|
-
|
|
505
|
-
// Border
|
|
506
|
-
|
|
507
|
-
borderOpaque: CSSColor;
|
|
508
|
-
borderSelected: CSSColor;
|
|
509
|
-
borderAccent: CSSColor;
|
|
510
|
-
borderNegative: CSSColor;
|
|
511
|
-
borderWarning: CSSColor;
|
|
512
|
-
borderPositive: CSSColor;
|
|
513
|
-
|
|
514
|
-
// Border Inverse
|
|
515
|
-
|
|
516
|
-
borderInverseOpaque: CSSColor;
|
|
517
|
-
borderInverseSelected: CSSColor;
|
|
518
|
-
};
|
|
519
|
-
typography: {
|
|
520
|
-
fontFamily: string;
|
|
521
|
-
italicLetterSpacing: CSSLength;
|
|
522
|
-
verticalMetricsAdjust: CSSLength;
|
|
523
|
-
|
|
524
|
-
fontWeights: {
|
|
525
|
-
thin: number;
|
|
526
|
-
extralight: number;
|
|
527
|
-
light: number;
|
|
528
|
-
normal: number;
|
|
529
|
-
medium: number;
|
|
530
|
-
semibold: number;
|
|
531
|
-
bold: number;
|
|
532
|
-
extrabold: number;
|
|
533
|
-
black: number;
|
|
534
|
-
extrablack: number;
|
|
535
|
-
};
|
|
536
|
-
|
|
537
|
-
fontStyles: {
|
|
538
|
-
normal: string;
|
|
539
|
-
italic: string;
|
|
540
|
-
};
|
|
541
|
-
|
|
542
|
-
styles: {
|
|
543
|
-
// Display
|
|
544
|
-
|
|
545
|
-
displayLarge: FontDefinition;
|
|
546
|
-
displayMedium: FontDefinition;
|
|
547
|
-
display: FontDefinition;
|
|
548
|
-
displaySmall: FontDefinition;
|
|
549
|
-
|
|
550
|
-
// Heading
|
|
551
|
-
|
|
552
|
-
headingLarge: FontDefinition;
|
|
553
|
-
headingMedium: FontDefinition;
|
|
554
|
-
headingSmall: FontDefinition;
|
|
555
|
-
headingXSmall: FontDefinition;
|
|
556
|
-
headingXXSmall: FontDefinition;
|
|
557
|
-
|
|
558
|
-
// Label
|
|
559
|
-
|
|
560
|
-
labelXLarge: FontDefinition;
|
|
561
|
-
labelLarge: FontDefinition;
|
|
562
|
-
labelMedium: FontDefinition;
|
|
563
|
-
labelSmall: FontDefinition;
|
|
564
|
-
labelXSmall: FontDefinition;
|
|
565
|
-
labelXXSmall: FontDefinition;
|
|
566
|
-
|
|
567
|
-
// Paragraph
|
|
568
|
-
|
|
569
|
-
paragraphLarge: FontDefinition;
|
|
570
|
-
paragraphMedium: FontDefinition;
|
|
571
|
-
paragraphSmall: FontDefinition;
|
|
572
|
-
paragraphXSmall: FontDefinition;
|
|
573
|
-
paragraphXXSmall: FontDefinition;
|
|
574
|
-
};
|
|
575
|
-
};
|
|
576
|
-
lighting: {
|
|
577
|
-
shallowBelow: ShadowDefinition;
|
|
578
|
-
deepBelow: ShadowDefinition;
|
|
579
|
-
shallowAbove: ShadowDefinition;
|
|
580
|
-
deepAbove: ShadowDefinition;
|
|
581
|
-
shallowPopup: ShadowDefinition;
|
|
582
|
-
deepPopup: ShadowDefinition;
|
|
583
|
-
subtlePopup: ShadowDefinition;
|
|
584
|
-
shallowLeft: ShadowDefinition;
|
|
585
|
-
shallowRight: ShadowDefinition;
|
|
586
|
-
};
|
|
587
|
-
borders: {
|
|
588
|
-
// Border Radius
|
|
589
|
-
radius: {
|
|
590
|
-
pill: CSSLength;
|
|
591
|
-
circle: CSSLength;
|
|
592
|
-
rectangle: CSSLength;
|
|
593
|
-
rounded: CSSLength;
|
|
594
|
-
roundedSmall: CSSLength;
|
|
595
|
-
roundedLarge: CSSLength;
|
|
596
|
-
roundedXL: CSSLength;
|
|
597
|
-
};
|
|
598
|
-
|
|
599
|
-
// Dropdowns (Select, Menu, Popovers, etc.)
|
|
600
|
-
|
|
601
|
-
dropdown: {
|
|
602
|
-
color: CSSColor;
|
|
603
|
-
shadow: ShadowDefinition;
|
|
604
|
-
border: `${number}px ${string} ${CSSColor}` | 'none';
|
|
605
|
-
};
|
|
606
|
-
};
|
|
607
|
-
surfaces: {
|
|
608
|
-
dialog: {
|
|
609
|
-
border: `${number}px ${string} ${CSSColor}`;
|
|
610
|
-
outline: `${number}px ${string} ${CSSColor}`;
|
|
611
|
-
background: CSSColor;
|
|
612
|
-
backdropFilter: string;
|
|
613
|
-
};
|
|
614
|
-
};
|
|
615
|
-
animations: {
|
|
616
|
-
interaction: string;
|
|
617
|
-
timing: {
|
|
618
|
-
easeInOut: TimingFunction;
|
|
619
|
-
easeOut: TimingFunction;
|
|
620
|
-
easeIn: TimingFunction;
|
|
621
|
-
easeOutQuad: TimingFunction;
|
|
622
|
-
easeInQuad: TimingFunction;
|
|
623
|
-
easeInOutExpo: TimingFunction;
|
|
624
|
-
default: TimingFunction;
|
|
625
|
-
};
|
|
626
|
-
duration: {
|
|
627
|
-
rapid: Duration;
|
|
628
|
-
fast: Duration;
|
|
629
|
-
normal: Duration;
|
|
630
|
-
relaxed: Duration;
|
|
631
|
-
slow: Duration;
|
|
632
|
-
gradual: Duration;
|
|
633
|
-
};
|
|
634
|
-
};
|
|
635
|
-
breakpoints: {
|
|
636
|
-
sm: `${number}px`;
|
|
637
|
-
md: `${number}px`;
|
|
638
|
-
lg: `${number}px`;
|
|
639
|
-
xl: `${number}px`;
|
|
640
|
-
};
|
|
641
|
-
};
|
|
642
|
-
|
|
643
|
-
export type ThemeOverrides = PartialDeep<Theme>;
|
|
644
|
-
|
|
645
|
-
export const DisplayFontClass: FontClassDefinition = {
|
|
646
|
-
fontStyle: 'normal',
|
|
647
|
-
letterSpacing: '-0.01em',
|
|
648
|
-
fontWeight: 600,
|
|
649
|
-
textTransform: 'none',
|
|
650
|
-
};
|
|
651
|
-
|
|
652
|
-
export const HeadingFontClass: FontClassDefinition = {
|
|
653
|
-
fontStyle: 'normal',
|
|
654
|
-
letterSpacing: 'normal',
|
|
655
|
-
fontWeight: 600,
|
|
656
|
-
textTransform: 'none',
|
|
657
|
-
};
|
|
658
|
-
|
|
659
|
-
export const LabelFontClass: FontClassDefinition = {
|
|
660
|
-
fontStyle: 'normal',
|
|
661
|
-
letterSpacing: '0.1em',
|
|
662
|
-
fontWeight: 600,
|
|
663
|
-
textTransform: 'uppercase',
|
|
664
|
-
};
|
|
665
|
-
|
|
666
|
-
export const ParagraphFontClass: FontClassDefinition = {
|
|
667
|
-
fontStyle: 'normal',
|
|
668
|
-
letterSpacing: 'normal',
|
|
669
|
-
fontWeight: 400,
|
|
670
|
-
textTransform: 'none',
|
|
671
|
-
};
|
|
672
|
-
|
|
673
|
-
export const LightTheme: Theme = {
|
|
674
|
-
new: {
|
|
675
|
-
tokens: T.new,
|
|
676
|
-
utils: {
|
|
677
|
-
defaultUserSelect: 'none',
|
|
678
|
-
},
|
|
679
|
-
colors: {
|
|
680
|
-
// Content
|
|
681
|
-
contentPrimary: T.new.colors.grey2400,
|
|
682
|
-
contentSecondary: T.new.colors.grey1600,
|
|
683
|
-
contentTertiary: T.new.colors.grey1400,
|
|
684
|
-
contentDisabled: T.new.colors.grey1100,
|
|
685
|
-
contentAccent: T.new.colors.teal400,
|
|
686
|
-
contentNegative: T.new.colors.red400,
|
|
687
|
-
contentWarning: T.new.colors.yellow500,
|
|
688
|
-
contentPositive: T.new.colors.green400,
|
|
689
|
-
contentLink: T.new.colors.blue500,
|
|
690
|
-
|
|
691
|
-
// Content Inverse
|
|
692
|
-
contentInversePrimary: T.new.colors.white,
|
|
693
|
-
contentInverseSecondary: T.new.colors.grey600,
|
|
694
|
-
contentInverseTertiary: T.new.colors.grey1000,
|
|
695
|
-
contentInverseDisabled: T.new.colors.grey1400,
|
|
696
|
-
|
|
697
|
-
// Background
|
|
698
|
-
backgroundPrimary: T.new.colors.white,
|
|
699
|
-
backgroundSecondary: T.new.colors.grey100,
|
|
700
|
-
backgroundMobilePrimary: T.new.colors.white,
|
|
701
|
-
backgroundMobileSecondary: T.new.colors.grey100,
|
|
702
|
-
backgroundNegative: T.new.colors.red100,
|
|
703
|
-
backgroundNegativeMedium: T.new.colors.red200,
|
|
704
|
-
backgroundNegativeStrong: T.new.colors.red300,
|
|
705
|
-
backgroundWarning: T.new.colors.yellow100,
|
|
706
|
-
backgroundWarningMedium: T.new.colors.yellow200,
|
|
707
|
-
backgroundWarningStrong: T.new.colors.yellow300,
|
|
708
|
-
backgroundPositive: T.new.colors.green100,
|
|
709
|
-
backgroundPositiveMedium: T.new.colors.green200,
|
|
710
|
-
backgroundPositiveStrong: T.new.colors.green300,
|
|
711
|
-
backgroundAccent: T.new.colors.teal100,
|
|
712
|
-
backgroundAccentMedium: T.new.colors.teal200,
|
|
713
|
-
backgroundAccentStrong: T.new.colors.teal300,
|
|
714
|
-
|
|
715
|
-
// Surface
|
|
716
|
-
surfacePrimary: T.new.colors.white,
|
|
717
|
-
surfaceSecondary: T.new.colors.grey200,
|
|
718
|
-
surfaceTertiary: T.new.colors.grey400,
|
|
719
|
-
surfaceQuaternary: T.new.colors.grey100,
|
|
720
|
-
|
|
721
|
-
// Border
|
|
722
|
-
borderSubtle: T.new.colors.grey400,
|
|
723
|
-
borderMedium: T.new.colors.grey600,
|
|
724
|
-
borderStrong: T.new.colors.grey700,
|
|
725
|
-
borderUltrastrong: T.new.colors.grey1400,
|
|
726
|
-
|
|
727
|
-
// Button
|
|
728
|
-
buttonFill: T.new.colors.grey2400,
|
|
729
|
-
buttonFillHover: T.new.colors.grey1900,
|
|
730
|
-
buttonFillDisabled: T.new.colors.grey500,
|
|
731
|
-
buttonFillHoverAlt: T.new.colors.grey300,
|
|
732
|
-
buttonFillHoverNegative: T.new.colors.red100,
|
|
733
|
-
buttonBorder: T.new.colors.grey2400,
|
|
734
|
-
buttonBorderDisabled: T.new.colors.grey1000,
|
|
735
|
-
buttonBorderNegative: T.new.colors.red400,
|
|
736
|
-
|
|
737
|
-
// Input
|
|
738
|
-
inputFill: T.new.colors.grey300,
|
|
739
|
-
inputFillFocus: T.new.colors.grey400,
|
|
740
|
-
inputFillNegative: T.new.colors.red100,
|
|
741
|
-
inputFillDisabled: T.new.colors.grey200,
|
|
742
|
-
inputBorderFocus: T.new.colors.grey1400,
|
|
743
|
-
inputBorderNegative: T.new.colors.red400,
|
|
744
|
-
|
|
745
|
-
// Overlay
|
|
746
|
-
overlaySubtle: 'rgba(0, 0, 0, 0.02)',
|
|
747
|
-
overlayMedium: 'rgba(0, 0, 0, 0.03)',
|
|
748
|
-
overlayStrong: 'rgba(0, 0, 0, 0.05)',
|
|
749
|
-
overlayInverseSubtle: 'rgba(255, 255, 255, 0.02)',
|
|
750
|
-
overlayInverseMedium: 'rgba(255, 255, 255, 0.05)',
|
|
751
|
-
overlayWhiteSubtle: 'rgba(255, 255, 255, 0.04)',
|
|
752
|
-
overlayWhiteMedium: 'rgba(255, 255, 255, 0.09)',
|
|
753
|
-
overlayWhiteStrong: 'rgba(255, 255, 255, 0.11)',
|
|
754
|
-
overlayWhiteUltrastrong: 'rgba(255, 255, 255, 0.85)',
|
|
755
|
-
overlayBlackSubtle: 'rgba(0, 0, 0, 0.04)',
|
|
756
|
-
overlayBlackMedium: 'rgba(0, 0, 0, 0.07)',
|
|
757
|
-
overlayBlackStrong: 'rgba(0, 0, 0, 0.1)',
|
|
758
|
-
overlayPageBackground: 'rgba(60, 60, 60, 0.65)',
|
|
759
|
-
overlayRed: 'rgba(253, 77, 46, 0.07)',
|
|
760
|
-
overlayTeal: 'rgba(29, 238, 205, 0.1)',
|
|
761
|
-
},
|
|
762
|
-
blurs: {
|
|
763
|
-
strong: 'blur(17.5px)',
|
|
764
|
-
ultrastrong: 'blur(37.5px)',
|
|
765
|
-
},
|
|
766
|
-
typography: {
|
|
767
|
-
fontFamily: '"Graphik Web", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif',
|
|
768
|
-
italicLetterSpacing: '-0.01em',
|
|
769
|
-
verticalMetricsAdjust: '1px',
|
|
770
|
-
|
|
771
|
-
fontWeights: {
|
|
772
|
-
thin: 100,
|
|
773
|
-
extralight: 200,
|
|
774
|
-
light: 300,
|
|
775
|
-
normal: 400,
|
|
776
|
-
medium: 500,
|
|
777
|
-
semibold: 600,
|
|
778
|
-
bold: 700,
|
|
779
|
-
extrabold: 800,
|
|
780
|
-
black: 900,
|
|
781
|
-
extrablack: 950,
|
|
782
|
-
},
|
|
783
|
-
|
|
784
|
-
fontStyles: {
|
|
785
|
-
italic: 'italic',
|
|
786
|
-
normal: 'normal',
|
|
787
|
-
},
|
|
788
|
-
|
|
789
|
-
styles: {
|
|
790
|
-
// Display
|
|
791
|
-
|
|
792
|
-
displayLarge: {
|
|
793
|
-
...DisplayFontClass,
|
|
794
|
-
fontSize: '72px',
|
|
795
|
-
lineHeight: '86px',
|
|
796
|
-
},
|
|
797
|
-
displayMedium: {
|
|
798
|
-
...DisplayFontClass,
|
|
799
|
-
fontSize: '52px',
|
|
800
|
-
lineHeight: '62px',
|
|
801
|
-
},
|
|
802
|
-
display: {
|
|
803
|
-
...DisplayFontClass,
|
|
804
|
-
fontSize: '42px',
|
|
805
|
-
lineHeight: '50.4px',
|
|
806
|
-
},
|
|
807
|
-
displaySmall: {
|
|
808
|
-
...DisplayFontClass,
|
|
809
|
-
fontSize: '34px',
|
|
810
|
-
lineHeight: '41px',
|
|
811
|
-
},
|
|
812
|
-
|
|
813
|
-
// Heading
|
|
814
|
-
|
|
815
|
-
headingLarge: {
|
|
816
|
-
...HeadingFontClass,
|
|
817
|
-
fontSize: '32px',
|
|
818
|
-
lineHeight: '38px',
|
|
819
|
-
},
|
|
820
|
-
headingMedium: {
|
|
821
|
-
...HeadingFontClass,
|
|
822
|
-
fontSize: '28px',
|
|
823
|
-
lineHeight: '34px',
|
|
824
|
-
},
|
|
825
|
-
headingSmall: {
|
|
826
|
-
...HeadingFontClass,
|
|
827
|
-
fontSize: '24px',
|
|
828
|
-
lineHeight: '29px',
|
|
829
|
-
},
|
|
830
|
-
headingXSmall: {
|
|
831
|
-
...HeadingFontClass,
|
|
832
|
-
fontSize: '20px',
|
|
833
|
-
lineHeight: '24px',
|
|
834
|
-
},
|
|
835
|
-
headingXXSmall: {
|
|
836
|
-
...HeadingFontClass,
|
|
837
|
-
fontSize: '18px',
|
|
838
|
-
lineHeight: '22px',
|
|
839
|
-
},
|
|
840
|
-
|
|
841
|
-
// Label
|
|
842
|
-
|
|
843
|
-
labelXLarge: {
|
|
844
|
-
...LabelFontClass,
|
|
845
|
-
fontSize: '18px',
|
|
846
|
-
lineHeight: '22px',
|
|
847
|
-
},
|
|
848
|
-
labelLarge: {
|
|
849
|
-
...LabelFontClass,
|
|
850
|
-
fontSize: '16px',
|
|
851
|
-
lineHeight: '19px',
|
|
852
|
-
},
|
|
853
|
-
labelMedium: {
|
|
854
|
-
...LabelFontClass,
|
|
855
|
-
fontSize: '14px',
|
|
856
|
-
lineHeight: '17px',
|
|
857
|
-
},
|
|
858
|
-
labelSmall: {
|
|
859
|
-
...LabelFontClass,
|
|
860
|
-
fontSize: '12px',
|
|
861
|
-
lineHeight: '14px',
|
|
862
|
-
},
|
|
863
|
-
labelXSmall: {
|
|
864
|
-
...LabelFontClass,
|
|
865
|
-
fontSize: '10px',
|
|
866
|
-
lineHeight: '12px',
|
|
867
|
-
},
|
|
868
|
-
labelXXSmall: {
|
|
869
|
-
...LabelFontClass,
|
|
870
|
-
fontSize: '9px',
|
|
871
|
-
lineHeight: '10.8px',
|
|
872
|
-
},
|
|
873
|
-
|
|
874
|
-
// Paragraph
|
|
875
|
-
|
|
876
|
-
paragraphLarge: {
|
|
877
|
-
...ParagraphFontClass,
|
|
878
|
-
fontSize: '18px',
|
|
879
|
-
lineHeight: '150%',
|
|
880
|
-
},
|
|
881
|
-
paragraphMedium: {
|
|
882
|
-
...ParagraphFontClass,
|
|
883
|
-
fontSize: '16px',
|
|
884
|
-
lineHeight: '150%',
|
|
885
|
-
},
|
|
886
|
-
paragraphSmall: {
|
|
887
|
-
...ParagraphFontClass,
|
|
888
|
-
fontSize: '14px',
|
|
889
|
-
lineHeight: '150%',
|
|
890
|
-
},
|
|
891
|
-
paragraphXSmall: {
|
|
892
|
-
...ParagraphFontClass,
|
|
893
|
-
fontSize: '12px',
|
|
894
|
-
lineHeight: '150%',
|
|
895
|
-
},
|
|
896
|
-
paragraphXXSmall: {
|
|
897
|
-
...ParagraphFontClass,
|
|
898
|
-
fontSize: '10px',
|
|
899
|
-
lineHeight: '150%',
|
|
900
|
-
},
|
|
901
|
-
},
|
|
902
|
-
},
|
|
903
|
-
lighting: {
|
|
904
|
-
...Shadows,
|
|
905
|
-
...Glows,
|
|
906
|
-
},
|
|
907
|
-
materials: {
|
|
908
|
-
whiteThin: {
|
|
909
|
-
background: 'rgba(255, 255, 255, 0.5)',
|
|
910
|
-
},
|
|
911
|
-
whiteRegular: {
|
|
912
|
-
background: 'rgba(255, 255, 255, 0.85)',
|
|
913
|
-
},
|
|
914
|
-
whiteThick: {
|
|
915
|
-
background: 'rgba(255, 255, 255, 0.93)',
|
|
916
|
-
},
|
|
917
|
-
blackThin: {
|
|
918
|
-
background: 'rgba(0, 0, 0, 0.3)',
|
|
919
|
-
},
|
|
920
|
-
blackRegular: {
|
|
921
|
-
background: 'rgba(0, 0, 0, 0.75)',
|
|
922
|
-
},
|
|
923
|
-
blackThick: {
|
|
924
|
-
background: 'rgba(0, 0, 0, 0.85)',
|
|
925
|
-
},
|
|
926
|
-
|
|
927
|
-
lightGreyUltrathin: {
|
|
928
|
-
background: 'rgba(191, 191, 191, 0.44)',
|
|
929
|
-
backgroundBlend: '#303030',
|
|
930
|
-
mixBlendMode: 'color-dodge',
|
|
931
|
-
},
|
|
932
|
-
lightGreyThin: {
|
|
933
|
-
background: 'rgba(166, 166, 166, 0.70)',
|
|
934
|
-
backgroundBlend: '#3D3D3D',
|
|
935
|
-
mixBlendMode: 'color-dodge',
|
|
936
|
-
},
|
|
937
|
-
lightGreyRegular: {
|
|
938
|
-
background: 'rgba(179, 179, 179, 0.82)',
|
|
939
|
-
backgroundBlend: '#434343',
|
|
940
|
-
mixBlendMode: 'color-dodge',
|
|
941
|
-
},
|
|
942
|
-
lightGreyThick: {
|
|
943
|
-
background: 'rgba(153, 153, 153, 0.97)',
|
|
944
|
-
backgroundBlend: '#5F5F5F',
|
|
945
|
-
mixBlendMode: 'color-dodge',
|
|
946
|
-
},
|
|
947
|
-
darkGreyUltrathin: {
|
|
948
|
-
background: 'rgba(37, 37, 37, 0.55)',
|
|
949
|
-
backgroundBlend: '#9C9C9C',
|
|
950
|
-
mixBlendMode: 'overlay',
|
|
951
|
-
},
|
|
952
|
-
darkGreyThin: {
|
|
953
|
-
background: 'rgba(37, 37, 37, 0.70)',
|
|
954
|
-
backgroundBlend: '#9C9C9C',
|
|
955
|
-
mixBlendMode: 'overlay',
|
|
956
|
-
},
|
|
957
|
-
darkGreyRegular: {
|
|
958
|
-
background: 'rgba(37, 37, 37, 0.82)',
|
|
959
|
-
backgroundBlend: '#8C8C8C',
|
|
960
|
-
mixBlendMode: 'overlay',
|
|
961
|
-
},
|
|
962
|
-
darkGreyThick: {
|
|
963
|
-
background: 'rgba(37, 37, 37, 0.90)',
|
|
964
|
-
backgroundBlend: '#7C7C7C',
|
|
965
|
-
mixBlendMode: 'overlay',
|
|
966
|
-
},
|
|
967
|
-
greyUltrathin: {
|
|
968
|
-
background: 'rgba(37, 37, 37, 0.55)',
|
|
969
|
-
backgroundBlend: '#D2D2D2',
|
|
970
|
-
mixBlendMode: 'overlay',
|
|
971
|
-
},
|
|
972
|
-
greyThin: {
|
|
973
|
-
background: 'rgba(37, 37, 37, 0.70)',
|
|
974
|
-
backgroundBlend: '#CFCFCF',
|
|
975
|
-
mixBlendMode: 'overlay',
|
|
976
|
-
},
|
|
977
|
-
greyRegular: {
|
|
978
|
-
background: 'rgba(37, 37, 37, 0.82)',
|
|
979
|
-
backgroundBlend: '#BCBCBC',
|
|
980
|
-
mixBlendMode: 'overlay',
|
|
981
|
-
},
|
|
982
|
-
greyThick: {
|
|
983
|
-
background: 'rgba(37, 37, 37, 0.90)',
|
|
984
|
-
backgroundBlend: '#B6B6B6',
|
|
985
|
-
mixBlendMode: 'overlay',
|
|
986
|
-
},
|
|
987
|
-
|
|
988
|
-
primaryThin: {
|
|
989
|
-
background: 'rgba(255, 255, 255, 0.5)',
|
|
990
|
-
},
|
|
991
|
-
primaryRegular: {
|
|
992
|
-
background: 'rgba(255, 255, 255, 0.85)',
|
|
993
|
-
},
|
|
994
|
-
primaryThick: {
|
|
995
|
-
background: 'rgba(255, 255, 255, 0.93)',
|
|
996
|
-
},
|
|
997
|
-
secondaryUltrathin: {
|
|
998
|
-
background: 'rgba(191, 191, 191, 0.44)',
|
|
999
|
-
backgroundBlend: '#303030',
|
|
1000
|
-
mixBlendMode: 'color-dodge',
|
|
1001
|
-
},
|
|
1002
|
-
secondaryThin: {
|
|
1003
|
-
background: 'rgba(166, 166, 166, 0.70)',
|
|
1004
|
-
backgroundBlend: '#3D3D3D',
|
|
1005
|
-
mixBlendMode: 'color-dodge',
|
|
1006
|
-
},
|
|
1007
|
-
secondaryRegular: {
|
|
1008
|
-
background: 'rgba(179, 179, 179, 0.82)',
|
|
1009
|
-
backgroundBlend: '#434343',
|
|
1010
|
-
mixBlendMode: 'color-dodge',
|
|
1011
|
-
},
|
|
1012
|
-
secondaryThick: {
|
|
1013
|
-
background: 'rgba(153, 153, 153, 0.97)',
|
|
1014
|
-
backgroundBlend: '#5F5F5F',
|
|
1015
|
-
mixBlendMode: 'color-dodge',
|
|
1016
|
-
},
|
|
1017
|
-
},
|
|
1018
|
-
borders: {
|
|
1019
|
-
radius: {
|
|
1020
|
-
pill: '1000px',
|
|
1021
|
-
circle: '100%',
|
|
1022
|
-
rectangle: '0px',
|
|
1023
|
-
rounded: '8px',
|
|
1024
|
-
roundedSmall: '4px',
|
|
1025
|
-
roundedMedium: '6px',
|
|
1026
|
-
roundedLarge: '12px',
|
|
1027
|
-
roundedXL: '16px',
|
|
1028
|
-
},
|
|
1029
|
-
|
|
1030
|
-
dropdown: {
|
|
1031
|
-
shadow: Shadows.deepBelow,
|
|
1032
|
-
color: 'transparent',
|
|
1033
|
-
border: 'none',
|
|
1034
|
-
},
|
|
1035
|
-
},
|
|
1036
|
-
surfaces: {
|
|
1037
|
-
dialog: {
|
|
1038
|
-
border: '8px solid rgba(0, 0, 0, 0.2)',
|
|
1039
|
-
outline: '1px solid rgba(0, 0, 0, 0.25)',
|
|
1040
|
-
background: 'rgba(255, 255, 255, 0.9)',
|
|
1041
|
-
backdropFilter: 'blur(6px)',
|
|
1042
|
-
},
|
|
1043
|
-
},
|
|
1044
|
-
animations: {
|
|
1045
|
-
interaction: '200ms cubic-bezier(0.5, 1, 0.89, 1)',
|
|
1046
|
-
timing: {
|
|
1047
|
-
...TimingFunctions,
|
|
1048
|
-
default: TimingFunctions.easeOut,
|
|
1049
|
-
},
|
|
1050
|
-
duration: {
|
|
1051
|
-
rapid: '50ms',
|
|
1052
|
-
fast: '100ms',
|
|
1053
|
-
normal: '200ms',
|
|
1054
|
-
relaxed: '300ms',
|
|
1055
|
-
slow: '400ms',
|
|
1056
|
-
gradual: '600ms',
|
|
1057
|
-
},
|
|
1058
|
-
},
|
|
1059
|
-
breakpoints: {
|
|
1060
|
-
sm: '480px',
|
|
1061
|
-
md: '640px',
|
|
1062
|
-
lg: '768px',
|
|
1063
|
-
xl: '1024px',
|
|
1064
|
-
},
|
|
1065
|
-
layers: {
|
|
1066
|
-
below: -1,
|
|
1067
|
-
sticky: 100,
|
|
1068
|
-
overlay: 300,
|
|
1069
|
-
dropdown: 350,
|
|
1070
|
-
popover: 400,
|
|
1071
|
-
menu: 500,
|
|
1072
|
-
},
|
|
1073
|
-
},
|
|
1074
|
-
tokens: T,
|
|
1075
|
-
utils: {
|
|
1076
|
-
defaultUserSelect: 'none',
|
|
1077
|
-
},
|
|
1078
|
-
colors: {
|
|
1079
|
-
// Primary
|
|
1080
|
-
|
|
1081
|
-
black: T.colors.black,
|
|
1082
|
-
white: T.colors.white,
|
|
1083
|
-
accent: T.colors.teal,
|
|
1084
|
-
negative: T.colors.red,
|
|
1085
|
-
warning: T.colors.yellow,
|
|
1086
|
-
positive: T.colors.green,
|
|
1087
|
-
|
|
1088
|
-
// Content
|
|
1089
|
-
|
|
1090
|
-
contentPrimary: T.colors.grey1050,
|
|
1091
|
-
contentSecondary: T.colors.grey600,
|
|
1092
|
-
contentTertiary: T.colors.grey500,
|
|
1093
|
-
contentDisabled: T.colors.grey400,
|
|
1094
|
-
contentAccent: T.colors.teal400,
|
|
1095
|
-
contentNegative: T.colors.red400,
|
|
1096
|
-
contentWarning: T.colors.yellow400,
|
|
1097
|
-
contentPositive: T.colors.green400,
|
|
1098
|
-
|
|
1099
|
-
// Content Inverse
|
|
1100
|
-
|
|
1101
|
-
contentInversePrimary: T.colors.white,
|
|
1102
|
-
contentInverseSecondary: T.colors.grey200,
|
|
1103
|
-
contentInverseTertiary: T.colors.grey400,
|
|
1104
|
-
contentInverseDisabled: T.colors.grey500,
|
|
1105
|
-
|
|
1106
|
-
// Background
|
|
1107
|
-
|
|
1108
|
-
backgroundSidebar: T.colors.black,
|
|
1109
|
-
backgroundPrimary: T.colors.white,
|
|
1110
|
-
backgroundSecondary: T.colors.grey50,
|
|
1111
|
-
backgroundTertiary: T.colors.grey100,
|
|
1112
|
-
backgroundAccent: T.colors.teal100,
|
|
1113
|
-
backgroundNegative: T.colors.red100,
|
|
1114
|
-
backgroundWarning: T.colors.yellow100,
|
|
1115
|
-
backgroundPositive: T.colors.green100,
|
|
1116
|
-
|
|
1117
|
-
// Background Inverse
|
|
1118
|
-
|
|
1119
|
-
backgroundInverseSidebar: T.colors.grey1050,
|
|
1120
|
-
backgroundInversePrimary: T.colors.black,
|
|
1121
|
-
backgroundInverseSecondary: T.colors.grey900,
|
|
1122
|
-
backgroundInverseTertiary: T.colors.grey800,
|
|
1123
|
-
backgroundInverseNegative: T.colors.red700,
|
|
1124
|
-
backgroundInverseWarning: T.colors.yellow600,
|
|
1125
|
-
backgroundInversePositive: T.colors.green700,
|
|
1126
|
-
|
|
1127
|
-
// Background Overlays
|
|
1128
|
-
|
|
1129
|
-
backgroundOverlayLight: 'rgba(255, 255, 255, 0.07)',
|
|
1130
|
-
backgroundOverlayXLight: 'rgba(255, 255, 255, 0.1)',
|
|
1131
|
-
backgroundOverlayGrey: 'rgba(60, 60, 60, 0.65)',
|
|
1132
|
-
backgroundOverlayDark: 'rgba(0, 0, 0, 0.1)',
|
|
1133
|
-
backgroundOverlayTeal: 'rgba(29, 238, 205, 0.1)',
|
|
1134
|
-
|
|
1135
|
-
// Border
|
|
1136
|
-
|
|
1137
|
-
borderOpaque: T.colors.grey200,
|
|
1138
|
-
borderSelected: T.colors.grey500,
|
|
1139
|
-
borderAccent: T.colors.teal400,
|
|
1140
|
-
borderNegative: T.colors.red400,
|
|
1141
|
-
borderWarning: T.colors.yellow400,
|
|
1142
|
-
borderPositive: T.colors.green400,
|
|
1143
|
-
|
|
1144
|
-
// Border Inverse
|
|
1145
|
-
|
|
1146
|
-
borderInverseOpaque: T.colors.grey750,
|
|
1147
|
-
borderInverseSelected: T.colors.grey200,
|
|
1148
|
-
},
|
|
1149
|
-
typography: {
|
|
1150
|
-
fontFamily: '"Graphik Web", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif',
|
|
1151
|
-
italicLetterSpacing: '-0.01em',
|
|
1152
|
-
verticalMetricsAdjust: '1px',
|
|
1153
|
-
|
|
1154
|
-
fontWeights: {
|
|
1155
|
-
thin: 100,
|
|
1156
|
-
extralight: 200,
|
|
1157
|
-
light: 300,
|
|
1158
|
-
normal: 400,
|
|
1159
|
-
medium: 500,
|
|
1160
|
-
semibold: 600,
|
|
1161
|
-
bold: 700,
|
|
1162
|
-
extrabold: 800,
|
|
1163
|
-
black: 900,
|
|
1164
|
-
extrablack: 950,
|
|
1165
|
-
},
|
|
1166
|
-
|
|
1167
|
-
fontStyles: {
|
|
1168
|
-
italic: 'italic',
|
|
1169
|
-
normal: 'normal',
|
|
1170
|
-
},
|
|
1171
|
-
|
|
1172
|
-
styles: {
|
|
1173
|
-
// Display
|
|
1174
|
-
|
|
1175
|
-
displayLarge: {
|
|
1176
|
-
...DisplayFontClass,
|
|
1177
|
-
fontSize: '72px',
|
|
1178
|
-
lineHeight: '86px',
|
|
1179
|
-
},
|
|
1180
|
-
displayMedium: {
|
|
1181
|
-
...DisplayFontClass,
|
|
1182
|
-
fontSize: '52px',
|
|
1183
|
-
lineHeight: '62px',
|
|
1184
|
-
},
|
|
1185
|
-
display: {
|
|
1186
|
-
...DisplayFontClass,
|
|
1187
|
-
fontSize: '42px',
|
|
1188
|
-
lineHeight: '50.4px',
|
|
1189
|
-
},
|
|
1190
|
-
displaySmall: {
|
|
1191
|
-
...DisplayFontClass,
|
|
1192
|
-
fontSize: '34px',
|
|
1193
|
-
lineHeight: '41px',
|
|
1194
|
-
},
|
|
1195
|
-
|
|
1196
|
-
// Heading
|
|
1197
|
-
|
|
1198
|
-
headingLarge: {
|
|
1199
|
-
...HeadingFontClass,
|
|
1200
|
-
fontSize: '32px',
|
|
1201
|
-
lineHeight: '38px',
|
|
1202
|
-
},
|
|
1203
|
-
headingMedium: {
|
|
1204
|
-
...HeadingFontClass,
|
|
1205
|
-
fontSize: '28px',
|
|
1206
|
-
lineHeight: '34px',
|
|
1207
|
-
},
|
|
1208
|
-
headingSmall: {
|
|
1209
|
-
...HeadingFontClass,
|
|
1210
|
-
fontSize: '24px',
|
|
1211
|
-
lineHeight: '29px',
|
|
1212
|
-
},
|
|
1213
|
-
headingXSmall: {
|
|
1214
|
-
...HeadingFontClass,
|
|
1215
|
-
fontSize: '20px',
|
|
1216
|
-
lineHeight: '24px',
|
|
1217
|
-
},
|
|
1218
|
-
headingXXSmall: {
|
|
1219
|
-
...HeadingFontClass,
|
|
1220
|
-
fontSize: '18px',
|
|
1221
|
-
lineHeight: '22px',
|
|
1222
|
-
},
|
|
1223
|
-
|
|
1224
|
-
// Label
|
|
1225
|
-
|
|
1226
|
-
labelXLarge: {
|
|
1227
|
-
...LabelFontClass,
|
|
1228
|
-
fontSize: '18px',
|
|
1229
|
-
lineHeight: '22px',
|
|
1230
|
-
},
|
|
1231
|
-
labelLarge: {
|
|
1232
|
-
...LabelFontClass,
|
|
1233
|
-
fontSize: '16px',
|
|
1234
|
-
lineHeight: '19px',
|
|
1235
|
-
},
|
|
1236
|
-
labelMedium: {
|
|
1237
|
-
...LabelFontClass,
|
|
1238
|
-
fontSize: '14px',
|
|
1239
|
-
lineHeight: '17px',
|
|
1240
|
-
},
|
|
1241
|
-
labelSmall: {
|
|
1242
|
-
...LabelFontClass,
|
|
1243
|
-
fontSize: '12px',
|
|
1244
|
-
lineHeight: '14px',
|
|
1245
|
-
},
|
|
1246
|
-
labelXSmall: {
|
|
1247
|
-
...LabelFontClass,
|
|
1248
|
-
fontSize: '10px',
|
|
1249
|
-
lineHeight: '12px',
|
|
1250
|
-
},
|
|
1251
|
-
labelXXSmall: {
|
|
1252
|
-
...LabelFontClass,
|
|
1253
|
-
fontSize: '9px',
|
|
1254
|
-
lineHeight: '10.8px',
|
|
1255
|
-
},
|
|
1256
|
-
|
|
1257
|
-
// Paragraph
|
|
1258
|
-
|
|
1259
|
-
paragraphLarge: {
|
|
1260
|
-
...ParagraphFontClass,
|
|
1261
|
-
fontSize: '18px',
|
|
1262
|
-
lineHeight: '150%',
|
|
1263
|
-
},
|
|
1264
|
-
paragraphMedium: {
|
|
1265
|
-
...ParagraphFontClass,
|
|
1266
|
-
fontSize: '16px',
|
|
1267
|
-
lineHeight: '150%',
|
|
1268
|
-
},
|
|
1269
|
-
paragraphSmall: {
|
|
1270
|
-
...ParagraphFontClass,
|
|
1271
|
-
fontSize: '14px',
|
|
1272
|
-
lineHeight: '150%',
|
|
1273
|
-
},
|
|
1274
|
-
paragraphXSmall: {
|
|
1275
|
-
...ParagraphFontClass,
|
|
1276
|
-
fontSize: '12px',
|
|
1277
|
-
lineHeight: '150%',
|
|
1278
|
-
},
|
|
1279
|
-
paragraphXXSmall: {
|
|
1280
|
-
...ParagraphFontClass,
|
|
1281
|
-
fontSize: '10px',
|
|
1282
|
-
lineHeight: '150%',
|
|
1283
|
-
},
|
|
1284
|
-
},
|
|
1285
|
-
},
|
|
1286
|
-
lighting: {
|
|
1287
|
-
...Shadows,
|
|
1288
|
-
},
|
|
1289
|
-
borders: {
|
|
1290
|
-
radius: {
|
|
1291
|
-
pill: '1000px',
|
|
1292
|
-
circle: '100%',
|
|
1293
|
-
rectangle: '0px',
|
|
1294
|
-
rounded: '8px',
|
|
1295
|
-
roundedSmall: '4px',
|
|
1296
|
-
roundedLarge: '12px',
|
|
1297
|
-
roundedXL: '16px',
|
|
1298
|
-
},
|
|
1299
|
-
|
|
1300
|
-
dropdown: {
|
|
1301
|
-
shadow: Shadows.deepBelow,
|
|
1302
|
-
color: 'transparent',
|
|
1303
|
-
border: 'none',
|
|
1304
|
-
},
|
|
1305
|
-
},
|
|
1306
|
-
surfaces: {
|
|
1307
|
-
dialog: {
|
|
1308
|
-
border: '8px solid rgba(0, 0, 0, 0.2)',
|
|
1309
|
-
outline: '1px solid rgba(0, 0, 0, 0.25)',
|
|
1310
|
-
background: 'rgba(255, 255, 255, 0.9)',
|
|
1311
|
-
backdropFilter: 'blur(6px)',
|
|
1312
|
-
},
|
|
1313
|
-
},
|
|
1314
|
-
animations: {
|
|
1315
|
-
interaction: '200ms cubic-bezier(0.5, 1, 0.89, 1)',
|
|
1316
|
-
timing: {
|
|
1317
|
-
...TimingFunctions,
|
|
1318
|
-
default: TimingFunctions.easeOut,
|
|
1319
|
-
},
|
|
1320
|
-
duration: {
|
|
1321
|
-
rapid: '50ms',
|
|
1322
|
-
fast: '100ms',
|
|
1323
|
-
normal: '200ms',
|
|
1324
|
-
relaxed: '300ms',
|
|
1325
|
-
slow: '400ms',
|
|
1326
|
-
gradual: '600ms',
|
|
1327
|
-
},
|
|
1328
|
-
},
|
|
1329
|
-
breakpoints: {
|
|
1330
|
-
sm: '480px',
|
|
1331
|
-
md: '640px',
|
|
1332
|
-
lg: '768px',
|
|
1333
|
-
xl: '1024px',
|
|
1334
|
-
},
|
|
1335
|
-
};
|
|
1336
|
-
|
|
1337
|
-
export const DarkTheme: Theme = merge(LightTheme, {
|
|
1338
|
-
new: {
|
|
1339
|
-
colors: {
|
|
1340
|
-
// Content
|
|
1341
|
-
contentPrimary: T.new.colors.grey200,
|
|
1342
|
-
contentSecondary: T.new.colors.grey800,
|
|
1343
|
-
contentTertiary: T.new.colors.grey1000,
|
|
1344
|
-
contentDisabled: T.new.colors.grey1300,
|
|
1345
|
-
contentLink: T.new.colors.blue400,
|
|
1346
|
-
|
|
1347
|
-
contentInversePrimary: T.new.colors.grey2400,
|
|
1348
|
-
contentInverseSecondary: T.new.colors.grey1600,
|
|
1349
|
-
contentInverseTertiary: T.new.colors.grey1400,
|
|
1350
|
-
contentInverseDisabled: T.new.colors.grey1000,
|
|
1351
|
-
|
|
1352
|
-
// Background
|
|
1353
|
-
backgroundPrimary: T.new.colors.grey2400,
|
|
1354
|
-
backgroundSecondary: T.new.colors.grey2200,
|
|
1355
|
-
backgroundMobilePrimary: T.new.colors.black,
|
|
1356
|
-
backgroundMobileSecondary: T.new.colors.grey2300,
|
|
1357
|
-
backgroundNegative: T.new.colors.red800,
|
|
1358
|
-
backgroundNegativeMedium: T.new.colors.red700,
|
|
1359
|
-
backgroundNegativeStrong: T.new.colors.red600,
|
|
1360
|
-
backgroundWarning: T.new.colors.yellow800,
|
|
1361
|
-
backgroundWarningMedium: T.new.colors.yellow700,
|
|
1362
|
-
backgroundWarningStrong: T.new.colors.yellow600,
|
|
1363
|
-
backgroundPositive: T.new.colors.green800,
|
|
1364
|
-
backgroundPositiveMedium: T.new.colors.green700,
|
|
1365
|
-
backgroundPositiveStrong: T.new.colors.green600,
|
|
1366
|
-
backgroundAccent: T.new.colors.teal800,
|
|
1367
|
-
backgroundAccentMedium: T.new.colors.teal700,
|
|
1368
|
-
backgroundAccentStrong: T.new.colors.teal600,
|
|
1369
|
-
|
|
1370
|
-
// Surface
|
|
1371
|
-
surfacePrimary: T.new.colors.grey2000,
|
|
1372
|
-
surfaceSecondary: T.new.colors.grey2100,
|
|
1373
|
-
surfaceTertiary: T.new.colors.grey2200,
|
|
1374
|
-
surfaceQuaternary: T.new.colors.grey1900,
|
|
1375
|
-
|
|
1376
|
-
// Border
|
|
1377
|
-
borderSubtle: T.new.colors.grey2000,
|
|
1378
|
-
borderMedium: T.new.colors.grey1700,
|
|
1379
|
-
borderStrong: T.new.colors.grey1600,
|
|
1380
|
-
borderUltrastrong: T.new.colors.grey900,
|
|
1381
|
-
|
|
1382
|
-
// Button
|
|
1383
|
-
buttonFill: T.new.colors.grey200,
|
|
1384
|
-
buttonFillHover: T.new.colors.grey400,
|
|
1385
|
-
buttonFillDisabled: T.new.colors.grey1700,
|
|
1386
|
-
buttonFillHoverAlt: T.new.colors.grey2000,
|
|
1387
|
-
buttonFillHoverNegative: T.new.colors.red800,
|
|
1388
|
-
buttonBorder: T.new.colors.grey100,
|
|
1389
|
-
buttonBorderDisabled: T.new.colors.grey1400,
|
|
1390
|
-
buttonBorderNegative: T.new.colors.red400,
|
|
1391
|
-
|
|
1392
|
-
// Input
|
|
1393
|
-
inputFill: T.new.colors.grey2200,
|
|
1394
|
-
inputFillFocus: T.new.colors.grey2300,
|
|
1395
|
-
inputFillNegative: T.new.colors.red800,
|
|
1396
|
-
inputFillDisabled: T.new.colors.grey2100,
|
|
1397
|
-
inputBorderFocus: T.new.colors.grey900,
|
|
1398
|
-
|
|
1399
|
-
// Overlay
|
|
1400
|
-
overlaySubtle: 'rgba(255, 255, 255, 0.03)',
|
|
1401
|
-
overlayMedium: 'rgba(255, 255, 255, 0.07)',
|
|
1402
|
-
overlayStrong: 'rgba(255, 255, 255, 0.09)',
|
|
1403
|
-
overlayInverseSubtle: 'rgba(0, 0, 0, 0.02)',
|
|
1404
|
-
overlayInverseMedium: 'rgba(0, 0, 0, 0.05)',
|
|
1405
|
-
overlayWhiteUltrastrong: 'rgba(255, 255, 255, 0.18)',
|
|
1406
|
-
overlayBlackSubtle: 'rgba(0, 0, 0, 0.2)',
|
|
1407
|
-
overlayBlackMedium: 'rgba(0, 0, 0, 0.3)',
|
|
1408
|
-
overlayBlackStrong: 'rgba(0, 0, 0, 0.4)',
|
|
1409
|
-
overlayPageBackground: 'rgba(18, 18, 18, 0.75)',
|
|
1410
|
-
},
|
|
1411
|
-
lighting: {
|
|
1412
|
-
...ShadowsDark,
|
|
1413
|
-
...GlowsDark,
|
|
1414
|
-
},
|
|
1415
|
-
materials: {
|
|
1416
|
-
primaryThin: {
|
|
1417
|
-
background: 'rgba(0, 0, 0, 0.3)',
|
|
1418
|
-
},
|
|
1419
|
-
primaryRegular: {
|
|
1420
|
-
background: 'rgba(0, 0, 0, 0.75)',
|
|
1421
|
-
},
|
|
1422
|
-
primaryThick: {
|
|
1423
|
-
background: 'rgba(0, 0, 0, 0.85)',
|
|
1424
|
-
},
|
|
1425
|
-
secondaryUltrathin: {
|
|
1426
|
-
background: 'rgba(37, 37, 37, 0.55)',
|
|
1427
|
-
backgroundBlend: '#9C9C9C',
|
|
1428
|
-
mixBlendMode: 'overlay',
|
|
1429
|
-
},
|
|
1430
|
-
secondaryThin: {
|
|
1431
|
-
background: 'rgba(37, 37, 37, 0.70)',
|
|
1432
|
-
backgroundBlend: '#9C9C9C',
|
|
1433
|
-
mixBlendMode: 'overlay',
|
|
1434
|
-
},
|
|
1435
|
-
secondaryRegular: {
|
|
1436
|
-
background: 'rgba(37, 37, 37, 0.82)',
|
|
1437
|
-
backgroundBlend: '#8C8C8C',
|
|
1438
|
-
mixBlendMode: 'overlay',
|
|
1439
|
-
},
|
|
1440
|
-
secondaryThick: {
|
|
1441
|
-
background: 'rgba(37, 37, 37, 0.90)',
|
|
1442
|
-
backgroundBlend: '#7C7C7C',
|
|
1443
|
-
mixBlendMode: 'overlay',
|
|
1444
|
-
},
|
|
1445
|
-
},
|
|
1446
|
-
borders: {
|
|
1447
|
-
dropdown: {
|
|
1448
|
-
shadow: ShadowsDark.deepBelow,
|
|
1449
|
-
color: 'transparent',
|
|
1450
|
-
border: 'none',
|
|
1451
|
-
},
|
|
1452
|
-
},
|
|
1453
|
-
surfaces: {
|
|
1454
|
-
dialog: {
|
|
1455
|
-
border: '8px solid rgba(255, 255, 255, 0.2)',
|
|
1456
|
-
outline: '1px solid rgba(255, 255, 255, 0.25)',
|
|
1457
|
-
background: 'rgba(0, 0, 0, 0.6)',
|
|
1458
|
-
backdropFilter: 'blur(6px)',
|
|
1459
|
-
},
|
|
1460
|
-
},
|
|
1461
|
-
},
|
|
1462
|
-
colors: {
|
|
1463
|
-
// Reverse all inverse colors
|
|
1464
|
-
|
|
1465
|
-
contentPrimary: LightTheme.colors.contentInversePrimary,
|
|
1466
|
-
contentSecondary: LightTheme.colors.contentInverseSecondary,
|
|
1467
|
-
contentTertiary: LightTheme.colors.contentInverseTertiary,
|
|
1468
|
-
contentDisabled: LightTheme.colors.contentInverseDisabled,
|
|
1469
|
-
backgroundSidebar: LightTheme.colors.backgroundInverseSidebar,
|
|
1470
|
-
backgroundPrimary: LightTheme.colors.backgroundInversePrimary,
|
|
1471
|
-
backgroundSecondary: LightTheme.colors.backgroundInverseSecondary,
|
|
1472
|
-
backgroundTertiary: LightTheme.colors.backgroundInverseTertiary,
|
|
1473
|
-
backgroundNegative: LightTheme.colors.backgroundInverseNegative,
|
|
1474
|
-
backgroundWarning: LightTheme.colors.backgroundInverseWarning,
|
|
1475
|
-
backgroundPositive: LightTheme.colors.backgroundInversePositive,
|
|
1476
|
-
borderOpaque: LightTheme.colors.borderInverseOpaque,
|
|
1477
|
-
borderSelected: LightTheme.colors.borderInverseSelected,
|
|
1478
|
-
contentInversePrimary: LightTheme.colors.contentPrimary,
|
|
1479
|
-
contentInverseSecondary: LightTheme.colors.contentSecondary,
|
|
1480
|
-
contentInverseTertiary: LightTheme.colors.contentTertiary,
|
|
1481
|
-
contentInverseDisabled: LightTheme.colors.contentDisabled,
|
|
1482
|
-
backgroundInverseSidebar: LightTheme.colors.backgroundSidebar,
|
|
1483
|
-
backgroundInversePrimary: LightTheme.colors.backgroundPrimary,
|
|
1484
|
-
backgroundInverseSecondary: LightTheme.colors.backgroundSecondary,
|
|
1485
|
-
backgroundInverseTertiary: LightTheme.colors.backgroundTertiary,
|
|
1486
|
-
backgroundInverseNegative: LightTheme.colors.backgroundNegative,
|
|
1487
|
-
backgroundInverseWarning: LightTheme.colors.backgroundWarning,
|
|
1488
|
-
backgroundInversePositive: LightTheme.colors.backgroundPositive,
|
|
1489
|
-
borderInverseOpaque: LightTheme.colors.borderOpaque,
|
|
1490
|
-
borderInverseSelected: LightTheme.colors.borderSelected,
|
|
1491
|
-
},
|
|
1492
|
-
borders: {
|
|
1493
|
-
dropdown: {
|
|
1494
|
-
shadow: 'none',
|
|
1495
|
-
color: T.colors.grey600,
|
|
1496
|
-
border: `1px solid ${T.colors.grey600}`,
|
|
1497
|
-
},
|
|
1498
|
-
},
|
|
1499
|
-
surfaces: {
|
|
1500
|
-
dialog: {
|
|
1501
|
-
border: '8px solid rgba(255, 255, 255, 0.2)',
|
|
1502
|
-
outline: '1px solid rgba(255, 255, 255, 0.25)',
|
|
1503
|
-
background: 'rgba(0, 0, 0, 0.6)',
|
|
1504
|
-
backdropFilter: 'blur(6px)',
|
|
1505
|
-
},
|
|
1506
|
-
},
|
|
1507
|
-
} as PartialDeep<Theme>) as Theme;
|
|
1508
|
-
|
|
1509
|
-
export const { theme, pvar, pget, updateTheme, injectTheme, generateThemeInjection } = createTheme<Theme>(LightTheme);
|