@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,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;
|
|
@@ -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;
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
gap: '0.2rem',
|
|
4
|
+
sizes: {
|
|
5
|
+
small: {
|
|
6
|
+
borderRadius: '0.3rem',
|
|
7
|
+
padding: '0.4rem 1rem',
|
|
8
|
+
height: '2.4rem',
|
|
9
|
+
lineHeight: '1.64rem'
|
|
10
|
+
},
|
|
11
|
+
medium: {
|
|
12
|
+
borderRadius: '0.5rem',
|
|
13
|
+
padding: '0.55rem 1.2rem',
|
|
14
|
+
height: '3rem',
|
|
15
|
+
lineHeight: '1.91rem'
|
|
16
|
+
},
|
|
17
|
+
large: {
|
|
18
|
+
borderRadius: '0.5rem',
|
|
19
|
+
padding: '0.8rem 1.6rem',
|
|
20
|
+
height: '3.6rem',
|
|
21
|
+
lineHeight: '1.91rem'
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
variants: {
|
|
25
|
+
primary: {
|
|
26
|
+
normal: {
|
|
27
|
+
bgColor: tokens.semantic.color.background.primary400,
|
|
28
|
+
borderColor: tokens.semantic.color.border.primary400,
|
|
29
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
30
|
+
},
|
|
31
|
+
hover: {
|
|
32
|
+
bgColor: tokens.semantic.color.background.primary500,
|
|
33
|
+
borderColor: tokens.semantic.color.border.primary600,
|
|
34
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
35
|
+
},
|
|
36
|
+
active: {
|
|
37
|
+
bgColor: tokens.semantic.color.background.primary600,
|
|
38
|
+
borderColor: tokens.semantic.color.border.primary800,
|
|
39
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
40
|
+
},
|
|
41
|
+
disabled: {
|
|
42
|
+
bgColor: tokens.semantic.color.background.neutral100,
|
|
43
|
+
borderColor: tokens.semantic.color.border.neutral200,
|
|
44
|
+
textColor: tokens.semantic.color.text.neutral400
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
destructive: {
|
|
48
|
+
normal: {
|
|
49
|
+
bgColor: tokens.semantic.color.background.danger500,
|
|
50
|
+
borderColor: tokens.semantic.color.border.danger700,
|
|
51
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
52
|
+
},
|
|
53
|
+
hover: {
|
|
54
|
+
bgColor: tokens.semantic.color.background.danger600,
|
|
55
|
+
borderColor: tokens.semantic.color.border.danger700,
|
|
56
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
57
|
+
},
|
|
58
|
+
active: {
|
|
59
|
+
bgColor: tokens.semantic.color.background.danger700,
|
|
60
|
+
borderColor: tokens.semantic.color.border.danger800,
|
|
61
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
62
|
+
},
|
|
63
|
+
disabled: {
|
|
64
|
+
bgColor: tokens.semantic.color.background.neutral100,
|
|
65
|
+
borderColor: tokens.semantic.color.border.neutral200,
|
|
66
|
+
textColor: tokens.semantic.color.text.neutral400
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
'secondary-fill': {
|
|
70
|
+
normal: {
|
|
71
|
+
bgColor: tokens.semantic.color.background.secondary100,
|
|
72
|
+
borderColor: tokens.semantic.color.border.secondary300,
|
|
73
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
74
|
+
},
|
|
75
|
+
hover: {
|
|
76
|
+
bgColor: tokens.semantic.color.background.secondary200,
|
|
77
|
+
borderColor: tokens.semantic.color.border.secondary300,
|
|
78
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
79
|
+
},
|
|
80
|
+
active: {
|
|
81
|
+
bgColor: tokens.semantic.color.background.secondary300,
|
|
82
|
+
borderColor: tokens.semantic.color.border.secondary400,
|
|
83
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
84
|
+
},
|
|
85
|
+
disabled: {
|
|
86
|
+
bgColor: tokens.semantic.color.background.neutral100,
|
|
87
|
+
borderColor: tokens.semantic.color.border.neutral200,
|
|
88
|
+
textColor: tokens.semantic.color.text.neutral400
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
'secondary-invert': {
|
|
92
|
+
normal: {
|
|
93
|
+
bgColor: tokens.semantic.color.background.primary0,
|
|
94
|
+
borderColor: tokens.semantic.color.border.primary100,
|
|
95
|
+
textColor: tokens.semantic.color.text.primary600
|
|
96
|
+
},
|
|
97
|
+
hover: {
|
|
98
|
+
bgColor: tokens.semantic.color.background.primary50,
|
|
99
|
+
borderColor: tokens.semantic.color.border.primary200,
|
|
100
|
+
textColor: tokens.semantic.color.text.primary600
|
|
101
|
+
},
|
|
102
|
+
active: {
|
|
103
|
+
bgColor: tokens.semantic.color.background.primary100,
|
|
104
|
+
borderColor: tokens.semantic.color.border.primary200,
|
|
105
|
+
textColor: tokens.semantic.color.text.primary600
|
|
106
|
+
},
|
|
107
|
+
disabled: {
|
|
108
|
+
bgColor: tokens.semantic.color.background.neutral100,
|
|
109
|
+
borderColor: tokens.semantic.color.border.neutral200,
|
|
110
|
+
textColor: tokens.semantic.color.text.neutral400
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
'secondary-ghost': {
|
|
114
|
+
normal: {
|
|
115
|
+
bgColor: 'transparent',
|
|
116
|
+
borderColor: tokens.semantic.color.border.primary400,
|
|
117
|
+
textColor: tokens.semantic.color.text.primary400
|
|
118
|
+
},
|
|
119
|
+
hover: {
|
|
120
|
+
bgColor: 'transparent',
|
|
121
|
+
borderColor: tokens.semantic.color.border.primary500,
|
|
122
|
+
textColor: tokens.semantic.color.text.primary500
|
|
123
|
+
},
|
|
124
|
+
active: {
|
|
125
|
+
bgColor: 'transparent',
|
|
126
|
+
borderColor: tokens.semantic.color.border.primary600,
|
|
127
|
+
textColor: tokens.semantic.color.text.primary600
|
|
128
|
+
},
|
|
129
|
+
disabled: {
|
|
130
|
+
bgColor: 'transparent',
|
|
131
|
+
borderColor: tokens.semantic.color.border.neutral200,
|
|
132
|
+
textColor: tokens.semantic.color.text.neutral400
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
upsell: {
|
|
136
|
+
normal: {
|
|
137
|
+
bgGradient: `linear-gradient(316deg, ${tokens.semantic.color.background.discovery500} 0%, ${tokens.semantic.color.background.discovery400} 78%)`,
|
|
138
|
+
textColor: tokens.semantic.color.text.secondary0,
|
|
139
|
+
borderColor: tokens.semantic.color.border.discovery600
|
|
140
|
+
},
|
|
141
|
+
hover: {
|
|
142
|
+
bgGradient: `linear-gradient(316deg, ${tokens.semantic.color.background.discovery500} 0%, ${tokens.semantic.color.background.discovery500} 78%)`,
|
|
143
|
+
borderColor: tokens.semantic.color.border.discovery600
|
|
144
|
+
},
|
|
145
|
+
active: {
|
|
146
|
+
bgGradient: `linear-gradient(316deg, ${tokens.semantic.color.background.discovery600} 0%, ${tokens.semantic.color.background.discovery600} 78%)`,
|
|
147
|
+
borderColor: tokens.semantic.color.border.discovery700
|
|
148
|
+
},
|
|
149
|
+
disabled: {
|
|
150
|
+
bgGradient: 'unset',
|
|
151
|
+
bgColor: tokens.semantic.color.background.neutral100,
|
|
152
|
+
borderColor: tokens.semantic.color.border.neutral200,
|
|
153
|
+
textColor: tokens.semantic.color.text.neutral400
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
'upsell-invert': {
|
|
157
|
+
normal: {
|
|
158
|
+
bgColor: tokens.semantic.color.background.discovery0,
|
|
159
|
+
borderColor: tokens.semantic.color.border.discovery100,
|
|
160
|
+
textColor: tokens.semantic.color.text.discovery700
|
|
161
|
+
},
|
|
162
|
+
hover: {
|
|
163
|
+
bgColor: tokens.semantic.color.background.discovery50,
|
|
164
|
+
borderColor: tokens.semantic.color.border.discovery100,
|
|
165
|
+
textColor: tokens.semantic.color.text.discovery700
|
|
166
|
+
},
|
|
167
|
+
active: {
|
|
168
|
+
bgColor: tokens.semantic.color.background.discovery100,
|
|
169
|
+
borderColor: tokens.semantic.color.border.discovery200,
|
|
170
|
+
textColor: tokens.semantic.color.text.discovery800
|
|
171
|
+
},
|
|
172
|
+
disabled: {
|
|
173
|
+
bgColor: tokens.semantic.color.background.neutral100,
|
|
174
|
+
borderColor: tokens.semantic.color.border.neutral200,
|
|
175
|
+
textColor: tokens.semantic.color.text.neutral400
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
'upsell-ghost': {
|
|
179
|
+
normal: {
|
|
180
|
+
bgColor: 'transparent',
|
|
181
|
+
borderColor: tokens.semantic.color.border.discovery400,
|
|
182
|
+
textColor: tokens.semantic.color.text.discovery400
|
|
183
|
+
},
|
|
184
|
+
hover: {
|
|
185
|
+
bgColor: 'transparent',
|
|
186
|
+
borderColor: tokens.semantic.color.border.discovery500,
|
|
187
|
+
textColor: tokens.semantic.color.text.discovery500
|
|
188
|
+
},
|
|
189
|
+
active: {
|
|
190
|
+
bgColor: 'transparent',
|
|
191
|
+
borderColor: tokens.semantic.color.border.discovery600,
|
|
192
|
+
textColor: tokens.semantic.color.text.discovery600
|
|
193
|
+
},
|
|
194
|
+
disabled: {
|
|
195
|
+
bgColor: 'transparent',
|
|
196
|
+
borderColor: tokens.semantic.color.border.neutral200,
|
|
197
|
+
textColor: tokens.semantic.color.text.neutral400
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
notice: {
|
|
201
|
+
normal: {
|
|
202
|
+
bgGradient: `linear-gradient(316deg, ${tokens.semantic.color.background.notice500} 0%, ${tokens.semantic.color.background.notice400} 78%)`,
|
|
203
|
+
textColor: tokens.semantic.color.text.secondary0,
|
|
204
|
+
borderColor: tokens.semantic.color.border.notice600
|
|
205
|
+
},
|
|
206
|
+
hover: {
|
|
207
|
+
bgGradient: `linear-gradient(316deg, ${tokens.semantic.color.background.notice500} 0%, ${tokens.semantic.color.background.notice500} 78%)`,
|
|
208
|
+
borderColor: tokens.semantic.color.border.notice600
|
|
209
|
+
},
|
|
210
|
+
active: {
|
|
211
|
+
bgGradient: `linear-gradient(316deg, ${tokens.semantic.color.background.notice600} 0%, ${tokens.semantic.color.background.notice600} 78%)`,
|
|
212
|
+
borderColor: tokens.semantic.color.border.notice700
|
|
213
|
+
},
|
|
214
|
+
disabled: {
|
|
215
|
+
bgGradient: 'unset',
|
|
216
|
+
bgColor: tokens.semantic.color.background.neutral100,
|
|
217
|
+
borderColor: tokens.semantic.color.border.neutral200,
|
|
218
|
+
textColor: tokens.semantic.color.text.neutral400
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
};
|
|
223
|
+
export default theme;
|