@redis-ui/styles 21.12.0 → 21.13.1

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.
@@ -7,24 +7,24 @@ const theme = {
7
7
  sizes: {
8
8
  small: {
9
9
  borderRadius: '0.5rem',
10
- padding: '0.6rem 1.2rem',
11
- height: '2.6rem',
10
+ padding: '0.8rem 1.4rem',
11
+ height: '3rem',
12
12
  lineHeight: '1.2rem',
13
13
  fontSize: '1.2rem'
14
14
  },
15
15
  medium: {
16
16
  borderRadius: '0.5rem',
17
- padding: '1rem 2rem',
18
- height: '3.4rem',
17
+ padding: '1rem 1.8rem',
18
+ height: '3.6rem',
19
19
  lineHeight: '1.2rem',
20
20
  fontSize: '1.2rem'
21
21
  },
22
22
  large: {
23
23
  borderRadius: '0.5rem',
24
- padding: '1.2rem 1.8rem',
24
+ padding: '1.2rem 2.8rem',
25
25
  height: '4.4rem',
26
26
  lineHeight: '1.8rem',
27
- fontSize: '1.4rem'
27
+ fontSize: '1.3rem'
28
28
  }
29
29
  },
30
30
  variants: {
@@ -73,10 +73,14 @@ const theme = {
73
73
  },
74
74
  activeIndicator: {
75
75
  bgColor: 'transparent'
76
- }
76
+ },
77
+ fontSize: tokens.core.font.fontSize.s13,
78
+ gap: tokens.core.space.space200,
79
+ iconSize: '1.8rem'
77
80
  },
78
81
  groupTitle: {
79
- textColor: tokens.semantic.color.text.secondary400
82
+ textColor: tokens.semantic.color.text.secondary400,
83
+ fontSize: tokens.core.font.fontSize.s10
80
84
  }
81
85
  };
82
86
  export default theme;
@@ -4,6 +4,7 @@ const theme = {
4
4
  textColor: tokens.semantic.color.text.secondary0,
5
5
  fontFamily: tokens.core.font.fontFamily.regular,
6
6
  fontSize: tokens.core.font.fontSize.s14,
7
- lineHeight: '1.5'
7
+ lineHeight: '1.5',
8
+ antialiased: true
8
9
  };
9
10
  export default theme;
@@ -7,24 +7,24 @@ const theme = {
7
7
  sizes: {
8
8
  small: {
9
9
  borderRadius: '0.5rem',
10
- padding: '0.6rem 1.2rem',
11
- height: '2.6rem',
10
+ padding: '0.8rem 1.4rem',
11
+ height: '3rem',
12
12
  lineHeight: '1.2rem',
13
13
  fontSize: '1.2rem'
14
14
  },
15
15
  medium: {
16
16
  borderRadius: '0.5rem',
17
- padding: '1rem 2rem',
18
- height: '3.4rem',
17
+ padding: '1rem 1.8rem',
18
+ height: '3.6rem',
19
19
  lineHeight: '1.2rem',
20
20
  fontSize: '1.2rem'
21
21
  },
22
22
  large: {
23
23
  borderRadius: '0.5rem',
24
- padding: '1.2rem 1.8rem',
24
+ padding: '1.2rem 2.8rem',
25
25
  height: '4.4rem',
26
26
  lineHeight: '1.8rem',
27
- fontSize: '1.4rem'
27
+ fontSize: '1.3rem'
28
28
  }
29
29
  },
30
30
  variants: {
@@ -73,10 +73,14 @@ const theme = {
73
73
  },
74
74
  activeIndicator: {
75
75
  bgColor: 'transparent'
76
- }
76
+ },
77
+ fontSize: tokens.core.font.fontSize.s13,
78
+ gap: tokens.core.space.space200,
79
+ iconSize: '1.8rem'
77
80
  },
78
81
  groupTitle: {
79
- textColor: tokens.semantic.color.text.secondary500
82
+ textColor: tokens.semantic.color.text.secondary500,
83
+ fontSize: tokens.core.font.fontSize.s10
80
84
  }
81
85
  };
82
86
  export default theme;
@@ -4,6 +4,7 @@ const theme = {
4
4
  textColor: tokens.semantic.color.text.secondary950,
5
5
  fontFamily: tokens.core.font.fontFamily.regular,
6
6
  fontSize: tokens.core.font.fontSize.s14,
7
- lineHeight: '1.5'
7
+ lineHeight: '1.5',
8
+ antialiased: true
8
9
  };
9
10
  export default theme;
@@ -60,9 +60,13 @@ export type SideBarTheme = {
60
60
  activeIndicator: {
61
61
  bgColor: string;
62
62
  };
63
+ fontSize?: string;
64
+ gap?: string;
65
+ iconSize?: string;
63
66
  };
64
67
  groupTitle: {
65
68
  textColor: string;
69
+ fontSize?: string;
66
70
  };
67
71
  };
68
72
  export {};
@@ -4,4 +4,5 @@ export type BodyTheme = {
4
4
  fontFamily: string;
5
5
  fontSize: string;
6
6
  lineHeight: string;
7
+ antialiased?: boolean;
7
8
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@redis-ui/styles",
3
3
  "license": "UNLICENSED",
4
- "version": "21.12.0",
4
+ "version": "21.13.1",
5
5
  "repository": "git@github.com:redislabsdev/redis-ui.git",
6
6
  "type": "module",
7
7
  "files": [