@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.
@@ -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.s13,
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.s12
88
+ fontSize: tokens.core.font.fontSize.s14
86
89
  }
87
90
  },
88
91
  groupTitle: {
89
- textColor: tokens.semantic.color.text.secondary400,
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.s13,
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.s12
88
+ fontSize: tokens.core.font.fontSize.s14
86
89
  }
87
90
  },
88
91
  groupTitle: {
89
- textColor: tokens.semantic.color.text.secondary500,
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;
@@ -43,6 +43,7 @@ export type SelectTheme = {
43
43
  padding: string;
44
44
  bgColor: string;
45
45
  shadow: string;
46
+ borderColor?: string;
46
47
  borderRadius: string;
47
48
  triggerOffset: string;
48
49
  maxHeight: string;
@@ -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 {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@redis-ui/styles",
3
3
  "license": "UNLICENSED",
4
- "version": "21.24.0",
4
+ "version": "21.25.0",
5
5
  "repository": "git@github.com:redislabsdev/redis-ui.git",
6
6
  "type": "module",
7
7
  "files": [