@redis-ui/styles 21.6.0 → 21.7.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/index.js +3645 -3616
- package/dist/index.umd.cjs +13 -13
- package/dist/themes/themeDarkNext/theme/components/actionIconButton.js +13 -11
- package/dist/themes/themeDarkNext/theme/components/appBar.js +12 -12
- package/dist/themes/themeDarkNext/theme/components/appSelectionMenu.js +8 -8
- package/dist/themes/themeDarkNext/theme/components/badge.js +36 -35
- package/dist/themes/themeDarkNext/theme/components/boxSelectionGroup.js +20 -19
- package/dist/themes/themeDarkNext/theme/components/breadcrumbs.js +6 -6
- package/dist/themes/themeDarkNext/theme/components/button.js +35 -33
- package/dist/themes/themeDarkNext/theme/components/buttonGroup.js +17 -17
- package/dist/themes/themeDarkNext/theme/components/card.js +13 -12
- package/dist/themes/themeDarkNext/theme/components/checkbox.js +26 -22
- package/dist/themes/themeDarkNext/theme/components/chip.js +10 -10
- package/dist/themes/themeDarkNext/theme/components/chipList.js +3 -3
- package/dist/themes/themeDarkNext/theme/components/drawer.js +8 -8
- package/dist/themes/themeDarkNext/theme/components/filters.js +4 -4
- package/dist/themes/themeDarkNext/theme/components/formField.js +2 -2
- package/dist/themes/themeDarkNext/theme/components/gauge.js +9 -9
- package/dist/themes/themeDarkNext/theme/components/highlightedIcon.js +15 -14
- package/dist/themes/themeDarkNext/theme/components/icon.js +7 -7
- package/dist/themes/themeDarkNext/theme/components/iconButton.js +6 -6
- package/dist/themes/themeDarkNext/theme/components/input.js +16 -16
- package/dist/themes/themeDarkNext/theme/components/keyValueList.js +4 -4
- package/dist/themes/themeDarkNext/theme/components/label.js +5 -5
- package/dist/themes/themeDarkNext/theme/components/layouts.js +1 -1
- package/dist/themes/themeDarkNext/theme/components/link.js +9 -9
- package/dist/themes/themeDarkNext/theme/components/loader.js +9 -9
- package/dist/themes/themeDarkNext/theme/components/menu.js +13 -13
- package/dist/themes/themeDarkNext/theme/components/modal.js +9 -9
- package/dist/themes/themeDarkNext/theme/components/moreInfoIcon.js +1 -1
- package/dist/themes/themeDarkNext/theme/components/popover.js +2 -2
- package/dist/themes/themeDarkNext/theme/components/popupCard.js +3 -3
- package/dist/themes/themeDarkNext/theme/components/progressBar.js +9 -9
- package/dist/themes/themeDarkNext/theme/components/radio.js +10 -10
- package/dist/themes/themeDarkNext/theme/components/searchBar.js +3 -3
- package/dist/themes/themeDarkNext/theme/components/section.js +9 -9
- package/dist/themes/themeDarkNext/theme/components/select.js +17 -17
- package/dist/themes/themeDarkNext/theme/components/semanticButton.js +21 -21
- package/dist/themes/themeDarkNext/theme/components/semanticContainer.js +16 -15
- package/dist/themes/themeDarkNext/theme/components/semanticIcon.js +5 -5
- package/dist/themes/themeDarkNext/theme/components/sideBar.js +20 -19
- package/dist/themes/themeDarkNext/theme/components/skeleton.js +6 -6
- package/dist/themes/themeDarkNext/theme/components/slider.js +12 -12
- package/dist/themes/themeDarkNext/theme/components/stepper.js +10 -10
- package/dist/themes/themeDarkNext/theme/components/switch.js +18 -18
- package/dist/themes/themeDarkNext/theme/components/table.js +9 -9
- package/dist/themes/themeDarkNext/theme/components/tableHeading.js +2 -2
- package/dist/themes/themeDarkNext/theme/components/tabs.js +13 -13
- package/dist/themes/themeDarkNext/theme/components/textButton.js +30 -29
- package/dist/themes/themeDarkNext/theme/components/themeModeSwitch.js +3 -3
- package/dist/themes/themeDarkNext/theme/components/toggleButton.js +17 -14
- package/dist/themes/themeDarkNext/theme/components/tooltip.js +7 -7
- package/dist/themes/themeDarkNext/theme/components/treeView.js +2 -2
- package/dist/themes/themeDarkNext/theme/components/typography.js +7 -7
- package/dist/themes/themeDarkNext/theme/components/windowBar.js +28 -27
- package/dist/themes/themeDarkNext/theme/globals/body.js +2 -2
- package/dist/themes/themeDarkNext/theme/globals/scrollbar.js +2 -2
- package/dist/themes/themeDarkNext/tokens.js +3 -3
- package/dist/themes/themeLightNext/theme/components/actionIconButton.js +12 -10
- package/dist/themes/themeLightNext/theme/components/appBar.js +8 -8
- package/dist/themes/themeLightNext/theme/components/appSelectionMenu.js +4 -4
- package/dist/themes/themeLightNext/theme/components/badge.js +30 -29
- package/dist/themes/themeLightNext/theme/components/boxSelectionGroup.js +16 -15
- package/dist/themes/themeLightNext/theme/components/breadcrumbs.js +2 -2
- package/dist/themes/themeLightNext/theme/components/button.js +43 -41
- package/dist/themes/themeLightNext/theme/components/buttonGroup.js +14 -14
- package/dist/themes/themeLightNext/theme/components/card.js +10 -9
- package/dist/themes/themeLightNext/theme/components/checkbox.js +21 -17
- package/dist/themes/themeLightNext/theme/components/chip.js +8 -8
- package/dist/themes/themeLightNext/theme/components/chipList.js +3 -3
- package/dist/themes/themeLightNext/theme/components/countryFlag.js +1 -1
- package/dist/themes/themeLightNext/theme/components/drawer.js +7 -7
- package/dist/themes/themeLightNext/theme/components/filters.js +2 -2
- package/dist/themes/themeLightNext/theme/components/formField.js +2 -2
- package/dist/themes/themeLightNext/theme/components/gauge.js +8 -8
- package/dist/themes/themeLightNext/theme/components/highlightedIcon.js +13 -12
- package/dist/themes/themeLightNext/theme/components/icon.js +6 -6
- package/dist/themes/themeLightNext/theme/components/iconButton.js +4 -4
- package/dist/themes/themeLightNext/theme/components/input.js +11 -11
- package/dist/themes/themeLightNext/theme/components/keyValueList.js +4 -4
- package/dist/themes/themeLightNext/theme/components/label.js +3 -3
- package/dist/themes/themeLightNext/theme/components/layouts.js +1 -1
- package/dist/themes/themeLightNext/theme/components/link.js +10 -10
- package/dist/themes/themeLightNext/theme/components/loader.js +9 -9
- package/dist/themes/themeLightNext/theme/components/menu.js +13 -13
- package/dist/themes/themeLightNext/theme/components/modal.js +7 -7
- package/dist/themes/themeLightNext/theme/components/moreInfoIcon.js +1 -1
- package/dist/themes/themeLightNext/theme/components/popover.js +2 -2
- package/dist/themes/themeLightNext/theme/components/popupCard.js +3 -3
- package/dist/themes/themeLightNext/theme/components/progressBar.js +8 -8
- package/dist/themes/themeLightNext/theme/components/radio.js +10 -10
- package/dist/themes/themeLightNext/theme/components/searchBar.js +3 -3
- package/dist/themes/themeLightNext/theme/components/section.js +7 -7
- package/dist/themes/themeLightNext/theme/components/select.js +15 -15
- package/dist/themes/themeLightNext/theme/components/semanticButton.js +25 -25
- package/dist/themes/themeLightNext/theme/components/semanticContainer.js +13 -12
- package/dist/themes/themeLightNext/theme/components/semanticIcon.js +5 -5
- package/dist/themes/themeLightNext/theme/components/sideBar.js +20 -19
- package/dist/themes/themeLightNext/theme/components/skeleton.js +6 -6
- package/dist/themes/themeLightNext/theme/components/slider.js +8 -8
- package/dist/themes/themeLightNext/theme/components/stepper.js +9 -9
- package/dist/themes/themeLightNext/theme/components/switch.js +18 -18
- package/dist/themes/themeLightNext/theme/components/table.js +6 -6
- package/dist/themes/themeLightNext/theme/components/tableHeading.js +2 -2
- package/dist/themes/themeLightNext/theme/components/tabs.js +10 -10
- package/dist/themes/themeLightNext/theme/components/textButton.js +26 -26
- package/dist/themes/themeLightNext/theme/components/themeModeSwitch.js +3 -3
- package/dist/themes/themeLightNext/theme/components/toggleButton.js +12 -9
- package/dist/themes/themeLightNext/theme/components/tooltip.js +6 -6
- package/dist/themes/themeLightNext/theme/components/treeView.js +2 -2
- package/dist/themes/themeLightNext/theme/components/typography.js +6 -6
- package/dist/themes/themeLightNext/theme/components/windowBar.js +28 -27
- package/dist/themes/themeLightNext/theme/globals/body.js +1 -1
- package/dist/themes/themeLightNext/theme/globals/scrollbar.js +2 -2
- package/dist/themes/themeLightNext/tokens.js +3 -3
- package/package.json +1 -1
|
@@ -33,9 +33,9 @@ const theme = {
|
|
|
33
33
|
textColor: tokens.semantic.color.text.secondary0
|
|
34
34
|
},
|
|
35
35
|
disabled: {
|
|
36
|
-
bgColor: tokens.semantic.color.background.
|
|
37
|
-
borderColor: tokens.semantic.color.border.
|
|
38
|
-
textColor: tokens.semantic.color.text.
|
|
36
|
+
bgColor: tokens.semantic.color.background.secondary200,
|
|
37
|
+
borderColor: tokens.semantic.color.border.secondary200,
|
|
38
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
secondary: {
|
|
@@ -56,8 +56,8 @@ const theme = {
|
|
|
56
56
|
},
|
|
57
57
|
disabled: {
|
|
58
58
|
bgColor: 'transparent',
|
|
59
|
-
borderColor: tokens.semantic.color.border.
|
|
60
|
-
textColor: tokens.semantic.color.text.
|
|
59
|
+
borderColor: tokens.semantic.color.border.secondary200,
|
|
60
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
},
|
|
@@ -79,9 +79,9 @@ const theme = {
|
|
|
79
79
|
textColor: tokens.semantic.color.text.secondary0
|
|
80
80
|
},
|
|
81
81
|
disabled: {
|
|
82
|
-
bgColor: tokens.semantic.color.background.
|
|
83
|
-
borderColor: tokens.semantic.color.border.
|
|
84
|
-
textColor: tokens.semantic.color.text.
|
|
82
|
+
bgColor: tokens.semantic.color.background.secondary200,
|
|
83
|
+
borderColor: tokens.semantic.color.border.secondary200,
|
|
84
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
87
|
secondary: {
|
|
@@ -102,8 +102,8 @@ const theme = {
|
|
|
102
102
|
},
|
|
103
103
|
disabled: {
|
|
104
104
|
bgColor: 'transparent',
|
|
105
|
-
borderColor: tokens.semantic.color.border.
|
|
106
|
-
textColor: tokens.semantic.color.text.
|
|
105
|
+
borderColor: tokens.semantic.color.border.secondary200,
|
|
106
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
},
|
|
@@ -125,9 +125,9 @@ const theme = {
|
|
|
125
125
|
textColor: tokens.semantic.color.text.secondary0
|
|
126
126
|
},
|
|
127
127
|
disabled: {
|
|
128
|
-
bgColor: tokens.semantic.color.background.
|
|
129
|
-
borderColor: tokens.semantic.color.border.
|
|
130
|
-
textColor: tokens.semantic.color.text.
|
|
128
|
+
bgColor: tokens.semantic.color.background.secondary200,
|
|
129
|
+
borderColor: tokens.semantic.color.border.secondary200,
|
|
130
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
131
131
|
}
|
|
132
132
|
},
|
|
133
133
|
secondary: {
|
|
@@ -148,8 +148,8 @@ const theme = {
|
|
|
148
148
|
},
|
|
149
149
|
disabled: {
|
|
150
150
|
bgColor: 'transparent',
|
|
151
|
-
borderColor: tokens.semantic.color.border.
|
|
152
|
-
textColor: tokens.semantic.color.text.
|
|
151
|
+
borderColor: tokens.semantic.color.border.secondary200,
|
|
152
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
},
|
|
@@ -171,9 +171,9 @@ const theme = {
|
|
|
171
171
|
textColor: tokens.semantic.color.text.secondary0
|
|
172
172
|
},
|
|
173
173
|
disabled: {
|
|
174
|
-
bgColor: tokens.semantic.color.background.
|
|
175
|
-
borderColor: tokens.semantic.color.border.
|
|
176
|
-
textColor: tokens.semantic.color.text.
|
|
174
|
+
bgColor: tokens.semantic.color.background.secondary200,
|
|
175
|
+
borderColor: tokens.semantic.color.border.secondary200,
|
|
176
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
177
177
|
}
|
|
178
178
|
},
|
|
179
179
|
secondary: {
|
|
@@ -194,8 +194,8 @@ const theme = {
|
|
|
194
194
|
},
|
|
195
195
|
disabled: {
|
|
196
196
|
bgColor: 'transparent',
|
|
197
|
-
borderColor: tokens.semantic.color.border.
|
|
198
|
-
textColor: tokens.semantic.color.text.
|
|
197
|
+
borderColor: tokens.semantic.color.border.secondary200,
|
|
198
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
},
|
|
@@ -217,9 +217,9 @@ const theme = {
|
|
|
217
217
|
textColor: tokens.semantic.color.text.secondary0
|
|
218
218
|
},
|
|
219
219
|
disabled: {
|
|
220
|
-
bgColor: tokens.semantic.color.background.
|
|
221
|
-
borderColor: tokens.semantic.color.border.
|
|
222
|
-
textColor: tokens.semantic.color.text.
|
|
220
|
+
bgColor: tokens.semantic.color.background.secondary200,
|
|
221
|
+
borderColor: tokens.semantic.color.border.secondary200,
|
|
222
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
223
223
|
}
|
|
224
224
|
},
|
|
225
225
|
secondary: {
|
|
@@ -240,8 +240,8 @@ const theme = {
|
|
|
240
240
|
},
|
|
241
241
|
disabled: {
|
|
242
242
|
bgColor: 'transparent',
|
|
243
|
-
borderColor: tokens.semantic.color.border.
|
|
244
|
-
textColor: tokens.semantic.color.text.
|
|
243
|
+
borderColor: tokens.semantic.color.border.secondary200,
|
|
244
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
247
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { withOpacity } from '../../../../utils';
|
|
1
2
|
import { tokens } from '../../tokens';
|
|
2
3
|
const theme = {
|
|
3
4
|
sizes: {
|
|
@@ -15,28 +16,28 @@ const theme = {
|
|
|
15
16
|
variants: {
|
|
16
17
|
informative: {
|
|
17
18
|
bgColor: tokens.semantic.color.background.informative0,
|
|
18
|
-
textColor: tokens.semantic.color.text.
|
|
19
|
-
borderColor: tokens.semantic.color.border.informative300
|
|
19
|
+
textColor: tokens.semantic.color.text.secondary950,
|
|
20
|
+
borderColor: withOpacity(tokens.semantic.color.border.informative300, 0.24)
|
|
20
21
|
},
|
|
21
22
|
success: {
|
|
22
23
|
bgColor: tokens.semantic.color.background.success0,
|
|
23
|
-
textColor: tokens.semantic.color.text.
|
|
24
|
-
borderColor: tokens.semantic.color.border.
|
|
24
|
+
textColor: tokens.semantic.color.text.secondary950,
|
|
25
|
+
borderColor: withOpacity(tokens.semantic.color.border.success500, 0.24)
|
|
25
26
|
},
|
|
26
27
|
notice: {
|
|
27
28
|
bgColor: tokens.semantic.color.background.notice0,
|
|
28
|
-
textColor: tokens.semantic.color.text.
|
|
29
|
-
borderColor: tokens.semantic.color.border.
|
|
29
|
+
textColor: tokens.semantic.color.text.secondary950,
|
|
30
|
+
borderColor: withOpacity(tokens.semantic.color.border.notice400, 0.24)
|
|
30
31
|
},
|
|
31
32
|
danger: {
|
|
32
|
-
bgColor: tokens.semantic.color.background.
|
|
33
|
-
textColor: tokens.semantic.color.text.
|
|
34
|
-
borderColor: tokens.semantic.color.border.
|
|
33
|
+
bgColor: tokens.semantic.color.background.primary0,
|
|
34
|
+
textColor: tokens.semantic.color.text.secondary950,
|
|
35
|
+
borderColor: withOpacity(tokens.semantic.color.border.primary400, 0.24)
|
|
35
36
|
},
|
|
36
37
|
attention: {
|
|
37
|
-
bgColor: tokens.semantic.color.background.
|
|
38
|
-
textColor: tokens.semantic.color.text.
|
|
39
|
-
borderColor: tokens.semantic.color.border.
|
|
38
|
+
bgColor: tokens.semantic.color.background.notice0,
|
|
39
|
+
textColor: tokens.semantic.color.text.secondary950,
|
|
40
|
+
borderColor: withOpacity(tokens.semantic.color.border.notice400, 0.24)
|
|
40
41
|
}
|
|
41
42
|
}
|
|
42
43
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { tokens } from '../../tokens';
|
|
2
2
|
const theme = {
|
|
3
3
|
variants: {
|
|
4
|
-
informative: { iconColor:
|
|
5
|
-
danger: { iconColor: tokens.semantic.color.icon.
|
|
6
|
-
attention: { iconColor:
|
|
7
|
-
notice: { iconColor:
|
|
8
|
-
success: { iconColor:
|
|
4
|
+
informative: { iconColor: '#0F6FB8' },
|
|
5
|
+
danger: { iconColor: tokens.semantic.color.icon.danger500 },
|
|
6
|
+
attention: { iconColor: '#B45309' },
|
|
7
|
+
notice: { iconColor: '#B45309' },
|
|
8
|
+
success: { iconColor: '#15803D' }
|
|
9
9
|
}
|
|
10
10
|
};
|
|
11
11
|
export default theme;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { tokens } from '../../tokens';
|
|
2
|
+
import { withOpacity } from '../../../../utils';
|
|
2
3
|
const theme = {
|
|
3
|
-
bgColor: tokens.semantic.color.background.
|
|
4
|
-
borderRight: `1px solid ${tokens.semantic.color.border.
|
|
4
|
+
bgColor: tokens.semantic.color.background.secondary0,
|
|
5
|
+
borderRight: `1px solid ${tokens.semantic.color.border.secondary200}`,
|
|
5
6
|
divider: {
|
|
6
|
-
color: tokens.semantic.color.
|
|
7
|
+
color: tokens.semantic.color.text.secondary200
|
|
7
8
|
},
|
|
8
9
|
button: {
|
|
9
10
|
tooltip: {
|
|
@@ -12,26 +13,26 @@ const theme = {
|
|
|
12
13
|
},
|
|
13
14
|
collapseButton: {
|
|
14
15
|
border: {
|
|
15
|
-
collapsed: `1px solid ${tokens.semantic.color.
|
|
16
|
+
collapsed: `1px solid ${tokens.semantic.color.background.secondary200}`,
|
|
16
17
|
expanded: `none`
|
|
17
18
|
},
|
|
18
19
|
filterShadow: 'none',
|
|
19
|
-
iconColor: tokens.semantic.color.icon.
|
|
20
|
+
iconColor: tokens.semantic.color.icon.secondary500,
|
|
20
21
|
right: {
|
|
21
22
|
collapsed: 'calc(2.2rem * -0.45)',
|
|
22
23
|
expanded: '1.6rem'
|
|
23
24
|
}
|
|
24
25
|
},
|
|
25
26
|
header: {
|
|
26
|
-
dividerColor: tokens.semantic.color.
|
|
27
|
+
dividerColor: tokens.semantic.color.background.secondary200
|
|
27
28
|
},
|
|
28
29
|
footer: {
|
|
29
|
-
dividerColor: tokens.semantic.color.
|
|
30
|
+
dividerColor: tokens.semantic.color.border.secondary500,
|
|
30
31
|
link: {
|
|
31
|
-
textColor: tokens.semantic.color.text.
|
|
32
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
32
33
|
},
|
|
33
34
|
text: {
|
|
34
|
-
textColor: tokens.semantic.color.text.
|
|
35
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
35
36
|
},
|
|
36
37
|
meta: {
|
|
37
38
|
visibility: {
|
|
@@ -47,31 +48,31 @@ const theme = {
|
|
|
47
48
|
item: {
|
|
48
49
|
states: {
|
|
49
50
|
normal: {
|
|
50
|
-
textColor: tokens.semantic.color.text.
|
|
51
|
+
textColor: tokens.semantic.color.text.secondary500,
|
|
51
52
|
bgColor: 'transparent'
|
|
52
53
|
},
|
|
53
54
|
hover: {
|
|
54
55
|
textColor: tokens.semantic.color.text.secondary950,
|
|
55
|
-
bgColor: tokens.semantic.color.background.
|
|
56
|
+
bgColor: tokens.semantic.color.background.neutral100
|
|
56
57
|
},
|
|
57
58
|
active: {
|
|
58
|
-
textColor: tokens.semantic.color.text.
|
|
59
|
-
bgColor: tokens.semantic.color.background.
|
|
59
|
+
textColor: tokens.semantic.color.text.primary700,
|
|
60
|
+
bgColor: withOpacity(tokens.semantic.color.background.primary700, 0.04)
|
|
60
61
|
},
|
|
61
62
|
activeHover: {
|
|
62
|
-
textColor: tokens.semantic.color.text.
|
|
63
|
+
textColor: tokens.semantic.color.text.primary700
|
|
63
64
|
}
|
|
64
65
|
},
|
|
65
66
|
tooltip: {
|
|
66
|
-
textColor: tokens.semantic.color.text.
|
|
67
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
67
68
|
},
|
|
68
69
|
button: {
|
|
69
|
-
bgColor: tokens.semantic.color.background.
|
|
70
|
-
borderColor: tokens.semantic.color.border.
|
|
71
|
-
textColor: tokens.semantic.color.text.
|
|
70
|
+
bgColor: tokens.semantic.color.background.secondary0,
|
|
71
|
+
borderColor: tokens.semantic.color.border.secondary200,
|
|
72
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
72
73
|
},
|
|
73
74
|
activeIndicator: {
|
|
74
|
-
bgColor:
|
|
75
|
+
bgColor: 'transparent'
|
|
75
76
|
}
|
|
76
77
|
},
|
|
77
78
|
groupTitle: {
|
|
@@ -2,19 +2,19 @@ import { tokens } from '../../tokens';
|
|
|
2
2
|
const theme = {
|
|
3
3
|
card: {
|
|
4
4
|
gap: '2.4rem',
|
|
5
|
-
bgColor: tokens.semantic.color.background.
|
|
5
|
+
bgColor: tokens.semantic.color.background.secondary0,
|
|
6
6
|
padding: '1.6rem',
|
|
7
7
|
borderRadius: '0.8rem',
|
|
8
|
-
shadow: tokens.core.shadow.
|
|
8
|
+
shadow: tokens.core.shadow.shadow100
|
|
9
9
|
},
|
|
10
10
|
shades: {
|
|
11
11
|
light: {
|
|
12
|
-
baseColor: tokens.semantic.color.background.
|
|
13
|
-
highlightColor: tokens.semantic.color.background.
|
|
12
|
+
baseColor: tokens.semantic.color.background.secondary50,
|
|
13
|
+
highlightColor: tokens.semantic.color.background.neutral100
|
|
14
14
|
},
|
|
15
15
|
dark: {
|
|
16
|
-
baseColor: tokens.semantic.color.background.
|
|
17
|
-
highlightColor:
|
|
16
|
+
baseColor: tokens.semantic.color.background.secondary200,
|
|
17
|
+
highlightColor: tokens.semantic.color.background.neutral100
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
circle: {
|
|
@@ -6,20 +6,20 @@ const theme = {
|
|
|
6
6
|
height: '0.4rem',
|
|
7
7
|
states: {
|
|
8
8
|
normal: {
|
|
9
|
-
bgColor: tokens.semantic.color.background.
|
|
9
|
+
bgColor: tokens.semantic.color.background.secondary400
|
|
10
10
|
},
|
|
11
11
|
disabled: {
|
|
12
|
-
bgColor: tokens.semantic.color.background.
|
|
12
|
+
bgColor: tokens.semantic.color.background.secondary200
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
range: {
|
|
17
17
|
states: {
|
|
18
18
|
normal: {
|
|
19
|
-
bgColor:
|
|
19
|
+
bgColor: '#0F6FB8'
|
|
20
20
|
},
|
|
21
21
|
disabled: {
|
|
22
|
-
bgColor: tokens.semantic.color.background.
|
|
22
|
+
bgColor: tokens.semantic.color.background.secondary500
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
},
|
|
@@ -31,11 +31,11 @@ const theme = {
|
|
|
31
31
|
states: {
|
|
32
32
|
normal: {
|
|
33
33
|
bgColor: tokens.semantic.color.background.secondary0,
|
|
34
|
-
borderColor:
|
|
34
|
+
borderColor: '#0F6FB8'
|
|
35
35
|
},
|
|
36
36
|
disabled: {
|
|
37
37
|
bgColor: tokens.semantic.color.background.secondary0,
|
|
38
|
-
borderColor: tokens.semantic.color.
|
|
38
|
+
borderColor: tokens.semantic.color.border.secondary500
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
},
|
|
@@ -45,10 +45,10 @@ const theme = {
|
|
|
45
45
|
rangeStates: {
|
|
46
46
|
inRange: {
|
|
47
47
|
normal: {
|
|
48
|
-
bgColor: tokens.semantic.color.background.
|
|
48
|
+
bgColor: tokens.semantic.color.background.secondary0
|
|
49
49
|
},
|
|
50
50
|
disabled: {
|
|
51
|
-
bgColor: tokens.semantic.color.background.
|
|
51
|
+
bgColor: tokens.semantic.color.background.secondary200
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
outOfRange: {
|
|
@@ -12,8 +12,8 @@ const theme = {
|
|
|
12
12
|
states: {
|
|
13
13
|
idle: {
|
|
14
14
|
indicator: {
|
|
15
|
-
bgColor: tokens.semantic.color.background.
|
|
16
|
-
iconColor: tokens.semantic.color.
|
|
15
|
+
bgColor: tokens.semantic.color.background.secondary50,
|
|
16
|
+
iconColor: tokens.semantic.color.icon.secondary500,
|
|
17
17
|
borderRadius: '100%'
|
|
18
18
|
},
|
|
19
19
|
label: {
|
|
@@ -22,22 +22,22 @@ const theme = {
|
|
|
22
22
|
fontWeight: tokens.core.font.fontWeight.normal
|
|
23
23
|
},
|
|
24
24
|
separator: {
|
|
25
|
-
bgColor: tokens.semantic.color.
|
|
25
|
+
bgColor: tokens.semantic.color.background.secondary200
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
focused: {
|
|
29
29
|
indicator: {
|
|
30
|
-
bgColor:
|
|
31
|
-
iconColor: tokens.semantic.color.
|
|
30
|
+
bgColor: '#0F6FB8',
|
|
31
|
+
iconColor: tokens.semantic.color.icon.secondary0,
|
|
32
32
|
borderRadius: '100%'
|
|
33
33
|
},
|
|
34
34
|
label: {
|
|
35
|
-
textColor: tokens.semantic.color.text.
|
|
35
|
+
textColor: tokens.semantic.color.text.secondary950,
|
|
36
36
|
letterSpacing: '-0.11px',
|
|
37
37
|
fontWeight: tokens.core.font.fontWeight.semiBold
|
|
38
38
|
},
|
|
39
39
|
separator: {
|
|
40
|
-
bgColor: tokens.semantic.color.
|
|
40
|
+
bgColor: tokens.semantic.color.background.secondary200
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
completed: {
|
|
@@ -48,12 +48,12 @@ const theme = {
|
|
|
48
48
|
padding: '0.4rem'
|
|
49
49
|
},
|
|
50
50
|
label: {
|
|
51
|
-
textColor: tokens.semantic.color.text.
|
|
51
|
+
textColor: tokens.semantic.color.text.secondary950,
|
|
52
52
|
letterSpacing: '0',
|
|
53
53
|
fontWeight: tokens.core.font.fontWeight.normal
|
|
54
54
|
},
|
|
55
55
|
separator: {
|
|
56
|
-
bgColor: tokens.semantic.color.
|
|
56
|
+
bgColor: tokens.semantic.color.background.success500
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { tokens } from '../../tokens';
|
|
2
2
|
const theme = {
|
|
3
|
-
width: '3.
|
|
4
|
-
height: '
|
|
3
|
+
width: '3.6rem',
|
|
4
|
+
height: '2rem',
|
|
5
5
|
padding: '0.2rem',
|
|
6
6
|
borderRadius: '10rem',
|
|
7
7
|
borderWidth: '0.1rem',
|
|
@@ -12,41 +12,41 @@ const theme = {
|
|
|
12
12
|
toggleStates: {
|
|
13
13
|
on: {
|
|
14
14
|
normal: {
|
|
15
|
-
bgColor:
|
|
16
|
-
borderColor:
|
|
15
|
+
bgColor: '#0F6FB8',
|
|
16
|
+
borderColor: '#0F6FB8',
|
|
17
17
|
thumbColor: tokens.semantic.color.icon.secondary0,
|
|
18
18
|
textColor: tokens.semantic.color.text.secondary950
|
|
19
19
|
},
|
|
20
20
|
disabled: {
|
|
21
|
-
bgColor: tokens.semantic.color.background.
|
|
22
|
-
borderColor: tokens.semantic.color.border.
|
|
23
|
-
thumbColor: tokens.semantic.color.
|
|
24
|
-
textColor: tokens.semantic.color.text.
|
|
21
|
+
bgColor: tokens.semantic.color.background.secondary200,
|
|
22
|
+
borderColor: tokens.semantic.color.border.secondary200,
|
|
23
|
+
thumbColor: tokens.semantic.color.background.secondary0,
|
|
24
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
25
25
|
},
|
|
26
26
|
readonly: {
|
|
27
27
|
bgColor: tokens.semantic.color.background.transparent,
|
|
28
|
-
borderColor: tokens.semantic.color.border.
|
|
29
|
-
thumbColor: tokens.semantic.color.
|
|
28
|
+
borderColor: tokens.semantic.color.border.secondary400,
|
|
29
|
+
thumbColor: tokens.semantic.color.background.secondary500,
|
|
30
30
|
textColor: tokens.semantic.color.text.secondary950
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
off: {
|
|
34
34
|
normal: {
|
|
35
|
-
bgColor: tokens.semantic.color.background.
|
|
36
|
-
borderColor: tokens.semantic.color.border.
|
|
35
|
+
bgColor: tokens.semantic.color.background.secondary400,
|
|
36
|
+
borderColor: tokens.semantic.color.border.secondary400,
|
|
37
37
|
thumbColor: tokens.semantic.color.icon.secondary0,
|
|
38
38
|
textColor: tokens.semantic.color.text.secondary950
|
|
39
39
|
},
|
|
40
40
|
disabled: {
|
|
41
|
-
bgColor: tokens.semantic.color.background.
|
|
42
|
-
borderColor: tokens.semantic.color.border.
|
|
43
|
-
thumbColor: tokens.semantic.color.
|
|
44
|
-
textColor: tokens.semantic.color.text.
|
|
41
|
+
bgColor: tokens.semantic.color.background.secondary200,
|
|
42
|
+
borderColor: tokens.semantic.color.border.secondary200,
|
|
43
|
+
thumbColor: tokens.semantic.color.background.secondary0,
|
|
44
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
45
45
|
},
|
|
46
46
|
readonly: {
|
|
47
47
|
bgColor: tokens.semantic.color.background.transparent,
|
|
48
|
-
borderColor: tokens.semantic.color.border.
|
|
49
|
-
thumbColor: tokens.semantic.color.
|
|
48
|
+
borderColor: tokens.semantic.color.border.secondary400,
|
|
49
|
+
thumbColor: tokens.semantic.color.background.secondary500,
|
|
50
50
|
textColor: tokens.semantic.color.text.secondary950
|
|
51
51
|
}
|
|
52
52
|
}
|
|
@@ -12,7 +12,7 @@ const theme = {
|
|
|
12
12
|
gap: '0 1.6rem',
|
|
13
13
|
bgColor: tokens.semantic.color.background.transparent,
|
|
14
14
|
separator: {
|
|
15
|
-
color: tokens.semantic.color.
|
|
15
|
+
color: tokens.semantic.color.text.secondary200,
|
|
16
16
|
width: '1px'
|
|
17
17
|
}
|
|
18
18
|
},
|
|
@@ -22,7 +22,7 @@ const theme = {
|
|
|
22
22
|
gap: '0 1.2rem',
|
|
23
23
|
bgColor: tokens.semantic.color.background.transparent,
|
|
24
24
|
separator: {
|
|
25
|
-
color: tokens.semantic.color.
|
|
25
|
+
color: tokens.semantic.color.text.secondary200,
|
|
26
26
|
width: '1px'
|
|
27
27
|
}
|
|
28
28
|
},
|
|
@@ -34,14 +34,14 @@ const theme = {
|
|
|
34
34
|
minHeight: '4.4rem',
|
|
35
35
|
bgColor: tokens.semantic.color.background.neutral100,
|
|
36
36
|
separator: {
|
|
37
|
-
color: tokens.semantic.color.
|
|
37
|
+
color: tokens.semantic.color.text.secondary200,
|
|
38
38
|
width: '1px'
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
tableHeaderCell: {
|
|
42
42
|
padding: '1rem 1.6rem',
|
|
43
43
|
color: tokens.semantic.color.text.secondary500,
|
|
44
|
-
activeColor: tokens.semantic.color.
|
|
44
|
+
activeColor: tokens.semantic.color.background.secondary950,
|
|
45
45
|
contentMinHeight: '2.4rem',
|
|
46
46
|
typography: {
|
|
47
47
|
fontFamily: tokens.core.font.fontFamily.sourceCodeProRegular,
|
|
@@ -55,7 +55,7 @@ const theme = {
|
|
|
55
55
|
size: 'XS'
|
|
56
56
|
},
|
|
57
57
|
separator: {
|
|
58
|
-
color: tokens.semantic.color.
|
|
58
|
+
color: tokens.semantic.color.text.secondary200,
|
|
59
59
|
width: '0',
|
|
60
60
|
blockPadding: '1rem'
|
|
61
61
|
}
|
|
@@ -63,7 +63,7 @@ const theme = {
|
|
|
63
63
|
tableBodyRow: {
|
|
64
64
|
minHeight: '4.4rem',
|
|
65
65
|
separator: {
|
|
66
|
-
color: tokens.semantic.color.
|
|
66
|
+
color: tokens.semantic.color.text.secondary200,
|
|
67
67
|
width: '1px'
|
|
68
68
|
},
|
|
69
69
|
borderTop: tokens.semantic.color.border.secondary200,
|
|
@@ -6,7 +6,7 @@ const theme = {
|
|
|
6
6
|
separator: {
|
|
7
7
|
height: '1.6rem',
|
|
8
8
|
width: '1px',
|
|
9
|
-
color: tokens.semantic.color.
|
|
9
|
+
color: tokens.semantic.color.text.secondary200
|
|
10
10
|
},
|
|
11
11
|
searchInput: {
|
|
12
12
|
width: '31.4rem',
|
|
@@ -15,7 +15,7 @@ const theme = {
|
|
|
15
15
|
borderColor: 'transparent'
|
|
16
16
|
},
|
|
17
17
|
hover: {
|
|
18
|
-
borderColor: tokens.semantic.color.border.
|
|
18
|
+
borderColor: tokens.semantic.color.border.secondary400
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
},
|
|
@@ -5,12 +5,12 @@ const theme = {
|
|
|
5
5
|
gap: '4rem',
|
|
6
6
|
tabsLine: {
|
|
7
7
|
size: '4px',
|
|
8
|
-
color: tokens.semantic.color.
|
|
8
|
+
color: tokens.semantic.color.text.secondary200
|
|
9
9
|
},
|
|
10
10
|
tab: {
|
|
11
11
|
states: {
|
|
12
12
|
normal: {
|
|
13
|
-
textColor: tokens.semantic.color.text.
|
|
13
|
+
textColor: tokens.semantic.color.text.secondary500,
|
|
14
14
|
padding: '2px 0 4px',
|
|
15
15
|
letterSpacing: '0.11px'
|
|
16
16
|
},
|
|
@@ -20,7 +20,7 @@ const theme = {
|
|
|
20
20
|
letterSpacing: '0'
|
|
21
21
|
},
|
|
22
22
|
disabled: {
|
|
23
|
-
textColor: tokens.semantic.color.text.
|
|
23
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
},
|
|
@@ -32,10 +32,10 @@ const theme = {
|
|
|
32
32
|
inset: 'auto 0 -4px'
|
|
33
33
|
},
|
|
34
34
|
hover: {
|
|
35
|
-
color: tokens.semantic.color.
|
|
35
|
+
color: tokens.semantic.color.text.secondary400
|
|
36
36
|
},
|
|
37
37
|
active: {
|
|
38
|
-
color: tokens.semantic.color.
|
|
38
|
+
color: tokens.semantic.color.text.secondary950
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -49,7 +49,7 @@ const theme = {
|
|
|
49
49
|
tab: {
|
|
50
50
|
states: {
|
|
51
51
|
normal: {
|
|
52
|
-
textColor: tokens.semantic.color.text.
|
|
52
|
+
textColor: tokens.semantic.color.text.secondary500,
|
|
53
53
|
padding: '4px 8px',
|
|
54
54
|
letterSpacing: '0.11px',
|
|
55
55
|
fontSize: `1.2rem`,
|
|
@@ -58,17 +58,17 @@ const theme = {
|
|
|
58
58
|
borderColor: tokens.semantic.color.border.transparent
|
|
59
59
|
},
|
|
60
60
|
hover: {
|
|
61
|
-
bgColor: tokens.semantic.color.background.
|
|
61
|
+
bgColor: tokens.semantic.color.background.neutral100
|
|
62
62
|
},
|
|
63
63
|
active: {
|
|
64
64
|
textColor: tokens.semantic.color.text.secondary950,
|
|
65
|
-
bgColor: tokens.semantic.color.background.
|
|
66
|
-
borderColor: tokens.semantic.color.border.
|
|
65
|
+
bgColor: tokens.semantic.color.background.neutral100,
|
|
66
|
+
borderColor: tokens.semantic.color.border.secondary200,
|
|
67
67
|
fontWeight: tokens.core.font.fontWeight.semiBold,
|
|
68
68
|
letterSpacing: '0'
|
|
69
69
|
},
|
|
70
70
|
disabled: {
|
|
71
|
-
textColor: tokens.semantic.color.text.
|
|
71
|
+
textColor: tokens.semantic.color.text.secondary500,
|
|
72
72
|
bgColor: tokens.semantic.color.background.transparent
|
|
73
73
|
}
|
|
74
74
|
}
|