@redis-ui/styles 21.2.0 → 21.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fonts-next.css +3 -0
- package/dist/index.js +7241 -1397
- package/dist/index.umd.cjs +10 -10
- package/dist/themes/index.d.ts +1 -0
- package/dist/themes/index.js +3 -0
- package/dist/themes/themeDark/theme/components/charts.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/charts.js +20 -0
- package/dist/themes/themeDark/theme/components/themeModeSwitch.js +7 -2
- package/dist/themes/themeDark/theme.js +2 -0
- package/dist/themes/themeDark/tokens.js +11 -0
- package/dist/themes/themeDarkNext/theme/components/actionIconButton.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/actionIconButton.js +56 -0
- package/dist/themes/themeDarkNext/theme/components/appBar.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/appBar.js +25 -0
- package/dist/themes/themeDarkNext/theme/components/appSelectionMenu.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/appSelectionMenu.js +46 -0
- package/dist/themes/themeDarkNext/theme/components/autoComplete.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/autoComplete.js +7 -0
- package/dist/themes/themeDarkNext/theme/components/badge.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/badge.js +73 -0
- package/dist/themes/themeDarkNext/theme/components/banner.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/banner.js +14 -0
- package/dist/themes/themeDarkNext/theme/components/boxSelectionGroup.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/boxSelectionGroup.js +58 -0
- package/dist/themes/themeDarkNext/theme/components/breadcrumbs.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/breadcrumbs.js +28 -0
- package/dist/themes/themeDarkNext/theme/components/button.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/button.js +223 -0
- package/dist/themes/themeDarkNext/theme/components/buttonGroup.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/buttonGroup.js +65 -0
- package/dist/themes/themeDarkNext/theme/components/card.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/card.js +40 -0
- package/dist/themes/themeDarkNext/theme/components/charts.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/charts.js +20 -0
- package/dist/themes/themeDarkNext/theme/components/checkbox.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/checkbox.js +67 -0
- package/dist/themes/themeDarkNext/theme/components/chip.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/chip.js +60 -0
- package/dist/themes/themeDarkNext/theme/components/chipList.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/chipList.js +21 -0
- package/dist/themes/themeDarkNext/theme/components/countryFlag.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/countryFlag.js +9 -0
- package/dist/themes/themeDarkNext/theme/components/drawer.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/drawer.js +30 -0
- package/dist/themes/themeDarkNext/theme/components/filters.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/filters.js +36 -0
- package/dist/themes/themeDarkNext/theme/components/formField.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/formField.js +17 -0
- package/dist/themes/themeDarkNext/theme/components/gauge.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/gauge.js +38 -0
- package/dist/themes/themeDarkNext/theme/components/highlightedIcon.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/highlightedIcon.js +42 -0
- package/dist/themes/themeDarkNext/theme/components/icon.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/icon.js +14 -0
- package/dist/themes/themeDarkNext/theme/components/iconButton.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/iconButton.js +49 -0
- package/dist/themes/themeDarkNext/theme/components/input.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/input.js +97 -0
- package/dist/themes/themeDarkNext/theme/components/keyValueList.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/keyValueList.js +30 -0
- package/dist/themes/themeDarkNext/theme/components/label.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/label.js +24 -0
- package/dist/themes/themeDarkNext/theme/components/layouts.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/layouts.js +55 -0
- package/dist/themes/themeDarkNext/theme/components/link.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/link.js +72 -0
- package/dist/themes/themeDarkNext/theme/components/loader.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/loader.js +30 -0
- package/dist/themes/themeDarkNext/theme/components/menu.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/menu.js +79 -0
- package/dist/themes/themeDarkNext/theme/components/midBar.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/midBar.js +14 -0
- package/dist/themes/themeDarkNext/theme/components/modal.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/modal.js +34 -0
- package/dist/themes/themeDarkNext/theme/components/moreInfoIcon.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/moreInfoIcon.js +5 -0
- package/dist/themes/themeDarkNext/theme/components/popover.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/popover.js +16 -0
- package/dist/themes/themeDarkNext/theme/components/popupCard.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/popupCard.js +22 -0
- package/dist/themes/themeDarkNext/theme/components/profileIcon.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/profileIcon.js +39 -0
- package/dist/themes/themeDarkNext/theme/components/progressBar.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/progressBar.js +57 -0
- package/dist/themes/themeDarkNext/theme/components/radio.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/radio.js +51 -0
- package/dist/themes/themeDarkNext/theme/components/searchBar.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/searchBar.js +25 -0
- package/dist/themes/themeDarkNext/theme/components/section.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/section.js +52 -0
- package/dist/themes/themeDarkNext/theme/components/select.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/select.js +104 -0
- package/dist/themes/themeDarkNext/theme/components/semanticButton.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/semanticButton.js +250 -0
- package/dist/themes/themeDarkNext/theme/components/semanticContainer.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/semanticContainer.js +43 -0
- package/dist/themes/themeDarkNext/theme/components/semanticIcon.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/semanticIcon.js +11 -0
- package/dist/themes/themeDarkNext/theme/components/sideBar.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/sideBar.js +81 -0
- package/dist/themes/themeDarkNext/theme/components/skeleton.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/skeleton.js +30 -0
- package/dist/themes/themeDarkNext/theme/components/slider.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/slider.js +68 -0
- package/dist/themes/themeDarkNext/theme/components/stepper.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/stepper.js +62 -0
- package/dist/themes/themeDarkNext/theme/components/switch.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/switch.js +55 -0
- package/dist/themes/themeDarkNext/theme/components/table.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/table.js +91 -0
- package/dist/themes/themeDarkNext/theme/components/tableHeading.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/tableHeading.js +26 -0
- package/dist/themes/themeDarkNext/theme/components/tabs.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/tabs.js +89 -0
- package/dist/themes/themeDarkNext/theme/components/textButton.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/textButton.js +202 -0
- package/dist/themes/themeDarkNext/theme/components/themeModeSwitch.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/themeModeSwitch.js +23 -0
- package/dist/themes/themeDarkNext/theme/components/toast.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/toast.js +9 -0
- package/dist/themes/themeDarkNext/theme/components/toggleButton.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/toggleButton.js +57 -0
- package/dist/themes/themeDarkNext/theme/components/tooltip.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/tooltip.js +17 -0
- package/dist/themes/themeDarkNext/theme/components/treeView.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/treeView.js +16 -0
- package/dist/themes/themeDarkNext/theme/components/typography.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/typography.js +79 -0
- package/dist/themes/themeDarkNext/theme/components/windowBar.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/windowBar.js +55 -0
- package/dist/themes/themeDarkNext/theme/globals/body.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/globals/body.js +9 -0
- package/dist/themes/themeDarkNext/theme/globals/scrollbar.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/globals/scrollbar.js +12 -0
- package/dist/themes/themeDarkNext/theme.d.ts +2 -0
- package/dist/themes/themeDarkNext/theme.js +136 -0
- package/dist/themes/themeDarkNext/tokens.d.ts +2 -0
- package/dist/themes/themeDarkNext/tokens.js +213 -0
- package/dist/themes/themeLight/theme/components/charts.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/charts.js +20 -0
- package/dist/themes/themeLight/theme/components/themeModeSwitch.js +7 -2
- package/dist/themes/themeLight/theme.js +2 -0
- package/dist/themes/themeLight/tokens.d.ts +11 -0
- package/dist/themes/themeLight/tokens.js +11 -0
- package/dist/themes/themeLightNext/theme/components/actionIconButton.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/actionIconButton.js +56 -0
- package/dist/themes/themeLightNext/theme/components/appBar.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/appBar.js +25 -0
- package/dist/themes/themeLightNext/theme/components/appSelectionMenu.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/appSelectionMenu.js +46 -0
- package/dist/themes/themeLightNext/theme/components/autoComplete.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/autoComplete.js +7 -0
- package/dist/themes/themeLightNext/theme/components/badge.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/badge.js +73 -0
- package/dist/themes/themeLightNext/theme/components/banner.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/banner.js +14 -0
- package/dist/themes/themeLightNext/theme/components/boxSelectionGroup.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/boxSelectionGroup.js +58 -0
- package/dist/themes/themeLightNext/theme/components/breadcrumbs.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/breadcrumbs.js +28 -0
- package/dist/themes/themeLightNext/theme/components/button.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/button.js +223 -0
- package/dist/themes/themeLightNext/theme/components/buttonGroup.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/buttonGroup.js +65 -0
- package/dist/themes/themeLightNext/theme/components/card.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/card.js +40 -0
- package/dist/themes/themeLightNext/theme/components/charts.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/charts.js +20 -0
- package/dist/themes/themeLightNext/theme/components/checkbox.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/checkbox.js +67 -0
- package/dist/themes/themeLightNext/theme/components/chip.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/chip.js +60 -0
- package/dist/themes/themeLightNext/theme/components/chipList.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/chipList.js +21 -0
- package/dist/themes/themeLightNext/theme/components/countryFlag.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/countryFlag.js +9 -0
- package/dist/themes/themeLightNext/theme/components/drawer.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/drawer.js +30 -0
- package/dist/themes/themeLightNext/theme/components/filters.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/filters.js +36 -0
- package/dist/themes/themeLightNext/theme/components/formField.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/formField.js +17 -0
- package/dist/themes/themeLightNext/theme/components/gauge.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/gauge.js +38 -0
- package/dist/themes/themeLightNext/theme/components/highlightedIcon.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/highlightedIcon.js +42 -0
- package/dist/themes/themeLightNext/theme/components/icon.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/icon.js +14 -0
- package/dist/themes/themeLightNext/theme/components/iconButton.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/iconButton.js +49 -0
- package/dist/themes/themeLightNext/theme/components/input.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/input.js +97 -0
- package/dist/themes/themeLightNext/theme/components/keyValueList.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/keyValueList.js +30 -0
- package/dist/themes/themeLightNext/theme/components/label.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/label.js +24 -0
- package/dist/themes/themeLightNext/theme/components/layouts.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/layouts.js +55 -0
- package/dist/themes/themeLightNext/theme/components/link.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/link.js +72 -0
- package/dist/themes/themeLightNext/theme/components/loader.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/loader.js +30 -0
- package/dist/themes/themeLightNext/theme/components/menu.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/menu.js +79 -0
- package/dist/themes/themeLightNext/theme/components/midBar.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/midBar.js +14 -0
- package/dist/themes/themeLightNext/theme/components/modal.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/modal.js +34 -0
- package/dist/themes/themeLightNext/theme/components/moreInfoIcon.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/moreInfoIcon.js +5 -0
- package/dist/themes/themeLightNext/theme/components/popover.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/popover.js +16 -0
- package/dist/themes/themeLightNext/theme/components/popupCard.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/popupCard.js +22 -0
- package/dist/themes/themeLightNext/theme/components/profileIcon.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/profileIcon.js +39 -0
- package/dist/themes/themeLightNext/theme/components/progressBar.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/progressBar.js +57 -0
- package/dist/themes/themeLightNext/theme/components/radio.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/radio.js +51 -0
- package/dist/themes/themeLightNext/theme/components/searchBar.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/searchBar.js +25 -0
- package/dist/themes/themeLightNext/theme/components/section.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/section.js +52 -0
- package/dist/themes/themeLightNext/theme/components/select.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/select.js +103 -0
- package/dist/themes/themeLightNext/theme/components/semanticButton.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/semanticButton.js +250 -0
- package/dist/themes/themeLightNext/theme/components/semanticContainer.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/semanticContainer.js +43 -0
- package/dist/themes/themeLightNext/theme/components/semanticIcon.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/semanticIcon.js +11 -0
- package/dist/themes/themeLightNext/theme/components/sideBar.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/sideBar.js +81 -0
- package/dist/themes/themeLightNext/theme/components/skeleton.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/skeleton.js +30 -0
- package/dist/themes/themeLightNext/theme/components/slider.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/slider.js +68 -0
- package/dist/themes/themeLightNext/theme/components/stepper.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/stepper.js +62 -0
- package/dist/themes/themeLightNext/theme/components/switch.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/switch.js +55 -0
- package/dist/themes/themeLightNext/theme/components/table.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/table.js +91 -0
- package/dist/themes/themeLightNext/theme/components/tableHeading.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/tableHeading.js +26 -0
- package/dist/themes/themeLightNext/theme/components/tabs.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/tabs.js +86 -0
- package/dist/themes/themeLightNext/theme/components/textButton.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/textButton.js +203 -0
- package/dist/themes/themeLightNext/theme/components/themeModeSwitch.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/themeModeSwitch.js +23 -0
- package/dist/themes/themeLightNext/theme/components/toast.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/toast.js +9 -0
- package/dist/themes/themeLightNext/theme/components/toggleButton.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/toggleButton.js +57 -0
- package/dist/themes/themeLightNext/theme/components/tooltip.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/tooltip.js +17 -0
- package/dist/themes/themeLightNext/theme/components/treeView.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/treeView.js +16 -0
- package/dist/themes/themeLightNext/theme/components/typography.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/typography.js +79 -0
- package/dist/themes/themeLightNext/theme/components/windowBar.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/windowBar.js +55 -0
- package/dist/themes/themeLightNext/theme/globals/body.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/globals/body.js +9 -0
- package/dist/themes/themeLightNext/theme/globals/scrollbar.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/globals/scrollbar.js +12 -0
- package/dist/themes/themeLightNext/theme.d.ts +2 -0
- package/dist/themes/themeLightNext/theme.js +136 -0
- package/dist/themes/themeLightNext/tokens.d.ts +2 -0
- package/dist/themes/themeLightNext/tokens.js +211 -0
- package/dist/themes/types/theme/components/charts.types.d.ts +10 -0
- package/dist/themes/types/theme/components/charts.types.js +1 -0
- package/dist/themes/types/theme/components/index.d.ts +1 -0
- package/dist/themes/types/theme/components/index.js +1 -0
- package/dist/themes/types/theme/components/themeModeSwitch.types.d.ts +5 -0
- package/dist/themes/types/theme/theme.types.d.ts +2 -1
- package/package.json +2 -1
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
const semanticColors = {
|
|
2
|
+
transparent: '#00000000',
|
|
3
|
+
neutral0: '#FFFFFF',
|
|
4
|
+
neutral50: '#FCFCFC',
|
|
5
|
+
neutral100: '#F8F8F8',
|
|
6
|
+
neutral200: '#E6E6E6',
|
|
7
|
+
neutral300: '#D1D3D4',
|
|
8
|
+
neutral400: '#BCBEC0',
|
|
9
|
+
neutral500: '#A7A9AC',
|
|
10
|
+
neutral600: '#939598',
|
|
11
|
+
neutral700: '#6D6E71',
|
|
12
|
+
neutral800: '#58595B',
|
|
13
|
+
neutral900: '#414042',
|
|
14
|
+
neutral950: '#282828',
|
|
15
|
+
primary0: '#351D22',
|
|
16
|
+
primary50: '#3F2226',
|
|
17
|
+
primary100: '#4A282B',
|
|
18
|
+
primary200: '#FFACA7',
|
|
19
|
+
primary300: '#FD736A',
|
|
20
|
+
primary400: '#FF4438',
|
|
21
|
+
primary500: '#FD736A',
|
|
22
|
+
primary600: '#EB352A',
|
|
23
|
+
primary700: '#D1281E',
|
|
24
|
+
primary800: '#8A221C',
|
|
25
|
+
primary900: '#5E2020',
|
|
26
|
+
primary950: '#351D22',
|
|
27
|
+
secondary0: '#FFFFFF',
|
|
28
|
+
secondary50: '#F3F3F3',
|
|
29
|
+
secondary100: '#E9E9E9',
|
|
30
|
+
secondary200: '#D9D9D9',
|
|
31
|
+
secondary300: '#B9C2C6',
|
|
32
|
+
secondary400: '#8A99A0',
|
|
33
|
+
secondary500: '#5C707A',
|
|
34
|
+
secondary600: '#445B67',
|
|
35
|
+
secondary700: '#2D4754',
|
|
36
|
+
secondary800: '#163341',
|
|
37
|
+
secondary900: '#0D212C',
|
|
38
|
+
secondary950: '#091A23',
|
|
39
|
+
secondary990: '#091A23',
|
|
40
|
+
success0: '#1C2B16',
|
|
41
|
+
success50: '#24361C',
|
|
42
|
+
success100: '#2C421F',
|
|
43
|
+
success200: '#DCFF1E',
|
|
44
|
+
success300: '#BFE112',
|
|
45
|
+
success400: '#A9CA03',
|
|
46
|
+
success500: '#A6E22E',
|
|
47
|
+
success600: '#6F9900',
|
|
48
|
+
success700: '#5B7E00',
|
|
49
|
+
success800: '#486400',
|
|
50
|
+
success900: '#344A00',
|
|
51
|
+
notice0: '#2C2410',
|
|
52
|
+
notice50: '#38301A',
|
|
53
|
+
notice100: '#443C20',
|
|
54
|
+
notice200: '#F0C562',
|
|
55
|
+
notice300: '#F0B429',
|
|
56
|
+
notice400: '#F0B429',
|
|
57
|
+
notice500: '#C89000',
|
|
58
|
+
notice600: '#AF7E00',
|
|
59
|
+
notice700: '#8F6700',
|
|
60
|
+
notice800: '#6F5000',
|
|
61
|
+
notice900: '#4F3900',
|
|
62
|
+
informative0: '#0E2733',
|
|
63
|
+
informative50: '#133140',
|
|
64
|
+
informative100: '#183C4E',
|
|
65
|
+
informative200: '#80DBFF',
|
|
66
|
+
informative300: '#5ED1FF',
|
|
67
|
+
informative400: '#80DBFF',
|
|
68
|
+
informative500: '#25B5EE',
|
|
69
|
+
informative600: '#0F9FD9',
|
|
70
|
+
informative700: '#0E8EC0',
|
|
71
|
+
informative800: '#0477A5',
|
|
72
|
+
informative900: '#035E82',
|
|
73
|
+
attention0: '#2C2410',
|
|
74
|
+
attention50: '#38301A',
|
|
75
|
+
attention100: '#443C20',
|
|
76
|
+
attention200: '#F0C562',
|
|
77
|
+
attention300: '#F0B429',
|
|
78
|
+
attention400: '#F0B429',
|
|
79
|
+
attention500: '#C89000',
|
|
80
|
+
attention600: '#AF7E00',
|
|
81
|
+
attention700: '#8F6700',
|
|
82
|
+
attention800: '#6F5000',
|
|
83
|
+
attention900: '#4F3900',
|
|
84
|
+
discovery0: '#241531',
|
|
85
|
+
discovery50: '#2C1A3C',
|
|
86
|
+
discovery100: '#341F47',
|
|
87
|
+
discovery200: '#C795E3',
|
|
88
|
+
discovery300: '#B76BE2',
|
|
89
|
+
discovery400: '#9C42CE',
|
|
90
|
+
discovery500: '#8F2EC4',
|
|
91
|
+
discovery600: '#7C1AB3',
|
|
92
|
+
discovery700: '#6A1F98',
|
|
93
|
+
discovery800: '#592479',
|
|
94
|
+
discovery900: '#431A5B',
|
|
95
|
+
danger0: '#351D22',
|
|
96
|
+
danger50: '#3F2226',
|
|
97
|
+
danger100: '#4A282B',
|
|
98
|
+
danger200: '#FD8A82',
|
|
99
|
+
danger300: '#FD736A',
|
|
100
|
+
danger400: '#D1281E',
|
|
101
|
+
danger500: '#A82420',
|
|
102
|
+
danger600: '#8A221C',
|
|
103
|
+
danger700: '#75211D',
|
|
104
|
+
danger800: '#5E2020',
|
|
105
|
+
danger900: '#351D22'
|
|
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
|
+
// Dark elevation: black-based shadows (midnight-tinted ones vanish on the
|
|
135
|
+
// midnight canvas); outline uses the dark border color.
|
|
136
|
+
shadow1: '0 4px 12px rgba(0, 0, 0, 0.45)',
|
|
137
|
+
shadow2: '0 4px 12px rgba(0, 0, 0, 0.35)',
|
|
138
|
+
shadow3: '0 1px 2px rgba(0, 0, 0, 0.3)',
|
|
139
|
+
shadow4: '0px 0px 0px 1px #2D4754',
|
|
140
|
+
shadow100: '0 1px 2px rgba(0, 0, 0, 0.3)',
|
|
141
|
+
shadow200: '0 4px 12px rgba(0, 0, 0, 0.35)',
|
|
142
|
+
shadow300: '0 4px 12px rgba(0, 0, 0, 0.4)',
|
|
143
|
+
shadow400: '0 24px 48px rgba(0, 0, 0, 0.55)',
|
|
144
|
+
shadow500: '0 24px 48px rgba(0, 0, 0, 0.5)',
|
|
145
|
+
shadow600: '0 24px 48px rgba(0, 0, 0, 0.55)',
|
|
146
|
+
shadow700: '0 4px 12px rgba(0, 0, 0, 0.35), 0 24px 48px rgba(0, 0, 0, 0.45)'
|
|
147
|
+
},
|
|
148
|
+
zIndex: {
|
|
149
|
+
zIndex5: 5,
|
|
150
|
+
zIndex9998: 9998,
|
|
151
|
+
zIndex9999: 9999
|
|
152
|
+
},
|
|
153
|
+
icon: {
|
|
154
|
+
size: {
|
|
155
|
+
XS: '0.8rem',
|
|
156
|
+
S: '1.2rem',
|
|
157
|
+
M: '1.6rem',
|
|
158
|
+
L: '2rem',
|
|
159
|
+
XL: '2.4rem',
|
|
160
|
+
XXL: '3.2rem',
|
|
161
|
+
'for-text': '1.25em',
|
|
162
|
+
'by-font': '1em'
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
font: {
|
|
166
|
+
fontFamily: {
|
|
167
|
+
regular: 'Space Grotesk, Helvetica Neue, Arial, sans-serif',
|
|
168
|
+
sourceCodeProRegular: 'Space Mono, ui-monospace, Menlo, monospace'
|
|
169
|
+
},
|
|
170
|
+
fontSize: {
|
|
171
|
+
s8: '0.80rem',
|
|
172
|
+
s10: '1.00rem',
|
|
173
|
+
s12: '1.20rem',
|
|
174
|
+
s13: '1.30rem',
|
|
175
|
+
s14: '1.40rem',
|
|
176
|
+
s15: '1.50rem',
|
|
177
|
+
s16: '1.60rem',
|
|
178
|
+
s18: '1.80rem',
|
|
179
|
+
s20: '2.00rem',
|
|
180
|
+
s22: '2.20rem',
|
|
181
|
+
s24: '2.40rem',
|
|
182
|
+
s26: '2.60rem',
|
|
183
|
+
s27: '2.70rem',
|
|
184
|
+
s28: '2.80rem',
|
|
185
|
+
s32: '3.20rem',
|
|
186
|
+
s40: '4.00rem',
|
|
187
|
+
s44: '4.40rem',
|
|
188
|
+
s52: '5.20rem'
|
|
189
|
+
},
|
|
190
|
+
fontWeight: {
|
|
191
|
+
normal: '400',
|
|
192
|
+
semiBold: '500',
|
|
193
|
+
bold: '500'
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
motion: {
|
|
197
|
+
duration: {
|
|
198
|
+
fast: '120ms',
|
|
199
|
+
base: '200ms',
|
|
200
|
+
slow: '360ms'
|
|
201
|
+
},
|
|
202
|
+
easing: {
|
|
203
|
+
easeOut: 'cubic-bezier(0.16, 1, 0.3, 1)',
|
|
204
|
+
easeInOut: 'cubic-bezier(0.65, 0, 0.35, 1)'
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
focus: {
|
|
208
|
+
margin: '2px',
|
|
209
|
+
size: '2px',
|
|
210
|
+
color: semanticColors.primary200
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
categorical: [
|
|
4
|
+
tokens.semantic.color.icon.informative400,
|
|
5
|
+
tokens.semantic.color.icon.discovery400,
|
|
6
|
+
tokens.semantic.color.icon.success400,
|
|
7
|
+
tokens.semantic.color.icon.attention400,
|
|
8
|
+
tokens.semantic.color.icon.primary400,
|
|
9
|
+
tokens.semantic.color.icon.secondary400,
|
|
10
|
+
tokens.semantic.color.icon.informative700,
|
|
11
|
+
tokens.semantic.color.icon.discovery700
|
|
12
|
+
],
|
|
13
|
+
grid: tokens.semantic.color.border.secondary200,
|
|
14
|
+
axisLabel: tokens.semantic.color.text.secondary500,
|
|
15
|
+
threshold: {
|
|
16
|
+
warning: tokens.semantic.color.icon.attention400,
|
|
17
|
+
critical: tokens.semantic.color.icon.danger500
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
export default theme;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { tokens } from '../../tokens';
|
|
2
|
-
import
|
|
2
|
+
import sunIcon from '../assets/Sun.svg';
|
|
3
|
+
import moonIcon from '../assets/Moon.svg';
|
|
3
4
|
const theme = {
|
|
4
5
|
width: '3.6rem',
|
|
5
6
|
height: '2.2rem',
|
|
@@ -9,10 +10,14 @@ const theme = {
|
|
|
9
10
|
borderColor: tokens.semantic.color.border.transparent,
|
|
10
11
|
bgColor: tokens.semantic.color.background.secondary200,
|
|
11
12
|
thumb: {
|
|
12
|
-
icon: `url("${
|
|
13
|
+
icon: `url("${sunIcon}")`,
|
|
13
14
|
iconAspectRatio: '1/1',
|
|
14
15
|
borderRadius: '0',
|
|
15
16
|
bgColor: 'transparent'
|
|
17
|
+
},
|
|
18
|
+
modeIcon: {
|
|
19
|
+
light: `url("${sunIcon}")`,
|
|
20
|
+
dark: `url("${moonIcon}")`
|
|
16
21
|
}
|
|
17
22
|
};
|
|
18
23
|
export default theme;
|
|
@@ -11,6 +11,7 @@ import breadcrumbs from './theme/components/breadcrumbs';
|
|
|
11
11
|
import button from './theme/components/button';
|
|
12
12
|
import buttonGroup from './theme/components/buttonGroup';
|
|
13
13
|
import card from './theme/components/card';
|
|
14
|
+
import charts from './theme/components/charts';
|
|
14
15
|
import checkbox from './theme/components/checkbox';
|
|
15
16
|
import chip from './theme/components/chip';
|
|
16
17
|
import chipList from './theme/components/chipList';
|
|
@@ -78,6 +79,7 @@ export const theme = {
|
|
|
78
79
|
button,
|
|
79
80
|
buttonGroup,
|
|
80
81
|
card,
|
|
82
|
+
charts,
|
|
81
83
|
checkbox,
|
|
82
84
|
chip,
|
|
83
85
|
chipList,
|
|
@@ -611,6 +611,17 @@ export declare const tokens: {
|
|
|
611
611
|
bold: string;
|
|
612
612
|
};
|
|
613
613
|
};
|
|
614
|
+
motion: {
|
|
615
|
+
duration: {
|
|
616
|
+
fast: string;
|
|
617
|
+
base: string;
|
|
618
|
+
slow: string;
|
|
619
|
+
};
|
|
620
|
+
easing: {
|
|
621
|
+
easeOut: string;
|
|
622
|
+
easeInOut: string;
|
|
623
|
+
};
|
|
624
|
+
};
|
|
614
625
|
focus: {
|
|
615
626
|
margin: string;
|
|
616
627
|
size: string;
|
|
@@ -191,6 +191,17 @@ export const tokens = {
|
|
|
191
191
|
bold: '600'
|
|
192
192
|
}
|
|
193
193
|
},
|
|
194
|
+
motion: {
|
|
195
|
+
duration: {
|
|
196
|
+
fast: '120ms',
|
|
197
|
+
base: '200ms',
|
|
198
|
+
slow: '360ms'
|
|
199
|
+
},
|
|
200
|
+
easing: {
|
|
201
|
+
easeOut: 'cubic-bezier(0.16, 1, 0.3, 1)',
|
|
202
|
+
easeInOut: 'cubic-bezier(0.65, 0, 0.35, 1)'
|
|
203
|
+
}
|
|
204
|
+
},
|
|
194
205
|
focus: {
|
|
195
206
|
margin: '2px',
|
|
196
207
|
size: '2px',
|
|
@@ -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.primary500
|
|
29
|
+
},
|
|
30
|
+
active: {
|
|
31
|
+
bgColor: tokens.semantic.color.background.primary600
|
|
32
|
+
},
|
|
33
|
+
disabled: {
|
|
34
|
+
bgColor: tokens.semantic.color.background.neutral100,
|
|
35
|
+
textColor: tokens.semantic.color.text.neutral400
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
secondary: {
|
|
39
|
+
normal: {
|
|
40
|
+
bgColor: tokens.semantic.color.background.primary0,
|
|
41
|
+
textColor: tokens.semantic.color.text.primary600
|
|
42
|
+
},
|
|
43
|
+
hover: {
|
|
44
|
+
bgColor: tokens.semantic.color.background.primary50
|
|
45
|
+
},
|
|
46
|
+
active: {
|
|
47
|
+
bgColor: tokens.semantic.color.background.primary100
|
|
48
|
+
},
|
|
49
|
+
disabled: {
|
|
50
|
+
bgColor: tokens.semantic.color.background.neutral100,
|
|
51
|
+
textColor: tokens.semantic.color.text.neutral400
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
export default theme;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
height: '5.6rem',
|
|
4
|
+
padding: '1.4rem 1.4rem 1.4rem 2.4rem',
|
|
5
|
+
separator: `1px solid ${tokens.semantic.color.border.secondary200}`,
|
|
6
|
+
boxShadow: `0px 1px 0px 0px ${tokens.semantic.color.border.secondary200}`,
|
|
7
|
+
group: {
|
|
8
|
+
gap: '1.6rem'
|
|
9
|
+
},
|
|
10
|
+
variants: {
|
|
11
|
+
default: {
|
|
12
|
+
bgColor: tokens.semantic.color.background.secondary0,
|
|
13
|
+
color: tokens.semantic.color.background.primary400,
|
|
14
|
+
userNameColor: tokens.semantic.color.background.secondary700,
|
|
15
|
+
accountNameColor: tokens.semantic.color.background.secondary950
|
|
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.5rem',
|
|
5
|
+
height: '3.2rem',
|
|
6
|
+
width: '3.2rem',
|
|
7
|
+
padding: '0px',
|
|
8
|
+
toggleStates: {
|
|
9
|
+
on: {
|
|
10
|
+
normal: {
|
|
11
|
+
bgColor: tokens.semantic.color.background.secondary200,
|
|
12
|
+
borderColor: tokens.semantic.color.border.secondary200,
|
|
13
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
off: {
|
|
17
|
+
normal: {
|
|
18
|
+
bgColor: 'transparent',
|
|
19
|
+
borderColor: 'transparent',
|
|
20
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
21
|
+
},
|
|
22
|
+
hover: {
|
|
23
|
+
bgColor: tokens.semantic.color.background.secondary100,
|
|
24
|
+
borderColor: tokens.semantic.color.border.secondary100,
|
|
25
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
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.secondary0,
|
|
13
|
+
color: tokens.semantic.color.text.secondary700,
|
|
14
|
+
borderColor: tokens.semantic.color.border.secondary200,
|
|
15
|
+
iconColor: tokens.semantic.color.text.secondary600
|
|
16
|
+
},
|
|
17
|
+
light: {
|
|
18
|
+
backgroundColor: tokens.semantic.color.background.secondary50,
|
|
19
|
+
color: tokens.semantic.color.text.secondary700,
|
|
20
|
+
borderColor: tokens.semantic.color.border.secondary200,
|
|
21
|
+
iconColor: tokens.semantic.color.text.secondary600
|
|
22
|
+
},
|
|
23
|
+
default: {
|
|
24
|
+
backgroundColor: tokens.semantic.color.background.informative0,
|
|
25
|
+
color: tokens.semantic.color.text.informative800,
|
|
26
|
+
borderColor: tokens.semantic.color.border.informative200,
|
|
27
|
+
iconColor: tokens.semantic.color.text.primary600
|
|
28
|
+
},
|
|
29
|
+
informative: {
|
|
30
|
+
backgroundColor: tokens.semantic.color.background.informative0,
|
|
31
|
+
color: tokens.semantic.color.text.primary700,
|
|
32
|
+
borderColor: tokens.semantic.color.border.informative100,
|
|
33
|
+
iconColor: tokens.semantic.color.text.informative800
|
|
34
|
+
},
|
|
35
|
+
success: {
|
|
36
|
+
backgroundColor: tokens.semantic.color.background.success0,
|
|
37
|
+
color: tokens.semantic.color.text.success800,
|
|
38
|
+
borderColor: tokens.semantic.color.border.success200,
|
|
39
|
+
iconColor: tokens.semantic.color.text.success700
|
|
40
|
+
},
|
|
41
|
+
notice: {
|
|
42
|
+
backgroundColor: tokens.semantic.color.background.notice0,
|
|
43
|
+
color: tokens.semantic.color.text.notice700,
|
|
44
|
+
borderColor: tokens.semantic.color.border.notice200,
|
|
45
|
+
iconColor: tokens.semantic.color.text.notice700
|
|
46
|
+
},
|
|
47
|
+
danger: {
|
|
48
|
+
backgroundColor: tokens.semantic.color.background.danger0,
|
|
49
|
+
color: tokens.semantic.color.text.danger700,
|
|
50
|
+
borderColor: tokens.semantic.color.border.danger200,
|
|
51
|
+
iconColor: tokens.semantic.color.text.danger600
|
|
52
|
+
},
|
|
53
|
+
attention: {
|
|
54
|
+
backgroundColor: tokens.semantic.color.background.attention0,
|
|
55
|
+
color: tokens.semantic.color.text.attention700,
|
|
56
|
+
borderColor: tokens.semantic.color.border.attention200,
|
|
57
|
+
iconColor: tokens.semantic.color.text.attention600
|
|
58
|
+
},
|
|
59
|
+
upsell: {
|
|
60
|
+
backgroundColor: tokens.semantic.color.background.discovery0,
|
|
61
|
+
color: tokens.semantic.color.text.discovery700,
|
|
62
|
+
borderColor: tokens.semantic.color.border.discovery200,
|
|
63
|
+
iconColor: tokens.semantic.color.text.discovery600
|
|
64
|
+
},
|
|
65
|
+
disabled: {
|
|
66
|
+
backgroundColor: tokens.semantic.color.background.neutral100,
|
|
67
|
+
color: tokens.semantic.color.text.neutral400,
|
|
68
|
+
borderColor: tokens.semantic.color.border.neutral300,
|
|
69
|
+
iconColor: tokens.semantic.color.text.neutral400
|
|
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.secondary0,
|
|
14
|
+
borderColor: tokens.semantic.color.border.secondary400,
|
|
15
|
+
markerColor: 'transparent',
|
|
16
|
+
textColor: tokens.semantic.color.text.secondary950,
|
|
17
|
+
iconColor: tokens.semantic.color.icon.secondary950
|
|
18
|
+
},
|
|
19
|
+
hover: {
|
|
20
|
+
bgColor: tokens.semantic.color.background.secondary0,
|
|
21
|
+
borderColor: tokens.semantic.color.border.primary500,
|
|
22
|
+
markerColor: tokens.semantic.color.border.primary500,
|
|
23
|
+
textColor: tokens.semantic.color.text.secondary950,
|
|
24
|
+
iconColor: tokens.semantic.color.icon.secondary950
|
|
25
|
+
},
|
|
26
|
+
disabled: {
|
|
27
|
+
bgColor: tokens.semantic.color.background.neutral0,
|
|
28
|
+
borderColor: tokens.semantic.color.border.neutral200,
|
|
29
|
+
markerColor: 'transparent',
|
|
30
|
+
textColor: tokens.semantic.color.text.secondary950,
|
|
31
|
+
iconColor: tokens.semantic.color.icon.secondary300,
|
|
32
|
+
opacity: '0.5'
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
checked: {
|
|
36
|
+
normal: {
|
|
37
|
+
bgColor: tokens.semantic.color.background.secondary0,
|
|
38
|
+
borderColor: tokens.semantic.color.border.primary400,
|
|
39
|
+
markerColor: tokens.semantic.color.border.primary400,
|
|
40
|
+
textColor: tokens.semantic.color.text.secondary950,
|
|
41
|
+
iconColor: tokens.semantic.color.icon.secondary950
|
|
42
|
+
},
|
|
43
|
+
disabled: {
|
|
44
|
+
bgColor: tokens.semantic.color.background.neutral200,
|
|
45
|
+
borderColor: tokens.semantic.color.border.neutral200,
|
|
46
|
+
markerColor: tokens.semantic.color.border.neutral200,
|
|
47
|
+
textColor: tokens.semantic.color.text.secondary950,
|
|
48
|
+
iconColor: tokens.semantic.color.icon.secondary950,
|
|
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.secondary600
|
|
8
|
+
},
|
|
9
|
+
hover: {
|
|
10
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
11
|
+
},
|
|
12
|
+
active: {
|
|
13
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
14
|
+
},
|
|
15
|
+
disabled: {
|
|
16
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
current: {
|
|
21
|
+
textColor: tokens.semantic.color.text.secondary950,
|
|
22
|
+
fontWeight: tokens.core.font.fontWeight.semiBold
|
|
23
|
+
},
|
|
24
|
+
separator: {
|
|
25
|
+
textColor: tokens.semantic.color.text.secondary600
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
export default theme;
|