@redis-ui/styles 21.2.0 → 21.3.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 +7223 -1395
- package/dist/index.umd.cjs +14 -14
- 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.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 +18 -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.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 +18 -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/theme.types.d.ts +2 -1
- package/package.json +2 -1
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
size: '1.8rem',
|
|
4
|
+
iconSize: '0.6rem',
|
|
5
|
+
padding: '0',
|
|
6
|
+
borderWidth: '1px',
|
|
7
|
+
gap: '0.8rem',
|
|
8
|
+
group: {
|
|
9
|
+
vertical: {
|
|
10
|
+
gap: '2.4rem',
|
|
11
|
+
blockPadding: '0.8rem'
|
|
12
|
+
},
|
|
13
|
+
horizontal: {
|
|
14
|
+
gap: '2.4rem',
|
|
15
|
+
blockPadding: '0'
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
label: {
|
|
19
|
+
gap: '0.8rem',
|
|
20
|
+
lineHeight: '1.8rem'
|
|
21
|
+
},
|
|
22
|
+
variants: {
|
|
23
|
+
primary: {
|
|
24
|
+
on: {
|
|
25
|
+
normal: {
|
|
26
|
+
bgColor: tokens.semantic.color.background.primary400,
|
|
27
|
+
iconColor: tokens.semantic.color.icon.secondary0,
|
|
28
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
29
|
+
},
|
|
30
|
+
disabled: {
|
|
31
|
+
bgColor: tokens.semantic.color.background.secondary300,
|
|
32
|
+
iconColor: tokens.semantic.color.icon.secondary0,
|
|
33
|
+
textColor: tokens.semantic.color.text.secondary300
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
off: {
|
|
37
|
+
normal: {
|
|
38
|
+
bgColor: 'transparent',
|
|
39
|
+
borderColor: tokens.semantic.color.border.secondary950,
|
|
40
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
41
|
+
},
|
|
42
|
+
disabled: {
|
|
43
|
+
bgColor: 'transparent',
|
|
44
|
+
borderColor: tokens.semantic.color.border.secondary300,
|
|
45
|
+
textColor: tokens.semantic.color.text.secondary300
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
export default theme;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
bgColor: tokens.semantic.color.background.secondary0,
|
|
4
|
+
shadow: `0px 0px 0px 1px ${tokens.semantic.color.border.secondary300}`,
|
|
5
|
+
borderRadius: '0.8rem',
|
|
6
|
+
filtersSection: {
|
|
7
|
+
borderColor: tokens.semantic.color.border.secondary300,
|
|
8
|
+
borderWidth: '1px'
|
|
9
|
+
},
|
|
10
|
+
searchSection: {
|
|
11
|
+
padding: '0.8rem 1.6rem'
|
|
12
|
+
},
|
|
13
|
+
actionsBar: {
|
|
14
|
+
gap: '1.6rem',
|
|
15
|
+
separator: {
|
|
16
|
+
height: '1.6rem',
|
|
17
|
+
width: '1px',
|
|
18
|
+
color: tokens.semantic.color.border.secondary300
|
|
19
|
+
},
|
|
20
|
+
customActions: {
|
|
21
|
+
gap: '0.8rem'
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
export default theme;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
width: '100%',
|
|
4
|
+
height: 'fit-content',
|
|
5
|
+
bgColor: tokens.semantic.color.background.secondary0,
|
|
6
|
+
borderColor: tokens.semantic.color.border.secondary400,
|
|
7
|
+
borderRadius: '0.8rem',
|
|
8
|
+
header: {
|
|
9
|
+
minHeight: '5.6rem',
|
|
10
|
+
padding: '1.2rem 1.6rem',
|
|
11
|
+
backgroundColor: tokens.semantic.color.background.secondary50,
|
|
12
|
+
group: {
|
|
13
|
+
gap: '1.6rem'
|
|
14
|
+
},
|
|
15
|
+
label: {
|
|
16
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
17
|
+
},
|
|
18
|
+
collapsedInfo: {},
|
|
19
|
+
summaryBar: {
|
|
20
|
+
minHeight: '4rem',
|
|
21
|
+
padding: '1.2rem 1.6rem',
|
|
22
|
+
backgroundColor: tokens.semantic.color.background.secondary0,
|
|
23
|
+
collapsableBackgroundColor: tokens.semantic.color.background.secondary0
|
|
24
|
+
},
|
|
25
|
+
categoryValueList: {
|
|
26
|
+
gap: '12px',
|
|
27
|
+
categoryValueChip: {
|
|
28
|
+
gap: '0.8rem',
|
|
29
|
+
minWidth: '0',
|
|
30
|
+
backgroundColor: tokens.semantic.color.background.transparent,
|
|
31
|
+
categoryTextColor: tokens.semantic.color.text.secondary950,
|
|
32
|
+
valueTextColor: tokens.semantic.color.text.secondary600
|
|
33
|
+
},
|
|
34
|
+
divider: {
|
|
35
|
+
width: '1px',
|
|
36
|
+
height: '1.6rem',
|
|
37
|
+
backgroundColor: tokens.semantic.color.text.secondary300
|
|
38
|
+
},
|
|
39
|
+
counter: {
|
|
40
|
+
textColor: tokens.semantic.color.text.secondary300
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
body: {
|
|
45
|
+
padding: '3.2rem 1.6rem'
|
|
46
|
+
},
|
|
47
|
+
separator: {
|
|
48
|
+
width: '1px',
|
|
49
|
+
color: tokens.semantic.color.border.secondary400
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
export default theme;
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
padding: '0 1rem',
|
|
4
|
+
height: '3.6rem',
|
|
5
|
+
gap: '0.6rem',
|
|
6
|
+
fontFamily: tokens.core.font.fontFamily.regular,
|
|
7
|
+
fontSize: '1.4rem',
|
|
8
|
+
fontWeight: tokens.core.font.fontWeight.normal,
|
|
9
|
+
borderWidth: '1px',
|
|
10
|
+
borderRadius: '0.5rem',
|
|
11
|
+
indicator: {
|
|
12
|
+
errorTooltipTextColor: tokens.semantic.color.text.danger500,
|
|
13
|
+
errorIconColor: tokens.semantic.color.icon.danger500,
|
|
14
|
+
successIconColor: tokens.semantic.color.icon.success500
|
|
15
|
+
},
|
|
16
|
+
placeholder: {
|
|
17
|
+
textColor: tokens.semantic.color.text.secondary600
|
|
18
|
+
},
|
|
19
|
+
reset: {
|
|
20
|
+
iconColor: tokens.semantic.color.icon.secondary950
|
|
21
|
+
},
|
|
22
|
+
arrow: {
|
|
23
|
+
iconColor: tokens.semantic.color.icon.secondary950
|
|
24
|
+
},
|
|
25
|
+
value: {
|
|
26
|
+
gap: '0.8rem'
|
|
27
|
+
},
|
|
28
|
+
multiValue: {
|
|
29
|
+
margin: '0 0 0 -0.6rem'
|
|
30
|
+
},
|
|
31
|
+
states: {
|
|
32
|
+
normal: {
|
|
33
|
+
bgColor: tokens.semantic.color.background.secondary0,
|
|
34
|
+
borderColor: tokens.semantic.color.border.secondary400,
|
|
35
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
36
|
+
},
|
|
37
|
+
focused: {
|
|
38
|
+
borderColor: tokens.semantic.color.border.secondary400
|
|
39
|
+
},
|
|
40
|
+
opened: {
|
|
41
|
+
borderColor: tokens.semantic.color.border.primary400
|
|
42
|
+
},
|
|
43
|
+
success: {
|
|
44
|
+
borderColor: tokens.semantic.color.border.success500
|
|
45
|
+
},
|
|
46
|
+
error: {
|
|
47
|
+
borderColor: tokens.semantic.color.border.danger500
|
|
48
|
+
},
|
|
49
|
+
disabled: {
|
|
50
|
+
bgColor: tokens.semantic.color.background.neutral50,
|
|
51
|
+
borderColor: tokens.semantic.color.border.neutral200,
|
|
52
|
+
textColor: tokens.semantic.color.text.neutral300
|
|
53
|
+
},
|
|
54
|
+
readonly: {
|
|
55
|
+
bgColor: 'transparent',
|
|
56
|
+
borderColor: 'transparent',
|
|
57
|
+
textColor: tokens.semantic.color.text.secondary900
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
dropdown: {
|
|
61
|
+
padding: '0.8rem 0',
|
|
62
|
+
bgColor: tokens.semantic.color.background.neutral100,
|
|
63
|
+
shadow: tokens.core.shadow.shadow400,
|
|
64
|
+
borderRadius: '0.5rem',
|
|
65
|
+
triggerOffset: '0.4rem',
|
|
66
|
+
maxHeight: '50vh',
|
|
67
|
+
search: {
|
|
68
|
+
margin: '0.8rem 1.6rem'
|
|
69
|
+
},
|
|
70
|
+
footer: {
|
|
71
|
+
blockPadding: '1rem 0.2rem',
|
|
72
|
+
inlinePadding: '1.6rem',
|
|
73
|
+
separator: {
|
|
74
|
+
size: '1px',
|
|
75
|
+
color: tokens.semantic.color.border.secondary300
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
option: {
|
|
79
|
+
height: '3.1rem',
|
|
80
|
+
fontSize: '1.4rem',
|
|
81
|
+
padding: '0 1.6rem',
|
|
82
|
+
gap: '0.8rem',
|
|
83
|
+
content: {
|
|
84
|
+
gap: '0.8rem'
|
|
85
|
+
},
|
|
86
|
+
states: {
|
|
87
|
+
normal: {
|
|
88
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
89
|
+
},
|
|
90
|
+
highlighted: {
|
|
91
|
+
bgColor: tokens.semantic.color.background.secondary100
|
|
92
|
+
},
|
|
93
|
+
checked: {
|
|
94
|
+
textColor: tokens.semantic.color.text.primary400
|
|
95
|
+
},
|
|
96
|
+
disabled: {
|
|
97
|
+
textColor: tokens.semantic.color.text.neutral300
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
export default theme;
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
sizes: {
|
|
4
|
+
S: {
|
|
5
|
+
borderRadius: '99rem',
|
|
6
|
+
padding: `${tokens.core.space.space050} ${tokens.core.space.space100}`,
|
|
7
|
+
fontSize: '1rem',
|
|
8
|
+
height: '2rem'
|
|
9
|
+
},
|
|
10
|
+
M: {
|
|
11
|
+
borderRadius: '99rem',
|
|
12
|
+
padding: `${tokens.core.space.space050} ${tokens.core.space.space150}`,
|
|
13
|
+
fontSize: '1.2rem',
|
|
14
|
+
height: '2.4rem'
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
variants: {
|
|
18
|
+
success: {
|
|
19
|
+
primary: {
|
|
20
|
+
normal: {
|
|
21
|
+
bgColor: tokens.semantic.color.background.success600,
|
|
22
|
+
borderColor: tokens.semantic.color.border.success600,
|
|
23
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
24
|
+
},
|
|
25
|
+
hover: {
|
|
26
|
+
bgColor: tokens.semantic.color.background.success700,
|
|
27
|
+
borderColor: tokens.semantic.color.border.success700,
|
|
28
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
29
|
+
},
|
|
30
|
+
active: {
|
|
31
|
+
bgColor: tokens.semantic.color.background.success800,
|
|
32
|
+
borderColor: tokens.semantic.color.border.success800,
|
|
33
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
34
|
+
},
|
|
35
|
+
disabled: {
|
|
36
|
+
bgColor: tokens.semantic.color.background.success0,
|
|
37
|
+
borderColor: tokens.semantic.color.border.success0,
|
|
38
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
secondary: {
|
|
42
|
+
normal: {
|
|
43
|
+
bgColor: 'transparent',
|
|
44
|
+
borderColor: tokens.semantic.color.border.success600,
|
|
45
|
+
textColor: tokens.semantic.color.text.success600
|
|
46
|
+
},
|
|
47
|
+
hover: {
|
|
48
|
+
bgColor: 'transparent',
|
|
49
|
+
borderColor: tokens.semantic.color.border.success700,
|
|
50
|
+
textColor: tokens.semantic.color.text.success700
|
|
51
|
+
},
|
|
52
|
+
active: {
|
|
53
|
+
bgColor: 'transparent',
|
|
54
|
+
borderColor: tokens.semantic.color.border.success800,
|
|
55
|
+
textColor: tokens.semantic.color.text.success800
|
|
56
|
+
},
|
|
57
|
+
disabled: {
|
|
58
|
+
bgColor: 'transparent',
|
|
59
|
+
borderColor: tokens.semantic.color.border.success100,
|
|
60
|
+
textColor: tokens.semantic.color.text.success100
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
attention: {
|
|
65
|
+
primary: {
|
|
66
|
+
normal: {
|
|
67
|
+
bgColor: tokens.semantic.color.background.attention500,
|
|
68
|
+
borderColor: tokens.semantic.color.border.attention500,
|
|
69
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
70
|
+
},
|
|
71
|
+
hover: {
|
|
72
|
+
bgColor: tokens.semantic.color.background.attention600,
|
|
73
|
+
borderColor: tokens.semantic.color.border.attention600,
|
|
74
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
75
|
+
},
|
|
76
|
+
active: {
|
|
77
|
+
bgColor: tokens.semantic.color.background.attention700,
|
|
78
|
+
borderColor: tokens.semantic.color.border.attention700,
|
|
79
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
80
|
+
},
|
|
81
|
+
disabled: {
|
|
82
|
+
bgColor: tokens.semantic.color.background.attention50,
|
|
83
|
+
borderColor: tokens.semantic.color.border.attention50,
|
|
84
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
secondary: {
|
|
88
|
+
normal: {
|
|
89
|
+
bgColor: 'transparent',
|
|
90
|
+
borderColor: tokens.semantic.color.border.attention500,
|
|
91
|
+
textColor: tokens.semantic.color.text.attention700
|
|
92
|
+
},
|
|
93
|
+
hover: {
|
|
94
|
+
bgColor: 'transparent',
|
|
95
|
+
borderColor: tokens.semantic.color.border.attention600,
|
|
96
|
+
textColor: tokens.semantic.color.text.attention600
|
|
97
|
+
},
|
|
98
|
+
active: {
|
|
99
|
+
bgColor: 'transparent',
|
|
100
|
+
borderColor: tokens.semantic.color.border.attention700,
|
|
101
|
+
textColor: tokens.semantic.color.text.attention700
|
|
102
|
+
},
|
|
103
|
+
disabled: {
|
|
104
|
+
bgColor: 'transparent',
|
|
105
|
+
borderColor: tokens.semantic.color.border.attention50,
|
|
106
|
+
textColor: tokens.semantic.color.text.attention50
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
danger: {
|
|
111
|
+
primary: {
|
|
112
|
+
normal: {
|
|
113
|
+
bgColor: tokens.semantic.color.background.danger600,
|
|
114
|
+
borderColor: tokens.semantic.color.border.danger600,
|
|
115
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
116
|
+
},
|
|
117
|
+
hover: {
|
|
118
|
+
bgColor: tokens.semantic.color.background.danger700,
|
|
119
|
+
borderColor: tokens.semantic.color.border.danger700,
|
|
120
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
121
|
+
},
|
|
122
|
+
active: {
|
|
123
|
+
bgColor: tokens.semantic.color.background.danger800,
|
|
124
|
+
borderColor: tokens.semantic.color.border.danger800,
|
|
125
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
126
|
+
},
|
|
127
|
+
disabled: {
|
|
128
|
+
bgColor: tokens.semantic.color.background.danger100,
|
|
129
|
+
borderColor: tokens.semantic.color.border.danger100,
|
|
130
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
secondary: {
|
|
134
|
+
normal: {
|
|
135
|
+
bgColor: 'transparent',
|
|
136
|
+
borderColor: tokens.semantic.color.border.danger600,
|
|
137
|
+
textColor: tokens.semantic.color.text.danger600
|
|
138
|
+
},
|
|
139
|
+
hover: {
|
|
140
|
+
bgColor: 'transparent',
|
|
141
|
+
borderColor: tokens.semantic.color.border.danger700,
|
|
142
|
+
textColor: tokens.semantic.color.text.danger700
|
|
143
|
+
},
|
|
144
|
+
active: {
|
|
145
|
+
bgColor: 'transparent',
|
|
146
|
+
borderColor: tokens.semantic.color.border.danger800,
|
|
147
|
+
textColor: tokens.semantic.color.text.danger800
|
|
148
|
+
},
|
|
149
|
+
disabled: {
|
|
150
|
+
bgColor: 'transparent',
|
|
151
|
+
borderColor: tokens.semantic.color.border.danger100,
|
|
152
|
+
textColor: tokens.semantic.color.text.danger100
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
notice: {
|
|
157
|
+
primary: {
|
|
158
|
+
normal: {
|
|
159
|
+
bgColor: tokens.semantic.color.background.notice600,
|
|
160
|
+
borderColor: tokens.semantic.color.border.notice600,
|
|
161
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
162
|
+
},
|
|
163
|
+
hover: {
|
|
164
|
+
bgColor: tokens.semantic.color.background.notice700,
|
|
165
|
+
borderColor: tokens.semantic.color.border.notice700,
|
|
166
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
167
|
+
},
|
|
168
|
+
active: {
|
|
169
|
+
bgColor: tokens.semantic.color.background.notice800,
|
|
170
|
+
borderColor: tokens.semantic.color.border.notice800,
|
|
171
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
172
|
+
},
|
|
173
|
+
disabled: {
|
|
174
|
+
bgColor: tokens.semantic.color.background.notice100,
|
|
175
|
+
borderColor: tokens.semantic.color.border.notice100,
|
|
176
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
secondary: {
|
|
180
|
+
normal: {
|
|
181
|
+
bgColor: 'transparent',
|
|
182
|
+
borderColor: tokens.semantic.color.border.notice600,
|
|
183
|
+
textColor: tokens.semantic.color.text.notice600
|
|
184
|
+
},
|
|
185
|
+
hover: {
|
|
186
|
+
bgColor: 'transparent',
|
|
187
|
+
borderColor: tokens.semantic.color.border.notice700,
|
|
188
|
+
textColor: tokens.semantic.color.text.notice700
|
|
189
|
+
},
|
|
190
|
+
active: {
|
|
191
|
+
bgColor: 'transparent',
|
|
192
|
+
borderColor: tokens.semantic.color.border.notice800,
|
|
193
|
+
textColor: tokens.semantic.color.text.notice800
|
|
194
|
+
},
|
|
195
|
+
disabled: {
|
|
196
|
+
bgColor: 'transparent',
|
|
197
|
+
borderColor: tokens.semantic.color.border.notice100,
|
|
198
|
+
textColor: tokens.semantic.color.text.notice100
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
informative: {
|
|
203
|
+
primary: {
|
|
204
|
+
normal: {
|
|
205
|
+
bgColor: tokens.semantic.color.background.informative600,
|
|
206
|
+
borderColor: tokens.semantic.color.border.informative600,
|
|
207
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
208
|
+
},
|
|
209
|
+
hover: {
|
|
210
|
+
bgColor: tokens.semantic.color.background.informative700,
|
|
211
|
+
borderColor: tokens.semantic.color.border.informative700,
|
|
212
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
213
|
+
},
|
|
214
|
+
active: {
|
|
215
|
+
bgColor: tokens.semantic.color.background.informative800,
|
|
216
|
+
borderColor: tokens.semantic.color.border.informative800,
|
|
217
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
218
|
+
},
|
|
219
|
+
disabled: {
|
|
220
|
+
bgColor: tokens.semantic.color.background.informative100,
|
|
221
|
+
borderColor: tokens.semantic.color.border.informative100,
|
|
222
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
secondary: {
|
|
226
|
+
normal: {
|
|
227
|
+
bgColor: 'transparent',
|
|
228
|
+
borderColor: tokens.semantic.color.border.informative600,
|
|
229
|
+
textColor: tokens.semantic.color.text.informative600
|
|
230
|
+
},
|
|
231
|
+
hover: {
|
|
232
|
+
bgColor: 'transparent',
|
|
233
|
+
borderColor: tokens.semantic.color.border.informative700,
|
|
234
|
+
textColor: tokens.semantic.color.text.informative700
|
|
235
|
+
},
|
|
236
|
+
active: {
|
|
237
|
+
bgColor: 'transparent',
|
|
238
|
+
borderColor: tokens.semantic.color.border.informative800,
|
|
239
|
+
textColor: tokens.semantic.color.text.informative800
|
|
240
|
+
},
|
|
241
|
+
disabled: {
|
|
242
|
+
bgColor: 'transparent',
|
|
243
|
+
borderColor: tokens.semantic.color.border.informative100,
|
|
244
|
+
textColor: tokens.semantic.color.text.informative100
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
};
|
|
250
|
+
export default theme;
|
|
@@ -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,81 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
bgColor: tokens.semantic.color.background.secondary50,
|
|
4
|
+
borderRight: `1px solid ${tokens.semantic.color.border.secondary300}`,
|
|
5
|
+
divider: {
|
|
6
|
+
color: tokens.semantic.color.background.secondary300
|
|
7
|
+
},
|
|
8
|
+
button: {
|
|
9
|
+
tooltip: {
|
|
10
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
collapseButton: {
|
|
14
|
+
border: {
|
|
15
|
+
collapsed: `1px solid ${tokens.semantic.color.border.secondary300}`,
|
|
16
|
+
expanded: `none`
|
|
17
|
+
},
|
|
18
|
+
filterShadow: 'none',
|
|
19
|
+
iconColor: tokens.semantic.color.icon.secondary950,
|
|
20
|
+
right: {
|
|
21
|
+
collapsed: 'calc(2.2rem * -0.45)',
|
|
22
|
+
expanded: '1.6rem'
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
header: {
|
|
26
|
+
dividerColor: tokens.semantic.color.border.secondary300
|
|
27
|
+
},
|
|
28
|
+
footer: {
|
|
29
|
+
dividerColor: tokens.semantic.color.background.secondary600,
|
|
30
|
+
link: {
|
|
31
|
+
textColor: tokens.semantic.color.text.secondary600
|
|
32
|
+
},
|
|
33
|
+
text: {
|
|
34
|
+
textColor: tokens.semantic.color.text.secondary600
|
|
35
|
+
},
|
|
36
|
+
meta: {
|
|
37
|
+
visibility: {
|
|
38
|
+
collapsed: 'hidden',
|
|
39
|
+
expanded: 'visible'
|
|
40
|
+
},
|
|
41
|
+
whiteSpace: {
|
|
42
|
+
collapsed: 'nowrap',
|
|
43
|
+
expanded: 'normal'
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
item: {
|
|
48
|
+
states: {
|
|
49
|
+
normal: {
|
|
50
|
+
textColor: tokens.semantic.color.text.secondary800,
|
|
51
|
+
bgColor: 'transparent'
|
|
52
|
+
},
|
|
53
|
+
hover: {
|
|
54
|
+
textColor: tokens.semantic.color.text.secondary950,
|
|
55
|
+
bgColor: tokens.semantic.color.background.secondary100
|
|
56
|
+
},
|
|
57
|
+
active: {
|
|
58
|
+
textColor: tokens.semantic.color.text.secondary950,
|
|
59
|
+
bgColor: tokens.semantic.color.background.secondary200
|
|
60
|
+
},
|
|
61
|
+
activeHover: {
|
|
62
|
+
textColor: tokens.semantic.color.text.secondary800
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
tooltip: {
|
|
66
|
+
textColor: tokens.semantic.color.text.secondary800
|
|
67
|
+
},
|
|
68
|
+
button: {
|
|
69
|
+
bgColor: tokens.semantic.color.background.primary400,
|
|
70
|
+
borderColor: tokens.semantic.color.border.primary400,
|
|
71
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
72
|
+
},
|
|
73
|
+
activeIndicator: {
|
|
74
|
+
bgColor: tokens.semantic.color.background.danger500
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
groupTitle: {
|
|
78
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
export default theme;
|