@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
|
@@ -1,37 +1,38 @@
|
|
|
1
1
|
import { tokens } from '../../tokens';
|
|
2
|
+
import { withOpacity } from '../../../../utils';
|
|
2
3
|
const theme = {
|
|
3
4
|
bgColor: tokens.semantic.color.background.secondary950,
|
|
4
|
-
borderRight: `1px solid ${tokens.semantic.color.border.
|
|
5
|
+
borderRight: `1px solid ${tokens.semantic.color.border.secondary700}`,
|
|
5
6
|
divider: {
|
|
6
|
-
color: tokens.semantic.color.
|
|
7
|
+
color: tokens.semantic.color.text.secondary700
|
|
7
8
|
},
|
|
8
9
|
button: {
|
|
9
10
|
tooltip: {
|
|
10
|
-
textColor: tokens.semantic.color.text.
|
|
11
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
11
12
|
}
|
|
12
13
|
},
|
|
13
14
|
collapseButton: {
|
|
14
15
|
border: {
|
|
15
|
-
collapsed: `1px solid ${tokens.semantic.color.
|
|
16
|
+
collapsed: `1px solid ${tokens.semantic.color.background.secondary700}`,
|
|
16
17
|
expanded: `none`
|
|
17
18
|
},
|
|
18
19
|
filterShadow: 'none',
|
|
19
|
-
iconColor: tokens.semantic.color.icon.
|
|
20
|
+
iconColor: tokens.semantic.color.icon.secondary400,
|
|
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.secondary700
|
|
27
28
|
},
|
|
28
29
|
footer: {
|
|
29
|
-
dividerColor: tokens.semantic.color.background.
|
|
30
|
+
dividerColor: tokens.semantic.color.background.secondary400,
|
|
30
31
|
link: {
|
|
31
|
-
textColor: tokens.semantic.color.text.
|
|
32
|
+
textColor: tokens.semantic.color.text.secondary400
|
|
32
33
|
},
|
|
33
34
|
text: {
|
|
34
|
-
textColor: tokens.semantic.color.text.
|
|
35
|
+
textColor: tokens.semantic.color.text.secondary400
|
|
35
36
|
},
|
|
36
37
|
meta: {
|
|
37
38
|
visibility: {
|
|
@@ -51,31 +52,31 @@ const theme = {
|
|
|
51
52
|
bgColor: 'transparent'
|
|
52
53
|
},
|
|
53
54
|
hover: {
|
|
54
|
-
textColor: tokens.semantic.color.text.
|
|
55
|
-
bgColor: tokens.semantic.color.background.
|
|
55
|
+
textColor: tokens.semantic.color.text.secondary0,
|
|
56
|
+
bgColor: tokens.semantic.color.background.secondary900
|
|
56
57
|
},
|
|
57
58
|
active: {
|
|
58
|
-
textColor: tokens.semantic.color.text.
|
|
59
|
-
bgColor: tokens.semantic.color.background.
|
|
59
|
+
textColor: tokens.semantic.color.text.primary400,
|
|
60
|
+
bgColor: withOpacity(tokens.semantic.color.background.primary400, 0.1)
|
|
60
61
|
},
|
|
61
62
|
activeHover: {
|
|
62
|
-
textColor: tokens.semantic.color.text.
|
|
63
|
+
textColor: tokens.semantic.color.text.primary400
|
|
63
64
|
}
|
|
64
65
|
},
|
|
65
66
|
tooltip: {
|
|
66
67
|
textColor: tokens.semantic.color.text.secondary300
|
|
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.secondary950,
|
|
71
|
+
borderColor: tokens.semantic.color.border.secondary700,
|
|
72
|
+
textColor: tokens.semantic.color.text.secondary400
|
|
72
73
|
},
|
|
73
74
|
activeIndicator: {
|
|
74
|
-
bgColor:
|
|
75
|
+
bgColor: 'transparent'
|
|
75
76
|
}
|
|
76
77
|
},
|
|
77
78
|
groupTitle: {
|
|
78
|
-
textColor: tokens.semantic.color.text.
|
|
79
|
+
textColor: tokens.semantic.color.text.secondary400
|
|
79
80
|
}
|
|
80
81
|
};
|
|
81
82
|
export default theme;
|
|
@@ -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.secondary900,
|
|
6
6
|
padding: '1.6rem',
|
|
7
7
|
borderRadius: '0.8rem',
|
|
8
|
-
shadow:
|
|
8
|
+
shadow: 'none'
|
|
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.secondary990,
|
|
13
|
+
highlightColor: tokens.semantic.color.background.secondary900
|
|
14
14
|
},
|
|
15
15
|
dark: {
|
|
16
|
-
baseColor: tokens.semantic.color.background.
|
|
17
|
-
highlightColor:
|
|
16
|
+
baseColor: tokens.semantic.color.background.secondary700,
|
|
17
|
+
highlightColor: tokens.semantic.color.background.secondary900
|
|
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.secondary500
|
|
10
10
|
},
|
|
11
11
|
disabled: {
|
|
12
|
-
bgColor: tokens.semantic.color.background.
|
|
12
|
+
bgColor: tokens.semantic.color.background.secondary700
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
range: {
|
|
17
17
|
states: {
|
|
18
18
|
normal: {
|
|
19
|
-
bgColor: tokens.semantic.color.background.
|
|
19
|
+
bgColor: tokens.semantic.color.background.informative300
|
|
20
20
|
},
|
|
21
21
|
disabled: {
|
|
22
|
-
bgColor: tokens.semantic.color.background.
|
|
22
|
+
bgColor: tokens.semantic.color.background.secondary400
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
},
|
|
@@ -30,12 +30,12 @@ const theme = {
|
|
|
30
30
|
borderRadius: '50%',
|
|
31
31
|
states: {
|
|
32
32
|
normal: {
|
|
33
|
-
bgColor: tokens.semantic.color.background.
|
|
34
|
-
borderColor: tokens.semantic.color.border.
|
|
33
|
+
bgColor: tokens.semantic.color.background.secondary950,
|
|
34
|
+
borderColor: tokens.semantic.color.border.informative300
|
|
35
35
|
},
|
|
36
36
|
disabled: {
|
|
37
|
-
bgColor: tokens.semantic.color.background.
|
|
38
|
-
borderColor: tokens.semantic.color.border.
|
|
37
|
+
bgColor: tokens.semantic.color.background.secondary950,
|
|
38
|
+
borderColor: tokens.semantic.color.border.secondary400
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
},
|
|
@@ -45,18 +45,18 @@ const theme = {
|
|
|
45
45
|
rangeStates: {
|
|
46
46
|
inRange: {
|
|
47
47
|
normal: {
|
|
48
|
-
bgColor: tokens.semantic.color.background.
|
|
48
|
+
bgColor: tokens.semantic.color.background.secondary950
|
|
49
49
|
},
|
|
50
50
|
disabled: {
|
|
51
|
-
bgColor: tokens.semantic.color.background.
|
|
51
|
+
bgColor: tokens.semantic.color.background.secondary700
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
outOfRange: {
|
|
55
55
|
normal: {
|
|
56
|
-
bgColor: tokens.semantic.color.background.
|
|
56
|
+
bgColor: tokens.semantic.color.background.secondary400
|
|
57
57
|
},
|
|
58
58
|
disabled: {
|
|
59
|
-
bgColor: tokens.semantic.color.background.
|
|
59
|
+
bgColor: tokens.semantic.color.background.secondary400
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
}
|
|
@@ -12,32 +12,32 @@ 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.secondary990,
|
|
16
|
+
iconColor: tokens.semantic.color.icon.secondary400,
|
|
17
17
|
borderRadius: '100%'
|
|
18
18
|
},
|
|
19
19
|
label: {
|
|
20
|
-
textColor: tokens.semantic.color.text.
|
|
20
|
+
textColor: tokens.semantic.color.text.secondary0,
|
|
21
21
|
letterSpacing: '0',
|
|
22
22
|
fontWeight: tokens.core.font.fontWeight.normal
|
|
23
23
|
},
|
|
24
24
|
separator: {
|
|
25
|
-
bgColor: tokens.semantic.color.
|
|
25
|
+
bgColor: tokens.semantic.color.background.secondary700
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
focused: {
|
|
29
29
|
indicator: {
|
|
30
|
-
bgColor: tokens.semantic.color.background.
|
|
31
|
-
iconColor: tokens.semantic.color.
|
|
30
|
+
bgColor: tokens.semantic.color.background.informative300,
|
|
31
|
+
iconColor: tokens.semantic.color.icon.secondary950,
|
|
32
32
|
borderRadius: '100%'
|
|
33
33
|
},
|
|
34
34
|
label: {
|
|
35
|
-
textColor: tokens.semantic.color.text.
|
|
35
|
+
textColor: tokens.semantic.color.text.secondary0,
|
|
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.secondary700
|
|
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.secondary0,
|
|
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: tokens.semantic.color.background.
|
|
16
|
-
borderColor: tokens.semantic.color.border.
|
|
15
|
+
bgColor: tokens.semantic.color.background.informative300,
|
|
16
|
+
borderColor: tokens.semantic.color.border.informative300,
|
|
17
17
|
thumbColor: tokens.semantic.color.icon.secondary0,
|
|
18
18
|
textColor: tokens.semantic.color.text.secondary0
|
|
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.secondary700,
|
|
22
|
+
borderColor: tokens.semantic.color.border.secondary700,
|
|
23
|
+
thumbColor: tokens.semantic.color.background.secondary950,
|
|
24
|
+
textColor: tokens.semantic.color.text.secondary400
|
|
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.secondary500,
|
|
29
|
+
thumbColor: tokens.semantic.color.background.secondary400,
|
|
30
30
|
textColor: tokens.semantic.color.text.secondary0
|
|
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.secondary500,
|
|
36
|
+
borderColor: tokens.semantic.color.border.secondary500,
|
|
37
37
|
thumbColor: tokens.semantic.color.icon.secondary0,
|
|
38
38
|
textColor: tokens.semantic.color.text.secondary0
|
|
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.secondary700,
|
|
42
|
+
borderColor: tokens.semantic.color.border.secondary700,
|
|
43
|
+
thumbColor: tokens.semantic.color.background.secondary950,
|
|
44
|
+
textColor: tokens.semantic.color.text.secondary400
|
|
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.secondary500,
|
|
49
|
+
thumbColor: tokens.semantic.color.background.secondary400,
|
|
50
50
|
textColor: tokens.semantic.color.text.secondary0
|
|
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.secondary700,
|
|
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.secondary700,
|
|
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.secondary900,
|
|
36
36
|
separator: {
|
|
37
|
-
color: tokens.semantic.color.
|
|
37
|
+
color: tokens.semantic.color.text.secondary700,
|
|
38
38
|
width: '1px'
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
tableHeaderCell: {
|
|
42
42
|
padding: '1rem 1.6rem',
|
|
43
43
|
color: tokens.semantic.color.text.secondary400,
|
|
44
|
-
activeColor: tokens.semantic.color.
|
|
44
|
+
activeColor: tokens.semantic.color.background.secondary0,
|
|
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.secondary700,
|
|
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.secondary700,
|
|
67
67
|
width: '1px'
|
|
68
68
|
},
|
|
69
69
|
borderTop: tokens.semantic.color.border.secondary700,
|
|
@@ -73,7 +73,7 @@ const theme = {
|
|
|
73
73
|
},
|
|
74
74
|
tableBodyCell: {
|
|
75
75
|
padding: '1.2rem 1.6rem',
|
|
76
|
-
color: tokens.semantic.color.text.
|
|
76
|
+
color: tokens.semantic.color.text.secondary0
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
79
|
pagination: {
|
|
@@ -87,7 +87,7 @@ const theme = {
|
|
|
87
87
|
textColor: tokens.semantic.color.text.secondary300
|
|
88
88
|
},
|
|
89
89
|
navButton: {
|
|
90
|
-
color: tokens.semantic.color.text.
|
|
90
|
+
color: tokens.semantic.color.text.secondary0,
|
|
91
91
|
disabledColor: tokens.semantic.color.text.secondary800,
|
|
92
92
|
width: '1.6rem',
|
|
93
93
|
height: '2rem',
|
|
@@ -98,7 +98,7 @@ const theme = {
|
|
|
98
98
|
padding: '0 0.4rem',
|
|
99
99
|
gap: '0.4rem',
|
|
100
100
|
fontSize: '1.2rem',
|
|
101
|
-
textColor: tokens.semantic.color.text.
|
|
101
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
};
|
|
@@ -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.secondary700
|
|
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.secondary500
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
},
|
|
@@ -5,25 +5,25 @@ const theme = {
|
|
|
5
5
|
gap: '4rem',
|
|
6
6
|
tabsLine: {
|
|
7
7
|
size: '4px',
|
|
8
|
-
color: tokens.semantic.color.
|
|
8
|
+
color: tokens.semantic.color.text.secondary700
|
|
9
9
|
},
|
|
10
10
|
tab: {
|
|
11
11
|
states: {
|
|
12
12
|
normal: {
|
|
13
|
-
textColor: tokens.semantic.color.text.
|
|
13
|
+
textColor: tokens.semantic.color.text.secondary300,
|
|
14
14
|
padding: '2px 0 4px',
|
|
15
15
|
letterSpacing: '0.11px'
|
|
16
16
|
},
|
|
17
17
|
hover: {
|
|
18
|
-
textColor: tokens.semantic.color.text.
|
|
18
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
19
19
|
},
|
|
20
20
|
active: {
|
|
21
|
-
textColor: tokens.semantic.color.text.
|
|
21
|
+
textColor: tokens.semantic.color.text.secondary0,
|
|
22
22
|
fontWeight: tokens.core.font.fontWeight.semiBold,
|
|
23
23
|
letterSpacing: '0'
|
|
24
24
|
},
|
|
25
25
|
disabled: {
|
|
26
|
-
textColor: tokens.semantic.color.text.
|
|
26
|
+
textColor: tokens.semantic.color.text.secondary400
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
},
|
|
@@ -35,10 +35,10 @@ const theme = {
|
|
|
35
35
|
inset: 'auto 0 -4px'
|
|
36
36
|
},
|
|
37
37
|
hover: {
|
|
38
|
-
color: tokens.semantic.color.
|
|
38
|
+
color: tokens.semantic.color.text.secondary500
|
|
39
39
|
},
|
|
40
40
|
active: {
|
|
41
|
-
color: tokens.semantic.color.
|
|
41
|
+
color: tokens.semantic.color.text.secondary0
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
}
|
|
@@ -52,7 +52,7 @@ const theme = {
|
|
|
52
52
|
tab: {
|
|
53
53
|
states: {
|
|
54
54
|
normal: {
|
|
55
|
-
textColor: tokens.semantic.color.text.
|
|
55
|
+
textColor: tokens.semantic.color.text.secondary300,
|
|
56
56
|
padding: '4px 8px',
|
|
57
57
|
letterSpacing: '0.11px',
|
|
58
58
|
fontSize: `1.2rem`,
|
|
@@ -61,17 +61,17 @@ const theme = {
|
|
|
61
61
|
borderColor: tokens.semantic.color.border.transparent
|
|
62
62
|
},
|
|
63
63
|
hover: {
|
|
64
|
-
bgColor: tokens.semantic.color.background.
|
|
64
|
+
bgColor: tokens.semantic.color.background.secondary900
|
|
65
65
|
},
|
|
66
66
|
active: {
|
|
67
|
-
textColor: tokens.semantic.color.text.
|
|
68
|
-
bgColor: tokens.semantic.color.background.
|
|
69
|
-
borderColor: tokens.semantic.color.border.
|
|
67
|
+
textColor: tokens.semantic.color.text.secondary0,
|
|
68
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
69
|
+
borderColor: tokens.semantic.color.border.secondary700,
|
|
70
70
|
fontWeight: tokens.core.font.fontWeight.semiBold,
|
|
71
71
|
letterSpacing: '0'
|
|
72
72
|
},
|
|
73
73
|
disabled: {
|
|
74
|
-
textColor: tokens.semantic.color.text.
|
|
74
|
+
textColor: tokens.semantic.color.text.secondary400,
|
|
75
75
|
bgColor: tokens.semantic.color.background.transparent
|
|
76
76
|
}
|
|
77
77
|
}
|
|
@@ -44,19 +44,19 @@ const theme = {
|
|
|
44
44
|
states: {
|
|
45
45
|
normal: {
|
|
46
46
|
bgColor: transparent,
|
|
47
|
-
textColor: tokens.semantic.color.text.
|
|
47
|
+
textColor: tokens.semantic.color.text.informative300
|
|
48
48
|
},
|
|
49
49
|
hover: {
|
|
50
|
-
bgColor:
|
|
51
|
-
textColor: tokens.semantic.color.
|
|
50
|
+
bgColor: transparent,
|
|
51
|
+
textColor: tokens.semantic.color.text.informative300
|
|
52
52
|
},
|
|
53
53
|
active: {
|
|
54
54
|
bgColor: transparent,
|
|
55
|
-
textColor: tokens.semantic.color.text.
|
|
55
|
+
textColor: tokens.semantic.color.text.informative300
|
|
56
56
|
},
|
|
57
57
|
disabled: {
|
|
58
58
|
bgColor: transparent,
|
|
59
|
-
textColor: tokens.semantic.color.text.
|
|
59
|
+
textColor: tokens.semantic.color.text.secondary400
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
},
|
|
@@ -64,19 +64,19 @@ const theme = {
|
|
|
64
64
|
states: {
|
|
65
65
|
normal: {
|
|
66
66
|
bgColor: transparent,
|
|
67
|
-
textColor: tokens.semantic.color.text.
|
|
67
|
+
textColor: tokens.semantic.color.text.primary300
|
|
68
68
|
},
|
|
69
69
|
hover: {
|
|
70
|
-
bgColor:
|
|
71
|
-
textColor: tokens.semantic.color.text.
|
|
70
|
+
bgColor: transparent,
|
|
71
|
+
textColor: tokens.semantic.color.text.primary300
|
|
72
72
|
},
|
|
73
73
|
active: {
|
|
74
74
|
bgColor: transparent,
|
|
75
|
-
textColor: tokens.semantic.color.text.
|
|
75
|
+
textColor: tokens.semantic.color.text.primary300
|
|
76
76
|
},
|
|
77
77
|
disabled: {
|
|
78
78
|
bgColor: transparent,
|
|
79
|
-
textColor: tokens.semantic.color.text.
|
|
79
|
+
textColor: tokens.semantic.color.text.secondary400
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
},
|
|
@@ -84,18 +84,19 @@ const theme = {
|
|
|
84
84
|
states: {
|
|
85
85
|
normal: {
|
|
86
86
|
bgColor: transparent,
|
|
87
|
-
textColor: tokens.semantic.color.text.
|
|
87
|
+
textColor: tokens.semantic.color.text.secondary300
|
|
88
88
|
},
|
|
89
89
|
hover: {
|
|
90
|
-
bgColor:
|
|
91
|
-
textColor: tokens.semantic.color.text.
|
|
90
|
+
bgColor: transparent,
|
|
91
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
92
92
|
},
|
|
93
93
|
active: {
|
|
94
|
-
bgColor:
|
|
94
|
+
bgColor: transparent,
|
|
95
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
95
96
|
},
|
|
96
97
|
disabled: {
|
|
97
98
|
bgColor: transparent,
|
|
98
|
-
textColor: tokens.semantic.color.text.
|
|
99
|
+
textColor: tokens.semantic.color.text.secondary400
|
|
99
100
|
}
|
|
100
101
|
}
|
|
101
102
|
},
|
|
@@ -103,19 +104,19 @@ const theme = {
|
|
|
103
104
|
states: {
|
|
104
105
|
normal: {
|
|
105
106
|
bgColor: transparent,
|
|
106
|
-
textColor: tokens.semantic.color.text.
|
|
107
|
+
textColor: tokens.semantic.color.text.informative300
|
|
107
108
|
},
|
|
108
109
|
hover: {
|
|
109
110
|
bgColor: transparent,
|
|
110
|
-
textColor: tokens.semantic.color.text.
|
|
111
|
+
textColor: tokens.semantic.color.text.informative300
|
|
111
112
|
},
|
|
112
113
|
active: {
|
|
113
114
|
bgColor: transparent,
|
|
114
|
-
textColor: tokens.semantic.color.text.
|
|
115
|
+
textColor: tokens.semantic.color.text.informative300
|
|
115
116
|
},
|
|
116
117
|
disabled: {
|
|
117
118
|
bgColor: transparent,
|
|
118
|
-
textColor: tokens.semantic.color.text.
|
|
119
|
+
textColor: tokens.semantic.color.text.secondary400
|
|
119
120
|
}
|
|
120
121
|
}
|
|
121
122
|
},
|
|
@@ -123,19 +124,19 @@ const theme = {
|
|
|
123
124
|
states: {
|
|
124
125
|
normal: {
|
|
125
126
|
bgColor: transparent,
|
|
126
|
-
textColor: tokens.semantic.color.text.
|
|
127
|
+
textColor: tokens.semantic.color.text.primary300
|
|
127
128
|
},
|
|
128
129
|
hover: {
|
|
129
130
|
bgColor: transparent,
|
|
130
|
-
textColor: tokens.semantic.color.text.
|
|
131
|
+
textColor: tokens.semantic.color.text.primary300
|
|
131
132
|
},
|
|
132
133
|
active: {
|
|
133
134
|
bgColor: transparent,
|
|
134
|
-
textColor: tokens.semantic.color.text.
|
|
135
|
+
textColor: tokens.semantic.color.text.primary300
|
|
135
136
|
},
|
|
136
137
|
disabled: {
|
|
137
138
|
bgColor: transparent,
|
|
138
|
-
textColor: tokens.semantic.color.text.
|
|
139
|
+
textColor: tokens.semantic.color.text.secondary400
|
|
139
140
|
}
|
|
140
141
|
}
|
|
141
142
|
},
|
|
@@ -143,19 +144,19 @@ const theme = {
|
|
|
143
144
|
states: {
|
|
144
145
|
normal: {
|
|
145
146
|
bgColor: transparent,
|
|
146
|
-
textColor: tokens.semantic.color.text.
|
|
147
|
+
textColor: tokens.semantic.color.text.secondary300
|
|
147
148
|
},
|
|
148
149
|
hover: {
|
|
149
150
|
bgColor: transparent,
|
|
150
|
-
textColor: tokens.semantic.color.text.
|
|
151
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
151
152
|
},
|
|
152
153
|
active: {
|
|
153
154
|
bgColor: transparent,
|
|
154
|
-
textColor: tokens.semantic.color.text.
|
|
155
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
155
156
|
},
|
|
156
157
|
disabled: {
|
|
157
158
|
bgColor: transparent,
|
|
158
|
-
textColor: tokens.semantic.color.text.
|
|
159
|
+
textColor: tokens.semantic.color.text.secondary400
|
|
159
160
|
}
|
|
160
161
|
}
|
|
161
162
|
},
|
|
@@ -175,7 +176,7 @@ const theme = {
|
|
|
175
176
|
},
|
|
176
177
|
disabled: {
|
|
177
178
|
bgColor: transparent,
|
|
178
|
-
textColor: tokens.semantic.color.text.
|
|
179
|
+
textColor: tokens.semantic.color.text.secondary400
|
|
179
180
|
}
|
|
180
181
|
}
|
|
181
182
|
},
|
|
@@ -193,7 +194,7 @@ const theme = {
|
|
|
193
194
|
},
|
|
194
195
|
disabled: {
|
|
195
196
|
bgColor: transparent,
|
|
196
|
-
textColor: tokens.semantic.color.text.
|
|
197
|
+
textColor: tokens.semantic.color.text.secondary400
|
|
197
198
|
}
|
|
198
199
|
}
|
|
199
200
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { tokens } from '../../tokens';
|
|
2
1
|
import sunIcon from '../assets/Sun.svg';
|
|
3
2
|
import moonIcon from '../assets/Moon.svg';
|
|
3
|
+
import { tokens } from '../../tokens';
|
|
4
4
|
const theme = {
|
|
5
5
|
width: '3.6rem',
|
|
6
6
|
height: '2.2rem',
|
|
7
7
|
padding: '0.1rem',
|
|
8
8
|
borderRadius: '10rem',
|
|
9
9
|
borderWidth: '0.1rem',
|
|
10
|
-
borderColor: tokens.semantic.color.border.
|
|
11
|
-
bgColor: tokens.semantic.color.background.
|
|
10
|
+
borderColor: tokens.semantic.color.border.secondary700,
|
|
11
|
+
bgColor: tokens.semantic.color.background.secondary990,
|
|
12
12
|
thumb: {
|
|
13
13
|
icon: `url("${moonIcon}")`,
|
|
14
14
|
iconAspectRatio: '1/1',
|