@redis-ui/styles 15.0.0 → 16.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +12664 -14398
- package/dist/index.umd.cjs +29 -58
- 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 +6 -5
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
sizes: {
|
|
4
|
+
M: {
|
|
5
|
+
borderRadius: tokens.core.space.space100,
|
|
6
|
+
borderWidth: tokens.core.space.space010,
|
|
7
|
+
padding: `${tokens.core.space.space100} ${tokens.core.space.space150}`
|
|
8
|
+
},
|
|
9
|
+
S: {
|
|
10
|
+
borderRadius: tokens.core.space.space050,
|
|
11
|
+
borderWidth: tokens.core.space.space010,
|
|
12
|
+
padding: tokens.core.space.space100
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
variants: {
|
|
16
|
+
informative: {
|
|
17
|
+
bgColor: tokens.semantic.color.background.informative0,
|
|
18
|
+
textColor: tokens.semantic.color.text.informative800,
|
|
19
|
+
borderColor: tokens.semantic.color.border.informative300
|
|
20
|
+
},
|
|
21
|
+
success: {
|
|
22
|
+
bgColor: tokens.semantic.color.background.success0,
|
|
23
|
+
textColor: tokens.semantic.color.text.success800,
|
|
24
|
+
borderColor: tokens.semantic.color.border.success400
|
|
25
|
+
},
|
|
26
|
+
notice: {
|
|
27
|
+
bgColor: tokens.semantic.color.background.notice0,
|
|
28
|
+
textColor: tokens.semantic.color.text.notice700,
|
|
29
|
+
borderColor: tokens.semantic.color.border.notice300
|
|
30
|
+
},
|
|
31
|
+
danger: {
|
|
32
|
+
bgColor: tokens.semantic.color.background.danger0,
|
|
33
|
+
textColor: tokens.semantic.color.text.danger700,
|
|
34
|
+
borderColor: tokens.semantic.color.border.danger300
|
|
35
|
+
},
|
|
36
|
+
attention: {
|
|
37
|
+
bgColor: tokens.semantic.color.background.attention0,
|
|
38
|
+
textColor: tokens.semantic.color.text.attention700,
|
|
39
|
+
borderColor: tokens.semantic.color.border.attention300
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
export default theme;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
variants: {
|
|
4
|
+
informative: { iconColor: tokens.semantic.color.icon.informative600 },
|
|
5
|
+
danger: { iconColor: tokens.semantic.color.icon.danger600 },
|
|
6
|
+
attention: { iconColor: tokens.semantic.color.icon.attention600 },
|
|
7
|
+
notice: { iconColor: tokens.semantic.color.icon.notice600 },
|
|
8
|
+
success: { iconColor: tokens.semantic.color.icon.success600 }
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
export default theme;
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
collapsed: {
|
|
4
|
+
bgColor: tokens.semantic.color.background.secondary50,
|
|
5
|
+
shadow: 'none',
|
|
6
|
+
width: '5.5rem',
|
|
7
|
+
borderRight: `1px solid ${tokens.semantic.color.border.secondary300}`,
|
|
8
|
+
divider: {
|
|
9
|
+
color: tokens.semantic.color.background.secondary300,
|
|
10
|
+
thickness: '1px',
|
|
11
|
+
blockMargin: '2rem',
|
|
12
|
+
sidePadding: '0'
|
|
13
|
+
},
|
|
14
|
+
button: {
|
|
15
|
+
height: '3.6rem',
|
|
16
|
+
width: '3.6rem',
|
|
17
|
+
tooltip: {
|
|
18
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
collapseButton: {
|
|
22
|
+
size: '2.2rem',
|
|
23
|
+
borderRadius: '100%',
|
|
24
|
+
borderCollapsed: `1px solid ${tokens.semantic.color.border.secondary300}`,
|
|
25
|
+
borderExpanded: `none`,
|
|
26
|
+
filterShadow: 'none',
|
|
27
|
+
iconColor: tokens.semantic.color.icon.secondary950,
|
|
28
|
+
rightCollapsed: 'calc(2.2rem * -0.45)',
|
|
29
|
+
rightExpanded: '1.6rem'
|
|
30
|
+
},
|
|
31
|
+
header: {
|
|
32
|
+
height: '7rem',
|
|
33
|
+
dividerColor: tokens.semantic.color.border.secondary300,
|
|
34
|
+
margin: '0 0 3rem 0'
|
|
35
|
+
},
|
|
36
|
+
footer: {
|
|
37
|
+
dividerColor: tokens.semantic.color.background.secondary600,
|
|
38
|
+
link: {
|
|
39
|
+
textColor: tokens.semantic.color.text.secondary600
|
|
40
|
+
},
|
|
41
|
+
text: {
|
|
42
|
+
textColor: tokens.semantic.color.text.secondary600
|
|
43
|
+
},
|
|
44
|
+
meta: {
|
|
45
|
+
padding: '0 1.8rem 2rem 1.8rem',
|
|
46
|
+
visibility: 'hidden',
|
|
47
|
+
whiteSpace: 'nowrap'
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
item: {
|
|
51
|
+
margin: '0.5rem 1rem',
|
|
52
|
+
height: '3.2rem',
|
|
53
|
+
padding: '0 0.8rem',
|
|
54
|
+
gap: '0.8rem',
|
|
55
|
+
borderRadius: '0.4rem',
|
|
56
|
+
itemWithButtonOffset: '1.8rem',
|
|
57
|
+
states: {
|
|
58
|
+
normal: {
|
|
59
|
+
textColor: tokens.semantic.color.text.secondary800,
|
|
60
|
+
bgColor: 'transparent'
|
|
61
|
+
},
|
|
62
|
+
hover: {
|
|
63
|
+
textColor: tokens.semantic.color.text.secondary950,
|
|
64
|
+
bgColor: tokens.semantic.color.background.secondary100
|
|
65
|
+
},
|
|
66
|
+
active: {
|
|
67
|
+
textColor: tokens.semantic.color.text.secondary950,
|
|
68
|
+
bgColor: tokens.semantic.color.background.secondary200
|
|
69
|
+
},
|
|
70
|
+
activeHover: {
|
|
71
|
+
textColor: tokens.semantic.color.text.secondary800
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
tooltip: {
|
|
75
|
+
textColor: tokens.semantic.color.text.secondary800
|
|
76
|
+
},
|
|
77
|
+
button: {
|
|
78
|
+
bgColor: tokens.semantic.color.background.primary400,
|
|
79
|
+
borderColor: tokens.semantic.color.border.primary400,
|
|
80
|
+
borderSize: '1px',
|
|
81
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
logo: {
|
|
85
|
+
offset: '1.6rem'
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
expanded: {
|
|
89
|
+
width: '20rem',
|
|
90
|
+
divider: {
|
|
91
|
+
sidePadding: '1rem'
|
|
92
|
+
},
|
|
93
|
+
button: { width: '14.5rem' },
|
|
94
|
+
logo: {
|
|
95
|
+
offset: '1.6rem'
|
|
96
|
+
},
|
|
97
|
+
header: {
|
|
98
|
+
dividerColor: tokens.semantic.color.border.secondary300
|
|
99
|
+
},
|
|
100
|
+
footer: {
|
|
101
|
+
meta: {
|
|
102
|
+
visibility: 'visible',
|
|
103
|
+
whiteSpace: 'normal'
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
export default theme;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
card: {
|
|
4
|
+
gap: '2.4rem',
|
|
5
|
+
bgColor: tokens.semantic.color.background.neutral100,
|
|
6
|
+
padding: '1.6rem',
|
|
7
|
+
borderRadius: '0.8rem',
|
|
8
|
+
shadow: tokens.core.shadow.shadow200
|
|
9
|
+
},
|
|
10
|
+
shades: {
|
|
11
|
+
light: {
|
|
12
|
+
baseColor: tokens.semantic.color.background.neutral300,
|
|
13
|
+
highlightColor: tokens.semantic.color.background.neutral200
|
|
14
|
+
},
|
|
15
|
+
dark: {
|
|
16
|
+
baseColor: tokens.semantic.color.background.neutral400,
|
|
17
|
+
highlightColor: 'rgba(255, 255, 255, 0.25)'
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
circle: {
|
|
21
|
+
gap: '0.6rem'
|
|
22
|
+
},
|
|
23
|
+
square: {
|
|
24
|
+
gap: '0.6rem'
|
|
25
|
+
},
|
|
26
|
+
grid: {
|
|
27
|
+
gap: '1.6rem'
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
export default theme;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
gap: tokens.core.space.space150,
|
|
4
|
+
controlsHeight: '2rem',
|
|
5
|
+
track: {
|
|
6
|
+
height: '0.4rem',
|
|
7
|
+
states: {
|
|
8
|
+
normal: {
|
|
9
|
+
bgColor: tokens.semantic.color.background.secondary300
|
|
10
|
+
},
|
|
11
|
+
disabled: {
|
|
12
|
+
bgColor: tokens.semantic.color.background.secondary300
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
range: {
|
|
17
|
+
states: {
|
|
18
|
+
normal: {
|
|
19
|
+
bgColor: tokens.semantic.color.background.primary400
|
|
20
|
+
},
|
|
21
|
+
disabled: {
|
|
22
|
+
bgColor: tokens.semantic.color.background.neutral500
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
thumb: {
|
|
27
|
+
width: '2.4rem',
|
|
28
|
+
height: '2.4rem',
|
|
29
|
+
borderWidth: '0.8rem',
|
|
30
|
+
borderRadius: '50%',
|
|
31
|
+
states: {
|
|
32
|
+
normal: {
|
|
33
|
+
bgColor: tokens.semantic.color.background.secondary0,
|
|
34
|
+
borderColor: tokens.semantic.color.background.primary400
|
|
35
|
+
},
|
|
36
|
+
disabled: {
|
|
37
|
+
bgColor: tokens.semantic.color.background.secondary0,
|
|
38
|
+
borderColor: tokens.semantic.color.background.neutral500
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
mark: {
|
|
43
|
+
width: '0.4rem',
|
|
44
|
+
height: '0.4rem',
|
|
45
|
+
rangeStates: {
|
|
46
|
+
inRange: {
|
|
47
|
+
normal: {
|
|
48
|
+
bgColor: tokens.semantic.color.background.primary100
|
|
49
|
+
},
|
|
50
|
+
disabled: {
|
|
51
|
+
bgColor: tokens.semantic.color.background.secondary500
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
outOfRange: {
|
|
55
|
+
normal: {
|
|
56
|
+
bgColor: tokens.semantic.color.background.secondary500
|
|
57
|
+
},
|
|
58
|
+
disabled: {
|
|
59
|
+
bgColor: tokens.semantic.color.background.secondary500
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
label: {
|
|
65
|
+
offset: tokens.core.space.space200
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
export default theme;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
gap: '0.8rem',
|
|
4
|
+
step: {
|
|
5
|
+
gap: '0.8rem',
|
|
6
|
+
indicator: {
|
|
7
|
+
size: '2rem'
|
|
8
|
+
},
|
|
9
|
+
separator: {
|
|
10
|
+
height: '0.2rem'
|
|
11
|
+
},
|
|
12
|
+
states: {
|
|
13
|
+
idle: {
|
|
14
|
+
indicator: {
|
|
15
|
+
bgColor: tokens.semantic.color.background.secondary200,
|
|
16
|
+
iconColor: tokens.semantic.color.text.secondary950,
|
|
17
|
+
borderRadius: '100%'
|
|
18
|
+
},
|
|
19
|
+
label: {
|
|
20
|
+
textColor: tokens.semantic.color.text.secondary950,
|
|
21
|
+
letterSpacing: '0',
|
|
22
|
+
fontWeight: tokens.core.font.fontWeight.normal
|
|
23
|
+
},
|
|
24
|
+
separator: {
|
|
25
|
+
bgColor: tokens.semantic.color.border.neutral500
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
focused: {
|
|
29
|
+
indicator: {
|
|
30
|
+
bgColor: tokens.semantic.color.background.primary400,
|
|
31
|
+
iconColor: tokens.semantic.color.text.secondary0,
|
|
32
|
+
borderRadius: '100%'
|
|
33
|
+
},
|
|
34
|
+
label: {
|
|
35
|
+
textColor: tokens.semantic.color.text.primary400,
|
|
36
|
+
letterSpacing: '-0.11px',
|
|
37
|
+
fontWeight: tokens.core.font.fontWeight.semiBold
|
|
38
|
+
},
|
|
39
|
+
separator: {
|
|
40
|
+
bgColor: tokens.semantic.color.border.neutral500
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
completed: {
|
|
44
|
+
indicator: {
|
|
45
|
+
bgColor: tokens.semantic.color.background.success500,
|
|
46
|
+
iconColor: tokens.semantic.color.icon.neutral0,
|
|
47
|
+
borderRadius: '100%',
|
|
48
|
+
padding: '0.4rem'
|
|
49
|
+
},
|
|
50
|
+
label: {
|
|
51
|
+
textColor: tokens.semantic.color.text.success700,
|
|
52
|
+
letterSpacing: '0',
|
|
53
|
+
fontWeight: tokens.core.font.fontWeight.normal
|
|
54
|
+
},
|
|
55
|
+
separator: {
|
|
56
|
+
bgColor: tokens.semantic.color.border.primary400
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
export default theme;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
width: '3.2rem',
|
|
4
|
+
height: '1.8rem',
|
|
5
|
+
padding: '0.2rem',
|
|
6
|
+
borderRadius: '10rem',
|
|
7
|
+
borderWidth: '0.1rem',
|
|
8
|
+
gap: '0.4rem',
|
|
9
|
+
thumb: {
|
|
10
|
+
borderRadius: '10rem'
|
|
11
|
+
},
|
|
12
|
+
toggleStates: {
|
|
13
|
+
on: {
|
|
14
|
+
normal: {
|
|
15
|
+
bgColor: tokens.semantic.color.background.primary400,
|
|
16
|
+
borderColor: tokens.semantic.color.border.primary400,
|
|
17
|
+
thumbColor: tokens.semantic.color.icon.secondary0,
|
|
18
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
19
|
+
},
|
|
20
|
+
disabled: {
|
|
21
|
+
bgColor: tokens.semantic.color.background.neutral200,
|
|
22
|
+
borderColor: tokens.semantic.color.border.neutral200,
|
|
23
|
+
thumbColor: tokens.semantic.color.icon.secondary0,
|
|
24
|
+
textColor: tokens.semantic.color.text.secondary600
|
|
25
|
+
},
|
|
26
|
+
readonly: {
|
|
27
|
+
bgColor: tokens.semantic.color.background.transparent,
|
|
28
|
+
borderColor: tokens.semantic.color.border.secondary600,
|
|
29
|
+
thumbColor: tokens.semantic.color.icon.secondary600,
|
|
30
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
off: {
|
|
34
|
+
normal: {
|
|
35
|
+
bgColor: tokens.semantic.color.background.secondary500,
|
|
36
|
+
borderColor: tokens.semantic.color.border.secondary500,
|
|
37
|
+
thumbColor: tokens.semantic.color.icon.secondary0,
|
|
38
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
39
|
+
},
|
|
40
|
+
disabled: {
|
|
41
|
+
bgColor: tokens.semantic.color.background.neutral200,
|
|
42
|
+
borderColor: tokens.semantic.color.border.neutral200,
|
|
43
|
+
thumbColor: tokens.semantic.color.icon.secondary0,
|
|
44
|
+
textColor: tokens.semantic.color.text.secondary600
|
|
45
|
+
},
|
|
46
|
+
readonly: {
|
|
47
|
+
bgColor: tokens.semantic.color.background.transparent,
|
|
48
|
+
borderColor: tokens.semantic.color.border.secondary600,
|
|
49
|
+
thumbColor: tokens.semantic.color.icon.secondary600,
|
|
50
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
export default theme;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
table: {
|
|
4
|
+
tableContainer: {
|
|
5
|
+
borderRadius: '0.8rem',
|
|
6
|
+
backgroundColor: tokens.semantic.color.background.secondary0,
|
|
7
|
+
boxShadow: `0px 0px 0px 1px ${tokens.semantic.color.border.secondary300}`
|
|
8
|
+
},
|
|
9
|
+
topBar: {
|
|
10
|
+
minHeight: '5.6rem',
|
|
11
|
+
padding: '0 1.6rem',
|
|
12
|
+
gap: '0 1.6rem',
|
|
13
|
+
bgColor: tokens.semantic.color.background.transparent,
|
|
14
|
+
separator: {
|
|
15
|
+
color: tokens.semantic.color.border.secondary300,
|
|
16
|
+
width: '1px'
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
bottomBar: {
|
|
20
|
+
minHeight: '4.8rem',
|
|
21
|
+
padding: '0 1.2rem',
|
|
22
|
+
gap: '0 1.2rem',
|
|
23
|
+
bgColor: tokens.semantic.color.background.transparent,
|
|
24
|
+
separator: {
|
|
25
|
+
color: tokens.semantic.color.border.secondary300,
|
|
26
|
+
width: '1px'
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
tableTh: {
|
|
30
|
+
color: tokens.semantic.color.text.secondary950,
|
|
31
|
+
borderRight: tokens.semantic.color.border.secondary300
|
|
32
|
+
},
|
|
33
|
+
tableHeaderRow: {
|
|
34
|
+
minHeight: '5.6rem',
|
|
35
|
+
bgColor: tokens.semantic.color.background.secondary0,
|
|
36
|
+
separator: {
|
|
37
|
+
color: tokens.semantic.color.border.secondary300,
|
|
38
|
+
width: '1px'
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
tableHeaderCell: {
|
|
42
|
+
padding: '1rem 1.2rem',
|
|
43
|
+
color: tokens.semantic.color.text.secondary950,
|
|
44
|
+
separator: {
|
|
45
|
+
color: tokens.semantic.color.border.secondary300,
|
|
46
|
+
width: '1px',
|
|
47
|
+
blockPadding: '1rem'
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
tableBodyRow: {
|
|
51
|
+
minHeight: '4.8rem',
|
|
52
|
+
separator: {
|
|
53
|
+
color: tokens.semantic.color.border.secondary300,
|
|
54
|
+
width: '1px'
|
|
55
|
+
},
|
|
56
|
+
borderTop: tokens.semantic.color.border.secondary300,
|
|
57
|
+
backgroundColor: tokens.semantic.color.background.secondary50,
|
|
58
|
+
hoverBoxShadow: `${tokens.core.shadow.shadow3}, ${tokens.core.shadow.shadow3}`
|
|
59
|
+
},
|
|
60
|
+
tableBodyCell: {
|
|
61
|
+
padding: '0.4rem 1.2rem',
|
|
62
|
+
color: tokens.semantic.color.text.secondary950
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
pagination: {
|
|
66
|
+
bar: {
|
|
67
|
+
borderColor: tokens.semantic.color.border.secondary300,
|
|
68
|
+
borderSize: '1px 0 0',
|
|
69
|
+
gap: '3.2rem',
|
|
70
|
+
height: '4rem',
|
|
71
|
+
padding: '0 1.2rem',
|
|
72
|
+
fontSize: '1.2rem',
|
|
73
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
74
|
+
},
|
|
75
|
+
navButton: {
|
|
76
|
+
color: tokens.semantic.color.text.secondary950,
|
|
77
|
+
disabledColor: tokens.semantic.color.text.secondary300,
|
|
78
|
+
width: '1.6rem',
|
|
79
|
+
height: '2rem',
|
|
80
|
+
padding: '0.4rem 0.2rem'
|
|
81
|
+
},
|
|
82
|
+
select: {
|
|
83
|
+
height: '2rem',
|
|
84
|
+
padding: '0 0.4rem',
|
|
85
|
+
gap: '0.4rem',
|
|
86
|
+
fontSize: '1.2rem',
|
|
87
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
export default theme;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
bgColor: 'transparent',
|
|
4
|
+
padding: '1rem 1.6rem',
|
|
5
|
+
gap: '3.2rem',
|
|
6
|
+
separator: {
|
|
7
|
+
height: '1.6rem',
|
|
8
|
+
width: '1px',
|
|
9
|
+
color: tokens.semantic.color.border.secondary300
|
|
10
|
+
},
|
|
11
|
+
searchInput: {
|
|
12
|
+
width: '31.4rem',
|
|
13
|
+
states: {
|
|
14
|
+
normal: {
|
|
15
|
+
borderColor: 'transparent'
|
|
16
|
+
},
|
|
17
|
+
hover: {
|
|
18
|
+
borderColor: tokens.semantic.color.border.secondary300
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
actionsBar: {
|
|
23
|
+
gap: '1.6rem'
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
export default theme;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
variants: {
|
|
4
|
+
default: {
|
|
5
|
+
gap: '4rem',
|
|
6
|
+
tabsLine: {
|
|
7
|
+
size: '4px',
|
|
8
|
+
color: tokens.semantic.color.border.secondary100
|
|
9
|
+
},
|
|
10
|
+
tab: {
|
|
11
|
+
states: {
|
|
12
|
+
normal: {
|
|
13
|
+
textColor: tokens.semantic.color.text.secondary700,
|
|
14
|
+
padding: '2px 0 4px',
|
|
15
|
+
letterSpacing: '0.11px'
|
|
16
|
+
},
|
|
17
|
+
active: {
|
|
18
|
+
textColor: tokens.semantic.color.text.secondary950,
|
|
19
|
+
fontWeight: tokens.core.font.fontWeight.semiBold,
|
|
20
|
+
letterSpacing: '0'
|
|
21
|
+
},
|
|
22
|
+
disabled: {
|
|
23
|
+
textColor: tokens.semantic.color.text.secondary100
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
tabMarker: {
|
|
28
|
+
states: {
|
|
29
|
+
normal: {
|
|
30
|
+
color: 'transparent',
|
|
31
|
+
size: '4px',
|
|
32
|
+
inset: 'auto 0 -4px'
|
|
33
|
+
},
|
|
34
|
+
hover: {
|
|
35
|
+
color: tokens.semantic.color.border.secondary300
|
|
36
|
+
},
|
|
37
|
+
active: {
|
|
38
|
+
color: tokens.semantic.color.border.secondary950
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
sub: {
|
|
44
|
+
gap: '2.4rem',
|
|
45
|
+
tabsLine: {
|
|
46
|
+
size: '0',
|
|
47
|
+
color: tokens.semantic.color.border.transparent
|
|
48
|
+
},
|
|
49
|
+
tab: {
|
|
50
|
+
states: {
|
|
51
|
+
normal: {
|
|
52
|
+
textColor: tokens.semantic.color.text.secondary700,
|
|
53
|
+
padding: '4px 8px',
|
|
54
|
+
letterSpacing: '0.11px',
|
|
55
|
+
fontSize: `1.2rem`,
|
|
56
|
+
borderRadius: '0.3rem',
|
|
57
|
+
borderWidth: '1px',
|
|
58
|
+
borderColor: tokens.semantic.color.border.transparent
|
|
59
|
+
},
|
|
60
|
+
hover: {
|
|
61
|
+
bgColor: tokens.semantic.color.background.secondary100
|
|
62
|
+
},
|
|
63
|
+
active: {
|
|
64
|
+
textColor: tokens.semantic.color.text.secondary950,
|
|
65
|
+
bgColor: tokens.semantic.color.background.secondary100,
|
|
66
|
+
borderColor: tokens.semantic.color.border.secondary300,
|
|
67
|
+
fontWeight: tokens.core.font.fontWeight.semiBold,
|
|
68
|
+
letterSpacing: '0'
|
|
69
|
+
},
|
|
70
|
+
disabled: {
|
|
71
|
+
textColor: tokens.semantic.color.text.neutral300,
|
|
72
|
+
bgColor: tokens.semantic.color.background.transparent
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
tabMarker: {
|
|
77
|
+
states: {
|
|
78
|
+
normal: {
|
|
79
|
+
display: 'none'
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
export default theme;
|