@redis-ui/styles 21.5.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 +3875 -3570
- package/dist/index.umd.cjs +13 -13
- package/dist/themes/themeDark/theme/components/charts.js +48 -0
- 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/charts.js +57 -6
- 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/themeLight/theme/components/charts.js +48 -0
- 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/charts.js +60 -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/dist/themes/types/theme/components/charts.types.d.ts +55 -0
- package/package.json +1 -1
|
@@ -21,19 +21,19 @@ const theme = {
|
|
|
21
21
|
states: {
|
|
22
22
|
normal: {
|
|
23
23
|
bgColor: 'transparent',
|
|
24
|
-
textColor: tokens.semantic.color.text.
|
|
24
|
+
textColor: tokens.semantic.color.text.informative300
|
|
25
25
|
},
|
|
26
26
|
hover: {
|
|
27
27
|
bgColor: 'transparent',
|
|
28
|
-
textColor: tokens.semantic.color.text.
|
|
28
|
+
textColor: tokens.semantic.color.text.informative200
|
|
29
29
|
},
|
|
30
30
|
active: {
|
|
31
|
-
bgColor:
|
|
32
|
-
textColor: tokens.semantic.color.text.
|
|
31
|
+
bgColor: 'transparent',
|
|
32
|
+
textColor: tokens.semantic.color.text.informative200
|
|
33
33
|
},
|
|
34
34
|
disabled: {
|
|
35
35
|
bgColor: 'transparent',
|
|
36
|
-
textColor: tokens.semantic.color.text.
|
|
36
|
+
textColor: tokens.semantic.color.text.secondary400
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
},
|
|
@@ -54,16 +54,16 @@ const theme = {
|
|
|
54
54
|
},
|
|
55
55
|
states: {
|
|
56
56
|
normal: {
|
|
57
|
-
textColor: tokens.semantic.color.text.
|
|
57
|
+
textColor: tokens.semantic.color.text.informative300
|
|
58
58
|
},
|
|
59
59
|
hover: {
|
|
60
|
-
textColor: tokens.semantic.color.text.
|
|
60
|
+
textColor: tokens.semantic.color.text.informative200
|
|
61
61
|
},
|
|
62
62
|
active: {
|
|
63
|
-
textColor: tokens.semantic.color.text.
|
|
63
|
+
textColor: tokens.semantic.color.text.informative200
|
|
64
64
|
},
|
|
65
65
|
disabled: {
|
|
66
|
-
textColor: tokens.semantic.color.text.
|
|
66
|
+
textColor: tokens.semantic.color.text.secondary400
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
}
|
|
@@ -11,19 +11,19 @@ const theme = {
|
|
|
11
11
|
gap: '0.5rem',
|
|
12
12
|
variants: {
|
|
13
13
|
regular: {
|
|
14
|
-
bgColor: tokens.semantic.color.
|
|
15
|
-
color: tokens.semantic.color.
|
|
16
|
-
textColor: tokens.semantic.color.
|
|
14
|
+
bgColor: tokens.semantic.color.background.secondary990,
|
|
15
|
+
color: tokens.semantic.color.text.secondary400,
|
|
16
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
17
17
|
},
|
|
18
18
|
pending: {
|
|
19
|
-
bgColor: tokens.semantic.color.
|
|
20
|
-
color: tokens.semantic.color.
|
|
21
|
-
textColor: tokens.semantic.color.
|
|
19
|
+
bgColor: tokens.semantic.color.background.notice0,
|
|
20
|
+
color: tokens.semantic.color.text.notice400,
|
|
21
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
22
22
|
},
|
|
23
23
|
inverse: {
|
|
24
|
-
bgColor: withOpacity(tokens.semantic.color.
|
|
25
|
-
color: tokens.semantic.color.
|
|
26
|
-
textColor: tokens.semantic.color.
|
|
24
|
+
bgColor: withOpacity(tokens.semantic.color.background.secondary950, 0.2),
|
|
25
|
+
color: tokens.semantic.color.text.secondary950,
|
|
26
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
};
|
|
@@ -3,18 +3,18 @@ const theme = {
|
|
|
3
3
|
dropDown: {
|
|
4
4
|
minWidth: '16rem',
|
|
5
5
|
maxWidth: '40rem',
|
|
6
|
-
bgColor: tokens.semantic.color.background.
|
|
6
|
+
bgColor: tokens.semantic.color.background.secondary950,
|
|
7
7
|
shadow: tokens.core.shadow.shadow400,
|
|
8
8
|
borderRadius: '0.8rem',
|
|
9
9
|
arrow: {
|
|
10
10
|
width: '1.6rem',
|
|
11
11
|
height: '0.8rem',
|
|
12
|
-
shadow: tokens.core.shadow.
|
|
12
|
+
shadow: tokens.core.shadow.shadow100
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
separator: {
|
|
16
16
|
size: '1px',
|
|
17
|
-
bgColor: tokens.semantic.color.background.
|
|
17
|
+
bgColor: tokens.semantic.color.background.secondary700
|
|
18
18
|
},
|
|
19
19
|
label: {
|
|
20
20
|
padding: '1rem 1.6rem',
|
|
@@ -26,7 +26,7 @@ const theme = {
|
|
|
26
26
|
fontWeight: tokens.core.font.fontWeight.semiBold
|
|
27
27
|
},
|
|
28
28
|
sub: {
|
|
29
|
-
textColor: tokens.semantic.color.text.
|
|
29
|
+
textColor: tokens.semantic.color.text.secondary300,
|
|
30
30
|
fontWeight: tokens.core.font.fontWeight.semiBold
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -36,7 +36,7 @@ const theme = {
|
|
|
36
36
|
levelOffset: '1.6rem',
|
|
37
37
|
gap: '1rem',
|
|
38
38
|
subHead: {
|
|
39
|
-
textColor: tokens.semantic.color.text.
|
|
39
|
+
textColor: tokens.semantic.color.text.secondary300
|
|
40
40
|
},
|
|
41
41
|
check: {
|
|
42
42
|
size: '1.6rem'
|
|
@@ -47,30 +47,30 @@ const theme = {
|
|
|
47
47
|
variants: {
|
|
48
48
|
primary: {
|
|
49
49
|
normal: {
|
|
50
|
-
textColor: tokens.semantic.color.text.
|
|
50
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
51
51
|
},
|
|
52
52
|
hover: {
|
|
53
|
-
bgColor: tokens.semantic.color.background.
|
|
53
|
+
bgColor: tokens.semantic.color.background.secondary900
|
|
54
54
|
},
|
|
55
55
|
selected: {
|
|
56
|
-
textColor: tokens.semantic.color.text.
|
|
56
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
57
57
|
},
|
|
58
58
|
disabled: {
|
|
59
|
-
textColor: tokens.semantic.color.text.
|
|
59
|
+
textColor: tokens.semantic.color.text.secondary400
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
62
|
destructive: {
|
|
63
63
|
normal: {
|
|
64
|
-
textColor: tokens.semantic.color.text.
|
|
64
|
+
textColor: tokens.semantic.color.text.primary300
|
|
65
65
|
},
|
|
66
66
|
hover: {
|
|
67
|
-
bgColor: tokens.semantic.color.background.
|
|
67
|
+
bgColor: tokens.semantic.color.background.primary0
|
|
68
68
|
},
|
|
69
69
|
selected: {
|
|
70
|
-
textColor: tokens.semantic.color.text.
|
|
70
|
+
textColor: tokens.semantic.color.text.primary300
|
|
71
71
|
},
|
|
72
72
|
disabled: {
|
|
73
|
-
textColor: tokens.semantic.color.text.
|
|
73
|
+
textColor: tokens.semantic.color.text.secondary400
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { withOpacity } from '../../../../utils';
|
|
2
1
|
import { tokens } from '../../tokens';
|
|
2
|
+
import { withOpacity } from '../../../../utils';
|
|
3
3
|
const theme = {
|
|
4
4
|
blockScreenMargin: '20px',
|
|
5
5
|
inlineScreenMargin: '20px',
|
|
6
|
-
inlinePadding: '4rem',
|
|
7
|
-
blockPadding: '4rem',
|
|
6
|
+
inlinePadding: '2.4rem',
|
|
7
|
+
blockPadding: '2.4rem',
|
|
8
8
|
borderRadius: '0.8rem',
|
|
9
9
|
shadow: tokens.core.shadow.shadow600,
|
|
10
|
-
bgColor: tokens.semantic.color.background.
|
|
10
|
+
bgColor: tokens.semantic.color.background.secondary950,
|
|
11
11
|
header: {
|
|
12
12
|
blockPadding: '0 1.6rem',
|
|
13
|
-
closeIconColor: tokens.semantic.color.icon.
|
|
14
|
-
textColor: tokens.semantic.color.text.
|
|
13
|
+
closeIconColor: tokens.semantic.color.icon.secondary400,
|
|
14
|
+
textColor: tokens.semantic.color.text.secondary0,
|
|
15
15
|
gap: '0.8rem'
|
|
16
16
|
},
|
|
17
17
|
description: {
|
|
18
18
|
blockPadding: '0 1.2rem',
|
|
19
|
-
textColor: tokens.semantic.color.text.
|
|
19
|
+
textColor: tokens.semantic.color.text.secondary300
|
|
20
20
|
},
|
|
21
21
|
body: {
|
|
22
22
|
minWidth: '30rem',
|
|
23
23
|
maxWidth: '50rem',
|
|
24
|
-
textColor: tokens.semantic.color.text.
|
|
24
|
+
textColor: tokens.semantic.color.text.secondary300
|
|
25
25
|
},
|
|
26
26
|
footer: {
|
|
27
27
|
blockPadding: '4rem 0',
|
|
28
28
|
buttonsGap: '0.8rem'
|
|
29
29
|
},
|
|
30
30
|
overlay: {
|
|
31
|
-
bgColor: withOpacity(tokens.semantic.color.background.
|
|
31
|
+
bgColor: withOpacity(tokens.semantic.color.background.secondary950, 0.55)
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
34
|
export default theme;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { tokens } from '../../tokens';
|
|
2
2
|
const theme = {
|
|
3
|
-
bgColor: tokens.semantic.color.background.
|
|
3
|
+
bgColor: tokens.semantic.color.background.secondary950,
|
|
4
4
|
shadow: tokens.core.shadow.shadow400,
|
|
5
5
|
borderRadius: '0.8rem',
|
|
6
6
|
minWidth: '10rem',
|
|
@@ -10,7 +10,7 @@ const theme = {
|
|
|
10
10
|
arrow: {
|
|
11
11
|
width: '16px',
|
|
12
12
|
height: '8px',
|
|
13
|
-
shadow: tokens.core.shadow.
|
|
13
|
+
shadow: tokens.core.shadow.shadow100
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
16
|
export default theme;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { tokens } from '../../tokens';
|
|
2
2
|
const theme = {
|
|
3
3
|
closeButton: {
|
|
4
|
-
iconColor: tokens.semantic.color.icon.
|
|
4
|
+
iconColor: tokens.semantic.color.icon.secondary400
|
|
5
5
|
},
|
|
6
6
|
header: {
|
|
7
|
-
textColor: tokens.semantic.color.text.
|
|
7
|
+
textColor: tokens.semantic.color.text.secondary0,
|
|
8
8
|
margin: '0 0 0.4rem 0'
|
|
9
9
|
},
|
|
10
10
|
body: {
|
|
11
11
|
margin: '0',
|
|
12
|
-
textColor: tokens.semantic.color.text.
|
|
12
|
+
textColor: tokens.semantic.color.text.secondary300
|
|
13
13
|
},
|
|
14
14
|
footer: {
|
|
15
15
|
margin: '1.8rem 0 0 0'
|
|
@@ -22,36 +22,36 @@ const theme = {
|
|
|
22
22
|
},
|
|
23
23
|
variant: {
|
|
24
24
|
normal: {
|
|
25
|
-
color: tokens.semantic.color.
|
|
25
|
+
color: tokens.semantic.color.text.secondary990
|
|
26
26
|
},
|
|
27
27
|
danger: {
|
|
28
|
-
color: tokens.semantic.color.
|
|
28
|
+
color: tokens.semantic.color.text.secondary990
|
|
29
29
|
},
|
|
30
30
|
attention: {
|
|
31
|
-
color: tokens.semantic.color.
|
|
31
|
+
color: tokens.semantic.color.text.secondary990
|
|
32
32
|
},
|
|
33
33
|
success: {
|
|
34
|
-
color: tokens.semantic.color.
|
|
34
|
+
color: tokens.semantic.color.text.secondary990
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
indicator: {
|
|
38
38
|
variant: {
|
|
39
39
|
normal: {
|
|
40
|
-
color: tokens.semantic.color.
|
|
40
|
+
color: tokens.semantic.color.text.informative200
|
|
41
41
|
},
|
|
42
42
|
danger: {
|
|
43
|
-
color: tokens.semantic.color.
|
|
43
|
+
color: tokens.semantic.color.text.primary300
|
|
44
44
|
},
|
|
45
45
|
attention: {
|
|
46
|
-
color: tokens.semantic.color.
|
|
46
|
+
color: tokens.semantic.color.text.notice400
|
|
47
47
|
},
|
|
48
48
|
success: {
|
|
49
|
-
color: tokens.semantic.color.
|
|
49
|
+
color: tokens.semantic.color.text.success500
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
text: {
|
|
54
|
-
color: tokens.semantic.color.text.
|
|
54
|
+
color: tokens.semantic.color.text.secondary0
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
57
|
export default theme;
|
|
@@ -23,26 +23,26 @@ const theme = {
|
|
|
23
23
|
primary: {
|
|
24
24
|
on: {
|
|
25
25
|
normal: {
|
|
26
|
-
bgColor: tokens.semantic.color.background.
|
|
27
|
-
iconColor: tokens.semantic.color.icon.
|
|
26
|
+
bgColor: tokens.semantic.color.background.secondary950,
|
|
27
|
+
iconColor: tokens.semantic.color.icon.informative300,
|
|
28
28
|
textColor: tokens.semantic.color.text.secondary0
|
|
29
29
|
},
|
|
30
30
|
disabled: {
|
|
31
|
-
bgColor: tokens.semantic.color.background.
|
|
32
|
-
iconColor: tokens.semantic.color.icon.
|
|
33
|
-
textColor: tokens.semantic.color.text.
|
|
31
|
+
bgColor: tokens.semantic.color.background.secondary700,
|
|
32
|
+
iconColor: tokens.semantic.color.icon.secondary400,
|
|
33
|
+
textColor: tokens.semantic.color.text.secondary400
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
off: {
|
|
37
37
|
normal: {
|
|
38
|
-
bgColor:
|
|
39
|
-
borderColor: tokens.semantic.color.border.
|
|
38
|
+
bgColor: tokens.semantic.color.background.secondary950,
|
|
39
|
+
borderColor: tokens.semantic.color.border.secondary500,
|
|
40
40
|
textColor: tokens.semantic.color.text.secondary0
|
|
41
41
|
},
|
|
42
42
|
disabled: {
|
|
43
|
-
bgColor:
|
|
44
|
-
borderColor: tokens.semantic.color.border.
|
|
45
|
-
textColor: tokens.semantic.color.text.
|
|
43
|
+
bgColor: tokens.semantic.color.background.secondary700,
|
|
44
|
+
borderColor: tokens.semantic.color.border.secondary700,
|
|
45
|
+
textColor: tokens.semantic.color.text.secondary400
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { tokens } from '../../tokens';
|
|
2
2
|
const theme = {
|
|
3
3
|
bgColor: tokens.semantic.color.background.secondary950,
|
|
4
|
-
shadow: `0px 0px 0px 1px ${tokens.semantic.color.border.
|
|
4
|
+
shadow: `0px 0px 0px 1px ${tokens.semantic.color.border.secondary700}`,
|
|
5
5
|
borderRadius: '0.8rem',
|
|
6
6
|
filtersSection: {
|
|
7
|
-
borderColor: tokens.semantic.color.border.
|
|
7
|
+
borderColor: tokens.semantic.color.border.secondary700,
|
|
8
8
|
borderWidth: '1px'
|
|
9
9
|
},
|
|
10
10
|
searchSection: {
|
|
@@ -15,7 +15,7 @@ const theme = {
|
|
|
15
15
|
separator: {
|
|
16
16
|
height: '1.6rem',
|
|
17
17
|
width: '1px',
|
|
18
|
-
color: tokens.semantic.color.
|
|
18
|
+
color: tokens.semantic.color.text.secondary700
|
|
19
19
|
},
|
|
20
20
|
customActions: {
|
|
21
21
|
gap: '0.8rem'
|
|
@@ -3,7 +3,7 @@ const theme = {
|
|
|
3
3
|
width: '100%',
|
|
4
4
|
height: 'fit-content',
|
|
5
5
|
bgColor: tokens.semantic.color.background.secondary950,
|
|
6
|
-
borderColor: tokens.semantic.color.border.
|
|
6
|
+
borderColor: tokens.semantic.color.border.secondary700,
|
|
7
7
|
borderRadius: '0.8rem',
|
|
8
8
|
header: {
|
|
9
9
|
minHeight: '5.6rem',
|
|
@@ -13,14 +13,14 @@ const theme = {
|
|
|
13
13
|
gap: '1.6rem'
|
|
14
14
|
},
|
|
15
15
|
label: {
|
|
16
|
-
textColor: tokens.semantic.color.text.
|
|
16
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
17
17
|
},
|
|
18
18
|
collapsedInfo: {},
|
|
19
19
|
summaryBar: {
|
|
20
20
|
minHeight: '4rem',
|
|
21
21
|
padding: '1.2rem 1.6rem',
|
|
22
|
-
backgroundColor: tokens.semantic.color.background.
|
|
23
|
-
collapsableBackgroundColor: tokens.semantic.color.background.
|
|
22
|
+
backgroundColor: tokens.semantic.color.background.secondary950,
|
|
23
|
+
collapsableBackgroundColor: tokens.semantic.color.background.secondary950
|
|
24
24
|
},
|
|
25
25
|
categoryValueList: {
|
|
26
26
|
gap: '12px',
|
|
@@ -28,16 +28,16 @@ const theme = {
|
|
|
28
28
|
gap: '0.8rem',
|
|
29
29
|
minWidth: '0',
|
|
30
30
|
backgroundColor: tokens.semantic.color.background.transparent,
|
|
31
|
-
categoryTextColor: tokens.semantic.color.text.
|
|
32
|
-
valueTextColor: tokens.semantic.color.text.
|
|
31
|
+
categoryTextColor: tokens.semantic.color.text.secondary300,
|
|
32
|
+
valueTextColor: tokens.semantic.color.text.secondary0
|
|
33
33
|
},
|
|
34
34
|
divider: {
|
|
35
35
|
width: '1px',
|
|
36
36
|
height: '1.6rem',
|
|
37
|
-
backgroundColor: tokens.semantic.color.
|
|
37
|
+
backgroundColor: tokens.semantic.color.background.secondary700
|
|
38
38
|
},
|
|
39
39
|
counter: {
|
|
40
|
-
textColor: tokens.semantic.color.text.
|
|
40
|
+
textColor: tokens.semantic.color.text.secondary400
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
},
|
|
@@ -46,7 +46,7 @@ const theme = {
|
|
|
46
46
|
},
|
|
47
47
|
separator: {
|
|
48
48
|
width: '1px',
|
|
49
|
-
color: tokens.semantic.color.
|
|
49
|
+
color: tokens.semantic.color.text.secondary700
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
52
|
export default theme;
|
|
@@ -9,12 +9,12 @@ const theme = {
|
|
|
9
9
|
borderWidth: '1px',
|
|
10
10
|
borderRadius: '0.5rem',
|
|
11
11
|
indicator: {
|
|
12
|
-
errorTooltipTextColor: tokens.semantic.color.text.
|
|
13
|
-
errorIconColor: tokens.semantic.color.icon.
|
|
12
|
+
errorTooltipTextColor: tokens.semantic.color.text.primary300,
|
|
13
|
+
errorIconColor: tokens.semantic.color.icon.primary300,
|
|
14
14
|
successIconColor: tokens.semantic.color.icon.success500
|
|
15
15
|
},
|
|
16
16
|
placeholder: {
|
|
17
|
-
textColor: tokens.semantic.color.text.
|
|
17
|
+
textColor: tokens.semantic.color.text.secondary400
|
|
18
18
|
},
|
|
19
19
|
reset: {
|
|
20
20
|
iconColor: tokens.semantic.color.icon.secondary400
|
|
@@ -31,36 +31,36 @@ const theme = {
|
|
|
31
31
|
states: {
|
|
32
32
|
normal: {
|
|
33
33
|
bgColor: tokens.semantic.color.background.secondary950,
|
|
34
|
-
borderColor: tokens.semantic.color.border.
|
|
35
|
-
textColor: tokens.semantic.color.text.
|
|
34
|
+
borderColor: tokens.semantic.color.border.secondary500,
|
|
35
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
36
36
|
},
|
|
37
37
|
focused: {
|
|
38
|
-
borderColor: tokens.semantic.color.border.
|
|
38
|
+
borderColor: tokens.semantic.color.border.secondary0
|
|
39
39
|
},
|
|
40
40
|
opened: {
|
|
41
|
-
borderColor: tokens.semantic.color.border.
|
|
41
|
+
borderColor: tokens.semantic.color.border.secondary0
|
|
42
42
|
},
|
|
43
43
|
success: {
|
|
44
44
|
borderColor: tokens.semantic.color.border.success500
|
|
45
45
|
},
|
|
46
46
|
error: {
|
|
47
|
-
borderColor: tokens.semantic.color.border.
|
|
47
|
+
borderColor: tokens.semantic.color.border.primary300
|
|
48
48
|
},
|
|
49
49
|
disabled: {
|
|
50
50
|
bgColor: tokens.semantic.color.background.secondary900,
|
|
51
|
-
borderColor: tokens.semantic.color.border.
|
|
52
|
-
textColor: tokens.semantic.color.text.
|
|
51
|
+
borderColor: tokens.semantic.color.border.secondary700,
|
|
52
|
+
textColor: tokens.semantic.color.text.secondary400,
|
|
53
53
|
iconOpacity: '0.4'
|
|
54
54
|
},
|
|
55
55
|
readonly: {
|
|
56
56
|
bgColor: 'transparent',
|
|
57
|
-
textColor: tokens.semantic.color.text.
|
|
57
|
+
textColor: tokens.semantic.color.text.secondary0,
|
|
58
58
|
borderColor: 'transparent'
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
61
|
dropdown: {
|
|
62
62
|
padding: '0.8rem 0',
|
|
63
|
-
bgColor: tokens.semantic.color.background.
|
|
63
|
+
bgColor: tokens.semantic.color.background.secondary950,
|
|
64
64
|
shadow: tokens.core.shadow.shadow400,
|
|
65
65
|
borderRadius: '0.5rem',
|
|
66
66
|
triggerOffset: '0.4rem',
|
|
@@ -73,7 +73,7 @@ const theme = {
|
|
|
73
73
|
inlinePadding: '1.6rem',
|
|
74
74
|
separator: {
|
|
75
75
|
size: '1px',
|
|
76
|
-
color: tokens.semantic.color.
|
|
76
|
+
color: tokens.semantic.color.text.secondary700
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
79
|
option: {
|
|
@@ -86,16 +86,16 @@ const theme = {
|
|
|
86
86
|
},
|
|
87
87
|
states: {
|
|
88
88
|
normal: {
|
|
89
|
-
textColor: tokens.semantic.color.text.
|
|
89
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
90
90
|
},
|
|
91
91
|
highlighted: {
|
|
92
|
-
bgColor: tokens.semantic.color.background.
|
|
92
|
+
bgColor: tokens.semantic.color.background.secondary900
|
|
93
93
|
},
|
|
94
94
|
checked: {
|
|
95
|
-
textColor: tokens.semantic.color.text.
|
|
95
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
96
96
|
},
|
|
97
97
|
disabled: {
|
|
98
|
-
textColor: tokens.semantic.color.text.
|
|
98
|
+
textColor: tokens.semantic.color.text.secondary400
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
}
|
|
@@ -33,7 +33,7 @@ const theme = {
|
|
|
33
33
|
textColor: tokens.semantic.color.text.secondary0
|
|
34
34
|
},
|
|
35
35
|
disabled: {
|
|
36
|
-
bgColor: tokens.semantic.color.background.
|
|
36
|
+
bgColor: tokens.semantic.color.background.secondary700,
|
|
37
37
|
borderColor: tokens.semantic.color.border.secondary700,
|
|
38
38
|
textColor: tokens.semantic.color.text.secondary400
|
|
39
39
|
}
|
|
@@ -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.secondary700,
|
|
60
|
+
textColor: tokens.semantic.color.text.secondary400
|
|
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.secondary700,
|
|
83
|
+
borderColor: tokens.semantic.color.border.secondary700,
|
|
84
|
+
textColor: tokens.semantic.color.text.secondary400
|
|
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.secondary700,
|
|
106
|
+
textColor: tokens.semantic.color.text.secondary400
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
},
|
|
@@ -125,7 +125,7 @@ const theme = {
|
|
|
125
125
|
textColor: tokens.semantic.color.text.secondary0
|
|
126
126
|
},
|
|
127
127
|
disabled: {
|
|
128
|
-
bgColor: tokens.semantic.color.background.
|
|
128
|
+
bgColor: tokens.semantic.color.background.secondary700,
|
|
129
129
|
borderColor: tokens.semantic.color.border.secondary700,
|
|
130
130
|
textColor: tokens.semantic.color.text.secondary400
|
|
131
131
|
}
|
|
@@ -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.secondary700,
|
|
152
|
+
textColor: tokens.semantic.color.text.secondary400
|
|
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.secondary700,
|
|
175
|
+
borderColor: tokens.semantic.color.border.secondary700,
|
|
176
|
+
textColor: tokens.semantic.color.text.secondary400
|
|
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.secondary700,
|
|
198
|
+
textColor: tokens.semantic.color.text.secondary400
|
|
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.secondary700,
|
|
221
|
+
borderColor: tokens.semantic.color.border.secondary700,
|
|
222
|
+
textColor: tokens.semantic.color.text.secondary400
|
|
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.secondary700,
|
|
244
|
+
textColor: tokens.semantic.color.text.secondary400
|
|
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: {
|
|
@@ -14,29 +15,29 @@ const theme = {
|
|
|
14
15
|
},
|
|
15
16
|
variants: {
|
|
16
17
|
informative: {
|
|
17
|
-
bgColor: tokens.semantic.color.background.
|
|
18
|
-
textColor: tokens.semantic.color.text.
|
|
19
|
-
borderColor: tokens.semantic.color.border.
|
|
18
|
+
bgColor: tokens.semantic.color.background.informative0,
|
|
19
|
+
textColor: tokens.semantic.color.text.secondary0,
|
|
20
|
+
borderColor: withOpacity(tokens.semantic.color.border.informative200, 0.24)
|
|
20
21
|
},
|
|
21
22
|
success: {
|
|
22
|
-
bgColor: tokens.semantic.color.background.
|
|
23
|
-
textColor: tokens.semantic.color.text.
|
|
24
|
-
borderColor: tokens.semantic.color.border.
|
|
23
|
+
bgColor: tokens.semantic.color.background.success0,
|
|
24
|
+
textColor: tokens.semantic.color.text.secondary0,
|
|
25
|
+
borderColor: withOpacity(tokens.semantic.color.border.success500, 0.24)
|
|
25
26
|
},
|
|
26
27
|
notice: {
|
|
27
|
-
bgColor: tokens.semantic.color.background.
|
|
28
|
-
textColor: tokens.semantic.color.text.
|
|
29
|
-
borderColor: tokens.semantic.color.border.
|
|
28
|
+
bgColor: tokens.semantic.color.background.notice0,
|
|
29
|
+
textColor: tokens.semantic.color.text.secondary0,
|
|
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.secondary0,
|
|
35
|
+
borderColor: withOpacity(tokens.semantic.color.border.primary300, 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.secondary0,
|
|
40
|
+
borderColor: withOpacity(tokens.semantic.color.border.notice400, 0.24)
|
|
40
41
|
}
|
|
41
42
|
}
|
|
42
43
|
};
|