@redis-ui/styles 15.1.0 → 16.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonStyles.js +71 -0
- package/dist/focus-indicator.js +14 -0
- package/dist/hooks/ThemeModeSwitching/SwitchableModeThemeProvider.js +14 -0
- package/dist/hooks/ThemeModeSwitching/ThemeModeSwitching.context.js +15 -0
- package/dist/hooks/ThemeModeSwitching/ThemeModeSwitching.types.js +5 -0
- package/dist/hooks/ThemeModeSwitching/index.js +4 -0
- package/dist/hooks/ThemeModeSwitching/useThemeModeSwitchingManager.js +86 -0
- package/dist/hooks/usePrefersReducedMotion.js +28 -0
- package/dist/hooks/useStorage.js +59 -0
- package/dist/hooks/useTheme.js +6 -0
- package/dist/index.js +12628 -13732
- package/dist/index.umd.cjs +29 -29
- package/dist/themes/index.js +9 -0
- package/dist/themes/themeDark/theme/components/actionIconButton.js +56 -0
- package/dist/themes/themeDark/theme/components/appBar.js +25 -0
- package/dist/themes/themeDark/theme/components/appSelectionMenu.js +46 -0
- package/dist/themes/themeDark/theme/components/autoComplete.js +7 -0
- package/dist/themes/themeDark/theme/components/badge.js +73 -0
- package/dist/themes/themeDark/theme/components/banner.js +14 -0
- package/dist/themes/themeDark/theme/components/boxSelectionGroup.js +49 -0
- package/dist/themes/themeDark/theme/components/breadcrumbs.js +28 -0
- package/dist/themes/themeDark/theme/components/button.js +185 -0
- package/dist/themes/themeDark/theme/components/buttonGroup.js +46 -0
- package/dist/themes/themeDark/theme/components/card.js +40 -0
- package/dist/themes/themeDark/theme/components/checkbox.js +67 -0
- package/dist/themes/themeDark/theme/components/chip.js +60 -0
- package/dist/themes/themeDark/theme/components/chipList.js +21 -0
- package/dist/themes/themeDark/theme/components/countryFlag.js +9 -0
- package/dist/themes/themeDark/theme/components/datePicker.js +67 -0
- package/dist/themes/themeDark/theme/components/drawer.js +28 -0
- package/dist/themes/themeDark/theme/components/filters.js +36 -0
- package/dist/themes/themeDark/theme/components/formField.js +17 -0
- package/dist/themes/themeDark/theme/components/highlightedIcon.js +42 -0
- package/dist/themes/themeDark/theme/components/icon.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/icon.js +14 -0
- package/dist/themes/themeDark/theme/components/iconButton.js +47 -0
- package/dist/themes/themeDark/theme/components/input.js +94 -0
- package/dist/themes/themeDark/theme/components/keyValueList.js +30 -0
- package/dist/themes/themeDark/theme/components/label.js +24 -0
- package/dist/themes/themeDark/theme/components/layouts.js +39 -0
- package/dist/themes/themeDark/theme/components/link.js +73 -0
- package/dist/themes/themeDark/theme/components/loader.js +29 -0
- package/dist/themes/themeDark/theme/components/menu.js +79 -0
- package/dist/themes/themeDark/theme/components/midBar.js +14 -0
- package/dist/themes/themeDark/theme/components/modal.js +31 -0
- package/dist/themes/themeDark/theme/components/moreInfoIcon.js +5 -0
- package/dist/themes/themeDark/theme/components/popover.js +16 -0
- package/dist/themes/themeDark/theme/components/popupCard.js +22 -0
- package/dist/themes/themeDark/theme/components/profileIcon.js +19 -0
- package/dist/themes/themeDark/theme/components/progressBar.js +57 -0
- package/dist/themes/themeDark/theme/components/radio.js +51 -0
- package/dist/themes/themeDark/theme/components/searchBar.js +23 -0
- package/dist/themes/themeDark/theme/components/section.js +48 -0
- package/dist/themes/themeDark/theme/components/select.js +103 -0
- package/dist/themes/themeDark/theme/components/semanticButton.js +203 -0
- package/dist/themes/themeDark/theme/components/semanticContainer.js +43 -0
- package/dist/themes/themeDark/theme/components/semanticIcon.js +11 -0
- package/dist/themes/themeDark/theme/components/sideBar.js +108 -0
- package/dist/themes/themeDark/theme/components/skeleton.js +30 -0
- package/dist/themes/themeDark/theme/components/slider.js +68 -0
- package/dist/themes/themeDark/theme/components/stepper.js +62 -0
- package/dist/themes/themeDark/theme/components/switch.js +55 -0
- package/dist/themes/themeDark/theme/components/table.js +91 -0
- package/dist/themes/themeDark/theme/components/tableHeading.js +26 -0
- package/dist/themes/themeDark/theme/components/tabs.js +89 -0
- package/dist/themes/themeDark/theme/components/textButton.js +195 -0
- package/dist/themes/themeDark/theme/components/themeModeSwitch.js +18 -0
- package/dist/themes/themeDark/theme/components/toast.js +9 -0
- package/dist/themes/themeDark/theme/components/toggleButton.js +59 -0
- package/dist/themes/themeDark/theme/components/tooltip.js +17 -0
- package/dist/themes/themeDark/theme/components/treeView.js +16 -0
- package/dist/themes/themeDark/theme/components/typography.js +79 -0
- package/dist/themes/themeDark/theme/components/windowBar.js +55 -0
- package/dist/themes/themeDark/theme/globals/body.js +9 -0
- package/dist/themes/themeDark/theme/globals/scrollbar.js +12 -0
- package/dist/themes/themeDark/theme.js +134 -0
- package/dist/themes/themeDark/tokens.js +200 -0
- package/dist/themes/themeDark2/theme/components/actionIconButton.js +56 -0
- package/dist/themes/themeDark2/theme/components/appBar.js +25 -0
- package/dist/themes/themeDark2/theme/components/appSelectionMenu.js +46 -0
- package/dist/themes/themeDark2/theme/components/autoComplete.js +7 -0
- package/dist/themes/themeDark2/theme/components/badge.js +73 -0
- package/dist/themes/themeDark2/theme/components/banner.js +14 -0
- package/dist/themes/themeDark2/theme/components/boxSelectionGroup.js +58 -0
- package/dist/themes/themeDark2/theme/components/breadcrumbs.js +28 -0
- package/dist/themes/themeDark2/theme/components/button.js +202 -0
- package/dist/themes/themeDark2/theme/components/buttonGroup.js +46 -0
- package/dist/themes/themeDark2/theme/components/card.js +40 -0
- package/dist/themes/themeDark2/theme/components/checkbox.js +67 -0
- package/dist/themes/themeDark2/theme/components/chip.js +60 -0
- package/dist/themes/themeDark2/theme/components/chipList.js +21 -0
- package/dist/themes/themeDark2/theme/components/countryFlag.js +9 -0
- package/dist/themes/themeDark2/theme/components/datePicker.js +67 -0
- package/dist/themes/themeDark2/theme/components/drawer.js +30 -0
- package/dist/themes/themeDark2/theme/components/filters.js +36 -0
- package/dist/themes/themeDark2/theme/components/formField.js +17 -0
- package/dist/themes/themeDark2/theme/components/highlightedIcon.js +42 -0
- package/dist/themes/themeDark2/theme/components/icon.d.ts +3 -0
- package/dist/themes/themeDark2/theme/components/icon.js +14 -0
- package/dist/themes/themeDark2/theme/components/iconButton.js +49 -0
- package/dist/themes/themeDark2/theme/components/input.js +97 -0
- package/dist/themes/themeDark2/theme/components/keyValueList.js +30 -0
- package/dist/themes/themeDark2/theme/components/label.js +24 -0
- package/dist/themes/themeDark2/theme/components/layouts.js +39 -0
- package/dist/themes/themeDark2/theme/components/link.js +72 -0
- package/dist/themes/themeDark2/theme/components/loader.js +30 -0
- package/dist/themes/themeDark2/theme/components/menu.js +79 -0
- package/dist/themes/themeDark2/theme/components/midBar.js +14 -0
- package/dist/themes/themeDark2/theme/components/modal.js +34 -0
- package/dist/themes/themeDark2/theme/components/moreInfoIcon.js +5 -0
- package/dist/themes/themeDark2/theme/components/popover.js +16 -0
- package/dist/themes/themeDark2/theme/components/popupCard.js +22 -0
- package/dist/themes/themeDark2/theme/components/profileIcon.js +39 -0
- package/dist/themes/themeDark2/theme/components/progressBar.js +57 -0
- package/dist/themes/themeDark2/theme/components/radio.js +51 -0
- package/dist/themes/themeDark2/theme/components/searchBar.js +25 -0
- package/dist/themes/themeDark2/theme/components/section.js +52 -0
- package/dist/themes/themeDark2/theme/components/select.js +104 -0
- package/dist/themes/themeDark2/theme/components/semanticButton.js +250 -0
- package/dist/themes/themeDark2/theme/components/semanticContainer.js +43 -0
- package/dist/themes/themeDark2/theme/components/semanticIcon.js +11 -0
- package/dist/themes/themeDark2/theme/components/sideBar.js +108 -0
- package/dist/themes/themeDark2/theme/components/skeleton.js +30 -0
- package/dist/themes/themeDark2/theme/components/slider.js +68 -0
- package/dist/themes/themeDark2/theme/components/stepper.js +62 -0
- package/dist/themes/themeDark2/theme/components/switch.js +55 -0
- package/dist/themes/themeDark2/theme/components/table.js +91 -0
- package/dist/themes/themeDark2/theme/components/tableHeading.js +26 -0
- package/dist/themes/themeDark2/theme/components/tabs.js +89 -0
- package/dist/themes/themeDark2/theme/components/textButton.js +202 -0
- package/dist/themes/themeDark2/theme/components/themeModeSwitch.js +18 -0
- package/dist/themes/themeDark2/theme/components/toast.js +9 -0
- package/dist/themes/themeDark2/theme/components/toggleButton.js +57 -0
- package/dist/themes/themeDark2/theme/components/tooltip.js +17 -0
- package/dist/themes/themeDark2/theme/components/treeView.js +16 -0
- package/dist/themes/themeDark2/theme/components/typography.js +79 -0
- package/dist/themes/themeDark2/theme/components/windowBar.js +55 -0
- package/dist/themes/themeDark2/theme/globals/body.js +9 -0
- package/dist/themes/themeDark2/theme/globals/scrollbar.js +12 -0
- package/dist/themes/themeDark2/theme.js +134 -0
- package/dist/themes/themeDark2/tokens.js +200 -0
- package/dist/themes/themeLight/theme/components/actionIconButton.js +56 -0
- package/dist/themes/themeLight/theme/components/appBar.js +25 -0
- package/dist/themes/themeLight/theme/components/appSelectionMenu.js +46 -0
- package/dist/themes/themeLight/theme/components/autoComplete.js +7 -0
- package/dist/themes/themeLight/theme/components/badge.js +73 -0
- package/dist/themes/themeLight/theme/components/banner.js +14 -0
- package/dist/themes/themeLight/theme/components/boxSelectionGroup.js +49 -0
- package/dist/themes/themeLight/theme/components/breadcrumbs.js +28 -0
- package/dist/themes/themeLight/theme/components/button.js +182 -0
- package/dist/themes/themeLight/theme/components/buttonGroup.js +46 -0
- package/dist/themes/themeLight/theme/components/card.js +40 -0
- package/dist/themes/themeLight/theme/components/checkbox.js +67 -0
- package/dist/themes/themeLight/theme/components/chip.js +60 -0
- package/dist/themes/themeLight/theme/components/chipList.js +21 -0
- package/dist/themes/themeLight/theme/components/countryFlag.js +9 -0
- package/dist/themes/themeLight/theme/components/datePicker.js +67 -0
- package/dist/themes/themeLight/theme/components/drawer.js +28 -0
- package/dist/themes/themeLight/theme/components/filters.js +36 -0
- package/dist/themes/themeLight/theme/components/formField.js +17 -0
- package/dist/themes/themeLight/theme/components/highlightedIcon.js +42 -0
- package/dist/themes/themeLight/theme/components/icon.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/icon.js +14 -0
- package/dist/themes/themeLight/theme/components/iconButton.js +47 -0
- package/dist/themes/themeLight/theme/components/input.js +94 -0
- package/dist/themes/themeLight/theme/components/keyValueList.js +30 -0
- package/dist/themes/themeLight/theme/components/label.js +24 -0
- package/dist/themes/themeLight/theme/components/layouts.js +39 -0
- package/dist/themes/themeLight/theme/components/link.js +74 -0
- package/dist/themes/themeLight/theme/components/loader.js +29 -0
- package/dist/themes/themeLight/theme/components/menu.js +79 -0
- package/dist/themes/themeLight/theme/components/midBar.js +14 -0
- package/dist/themes/themeLight/theme/components/modal.js +31 -0
- package/dist/themes/themeLight/theme/components/moreInfoIcon.js +5 -0
- package/dist/themes/themeLight/theme/components/popover.js +16 -0
- package/dist/themes/themeLight/theme/components/popupCard.js +22 -0
- package/dist/themes/themeLight/theme/components/profileIcon.js +39 -0
- package/dist/themes/themeLight/theme/components/progressBar.js +57 -0
- package/dist/themes/themeLight/theme/components/radio.js +51 -0
- package/dist/themes/themeLight/theme/components/searchBar.js +23 -0
- package/dist/themes/themeLight/theme/components/section.js +48 -0
- package/dist/themes/themeLight/theme/components/select.js +103 -0
- package/dist/themes/themeLight/theme/components/semanticButton.js +203 -0
- package/dist/themes/themeLight/theme/components/semanticContainer.js +43 -0
- package/dist/themes/themeLight/theme/components/semanticIcon.js +11 -0
- package/dist/themes/themeLight/theme/components/sideBar.js +108 -0
- package/dist/themes/themeLight/theme/components/skeleton.js +30 -0
- package/dist/themes/themeLight/theme/components/slider.js +68 -0
- package/dist/themes/themeLight/theme/components/stepper.js +62 -0
- package/dist/themes/themeLight/theme/components/switch.js +55 -0
- package/dist/themes/themeLight/theme/components/table.js +91 -0
- package/dist/themes/themeLight/theme/components/tableHeading.js +26 -0
- package/dist/themes/themeLight/theme/components/tabs.js +86 -0
- package/dist/themes/themeLight/theme/components/textButton.js +196 -0
- package/dist/themes/themeLight/theme/components/themeModeSwitch.js +18 -0
- package/dist/themes/themeLight/theme/components/toast.js +9 -0
- package/dist/themes/themeLight/theme/components/toggleButton.js +59 -0
- package/dist/themes/themeLight/theme/components/tooltip.js +17 -0
- package/dist/themes/themeLight/theme/components/treeView.js +16 -0
- package/dist/themes/themeLight/theme/components/typography.js +79 -0
- package/dist/themes/themeLight/theme/components/windowBar.js +55 -0
- package/dist/themes/themeLight/theme/globals/body.js +9 -0
- package/dist/themes/themeLight/theme/globals/scrollbar.js +12 -0
- package/dist/themes/themeLight/theme.js +134 -0
- package/dist/themes/themeLight/tokens.js +200 -0
- package/dist/themes/themeLight2/theme/components/actionIconButton.js +56 -0
- package/dist/themes/themeLight2/theme/components/appBar.js +25 -0
- package/dist/themes/themeLight2/theme/components/appSelectionMenu.js +46 -0
- package/dist/themes/themeLight2/theme/components/autoComplete.js +7 -0
- package/dist/themes/themeLight2/theme/components/badge.js +73 -0
- package/dist/themes/themeLight2/theme/components/banner.js +14 -0
- package/dist/themes/themeLight2/theme/components/boxSelectionGroup.js +58 -0
- package/dist/themes/themeLight2/theme/components/breadcrumbs.js +28 -0
- package/dist/themes/themeLight2/theme/components/button.js +202 -0
- package/dist/themes/themeLight2/theme/components/buttonGroup.js +46 -0
- package/dist/themes/themeLight2/theme/components/card.js +40 -0
- package/dist/themes/themeLight2/theme/components/checkbox.js +67 -0
- package/dist/themes/themeLight2/theme/components/chip.js +60 -0
- package/dist/themes/themeLight2/theme/components/chipList.js +21 -0
- package/dist/themes/themeLight2/theme/components/countryFlag.js +9 -0
- package/dist/themes/themeLight2/theme/components/datePicker.js +67 -0
- package/dist/themes/themeLight2/theme/components/drawer.js +30 -0
- package/dist/themes/themeLight2/theme/components/filters.js +36 -0
- package/dist/themes/themeLight2/theme/components/formField.js +17 -0
- package/dist/themes/themeLight2/theme/components/highlightedIcon.js +42 -0
- package/dist/themes/themeLight2/theme/components/icon.d.ts +3 -0
- package/dist/themes/themeLight2/theme/components/icon.js +14 -0
- package/dist/themes/themeLight2/theme/components/iconButton.js +49 -0
- package/dist/themes/themeLight2/theme/components/input.js +97 -0
- package/dist/themes/themeLight2/theme/components/keyValueList.js +30 -0
- package/dist/themes/themeLight2/theme/components/label.js +24 -0
- package/dist/themes/themeLight2/theme/components/layouts.js +39 -0
- package/dist/themes/themeLight2/theme/components/link.js +72 -0
- package/dist/themes/themeLight2/theme/components/loader.js +30 -0
- package/dist/themes/themeLight2/theme/components/menu.js +79 -0
- package/dist/themes/themeLight2/theme/components/midBar.js +14 -0
- package/dist/themes/themeLight2/theme/components/modal.js +34 -0
- package/dist/themes/themeLight2/theme/components/moreInfoIcon.js +5 -0
- package/dist/themes/themeLight2/theme/components/popover.js +16 -0
- package/dist/themes/themeLight2/theme/components/popupCard.js +22 -0
- package/dist/themes/themeLight2/theme/components/profileIcon.js +39 -0
- package/dist/themes/themeLight2/theme/components/progressBar.js +57 -0
- package/dist/themes/themeLight2/theme/components/radio.js +51 -0
- package/dist/themes/themeLight2/theme/components/searchBar.js +25 -0
- package/dist/themes/themeLight2/theme/components/section.js +52 -0
- package/dist/themes/themeLight2/theme/components/select.js +103 -0
- package/dist/themes/themeLight2/theme/components/semanticButton.js +250 -0
- package/dist/themes/themeLight2/theme/components/semanticContainer.js +43 -0
- package/dist/themes/themeLight2/theme/components/semanticIcon.js +11 -0
- package/dist/themes/themeLight2/theme/components/sideBar.js +108 -0
- package/dist/themes/themeLight2/theme/components/skeleton.js +30 -0
- package/dist/themes/themeLight2/theme/components/slider.js +68 -0
- package/dist/themes/themeLight2/theme/components/stepper.js +62 -0
- package/dist/themes/themeLight2/theme/components/switch.js +55 -0
- package/dist/themes/themeLight2/theme/components/table.js +91 -0
- package/dist/themes/themeLight2/theme/components/tableHeading.js +26 -0
- package/dist/themes/themeLight2/theme/components/tabs.js +86 -0
- package/dist/themes/themeLight2/theme/components/textButton.js +203 -0
- package/dist/themes/themeLight2/theme/components/themeModeSwitch.js +18 -0
- package/dist/themes/themeLight2/theme/components/toast.js +9 -0
- package/dist/themes/themeLight2/theme/components/toggleButton.js +57 -0
- package/dist/themes/themeLight2/theme/components/tooltip.js +17 -0
- package/dist/themes/themeLight2/theme/components/treeView.js +16 -0
- package/dist/themes/themeLight2/theme/components/typography.js +79 -0
- package/dist/themes/themeLight2/theme/components/windowBar.js +55 -0
- package/dist/themes/themeLight2/theme/globals/body.js +9 -0
- package/dist/themes/themeLight2/theme/globals/scrollbar.js +12 -0
- package/dist/themes/themeLight2/theme.js +134 -0
- package/dist/themes/themeLight2/tokens.js +200 -0
- package/dist/themes/types/index.js +3 -0
- package/dist/themes/types/theme/components/actionIconButton.types.js +1 -0
- package/dist/themes/types/theme/components/appBar.types.js +1 -0
- package/dist/themes/types/theme/components/appSelectionMenu.types.js +1 -0
- package/dist/themes/types/theme/components/autoComplete.types.js +1 -0
- package/dist/themes/types/theme/components/badge.types.js +1 -0
- package/dist/themes/types/theme/components/banner.types.js +1 -0
- package/dist/themes/types/theme/components/boxSelectionGroup.types.js +1 -0
- package/dist/themes/types/theme/components/breadcrumbs.types.js +1 -0
- package/dist/themes/types/theme/components/button.types.js +1 -0
- package/dist/themes/types/theme/components/buttonGroup.types.js +1 -0
- package/dist/themes/types/theme/components/card.types.d.ts +6 -3
- package/dist/themes/types/theme/components/card.types.js +10 -0
- package/dist/themes/types/theme/components/checkbox.types.js +1 -0
- package/dist/themes/types/theme/components/chip.types.js +1 -0
- package/dist/themes/types/theme/components/chipList.types.js +1 -0
- package/dist/themes/types/theme/components/countryFlag.types.js +1 -0
- package/dist/themes/types/theme/components/datePicker.types.js +1 -0
- package/dist/themes/types/theme/components/drawer.types.js +1 -0
- package/dist/themes/types/theme/components/filters.types.js +1 -0
- package/dist/themes/types/theme/components/formField.types.js +1 -0
- package/dist/themes/types/theme/components/global.types.js +1 -0
- package/dist/themes/types/theme/components/highlightedIcon.types.js +11 -0
- package/dist/themes/types/theme/components/icon.types.d.ts +5 -0
- package/dist/themes/types/theme/components/icon.types.js +10 -0
- package/dist/themes/types/theme/components/iconButton.types.js +1 -0
- package/dist/themes/types/theme/components/index.d.ts +1 -0
- package/dist/themes/types/theme/components/index.js +60 -0
- package/dist/themes/types/theme/components/input.types.js +1 -0
- package/dist/themes/types/theme/components/keyValueList.types.js +1 -0
- package/dist/themes/types/theme/components/label.types.js +1 -0
- package/dist/themes/types/theme/components/layouts.types.js +1 -0
- package/dist/themes/types/theme/components/link.types.js +1 -0
- package/dist/themes/types/theme/components/loader.types.js +1 -0
- package/dist/themes/types/theme/components/menu.types.js +1 -0
- package/dist/themes/types/theme/components/midBar.types.js +1 -0
- package/dist/themes/types/theme/components/modal.types.js +1 -0
- package/dist/themes/types/theme/components/moreInfoIcon.types.js +1 -0
- package/dist/themes/types/theme/components/popover.types.js +1 -0
- package/dist/themes/types/theme/components/popupCard.types.js +1 -0
- package/dist/themes/types/theme/components/profileIcon.types.js +1 -0
- package/dist/themes/types/theme/components/progressBar.types.js +1 -0
- package/dist/themes/types/theme/components/radio.types.js +1 -0
- package/dist/themes/types/theme/components/searchBar.types.js +1 -0
- package/dist/themes/types/theme/components/section.types.js +1 -0
- package/dist/themes/types/theme/components/select.types.js +1 -0
- package/dist/themes/types/theme/components/semanticButton.types.js +1 -0
- package/dist/themes/types/theme/components/semanticContainer.types.js +1 -0
- package/dist/themes/types/theme/components/semanticIcon.types.js +1 -0
- package/dist/themes/types/theme/components/sideBar.types.js +1 -0
- package/dist/themes/types/theme/components/skeleton.types.js +1 -0
- package/dist/themes/types/theme/components/slider.types.js +1 -0
- package/dist/themes/types/theme/components/stepper.types.js +1 -0
- package/dist/themes/types/theme/components/switch.types.js +1 -0
- package/dist/themes/types/theme/components/table.types.js +1 -0
- package/dist/themes/types/theme/components/tableHeading.types.js +1 -0
- package/dist/themes/types/theme/components/tabs.types.js +1 -0
- package/dist/themes/types/theme/components/textButton.types.js +1 -0
- package/dist/themes/types/theme/components/themeModeSwitch.types.js +1 -0
- package/dist/themes/types/theme/components/toast.types.js +1 -0
- package/dist/themes/types/theme/components/toggleButton.types.js +1 -0
- package/dist/themes/types/theme/components/tooltip.types.js +1 -0
- package/dist/themes/types/theme/components/treeView.types.js +1 -0
- package/dist/themes/types/theme/components/typography.types.js +1 -0
- package/dist/themes/types/theme/components/windowBar.types.js +1 -0
- package/dist/themes/types/theme/globals/body.types.js +1 -0
- package/dist/themes/types/theme/globals/index.js +2 -0
- package/dist/themes/types/theme/globals/scrollbar.types.js +1 -0
- package/dist/themes/types/theme/theme.types.d.ts +2 -1
- package/dist/themes/types/theme/theme.types.js +1 -0
- package/dist/themes/types/theme/themeCore.types.js +1 -0
- package/dist/themes/types/theme/tokens.types.js +1 -0
- package/dist/utils.js +76 -0
- package/package.json +4 -3
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const transparent = 'transparent';
|
|
3
|
+
const theme = {
|
|
4
|
+
layouts: {
|
|
5
|
+
block: {
|
|
6
|
+
sizes: {
|
|
7
|
+
medium: {
|
|
8
|
+
height: '2.6rem',
|
|
9
|
+
lineHeight: '1.9rem',
|
|
10
|
+
gap: '0.2rem',
|
|
11
|
+
padding: '0.4rem 0.6rem',
|
|
12
|
+
borderRadius: '0.4rem'
|
|
13
|
+
},
|
|
14
|
+
small: {
|
|
15
|
+
height: '2.4rem',
|
|
16
|
+
lineHeight: '1.9rem',
|
|
17
|
+
gap: '0.2rem',
|
|
18
|
+
padding: '0.4rem 0.6rem',
|
|
19
|
+
borderRadius: '0.4rem'
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
inline: {
|
|
24
|
+
sizes: {
|
|
25
|
+
medium: {
|
|
26
|
+
height: 'unset',
|
|
27
|
+
lineHeight: 'inherit',
|
|
28
|
+
gap: '0.2rem',
|
|
29
|
+
padding: '0',
|
|
30
|
+
borderRadius: '0'
|
|
31
|
+
},
|
|
32
|
+
small: {
|
|
33
|
+
height: 'unset',
|
|
34
|
+
lineHeight: 'inherit',
|
|
35
|
+
gap: '0.2rem',
|
|
36
|
+
padding: '0',
|
|
37
|
+
borderRadius: '0'
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
variants: {
|
|
43
|
+
primary: {
|
|
44
|
+
states: {
|
|
45
|
+
normal: {
|
|
46
|
+
bgColor: transparent,
|
|
47
|
+
textColor: tokens.semantic.color.text.primary400
|
|
48
|
+
},
|
|
49
|
+
hover: {
|
|
50
|
+
bgColor: tokens.semantic.color.background.primary0,
|
|
51
|
+
textColor: tokens.semantic.color.background.primary400
|
|
52
|
+
},
|
|
53
|
+
active: {
|
|
54
|
+
bgColor: tokens.semantic.color.background.primary50,
|
|
55
|
+
textColor: tokens.semantic.color.text.primary600
|
|
56
|
+
},
|
|
57
|
+
disabled: {
|
|
58
|
+
bgColor: transparent,
|
|
59
|
+
textColor: tokens.semantic.color.text.neutral400
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
destructive: {
|
|
64
|
+
states: {
|
|
65
|
+
normal: {
|
|
66
|
+
bgColor: transparent,
|
|
67
|
+
textColor: tokens.semantic.color.text.danger500
|
|
68
|
+
},
|
|
69
|
+
hover: {
|
|
70
|
+
bgColor: tokens.semantic.color.background.danger0,
|
|
71
|
+
textColor: tokens.semantic.color.text.danger500
|
|
72
|
+
},
|
|
73
|
+
active: {
|
|
74
|
+
bgColor: tokens.semantic.color.background.danger100,
|
|
75
|
+
textColor: tokens.semantic.color.text.danger600
|
|
76
|
+
},
|
|
77
|
+
disabled: {
|
|
78
|
+
bgColor: transparent,
|
|
79
|
+
textColor: tokens.semantic.color.text.neutral400
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
secondary: {
|
|
84
|
+
states: {
|
|
85
|
+
normal: {
|
|
86
|
+
bgColor: transparent,
|
|
87
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
88
|
+
},
|
|
89
|
+
hover: {
|
|
90
|
+
bgColor: tokens.semantic.color.background.secondary100,
|
|
91
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
92
|
+
},
|
|
93
|
+
active: {
|
|
94
|
+
bgColor: tokens.semantic.color.background.secondary200,
|
|
95
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
96
|
+
},
|
|
97
|
+
disabled: {
|
|
98
|
+
bgColor: transparent,
|
|
99
|
+
textColor: tokens.semantic.color.text.neutral400
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
'primary-inline': {
|
|
104
|
+
states: {
|
|
105
|
+
normal: {
|
|
106
|
+
bgColor: transparent,
|
|
107
|
+
textColor: tokens.semantic.color.text.primary400
|
|
108
|
+
},
|
|
109
|
+
hover: {
|
|
110
|
+
bgColor: transparent,
|
|
111
|
+
textColor: tokens.semantic.color.text.primary300
|
|
112
|
+
},
|
|
113
|
+
active: {
|
|
114
|
+
bgColor: transparent,
|
|
115
|
+
textColor: tokens.semantic.color.text.primary400
|
|
116
|
+
},
|
|
117
|
+
disabled: {
|
|
118
|
+
bgColor: transparent,
|
|
119
|
+
textColor: tokens.semantic.color.text.neutral400
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
'destructive-inline': {
|
|
124
|
+
states: {
|
|
125
|
+
normal: {
|
|
126
|
+
bgColor: transparent,
|
|
127
|
+
textColor: tokens.semantic.color.text.danger500
|
|
128
|
+
},
|
|
129
|
+
hover: {
|
|
130
|
+
bgColor: transparent,
|
|
131
|
+
textColor: tokens.semantic.color.text.danger400
|
|
132
|
+
},
|
|
133
|
+
active: {
|
|
134
|
+
bgColor: transparent,
|
|
135
|
+
textColor: tokens.semantic.color.text.danger600
|
|
136
|
+
},
|
|
137
|
+
disabled: {
|
|
138
|
+
bgColor: transparent,
|
|
139
|
+
textColor: tokens.semantic.color.text.neutral400
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
'secondary-inline': {
|
|
144
|
+
states: {
|
|
145
|
+
normal: {
|
|
146
|
+
bgColor: transparent,
|
|
147
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
148
|
+
},
|
|
149
|
+
hover: {
|
|
150
|
+
bgColor: transparent,
|
|
151
|
+
textColor: tokens.semantic.color.text.secondary800
|
|
152
|
+
},
|
|
153
|
+
active: {
|
|
154
|
+
bgColor: transparent,
|
|
155
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
156
|
+
},
|
|
157
|
+
disabled: {
|
|
158
|
+
bgColor: transparent,
|
|
159
|
+
textColor: tokens.semantic.color.text.neutral400
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
upsell: {
|
|
164
|
+
states: {
|
|
165
|
+
normal: {
|
|
166
|
+
bgColor: transparent,
|
|
167
|
+
textColor: tokens.semantic.color.text.discovery400
|
|
168
|
+
},
|
|
169
|
+
hover: {
|
|
170
|
+
bgColor: tokens.semantic.color.background.discovery0,
|
|
171
|
+
textColor: tokens.semantic.color.text.discovery500
|
|
172
|
+
},
|
|
173
|
+
active: {
|
|
174
|
+
bgColor: tokens.semantic.color.background.discovery50,
|
|
175
|
+
textColor: tokens.semantic.color.text.discovery600
|
|
176
|
+
},
|
|
177
|
+
disabled: {
|
|
178
|
+
bgColor: transparent,
|
|
179
|
+
textColor: tokens.semantic.color.text.neutral400
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
'upsell-inline': {
|
|
184
|
+
states: {
|
|
185
|
+
normal: {
|
|
186
|
+
bgColor: transparent,
|
|
187
|
+
textColor: tokens.semantic.color.text.discovery400
|
|
188
|
+
},
|
|
189
|
+
hover: {
|
|
190
|
+
textColor: tokens.semantic.color.text.discovery500
|
|
191
|
+
},
|
|
192
|
+
active: {
|
|
193
|
+
textColor: tokens.semantic.color.text.discovery600
|
|
194
|
+
},
|
|
195
|
+
disabled: {
|
|
196
|
+
bgColor: transparent,
|
|
197
|
+
textColor: tokens.semantic.color.text.neutral400
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
};
|
|
203
|
+
export default theme;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
import icon from '../assets/Sun.svg';
|
|
3
|
+
const theme = {
|
|
4
|
+
width: '3.6rem',
|
|
5
|
+
height: '2.2rem',
|
|
6
|
+
padding: '0.1rem',
|
|
7
|
+
borderRadius: '10rem',
|
|
8
|
+
borderWidth: '0.1rem',
|
|
9
|
+
borderColor: tokens.semantic.color.border.transparent,
|
|
10
|
+
bgColor: tokens.semantic.color.background.secondary200,
|
|
11
|
+
thumb: {
|
|
12
|
+
icon: `url("${icon}")`,
|
|
13
|
+
iconAspectRatio: '1/1',
|
|
14
|
+
borderRadius: '0',
|
|
15
|
+
bgColor: 'transparent'
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
export default theme;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const theme = {
|
|
2
|
+
width: 'clamp(400px, 33vw, 640px)',
|
|
3
|
+
padding: '12px max(12px, calc(20 * (100vw / 1920)))',
|
|
4
|
+
shadow: '0 1px 10px 0 rgba(0, 0, 0, 0.1), 0 2px 15px 0 rgba(0, 0, 0, 0.05)',
|
|
5
|
+
gap: '1.2rem',
|
|
6
|
+
actions: { gap: '0.8rem', inlineMargin: '2.4rem 0' },
|
|
7
|
+
toaster: { gap: '2rem' }
|
|
8
|
+
};
|
|
9
|
+
export default theme;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const transparent = 'transparent';
|
|
3
|
+
const theme = {
|
|
4
|
+
gap: '0.4rem',
|
|
5
|
+
height: '3rem',
|
|
6
|
+
lineHeight: '1.9rem',
|
|
7
|
+
padding: '0.4rem',
|
|
8
|
+
borderRadius: '0.5rem',
|
|
9
|
+
toggleStates: {
|
|
10
|
+
on: {
|
|
11
|
+
normal: {
|
|
12
|
+
bgColor: tokens.semantic.color.background.secondary200,
|
|
13
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
14
|
+
},
|
|
15
|
+
hover: {
|
|
16
|
+
bgColor: tokens.semantic.color.background.neutral100,
|
|
17
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
18
|
+
},
|
|
19
|
+
active: {
|
|
20
|
+
bgColor: transparent,
|
|
21
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
22
|
+
},
|
|
23
|
+
disabled: {
|
|
24
|
+
bgColor: transparent,
|
|
25
|
+
textColor: tokens.semantic.color.text.neutral400
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
off: {
|
|
29
|
+
normal: {
|
|
30
|
+
bgColor: transparent,
|
|
31
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
32
|
+
},
|
|
33
|
+
hover: {
|
|
34
|
+
bgColor: tokens.semantic.color.background.secondary100,
|
|
35
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
36
|
+
},
|
|
37
|
+
active: {
|
|
38
|
+
bgColor: tokens.semantic.color.background.secondary200,
|
|
39
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
40
|
+
},
|
|
41
|
+
disabled: {
|
|
42
|
+
bgColor: transparent,
|
|
43
|
+
textColor: tokens.semantic.color.text.neutral400
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
counter: {
|
|
48
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
49
|
+
textColor: tokens.semantic.color.text.secondary0,
|
|
50
|
+
disabledOpacity: '0.3',
|
|
51
|
+
padding: '0.1rem 0.4rem',
|
|
52
|
+
height: '2rem',
|
|
53
|
+
minWidth: '2rem',
|
|
54
|
+
borderRadius: '99rem'
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
export default theme;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
textColor: tokens.semantic.color.text.secondary950,
|
|
4
|
+
bgColor: tokens.semantic.color.background.secondary0,
|
|
5
|
+
shadow: tokens.core.shadow.shadow400,
|
|
6
|
+
borderRadius: '0.8rem',
|
|
7
|
+
minWidth: 'initial',
|
|
8
|
+
maxWidth: '30rem',
|
|
9
|
+
blockPadding: '1.6rem',
|
|
10
|
+
inlinePadding: '1.6rem',
|
|
11
|
+
arrow: {
|
|
12
|
+
width: '16px',
|
|
13
|
+
height: '8px',
|
|
14
|
+
shadow: 'rgba(0, 0, 0, 0.03) 0px 2px 1px'
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
export default theme;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
levelOffset: '1.8rem',
|
|
4
|
+
item: {
|
|
5
|
+
inlinePadding: '0.8rem 1.6rem',
|
|
6
|
+
blockPadding: '0.5rem',
|
|
7
|
+
checkboxGap: '0.8rem',
|
|
8
|
+
selectedBgColor: tokens.semantic.color.background.neutral400,
|
|
9
|
+
height: '3rem'
|
|
10
|
+
},
|
|
11
|
+
arrow: {
|
|
12
|
+
iconColor: tokens.semantic.color.icon.neutral800,
|
|
13
|
+
gap: '0.4rem'
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
export default theme;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
colors: {
|
|
4
|
+
primary: tokens.semantic.color.text.secondary950,
|
|
5
|
+
secondary: tokens.semantic.color.text.secondary600,
|
|
6
|
+
notice: tokens.semantic.color.text.notice500,
|
|
7
|
+
success: tokens.semantic.color.text.success500,
|
|
8
|
+
attention: tokens.semantic.color.text.attention500,
|
|
9
|
+
danger: tokens.semantic.color.text.danger500,
|
|
10
|
+
upsell: tokens.semantic.color.text.discovery500,
|
|
11
|
+
informative: tokens.semantic.color.text.informative500
|
|
12
|
+
},
|
|
13
|
+
heading: {
|
|
14
|
+
fontFamily: tokens.core.font.fontFamily.regular,
|
|
15
|
+
sizes: {
|
|
16
|
+
XXL: {
|
|
17
|
+
fontSize: tokens.core.font.fontSize.s40,
|
|
18
|
+
fontWeight: tokens.core.font.fontWeight.bold
|
|
19
|
+
},
|
|
20
|
+
XL: {
|
|
21
|
+
fontSize: tokens.core.font.fontSize.s28,
|
|
22
|
+
fontWeight: tokens.core.font.fontWeight.bold
|
|
23
|
+
},
|
|
24
|
+
L: {
|
|
25
|
+
fontSize: tokens.core.font.fontSize.s20,
|
|
26
|
+
fontWeight: tokens.core.font.fontWeight.semiBold
|
|
27
|
+
},
|
|
28
|
+
M: {
|
|
29
|
+
fontSize: tokens.core.font.fontSize.s18,
|
|
30
|
+
fontWeight: tokens.core.font.fontWeight.semiBold
|
|
31
|
+
},
|
|
32
|
+
S: {
|
|
33
|
+
fontSize: tokens.core.font.fontSize.s16,
|
|
34
|
+
fontWeight: tokens.core.font.fontWeight.semiBold
|
|
35
|
+
},
|
|
36
|
+
XS: {
|
|
37
|
+
fontSize: tokens.core.font.fontSize.s14,
|
|
38
|
+
fontWeight: tokens.core.font.fontWeight.semiBold
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
fontWeight: {
|
|
42
|
+
bold: tokens.core.font.fontWeight.bold,
|
|
43
|
+
semiBold: tokens.core.font.fontWeight.semiBold
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
body: {
|
|
47
|
+
fontFamily: tokens.core.font.fontFamily.regular,
|
|
48
|
+
fontSizes: {
|
|
49
|
+
XL: tokens.core.font.fontSize.s18,
|
|
50
|
+
L: tokens.core.font.fontSize.s16,
|
|
51
|
+
M: tokens.core.font.fontSize.s14,
|
|
52
|
+
S: tokens.core.font.fontSize.s12,
|
|
53
|
+
XS: tokens.core.font.fontSize.s10
|
|
54
|
+
},
|
|
55
|
+
fontWeight: {
|
|
56
|
+
regular: 'inherit',
|
|
57
|
+
semiBold: tokens.core.font.fontWeight.semiBold,
|
|
58
|
+
italic: 'inherit'
|
|
59
|
+
},
|
|
60
|
+
fontStyle: {
|
|
61
|
+
regular: 'inherit',
|
|
62
|
+
semiBold: 'inherit',
|
|
63
|
+
italic: 'italic'
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
code: {
|
|
67
|
+
fontFamily: tokens.core.font.fontFamily.sourceCodeProRegular,
|
|
68
|
+
fontSizes: {
|
|
69
|
+
L: tokens.core.font.fontSize.s14,
|
|
70
|
+
M: tokens.core.font.fontSize.s12,
|
|
71
|
+
S: tokens.core.font.fontSize.s10
|
|
72
|
+
},
|
|
73
|
+
fontWeight: {
|
|
74
|
+
regular: tokens.core.font.fontWeight.normal,
|
|
75
|
+
semiBold: tokens.core.font.fontWeight.semiBold
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
export default theme;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
gap: '1.6rem',
|
|
4
|
+
header: {
|
|
5
|
+
gap: '0.8rem'
|
|
6
|
+
},
|
|
7
|
+
variants: {
|
|
8
|
+
white: {
|
|
9
|
+
backgroundColor: tokens.semantic.color.background.neutral100,
|
|
10
|
+
color: tokens.semantic.color.text.neutral700,
|
|
11
|
+
borderColor: tokens.semantic.color.border.neutral400
|
|
12
|
+
},
|
|
13
|
+
light: {
|
|
14
|
+
backgroundColor: tokens.semantic.color.background.neutral200,
|
|
15
|
+
color: tokens.semantic.color.text.neutral700,
|
|
16
|
+
borderColor: tokens.semantic.color.border.neutral400
|
|
17
|
+
},
|
|
18
|
+
default: {
|
|
19
|
+
backgroundColor: tokens.semantic.color.background.neutral300,
|
|
20
|
+
color: tokens.semantic.color.text.neutral700,
|
|
21
|
+
borderColor: tokens.semantic.color.border.neutral500
|
|
22
|
+
},
|
|
23
|
+
informative: {
|
|
24
|
+
backgroundColor: tokens.semantic.color.background.informative50,
|
|
25
|
+
color: tokens.semantic.color.text.informative600,
|
|
26
|
+
borderColor: tokens.semantic.color.border.informative300
|
|
27
|
+
},
|
|
28
|
+
success: {
|
|
29
|
+
backgroundColor: tokens.semantic.color.background.success100,
|
|
30
|
+
color: tokens.semantic.color.text.success700,
|
|
31
|
+
borderColor: tokens.semantic.color.border.success300
|
|
32
|
+
},
|
|
33
|
+
notice: {
|
|
34
|
+
backgroundColor: tokens.semantic.color.background.notice100,
|
|
35
|
+
color: tokens.semantic.color.text.notice700,
|
|
36
|
+
borderColor: tokens.semantic.color.border.notice200
|
|
37
|
+
},
|
|
38
|
+
danger: {
|
|
39
|
+
backgroundColor: tokens.semantic.color.background.danger100,
|
|
40
|
+
color: tokens.semantic.color.text.danger700,
|
|
41
|
+
borderColor: tokens.semantic.color.border.danger200
|
|
42
|
+
},
|
|
43
|
+
attention: {
|
|
44
|
+
backgroundColor: tokens.semantic.color.background.attention100,
|
|
45
|
+
color: tokens.semantic.color.text.attention700,
|
|
46
|
+
borderColor: tokens.semantic.color.border.attention300
|
|
47
|
+
},
|
|
48
|
+
disabled: {
|
|
49
|
+
backgroundColor: tokens.semantic.color.background.neutral200,
|
|
50
|
+
color: tokens.semantic.color.text.neutral500,
|
|
51
|
+
borderColor: tokens.semantic.color.border.neutral300
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
export default theme;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
bgColor: tokens.semantic.color.background.secondary0,
|
|
4
|
+
textColor: tokens.semantic.color.background.secondary950,
|
|
5
|
+
fontFamily: tokens.core.font.fontFamily.regular,
|
|
6
|
+
fontSize: tokens.core.font.fontSize.s14,
|
|
7
|
+
lineHeight: '1.4'
|
|
8
|
+
};
|
|
9
|
+
export default theme;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
width: '0.5rem',
|
|
4
|
+
height: '0.5rem',
|
|
5
|
+
bgColor: tokens.semantic.color.background.secondary100,
|
|
6
|
+
padding: '0.1rem',
|
|
7
|
+
thumb: {
|
|
8
|
+
bgColor: tokens.semantic.color.background.secondary600,
|
|
9
|
+
borderRadius: '99rem'
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
export default theme;
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { tokens } from './tokens';
|
|
2
|
+
// components:
|
|
3
|
+
import actionIconButton from './theme/components/actionIconButton';
|
|
4
|
+
import appBar from './theme/components/appBar';
|
|
5
|
+
import appSelectionMenu from './theme/components/appSelectionMenu';
|
|
6
|
+
import autoComplete from './theme/components/autoComplete';
|
|
7
|
+
import badge from './theme/components/badge';
|
|
8
|
+
import banner from './theme/components/banner';
|
|
9
|
+
import boxSelectionGroup from './theme/components/boxSelectionGroup';
|
|
10
|
+
import breadcrumbs from './theme/components/breadcrumbs';
|
|
11
|
+
import button from './theme/components/button';
|
|
12
|
+
import buttonGroup from './theme/components/buttonGroup';
|
|
13
|
+
import card from './theme/components/card';
|
|
14
|
+
import checkbox from './theme/components/checkbox';
|
|
15
|
+
import chip from './theme/components/chip';
|
|
16
|
+
import chipList from './theme/components/chipList';
|
|
17
|
+
import countryFlag from './theme/components/countryFlag';
|
|
18
|
+
import datePicker from './theme/components/datePicker';
|
|
19
|
+
import drawer from './theme/components/drawer';
|
|
20
|
+
import filters from './theme/components/filters';
|
|
21
|
+
import formField from './theme/components/formField';
|
|
22
|
+
import highlightedIcon from './theme/components/highlightedIcon';
|
|
23
|
+
import icon from './theme/components/icon';
|
|
24
|
+
import iconButton from './theme/components/iconButton';
|
|
25
|
+
import input from './theme/components/input';
|
|
26
|
+
import keyValueList from './theme/components/keyValueList';
|
|
27
|
+
import label from './theme/components/label';
|
|
28
|
+
import layouts from './theme/components/layouts';
|
|
29
|
+
import link from './theme/components/link';
|
|
30
|
+
import loader from './theme/components/loader';
|
|
31
|
+
import menu from './theme/components/menu';
|
|
32
|
+
import midBar from './theme/components/midBar';
|
|
33
|
+
import modal from './theme/components/modal';
|
|
34
|
+
import moreInfoIcon from './theme/components/moreInfoIcon';
|
|
35
|
+
import popover from './theme/components/popover';
|
|
36
|
+
import popupCard from './theme/components/popupCard';
|
|
37
|
+
import profileIcon from './theme/components/profileIcon';
|
|
38
|
+
import progressBar from './theme/components/progressBar';
|
|
39
|
+
import radio from './theme/components/radio';
|
|
40
|
+
import searchBar from './theme/components/searchBar';
|
|
41
|
+
import section from './theme/components/section';
|
|
42
|
+
import select from './theme/components/select';
|
|
43
|
+
import semanticButton from './theme/components/semanticButton';
|
|
44
|
+
import semanticContainer from './theme/components/semanticContainer';
|
|
45
|
+
import semanticIcon from './theme/components/semanticIcon';
|
|
46
|
+
import sideBar from './theme/components/sideBar';
|
|
47
|
+
import skeleton from './theme/components/skeleton';
|
|
48
|
+
import slider from './theme/components/slider';
|
|
49
|
+
import stepper from './theme/components/stepper';
|
|
50
|
+
import switchButton from './theme/components/switch';
|
|
51
|
+
import table from './theme/components/table';
|
|
52
|
+
import tableHeading from './theme/components/tableHeading';
|
|
53
|
+
import tabs from './theme/components/tabs';
|
|
54
|
+
import textButton from './theme/components/textButton';
|
|
55
|
+
import themeModeSwitch from './theme/components/themeModeSwitch';
|
|
56
|
+
import toast from './theme/components/toast';
|
|
57
|
+
import toggleButton from './theme/components/toggleButton';
|
|
58
|
+
import tooltip from './theme/components/tooltip';
|
|
59
|
+
import treeView from './theme/components/treeView';
|
|
60
|
+
import typography from './theme/components/typography';
|
|
61
|
+
import windowBar from './theme/components/windowBar';
|
|
62
|
+
// globals:
|
|
63
|
+
import body from './theme/globals/body';
|
|
64
|
+
import scrollbar from './theme/globals/scrollbar';
|
|
65
|
+
export const theme = {
|
|
66
|
+
name: 'light-2',
|
|
67
|
+
mode: 'light',
|
|
68
|
+
...tokens,
|
|
69
|
+
components: {
|
|
70
|
+
actionIconButton,
|
|
71
|
+
appBar,
|
|
72
|
+
appSelectionMenu,
|
|
73
|
+
autoComplete,
|
|
74
|
+
badge,
|
|
75
|
+
banner,
|
|
76
|
+
boxSelectionGroup,
|
|
77
|
+
breadcrumbs,
|
|
78
|
+
button,
|
|
79
|
+
buttonGroup,
|
|
80
|
+
card,
|
|
81
|
+
checkbox,
|
|
82
|
+
chip,
|
|
83
|
+
chipList,
|
|
84
|
+
countryFlag,
|
|
85
|
+
datePicker,
|
|
86
|
+
drawer,
|
|
87
|
+
filters,
|
|
88
|
+
formField,
|
|
89
|
+
highlightedIcon,
|
|
90
|
+
icon,
|
|
91
|
+
iconButton,
|
|
92
|
+
input,
|
|
93
|
+
keyValueList,
|
|
94
|
+
label,
|
|
95
|
+
layouts,
|
|
96
|
+
link,
|
|
97
|
+
loader,
|
|
98
|
+
menu,
|
|
99
|
+
midBar,
|
|
100
|
+
modal,
|
|
101
|
+
moreInfoIcon,
|
|
102
|
+
popover,
|
|
103
|
+
popupCard,
|
|
104
|
+
profileIcon,
|
|
105
|
+
progressBar,
|
|
106
|
+
radio,
|
|
107
|
+
searchBar,
|
|
108
|
+
section,
|
|
109
|
+
select,
|
|
110
|
+
semanticButton,
|
|
111
|
+
semanticContainer,
|
|
112
|
+
semanticIcon,
|
|
113
|
+
sideBar,
|
|
114
|
+
skeleton,
|
|
115
|
+
slider,
|
|
116
|
+
stepper,
|
|
117
|
+
switchButton,
|
|
118
|
+
table,
|
|
119
|
+
tableHeading,
|
|
120
|
+
tabs,
|
|
121
|
+
textButton,
|
|
122
|
+
themeModeSwitch,
|
|
123
|
+
toast,
|
|
124
|
+
toggleButton,
|
|
125
|
+
tooltip,
|
|
126
|
+
treeView,
|
|
127
|
+
typography,
|
|
128
|
+
windowBar
|
|
129
|
+
},
|
|
130
|
+
globals: {
|
|
131
|
+
body,
|
|
132
|
+
scrollbar
|
|
133
|
+
}
|
|
134
|
+
};
|