@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,200 @@
|
|
|
1
|
+
const semanticColors = {
|
|
2
|
+
transparent: '#00000000',
|
|
3
|
+
neutral0: '#00000000',
|
|
4
|
+
neutral50: '#00000000',
|
|
5
|
+
neutral100: '#121212',
|
|
6
|
+
neutral200: '#1a1a1a',
|
|
7
|
+
neutral300: '#000000',
|
|
8
|
+
neutral400: '#3a3a3a',
|
|
9
|
+
neutral500: '#4a4a4a',
|
|
10
|
+
neutral600: '#5a5a5a',
|
|
11
|
+
neutral700: '#cacaca',
|
|
12
|
+
neutral800: '#dbdbdb',
|
|
13
|
+
neutral900: '#f6f6f6',
|
|
14
|
+
neutral950: '#ffffff',
|
|
15
|
+
primary0: '#00000000',
|
|
16
|
+
primary50: '#2e2e2e',
|
|
17
|
+
primary100: '#404040',
|
|
18
|
+
primary200: '#002f47',
|
|
19
|
+
primary300: '#00587d',
|
|
20
|
+
primary400: '#80dbff',
|
|
21
|
+
primary500: '#40a5cd',
|
|
22
|
+
primary600: '#f6f6f6',
|
|
23
|
+
primary700: '#f7f7f7',
|
|
24
|
+
primary800: '#00000000',
|
|
25
|
+
primary900: '#00000000',
|
|
26
|
+
primary950: '#00000000',
|
|
27
|
+
secondary0: '#00000000',
|
|
28
|
+
secondary50: '#f9fafa',
|
|
29
|
+
secondary100: '#f4f5f6',
|
|
30
|
+
secondary200: '#e8ebec',
|
|
31
|
+
secondary300: '#b9c2c6',
|
|
32
|
+
secondary400: '#8a99a0',
|
|
33
|
+
secondary500: '#5c707a',
|
|
34
|
+
secondary600: '#2d4754',
|
|
35
|
+
secondary700: '#163341',
|
|
36
|
+
secondary800: '#091a23',
|
|
37
|
+
secondary900: '#00000000',
|
|
38
|
+
secondary950: '#00000000',
|
|
39
|
+
secondary990: '#00000000',
|
|
40
|
+
success0: '#00000000',
|
|
41
|
+
success50: '#00000000',
|
|
42
|
+
success100: '#12281f',
|
|
43
|
+
success200: '#244f3e',
|
|
44
|
+
success300: '#3a8365',
|
|
45
|
+
success400: '#00000000',
|
|
46
|
+
success500: '#5bc69b',
|
|
47
|
+
success600: '#8cd7b9',
|
|
48
|
+
success700: '#bde8d7',
|
|
49
|
+
success800: '#eff9f5',
|
|
50
|
+
success900: '#00000000',
|
|
51
|
+
notice0: '#00000000',
|
|
52
|
+
notice50: '#00000000',
|
|
53
|
+
notice100: '#170e2c',
|
|
54
|
+
notice200: '#2f1c59',
|
|
55
|
+
notice300: '#52329b',
|
|
56
|
+
notice400: '#00000000',
|
|
57
|
+
notice500: '#7547de',
|
|
58
|
+
notice600: '#9e7ee8',
|
|
59
|
+
notice700: '#c8b5f2',
|
|
60
|
+
notice800: '#f1edfc',
|
|
61
|
+
notice900: '#00000000',
|
|
62
|
+
informative0: '#00000000',
|
|
63
|
+
informative50: '#2e2e2e',
|
|
64
|
+
informative100: '#404040',
|
|
65
|
+
informative200: '#002f47',
|
|
66
|
+
informative300: '#00587d',
|
|
67
|
+
informative400: '#80dbff',
|
|
68
|
+
informative500: '#40a5cd',
|
|
69
|
+
informative600: '#f6f6f6',
|
|
70
|
+
informative700: '#f7f7f7',
|
|
71
|
+
informative800: '#00000000',
|
|
72
|
+
informative900: '#00000000',
|
|
73
|
+
attention0: '#00000000',
|
|
74
|
+
attention50: '#00000000',
|
|
75
|
+
attention100: '#3c2a14',
|
|
76
|
+
attention200: '#5a3e1f',
|
|
77
|
+
attention300: '#7a5d29',
|
|
78
|
+
attention400: '#00000000',
|
|
79
|
+
attention500: '#a47e3a',
|
|
80
|
+
attention600: '#c79a4b',
|
|
81
|
+
attention700: '#e7c05a',
|
|
82
|
+
attention800: '#f3d77f',
|
|
83
|
+
attention900: '#00000000',
|
|
84
|
+
discovery0: '#FEE1F1',
|
|
85
|
+
discovery50: '#FCCAE4',
|
|
86
|
+
discovery100: '#FA94CA',
|
|
87
|
+
discovery200: '#F75FAF',
|
|
88
|
+
discovery300: '#F42995',
|
|
89
|
+
discovery400: '#D90B78',
|
|
90
|
+
discovery500: '#AF0961',
|
|
91
|
+
discovery600: '#830748',
|
|
92
|
+
discovery700: '#570430',
|
|
93
|
+
discovery800: '#2C0218',
|
|
94
|
+
discovery900: '#13010B',
|
|
95
|
+
danger0: '#00000000',
|
|
96
|
+
danger50: '#00000000',
|
|
97
|
+
danger100: '#4a2a2a',
|
|
98
|
+
danger200: '#6a3a3a',
|
|
99
|
+
danger300: '#8a4a4a',
|
|
100
|
+
danger400: '#00000000',
|
|
101
|
+
danger500: '#b96b6b',
|
|
102
|
+
danger600: '#d17b7b',
|
|
103
|
+
danger700: '#e68a8a',
|
|
104
|
+
danger800: '#f29a9a',
|
|
105
|
+
danger900: '#00000000'
|
|
106
|
+
};
|
|
107
|
+
export const tokens = {
|
|
108
|
+
semantic: {
|
|
109
|
+
color: {
|
|
110
|
+
text: { ...semanticColors },
|
|
111
|
+
background: { ...semanticColors },
|
|
112
|
+
border: { ...semanticColors },
|
|
113
|
+
icon: { ...semanticColors }
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
core: {
|
|
117
|
+
space: {
|
|
118
|
+
space000: '0',
|
|
119
|
+
space010: '0.1rem',
|
|
120
|
+
space025: '0.2rem',
|
|
121
|
+
space050: '0.4rem',
|
|
122
|
+
space100: '0.8rem',
|
|
123
|
+
space150: '1.2rem',
|
|
124
|
+
space200: '1.6rem',
|
|
125
|
+
space250: '2rem',
|
|
126
|
+
space300: '2.4rem',
|
|
127
|
+
space400: '3.2rem',
|
|
128
|
+
space500: '4rem',
|
|
129
|
+
space550: '4.4rem',
|
|
130
|
+
space600: '4.8rem',
|
|
131
|
+
space800: '6.4rem'
|
|
132
|
+
},
|
|
133
|
+
shadow: {
|
|
134
|
+
shadow1: `0 0 20px #00000033`,
|
|
135
|
+
shadow2: `0 0 20px #0000001A`,
|
|
136
|
+
shadow3: `0 0 1.6rem #0000000f`,
|
|
137
|
+
shadow4: `0px 0px 0px 1px #5a5a5a`,
|
|
138
|
+
shadow100: '1px 0px 6px 0px #0000001f',
|
|
139
|
+
shadow200: '0px 0px 12px 0px #0000000f, 0px 0px 0px 1px #00000008',
|
|
140
|
+
shadow300: '0px -4px 8px 0px #0000000f, 0px 4px 8px 0px #0000000f, 0px 0px 0px 1px #00000005',
|
|
141
|
+
shadow400: '0px 4px 24px 0px #00000029, 0px 0px 0px 1px #00000008',
|
|
142
|
+
shadow500: '0px 0px 32px 0px #00000029, -1px 0px 0px 0px #00000008',
|
|
143
|
+
shadow600: '0px 0px 44px 6px #0000001f, 0px 0px 0px 1px #00000008',
|
|
144
|
+
shadow700: '0px 0px 0px 1px #00000008, 0px 0px 44px 0px #0000001c, 0px 0px 8px 0px #0000001c'
|
|
145
|
+
},
|
|
146
|
+
zIndex: {
|
|
147
|
+
zIndex5: 5,
|
|
148
|
+
zIndex9998: 9998,
|
|
149
|
+
zIndex9999: 9999
|
|
150
|
+
},
|
|
151
|
+
icon: {
|
|
152
|
+
size: {
|
|
153
|
+
XS: '0.8rem',
|
|
154
|
+
S: '1.2rem',
|
|
155
|
+
M: '1.6rem',
|
|
156
|
+
L: '2rem',
|
|
157
|
+
XL: '2.4rem',
|
|
158
|
+
XXL: '3rem',
|
|
159
|
+
'for-text': '1.25em',
|
|
160
|
+
'by-font': '1em'
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
font: {
|
|
164
|
+
fontFamily: {
|
|
165
|
+
regular: 'Nunito Sans, sans-serif',
|
|
166
|
+
sourceCodeProRegular: 'Source Code Pro, monospace'
|
|
167
|
+
},
|
|
168
|
+
fontSize: {
|
|
169
|
+
s8: '0.80rem',
|
|
170
|
+
s10: '1.00rem',
|
|
171
|
+
s12: '1.20rem',
|
|
172
|
+
s13: '1.30rem',
|
|
173
|
+
s14: '1.40rem',
|
|
174
|
+
s15: '1.50rem',
|
|
175
|
+
s16: '1.60rem',
|
|
176
|
+
s18: '1.80rem',
|
|
177
|
+
s20: '2.00rem',
|
|
178
|
+
s22: '2.20rem',
|
|
179
|
+
s24: '2.40rem',
|
|
180
|
+
s26: '2.60rem',
|
|
181
|
+
s27: '2.70rem',
|
|
182
|
+
s28: '2.80rem',
|
|
183
|
+
s32: '3.20rem',
|
|
184
|
+
s40: '4.00rem',
|
|
185
|
+
s44: '4.40rem',
|
|
186
|
+
s52: '5.20rem'
|
|
187
|
+
},
|
|
188
|
+
fontWeight: {
|
|
189
|
+
normal: '400',
|
|
190
|
+
semiBold: '600',
|
|
191
|
+
bold: '700'
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
focus: {
|
|
195
|
+
margin: '2px',
|
|
196
|
+
size: '2px',
|
|
197
|
+
color: semanticColors.primary200
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
sizes: {
|
|
4
|
+
L: {
|
|
5
|
+
size: '3rem',
|
|
6
|
+
iconSize: '2rem'
|
|
7
|
+
},
|
|
8
|
+
M: {
|
|
9
|
+
size: '2.4rem',
|
|
10
|
+
iconSize: '1.6rem'
|
|
11
|
+
},
|
|
12
|
+
S: {
|
|
13
|
+
size: '2rem',
|
|
14
|
+
iconSize: '1.2rem'
|
|
15
|
+
},
|
|
16
|
+
XS: {
|
|
17
|
+
size: '1.6rem',
|
|
18
|
+
iconSize: '1rem'
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
variants: {
|
|
22
|
+
primary: {
|
|
23
|
+
normal: {
|
|
24
|
+
bgColor: tokens.semantic.color.background.primary400,
|
|
25
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
26
|
+
},
|
|
27
|
+
hover: {
|
|
28
|
+
bgColor: tokens.semantic.color.background.neutral300
|
|
29
|
+
},
|
|
30
|
+
active: {
|
|
31
|
+
bgColor: tokens.semantic.color.background.primary400
|
|
32
|
+
},
|
|
33
|
+
disabled: {
|
|
34
|
+
bgColor: tokens.semantic.color.background.secondary800,
|
|
35
|
+
textColor: tokens.semantic.color.text.secondary600
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
secondary: {
|
|
39
|
+
normal: {
|
|
40
|
+
bgColor: tokens.semantic.color.background.secondary800,
|
|
41
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
42
|
+
},
|
|
43
|
+
hover: {
|
|
44
|
+
bgColor: tokens.semantic.color.background.secondary700
|
|
45
|
+
},
|
|
46
|
+
active: {
|
|
47
|
+
bgColor: tokens.semantic.color.background.secondary800
|
|
48
|
+
},
|
|
49
|
+
disabled: {
|
|
50
|
+
bgColor: tokens.semantic.color.background.secondary800,
|
|
51
|
+
textColor: tokens.semantic.color.text.secondary600
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
export default theme;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
height: '7rem',
|
|
4
|
+
padding: '1.4rem 1.4rem 1.4rem 2.4rem',
|
|
5
|
+
separator: `1px solid ${tokens.semantic.color.border.secondary800}`,
|
|
6
|
+
boxShadow: `0px 1px 0px 0px ${tokens.semantic.color.border.secondary800}`,
|
|
7
|
+
group: {
|
|
8
|
+
gap: '1.6rem'
|
|
9
|
+
},
|
|
10
|
+
variants: {
|
|
11
|
+
default: {
|
|
12
|
+
bgColor: tokens.semantic.color.background.secondary950,
|
|
13
|
+
color: tokens.semantic.color.background.secondary50,
|
|
14
|
+
userNameColor: tokens.semantic.color.background.secondary400,
|
|
15
|
+
accountNameColor: tokens.semantic.color.background.secondary50
|
|
16
|
+
},
|
|
17
|
+
alert: {
|
|
18
|
+
bgColor: tokens.semantic.color.background.danger200,
|
|
19
|
+
color: tokens.semantic.color.text.secondary950,
|
|
20
|
+
userNameColor: tokens.semantic.color.text.secondary950,
|
|
21
|
+
accountNameColor: tokens.semantic.color.text.secondary950
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
export default theme;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
trigger: {
|
|
4
|
+
borderRadius: '0.4rem',
|
|
5
|
+
height: '3.2rem',
|
|
6
|
+
width: '3.2rem',
|
|
7
|
+
padding: '0px',
|
|
8
|
+
toggleStates: {
|
|
9
|
+
on: {
|
|
10
|
+
normal: {
|
|
11
|
+
bgColor: 'transparent',
|
|
12
|
+
borderColor: 'transparent',
|
|
13
|
+
textColor: tokens.semantic.color.text.secondary200
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
off: {
|
|
17
|
+
normal: {
|
|
18
|
+
bgColor: 'transparent',
|
|
19
|
+
borderColor: 'transparent',
|
|
20
|
+
textColor: tokens.semantic.color.text.secondary200
|
|
21
|
+
},
|
|
22
|
+
hover: {
|
|
23
|
+
bgColor: tokens.semantic.color.background.secondary800,
|
|
24
|
+
borderColor: tokens.semantic.color.border.secondary800,
|
|
25
|
+
textColor: tokens.semantic.color.text.secondary200
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
content: {
|
|
31
|
+
margin: '1.6rem 0',
|
|
32
|
+
gap: '3.2rem 1.2rem',
|
|
33
|
+
width: '35.4rem'
|
|
34
|
+
},
|
|
35
|
+
item: {
|
|
36
|
+
gap: '0.8rem',
|
|
37
|
+
buttonSize: '3.6rem',
|
|
38
|
+
iconSize: '2.4rem',
|
|
39
|
+
width: '11rem',
|
|
40
|
+
height: '6rem',
|
|
41
|
+
label: {
|
|
42
|
+
color: tokens.semantic.color.text.neutral800
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
export default theme;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const borderWidth = '1px';
|
|
3
|
+
const theme = {
|
|
4
|
+
padding: `${tokens.core.space.space025} ${tokens.core.space.space050}`,
|
|
5
|
+
gap: tokens.core.space.space025,
|
|
6
|
+
borderRadius: '2px',
|
|
7
|
+
height: `calc(${tokens.core.space.space200} + ${borderWidth} * 2)`,
|
|
8
|
+
borderWidth,
|
|
9
|
+
borderStyle: 'solid',
|
|
10
|
+
variants: {
|
|
11
|
+
white: {
|
|
12
|
+
backgroundColor: tokens.semantic.color.background.secondary300,
|
|
13
|
+
color: tokens.semantic.color.text.secondary900,
|
|
14
|
+
borderColor: tokens.semantic.color.border.secondary400,
|
|
15
|
+
iconColor: tokens.semantic.color.text.secondary700
|
|
16
|
+
},
|
|
17
|
+
light: {
|
|
18
|
+
backgroundColor: tokens.semantic.color.background.secondary600,
|
|
19
|
+
color: tokens.semantic.color.text.secondary0,
|
|
20
|
+
borderColor: tokens.semantic.color.border.secondary500,
|
|
21
|
+
iconColor: tokens.semantic.color.text.secondary300
|
|
22
|
+
},
|
|
23
|
+
default: {
|
|
24
|
+
backgroundColor: tokens.semantic.color.background.informative900,
|
|
25
|
+
color: tokens.semantic.color.text.informative0,
|
|
26
|
+
borderColor: tokens.semantic.color.border.informative700,
|
|
27
|
+
iconColor: tokens.semantic.color.text.primary500
|
|
28
|
+
},
|
|
29
|
+
informative: {
|
|
30
|
+
backgroundColor: tokens.semantic.color.background.informative900,
|
|
31
|
+
color: tokens.semantic.color.text.primary0,
|
|
32
|
+
borderColor: tokens.semantic.color.border.informative500,
|
|
33
|
+
iconColor: tokens.semantic.color.text.primary300
|
|
34
|
+
},
|
|
35
|
+
success: {
|
|
36
|
+
backgroundColor: tokens.semantic.color.background.success900,
|
|
37
|
+
color: tokens.semantic.color.text.success50,
|
|
38
|
+
borderColor: tokens.semantic.color.border.success700,
|
|
39
|
+
iconColor: tokens.semantic.color.text.success500
|
|
40
|
+
},
|
|
41
|
+
notice: {
|
|
42
|
+
backgroundColor: tokens.semantic.color.background.notice900,
|
|
43
|
+
color: tokens.semantic.color.text.notice50,
|
|
44
|
+
borderColor: tokens.semantic.color.border.notice600,
|
|
45
|
+
iconColor: tokens.semantic.color.text.notice300
|
|
46
|
+
},
|
|
47
|
+
danger: {
|
|
48
|
+
backgroundColor: tokens.semantic.color.background.danger900,
|
|
49
|
+
color: tokens.semantic.color.text.danger0,
|
|
50
|
+
borderColor: tokens.semantic.color.border.danger700,
|
|
51
|
+
iconColor: tokens.semantic.color.text.danger400
|
|
52
|
+
},
|
|
53
|
+
attention: {
|
|
54
|
+
backgroundColor: tokens.semantic.color.background.attention900,
|
|
55
|
+
color: tokens.semantic.color.text.attention0,
|
|
56
|
+
borderColor: tokens.semantic.color.border.attention600,
|
|
57
|
+
iconColor: tokens.semantic.color.text.attention400
|
|
58
|
+
},
|
|
59
|
+
upsell: {
|
|
60
|
+
backgroundColor: tokens.semantic.color.background.discovery700,
|
|
61
|
+
color: tokens.semantic.color.text.discovery0,
|
|
62
|
+
borderColor: tokens.semantic.color.border.discovery600,
|
|
63
|
+
iconColor: tokens.semantic.color.text.discovery400
|
|
64
|
+
},
|
|
65
|
+
disabled: {
|
|
66
|
+
backgroundColor: tokens.semantic.color.background.secondary950,
|
|
67
|
+
color: tokens.semantic.color.text.secondary700,
|
|
68
|
+
borderColor: tokens.semantic.color.border.secondary800,
|
|
69
|
+
iconColor: tokens.semantic.color.text.secondary700
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
export default theme;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
gap: tokens.core.space.space300,
|
|
4
|
+
item: {
|
|
5
|
+
borderRadius: '4px',
|
|
6
|
+
borderWidth: '1px',
|
|
7
|
+
borderStyle: 'solid',
|
|
8
|
+
markerSize: '4px',
|
|
9
|
+
iconSize: '2.8rem',
|
|
10
|
+
states: {
|
|
11
|
+
default: {
|
|
12
|
+
normal: {
|
|
13
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
14
|
+
borderColor: tokens.semantic.color.border.secondary700,
|
|
15
|
+
markerColor: 'transparent',
|
|
16
|
+
textColor: tokens.semantic.color.text.secondary200,
|
|
17
|
+
iconColor: tokens.semantic.color.icon.secondary200
|
|
18
|
+
},
|
|
19
|
+
hover: {
|
|
20
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
21
|
+
borderColor: tokens.semantic.color.border.primary400,
|
|
22
|
+
markerColor: tokens.semantic.color.border.primary400,
|
|
23
|
+
textColor: tokens.semantic.color.text.secondary200,
|
|
24
|
+
iconColor: tokens.semantic.color.icon.secondary200
|
|
25
|
+
},
|
|
26
|
+
disabled: {
|
|
27
|
+
bgColor: tokens.semantic.color.background.neutral900,
|
|
28
|
+
borderColor: tokens.semantic.color.border.neutral800,
|
|
29
|
+
markerColor: 'transparent',
|
|
30
|
+
textColor: tokens.semantic.color.text.secondary800,
|
|
31
|
+
iconColor: tokens.semantic.color.icon.secondary800,
|
|
32
|
+
opacity: '0.5'
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
checked: {
|
|
36
|
+
normal: {
|
|
37
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
38
|
+
borderColor: tokens.semantic.color.border.primary300,
|
|
39
|
+
markerColor: tokens.semantic.color.border.primary300,
|
|
40
|
+
textColor: tokens.semantic.color.text.secondary200,
|
|
41
|
+
iconColor: tokens.semantic.color.icon.secondary200
|
|
42
|
+
},
|
|
43
|
+
disabled: {
|
|
44
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
45
|
+
borderColor: tokens.semantic.color.border.secondary900,
|
|
46
|
+
markerColor: tokens.semantic.color.border.secondary800,
|
|
47
|
+
textColor: tokens.semantic.color.text.secondary800,
|
|
48
|
+
iconColor: tokens.semantic.color.icon.secondary800,
|
|
49
|
+
opacity: '0.5'
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
defaultItem: {
|
|
55
|
+
gap: '0.4rem'
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
export default theme;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
gap: tokens.core.space.space100,
|
|
4
|
+
link: {
|
|
5
|
+
states: {
|
|
6
|
+
normal: {
|
|
7
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
8
|
+
},
|
|
9
|
+
hover: {
|
|
10
|
+
textColor: tokens.semantic.color.text.secondary200
|
|
11
|
+
},
|
|
12
|
+
active: {
|
|
13
|
+
textColor: tokens.semantic.color.text.secondary200
|
|
14
|
+
},
|
|
15
|
+
disabled: {
|
|
16
|
+
textColor: tokens.semantic.color.text.secondary600
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
current: {
|
|
21
|
+
textColor: tokens.semantic.color.text.secondary200,
|
|
22
|
+
fontWeight: tokens.core.font.fontWeight.semiBold
|
|
23
|
+
},
|
|
24
|
+
separator: {
|
|
25
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
export default theme;
|