@redis-ui/styles 21.24.0 → 21.25.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 +24 -14
- package/dist/index.umd.cjs +1 -1
- package/dist/themes/themeDarkNext/theme/components/select.js +1 -0
- package/dist/themes/themeDarkNext/theme/components/sideBar.js +11 -7
- package/dist/themes/themeLightNext/theme/components/select.js +1 -0
- package/dist/themes/themeLightNext/theme/components/sideBar.js +11 -7
- package/dist/themes/types/theme/components/select.types.d.ts +1 -0
- package/dist/themes/types/theme/components/sideBar.types.d.ts +2 -0
- package/package.json +1 -1
|
@@ -65,6 +65,7 @@ const theme = {
|
|
|
65
65
|
padding: '0.8rem 0',
|
|
66
66
|
bgColor: tokens.semantic.color.background.secondary950,
|
|
67
67
|
shadow: tokens.core.shadow.shadow400,
|
|
68
|
+
borderColor: tokens.semantic.color.border.secondary700,
|
|
68
69
|
borderRadius: '0.5rem',
|
|
69
70
|
triggerOffset: '0.4rem',
|
|
70
71
|
maxHeight: '50vh',
|
|
@@ -50,15 +50,18 @@ const theme = {
|
|
|
50
50
|
states: {
|
|
51
51
|
normal: {
|
|
52
52
|
textColor: tokens.semantic.color.text.secondary300,
|
|
53
|
-
bgColor: 'transparent'
|
|
53
|
+
bgColor: 'transparent',
|
|
54
|
+
labelColor: tokens.semantic.color.text.secondary0
|
|
54
55
|
},
|
|
55
56
|
hover: {
|
|
56
57
|
textColor: tokens.semantic.color.text.secondary0,
|
|
57
|
-
bgColor: tokens.semantic.color.background.secondary900
|
|
58
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
59
|
+
labelColor: tokens.semantic.color.text.secondary0
|
|
58
60
|
},
|
|
59
61
|
active: {
|
|
60
62
|
textColor: tokens.semantic.color.text.primary400,
|
|
61
|
-
bgColor: withOpacity(tokens.semantic.color.background.primary400, 0.1)
|
|
63
|
+
bgColor: withOpacity(tokens.semantic.color.background.primary400, 0.1),
|
|
64
|
+
labelColor: tokens.semantic.color.text.primary400
|
|
62
65
|
},
|
|
63
66
|
activeHover: {
|
|
64
67
|
textColor: tokens.semantic.color.text.primary400
|
|
@@ -75,19 +78,20 @@ const theme = {
|
|
|
75
78
|
activeIndicator: {
|
|
76
79
|
bgColor: 'transparent'
|
|
77
80
|
},
|
|
78
|
-
fontSize: tokens.core.font.fontSize.
|
|
81
|
+
fontSize: tokens.core.font.fontSize.s14,
|
|
79
82
|
gap: tokens.core.space.space200,
|
|
80
83
|
iconSize: '1.8rem',
|
|
81
84
|
height: '3rem',
|
|
82
85
|
margin: '0.1rem 0.5rem 0.1rem 1rem',
|
|
83
86
|
child: {
|
|
84
87
|
height: '2.4rem',
|
|
85
|
-
fontSize: tokens.core.font.fontSize.
|
|
88
|
+
fontSize: tokens.core.font.fontSize.s14
|
|
86
89
|
}
|
|
87
90
|
},
|
|
88
91
|
groupTitle: {
|
|
89
|
-
textColor: tokens.semantic.color.text.
|
|
90
|
-
fontSize: tokens.core.font.fontSize.s10
|
|
92
|
+
textColor: tokens.semantic.color.text.secondary0,
|
|
93
|
+
fontSize: tokens.core.font.fontSize.s10,
|
|
94
|
+
letterSpacing: '0.13em'
|
|
91
95
|
}
|
|
92
96
|
};
|
|
93
97
|
export default theme;
|
|
@@ -64,6 +64,7 @@ const theme = {
|
|
|
64
64
|
padding: '0.8rem 0',
|
|
65
65
|
bgColor: tokens.semantic.color.background.secondary0,
|
|
66
66
|
shadow: tokens.core.shadow.shadow400,
|
|
67
|
+
borderColor: tokens.semantic.color.border.secondary200,
|
|
67
68
|
borderRadius: '0.5rem',
|
|
68
69
|
triggerOffset: '0.4rem',
|
|
69
70
|
maxHeight: '50vh',
|
|
@@ -50,15 +50,18 @@ const theme = {
|
|
|
50
50
|
states: {
|
|
51
51
|
normal: {
|
|
52
52
|
textColor: tokens.semantic.color.text.secondary500,
|
|
53
|
-
bgColor: 'transparent'
|
|
53
|
+
bgColor: 'transparent',
|
|
54
|
+
labelColor: tokens.semantic.color.text.secondary950
|
|
54
55
|
},
|
|
55
56
|
hover: {
|
|
56
57
|
textColor: tokens.semantic.color.text.secondary950,
|
|
57
|
-
bgColor: tokens.semantic.color.background.neutral100
|
|
58
|
+
bgColor: tokens.semantic.color.background.neutral100,
|
|
59
|
+
labelColor: tokens.semantic.color.text.secondary950
|
|
58
60
|
},
|
|
59
61
|
active: {
|
|
60
62
|
textColor: tokens.semantic.color.text.primary700,
|
|
61
|
-
bgColor: withOpacity(tokens.semantic.color.background.primary700, 0.04)
|
|
63
|
+
bgColor: withOpacity(tokens.semantic.color.background.primary700, 0.04),
|
|
64
|
+
labelColor: tokens.semantic.color.text.primary700
|
|
62
65
|
},
|
|
63
66
|
activeHover: {
|
|
64
67
|
textColor: tokens.semantic.color.text.primary700
|
|
@@ -75,19 +78,20 @@ const theme = {
|
|
|
75
78
|
activeIndicator: {
|
|
76
79
|
bgColor: 'transparent'
|
|
77
80
|
},
|
|
78
|
-
fontSize: tokens.core.font.fontSize.
|
|
81
|
+
fontSize: tokens.core.font.fontSize.s14,
|
|
79
82
|
gap: tokens.core.space.space200,
|
|
80
83
|
iconSize: '1.8rem',
|
|
81
84
|
height: '3rem',
|
|
82
85
|
margin: '0.1rem 0.5rem 0.1rem 1rem',
|
|
83
86
|
child: {
|
|
84
87
|
height: '2.4rem',
|
|
85
|
-
fontSize: tokens.core.font.fontSize.
|
|
88
|
+
fontSize: tokens.core.font.fontSize.s14
|
|
86
89
|
}
|
|
87
90
|
},
|
|
88
91
|
groupTitle: {
|
|
89
|
-
textColor: tokens.semantic.color.text.
|
|
90
|
-
fontSize: tokens.core.font.fontSize.s10
|
|
92
|
+
textColor: tokens.semantic.color.text.secondary950,
|
|
93
|
+
fontSize: tokens.core.font.fontSize.s10,
|
|
94
|
+
letterSpacing: '0.13em'
|
|
91
95
|
}
|
|
92
96
|
};
|
|
93
97
|
export default theme;
|
|
@@ -49,6 +49,7 @@ export type SideBarTheme = {
|
|
|
49
49
|
states: Record<SideBarItemState, {
|
|
50
50
|
bgColor?: string;
|
|
51
51
|
textColor?: string;
|
|
52
|
+
labelColor?: string;
|
|
52
53
|
}>;
|
|
53
54
|
tooltip: {
|
|
54
55
|
textColor: string;
|
|
@@ -75,6 +76,7 @@ export type SideBarTheme = {
|
|
|
75
76
|
groupTitle: {
|
|
76
77
|
textColor: string;
|
|
77
78
|
fontSize?: string;
|
|
79
|
+
letterSpacing?: string;
|
|
78
80
|
};
|
|
79
81
|
};
|
|
80
82
|
export {};
|