@redis-ui/styles 21.6.0 → 21.8.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 +3685 -3616
- package/dist/index.umd.cjs +13 -13
- package/dist/themes/themeDark/theme/components/charts.js +4 -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 +4 -0
- 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 +4 -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 +4 -0
- 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 +4 -0
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ const theme = {
|
|
|
7
7
|
fontSize: '1.4rem',
|
|
8
8
|
fontWeight: tokens.core.font.fontWeight.normal,
|
|
9
9
|
resetButton: {
|
|
10
|
-
iconColor: tokens.semantic.color.icon.
|
|
10
|
+
iconColor: tokens.semantic.color.icon.secondary500
|
|
11
11
|
},
|
|
12
12
|
indicator: {
|
|
13
13
|
errorTooltipTextColor: tokens.semantic.color.text.danger500,
|
|
@@ -15,7 +15,7 @@ const theme = {
|
|
|
15
15
|
successIconColor: tokens.semantic.color.icon.success500
|
|
16
16
|
},
|
|
17
17
|
placeholder: {
|
|
18
|
-
textColor: tokens.semantic.color.text.
|
|
18
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
19
19
|
},
|
|
20
20
|
loader: {
|
|
21
21
|
size: 'M'
|
|
@@ -37,18 +37,18 @@ const theme = {
|
|
|
37
37
|
borderColor: tokens.semantic.color.border.secondary400
|
|
38
38
|
},
|
|
39
39
|
focused: {
|
|
40
|
-
borderColor: tokens.semantic.color.border.
|
|
40
|
+
borderColor: tokens.semantic.color.border.secondary950
|
|
41
41
|
},
|
|
42
42
|
success: {
|
|
43
43
|
borderColor: tokens.semantic.color.border.success500
|
|
44
44
|
},
|
|
45
45
|
error: {
|
|
46
|
-
borderColor: tokens.semantic.color.border.
|
|
46
|
+
borderColor: tokens.semantic.color.border.primary400
|
|
47
47
|
},
|
|
48
48
|
disabled: {
|
|
49
|
-
bgColor: tokens.semantic.color.background.
|
|
50
|
-
textColor: tokens.semantic.color.text.
|
|
51
|
-
borderColor: tokens.semantic.color.border.
|
|
49
|
+
bgColor: tokens.semantic.color.background.neutral100,
|
|
50
|
+
textColor: tokens.semantic.color.text.secondary500,
|
|
51
|
+
borderColor: tokens.semantic.color.border.secondary200
|
|
52
52
|
},
|
|
53
53
|
readonly: {
|
|
54
54
|
bgColor: 'transparent',
|
|
@@ -68,9 +68,9 @@ const theme = {
|
|
|
68
68
|
indicatorMargin: '0.8rem 0.9rem auto auto'
|
|
69
69
|
},
|
|
70
70
|
search: {
|
|
71
|
-
iconColor: tokens.semantic.color.icon.
|
|
71
|
+
iconColor: tokens.semantic.color.icon.secondary500,
|
|
72
72
|
resetButton: {
|
|
73
|
-
iconColor: tokens.semantic.color.icon.
|
|
73
|
+
iconColor: tokens.semantic.color.icon.secondary500
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
76
|
counter: {
|
|
@@ -87,10 +87,10 @@ const theme = {
|
|
|
87
87
|
additionalText: {
|
|
88
88
|
margin: '0.4rem 0 0 0',
|
|
89
89
|
normal: {
|
|
90
|
-
textColor: tokens.semantic.color.text.
|
|
90
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
91
91
|
},
|
|
92
92
|
error: {
|
|
93
|
-
textColor: tokens.semantic.color.text.
|
|
93
|
+
textColor: tokens.semantic.color.text.danger500
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
};
|
|
@@ -3,13 +3,13 @@ const theme = {
|
|
|
3
3
|
container: {
|
|
4
4
|
borderRadius: '0.8rem',
|
|
5
5
|
backgroundColor: tokens.semantic.color.background.secondary0,
|
|
6
|
-
boxShadow: `0px 0px 0px 1px ${tokens.semantic.color.border.
|
|
6
|
+
boxShadow: `0px 0px 0px 1px ${tokens.semantic.color.border.secondary200}`
|
|
7
7
|
},
|
|
8
8
|
headerRow: {
|
|
9
9
|
minHeight: '5.6rem',
|
|
10
10
|
bgColor: tokens.semantic.color.background.secondary0,
|
|
11
11
|
separator: {
|
|
12
|
-
color: tokens.semantic.color.
|
|
12
|
+
color: tokens.semantic.color.text.secondary200,
|
|
13
13
|
width: '1px'
|
|
14
14
|
}
|
|
15
15
|
},
|
|
@@ -17,14 +17,14 @@ const theme = {
|
|
|
17
17
|
padding: '1rem 1.2rem',
|
|
18
18
|
color: tokens.semantic.color.text.secondary950,
|
|
19
19
|
separator: {
|
|
20
|
-
color: tokens.semantic.color.
|
|
20
|
+
color: tokens.semantic.color.text.secondary200,
|
|
21
21
|
width: '1px',
|
|
22
22
|
blockPadding: '1rem'
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
bodyCell: {
|
|
26
26
|
padding: '0.4rem 1.2rem',
|
|
27
|
-
color: tokens.semantic.color.text.
|
|
27
|
+
color: tokens.semantic.color.text.secondary500
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
export default theme;
|
|
@@ -8,14 +8,14 @@ const theme = {
|
|
|
8
8
|
textColor: tokens.semantic.color.text.secondary950
|
|
9
9
|
},
|
|
10
10
|
readonly: {
|
|
11
|
-
textColor: tokens.semantic.color.text.
|
|
11
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
infoIcon: {
|
|
15
|
-
iconColor: tokens.semantic.color.icon.
|
|
15
|
+
iconColor: tokens.semantic.color.icon.secondary500
|
|
16
16
|
},
|
|
17
17
|
optional: {
|
|
18
|
-
textColor: tokens.semantic.color.text.
|
|
18
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
19
19
|
},
|
|
20
20
|
required: {
|
|
21
21
|
textColor: tokens.semantic.color.text.danger500
|
|
@@ -21,19 +21,19 @@ const theme = {
|
|
|
21
21
|
states: {
|
|
22
22
|
normal: {
|
|
23
23
|
bgColor: 'transparent',
|
|
24
|
-
textColor:
|
|
24
|
+
textColor: '#0F6FB8'
|
|
25
25
|
},
|
|
26
26
|
hover: {
|
|
27
|
-
bgColor:
|
|
28
|
-
textColor:
|
|
27
|
+
bgColor: 'transparent',
|
|
28
|
+
textColor: '#0F6FB8'
|
|
29
29
|
},
|
|
30
30
|
active: {
|
|
31
|
-
bgColor:
|
|
32
|
-
textColor:
|
|
31
|
+
bgColor: 'transparent',
|
|
32
|
+
textColor: '#0F6FB8'
|
|
33
33
|
},
|
|
34
34
|
disabled: {
|
|
35
35
|
bgColor: 'transparent',
|
|
36
|
-
textColor: tokens.semantic.color.text.
|
|
36
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
},
|
|
@@ -54,16 +54,16 @@ const theme = {
|
|
|
54
54
|
},
|
|
55
55
|
states: {
|
|
56
56
|
normal: {
|
|
57
|
-
textColor:
|
|
57
|
+
textColor: '#0F6FB8'
|
|
58
58
|
},
|
|
59
59
|
hover: {
|
|
60
|
-
textColor:
|
|
60
|
+
textColor: '#0F6FB8'
|
|
61
61
|
},
|
|
62
62
|
active: {
|
|
63
|
-
textColor:
|
|
63
|
+
textColor: '#0F6FB8'
|
|
64
64
|
},
|
|
65
65
|
disabled: {
|
|
66
|
-
textColor: tokens.semantic.color.text.
|
|
66
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
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.secondary200,
|
|
15
|
+
color: tokens.semantic.color.text.secondary500,
|
|
16
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
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.secondary950
|
|
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.secondary0, 0.2),
|
|
25
|
+
color: tokens.semantic.color.text.secondary0,
|
|
26
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
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.
|
|
7
|
-
shadow:
|
|
6
|
+
bgColor: tokens.semantic.color.background.secondary0,
|
|
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:
|
|
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.secondary200
|
|
18
18
|
},
|
|
19
19
|
label: {
|
|
20
20
|
padding: '1rem 1.6rem',
|
|
@@ -22,11 +22,11 @@ const theme = {
|
|
|
22
22
|
gap: '1rem',
|
|
23
23
|
variants: {
|
|
24
24
|
header: {
|
|
25
|
-
textColor: tokens.semantic.color.text.
|
|
25
|
+
textColor: tokens.semantic.color.text.secondary500,
|
|
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.secondary500,
|
|
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.secondary500
|
|
40
40
|
},
|
|
41
41
|
check: {
|
|
42
42
|
size: '1.6rem'
|
|
@@ -47,16 +47,16 @@ const theme = {
|
|
|
47
47
|
variants: {
|
|
48
48
|
primary: {
|
|
49
49
|
normal: {
|
|
50
|
-
textColor: tokens.semantic.color.text.
|
|
50
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
51
51
|
},
|
|
52
52
|
hover: {
|
|
53
|
-
bgColor: tokens.semantic.color.background.
|
|
53
|
+
bgColor: tokens.semantic.color.background.neutral100
|
|
54
54
|
},
|
|
55
55
|
selected: {
|
|
56
|
-
textColor: tokens.semantic.color.text.
|
|
56
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
57
57
|
},
|
|
58
58
|
disabled: {
|
|
59
|
-
textColor: tokens.semantic.color.text.
|
|
59
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
62
|
destructive: {
|
|
@@ -64,13 +64,13 @@ const theme = {
|
|
|
64
64
|
textColor: tokens.semantic.color.text.danger500
|
|
65
65
|
},
|
|
66
66
|
hover: {
|
|
67
|
-
bgColor: tokens.semantic.color.background.
|
|
67
|
+
bgColor: tokens.semantic.color.background.primary0
|
|
68
68
|
},
|
|
69
69
|
selected: {
|
|
70
70
|
textColor: tokens.semantic.color.text.danger500
|
|
71
71
|
},
|
|
72
72
|
disabled: {
|
|
73
|
-
textColor: tokens.semantic.color.text.
|
|
73
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
}
|
|
@@ -3,32 +3,32 @@ 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.secondary0,
|
|
11
11
|
header: {
|
|
12
12
|
blockPadding: '0 1.6rem',
|
|
13
|
-
closeIconColor: tokens.semantic.color.icon.
|
|
13
|
+
closeIconColor: tokens.semantic.color.icon.secondary500,
|
|
14
14
|
textColor: tokens.semantic.color.text.secondary950,
|
|
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.secondary500
|
|
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.secondary500
|
|
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.secondary0,
|
|
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:
|
|
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.secondary500
|
|
5
5
|
},
|
|
6
6
|
header: {
|
|
7
|
-
textColor: tokens.semantic.color.text.
|
|
7
|
+
textColor: tokens.semantic.color.text.secondary950,
|
|
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.secondary500
|
|
13
13
|
},
|
|
14
14
|
footer: {
|
|
15
15
|
margin: '1.8rem 0 0 0'
|
|
@@ -22,31 +22,31 @@ const theme = {
|
|
|
22
22
|
},
|
|
23
23
|
variant: {
|
|
24
24
|
normal: {
|
|
25
|
-
color: tokens.semantic.color.
|
|
25
|
+
color: tokens.semantic.color.text.secondary50
|
|
26
26
|
},
|
|
27
27
|
danger: {
|
|
28
|
-
color: tokens.semantic.color.
|
|
28
|
+
color: tokens.semantic.color.text.secondary50
|
|
29
29
|
},
|
|
30
30
|
attention: {
|
|
31
|
-
color: tokens.semantic.color.
|
|
31
|
+
color: tokens.semantic.color.text.secondary50
|
|
32
32
|
},
|
|
33
33
|
success: {
|
|
34
|
-
color: tokens.semantic.color.
|
|
34
|
+
color: tokens.semantic.color.text.secondary50
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
indicator: {
|
|
38
38
|
variant: {
|
|
39
39
|
normal: {
|
|
40
|
-
color: tokens.semantic.color.
|
|
40
|
+
color: tokens.semantic.color.text.informative300
|
|
41
41
|
},
|
|
42
42
|
danger: {
|
|
43
|
-
color: tokens.semantic.color.
|
|
43
|
+
color: tokens.semantic.color.text.primary400
|
|
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
|
},
|
|
@@ -23,26 +23,26 @@ const theme = {
|
|
|
23
23
|
primary: {
|
|
24
24
|
on: {
|
|
25
25
|
normal: {
|
|
26
|
-
bgColor: tokens.semantic.color.background.
|
|
27
|
-
iconColor:
|
|
26
|
+
bgColor: tokens.semantic.color.background.secondary0,
|
|
27
|
+
iconColor: '#0F6FB8',
|
|
28
28
|
textColor: tokens.semantic.color.text.secondary950
|
|
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.secondary200,
|
|
32
|
+
iconColor: tokens.semantic.color.icon.secondary500,
|
|
33
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
off: {
|
|
37
37
|
normal: {
|
|
38
|
-
bgColor:
|
|
39
|
-
borderColor: tokens.semantic.color.border.
|
|
38
|
+
bgColor: tokens.semantic.color.background.secondary0,
|
|
39
|
+
borderColor: tokens.semantic.color.border.secondary400,
|
|
40
40
|
textColor: tokens.semantic.color.text.secondary950
|
|
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.secondary200,
|
|
44
|
+
borderColor: tokens.semantic.color.border.secondary200,
|
|
45
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
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.secondary0,
|
|
4
|
-
shadow: `0px 0px 0px 1px ${tokens.semantic.color.border.
|
|
4
|
+
shadow: `0px 0px 0px 1px ${tokens.semantic.color.border.secondary200}`,
|
|
5
5
|
borderRadius: '0.8rem',
|
|
6
6
|
filtersSection: {
|
|
7
|
-
borderColor: tokens.semantic.color.border.
|
|
7
|
+
borderColor: tokens.semantic.color.border.secondary200,
|
|
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.secondary200
|
|
19
19
|
},
|
|
20
20
|
customActions: {
|
|
21
21
|
gap: '0.8rem'
|
|
@@ -3,12 +3,12 @@ const theme = {
|
|
|
3
3
|
width: '100%',
|
|
4
4
|
height: 'fit-content',
|
|
5
5
|
bgColor: tokens.semantic.color.background.secondary0,
|
|
6
|
-
borderColor: tokens.semantic.color.border.
|
|
6
|
+
borderColor: tokens.semantic.color.border.secondary200,
|
|
7
7
|
borderRadius: '0.8rem',
|
|
8
8
|
header: {
|
|
9
9
|
minHeight: '5.6rem',
|
|
10
10
|
padding: '1.2rem 1.6rem',
|
|
11
|
-
backgroundColor: tokens.semantic.color.background.
|
|
11
|
+
backgroundColor: tokens.semantic.color.background.neutral100,
|
|
12
12
|
group: {
|
|
13
13
|
gap: '1.6rem'
|
|
14
14
|
},
|
|
@@ -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.secondary500,
|
|
32
|
+
valueTextColor: tokens.semantic.color.text.secondary950
|
|
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.secondary200
|
|
38
38
|
},
|
|
39
39
|
counter: {
|
|
40
|
-
textColor: tokens.semantic.color.text.
|
|
40
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
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.secondary200
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
52
|
export default theme;
|
|
@@ -14,13 +14,13 @@ const theme = {
|
|
|
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.secondary500
|
|
18
18
|
},
|
|
19
19
|
reset: {
|
|
20
|
-
iconColor: tokens.semantic.color.icon.
|
|
20
|
+
iconColor: tokens.semantic.color.icon.secondary500
|
|
21
21
|
},
|
|
22
22
|
arrow: {
|
|
23
|
-
iconColor: tokens.semantic.color.icon.
|
|
23
|
+
iconColor: tokens.semantic.color.icon.secondary500
|
|
24
24
|
},
|
|
25
25
|
value: {
|
|
26
26
|
gap: '0.8rem'
|
|
@@ -35,31 +35,31 @@ const theme = {
|
|
|
35
35
|
textColor: tokens.semantic.color.text.secondary950
|
|
36
36
|
},
|
|
37
37
|
focused: {
|
|
38
|
-
borderColor: tokens.semantic.color.border.
|
|
38
|
+
borderColor: tokens.semantic.color.border.secondary950
|
|
39
39
|
},
|
|
40
40
|
opened: {
|
|
41
|
-
borderColor: tokens.semantic.color.border.
|
|
41
|
+
borderColor: tokens.semantic.color.border.secondary950
|
|
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.primary400
|
|
48
48
|
},
|
|
49
49
|
disabled: {
|
|
50
|
-
bgColor: tokens.semantic.color.background.
|
|
51
|
-
borderColor: tokens.semantic.color.border.
|
|
52
|
-
textColor: tokens.semantic.color.text.
|
|
50
|
+
bgColor: tokens.semantic.color.background.neutral100,
|
|
51
|
+
borderColor: tokens.semantic.color.border.secondary200,
|
|
52
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
53
53
|
},
|
|
54
54
|
readonly: {
|
|
55
55
|
bgColor: 'transparent',
|
|
56
56
|
borderColor: 'transparent',
|
|
57
|
-
textColor: tokens.semantic.color.text.
|
|
57
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
60
|
dropdown: {
|
|
61
61
|
padding: '0.8rem 0',
|
|
62
|
-
bgColor: tokens.semantic.color.background.
|
|
62
|
+
bgColor: tokens.semantic.color.background.secondary0,
|
|
63
63
|
shadow: tokens.core.shadow.shadow400,
|
|
64
64
|
borderRadius: '0.5rem',
|
|
65
65
|
triggerOffset: '0.4rem',
|
|
@@ -72,7 +72,7 @@ const theme = {
|
|
|
72
72
|
inlinePadding: '1.6rem',
|
|
73
73
|
separator: {
|
|
74
74
|
size: '1px',
|
|
75
|
-
color: tokens.semantic.color.
|
|
75
|
+
color: tokens.semantic.color.text.secondary200
|
|
76
76
|
}
|
|
77
77
|
},
|
|
78
78
|
option: {
|
|
@@ -88,13 +88,13 @@ const theme = {
|
|
|
88
88
|
textColor: tokens.semantic.color.text.secondary950
|
|
89
89
|
},
|
|
90
90
|
highlighted: {
|
|
91
|
-
bgColor: tokens.semantic.color.background.
|
|
91
|
+
bgColor: tokens.semantic.color.background.neutral100
|
|
92
92
|
},
|
|
93
93
|
checked: {
|
|
94
|
-
textColor: tokens.semantic.color.text.
|
|
94
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
95
95
|
},
|
|
96
96
|
disabled: {
|
|
97
|
-
textColor: tokens.semantic.color.text.
|
|
97
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
}
|