@redis-ui/styles 21.14.0 → 21.14.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.
@@ -12,7 +12,8 @@ const theme = {
12
12
  normal: {
13
13
  textColor: tokens.semantic.color.text.secondary400,
14
14
  padding: '2px 0 4px',
15
- letterSpacing: '0.11px'
15
+ letterSpacing: '0.11px',
16
+ fontSize: tokens.core.font.fontSize.s14
16
17
  },
17
18
  hover: {
18
19
  textColor: tokens.semantic.color.text.secondary200
@@ -55,7 +56,7 @@ const theme = {
55
56
  textColor: tokens.semantic.color.text.secondary400,
56
57
  padding: '4px 8px',
57
58
  letterSpacing: '0.11px',
58
- fontSize: `1.2rem`,
59
+ fontSize: tokens.core.font.fontSize.s14,
59
60
  borderRadius: '0.3rem',
60
61
  borderWidth: '1px',
61
62
  borderColor: tokens.semantic.color.border.transparent
@@ -2,25 +2,24 @@ import { tokens } from '../../tokens';
2
2
  const theme = {
3
3
  variants: {
4
4
  default: {
5
- gap: '4rem',
5
+ gap: '2.4rem',
6
6
  tabsLine: {
7
- size: '4px',
7
+ size: '1px',
8
8
  color: tokens.semantic.color.text.secondary700
9
9
  },
10
10
  tab: {
11
11
  states: {
12
12
  normal: {
13
13
  textColor: tokens.semantic.color.text.secondary300,
14
- padding: '2px 0 4px',
15
- letterSpacing: '0.11px'
14
+ padding: '9px 2px',
15
+ fontSize: tokens.core.font.fontSize.s13
16
16
  },
17
17
  hover: {
18
18
  textColor: tokens.semantic.color.text.secondary0
19
19
  },
20
20
  active: {
21
21
  textColor: tokens.semantic.color.text.secondary0,
22
- fontWeight: tokens.core.font.fontWeight.semiBold,
23
- letterSpacing: '0'
22
+ fontWeight: tokens.core.font.fontWeight.semiBold
24
23
  },
25
24
  disabled: {
26
25
  textColor: tokens.semantic.color.text.secondary400
@@ -31,14 +30,14 @@ const theme = {
31
30
  states: {
32
31
  normal: {
33
32
  color: 'transparent',
34
- size: '4px',
35
- inset: 'auto 0 -4px'
33
+ size: '2px',
34
+ inset: 'auto 0 -1px'
36
35
  },
37
36
  hover: {
38
37
  color: tokens.semantic.color.text.secondary500
39
38
  },
40
39
  active: {
41
- color: tokens.semantic.color.text.secondary0
40
+ color: tokens.semantic.color.border.primary400
42
41
  }
43
42
  }
44
43
  }
@@ -55,7 +54,7 @@ const theme = {
55
54
  textColor: tokens.semantic.color.text.secondary300,
56
55
  padding: '4px 8px',
57
56
  letterSpacing: '0.11px',
58
- fontSize: `1.2rem`,
57
+ fontSize: tokens.core.font.fontSize.s14,
59
58
  borderRadius: '0.3rem',
60
59
  borderWidth: '1px',
61
60
  borderColor: tokens.semantic.color.border.transparent
@@ -12,7 +12,8 @@ const theme = {
12
12
  normal: {
13
13
  textColor: tokens.semantic.color.text.secondary700,
14
14
  padding: '2px 0 4px',
15
- letterSpacing: '0.11px'
15
+ letterSpacing: '0.11px',
16
+ fontSize: tokens.core.font.fontSize.s14
16
17
  },
17
18
  active: {
18
19
  textColor: tokens.semantic.color.text.secondary950,
@@ -52,7 +53,7 @@ const theme = {
52
53
  textColor: tokens.semantic.color.text.secondary700,
53
54
  padding: '4px 8px',
54
55
  letterSpacing: '0.11px',
55
- fontSize: `1.2rem`,
56
+ fontSize: tokens.core.font.fontSize.s14,
56
57
  borderRadius: '0.3rem',
57
58
  borderWidth: '1px',
58
59
  borderColor: tokens.semantic.color.border.transparent
@@ -2,25 +2,24 @@ import { tokens } from '../../tokens';
2
2
  const theme = {
3
3
  variants: {
4
4
  default: {
5
- gap: '4rem',
5
+ gap: '2.4rem',
6
6
  tabsLine: {
7
- size: '4px',
7
+ size: '1px',
8
8
  color: tokens.semantic.color.text.secondary200
9
9
  },
10
10
  tab: {
11
11
  states: {
12
12
  normal: {
13
13
  textColor: tokens.semantic.color.text.secondary500,
14
- padding: '2px 0 4px',
15
- letterSpacing: '0.11px'
14
+ padding: '9px 2px',
15
+ fontSize: tokens.core.font.fontSize.s13
16
16
  },
17
17
  hover: {
18
18
  textColor: tokens.semantic.color.text.secondary950
19
19
  },
20
20
  active: {
21
21
  textColor: tokens.semantic.color.text.secondary950,
22
- fontWeight: tokens.core.font.fontWeight.semiBold,
23
- letterSpacing: '0'
22
+ fontWeight: tokens.core.font.fontWeight.semiBold
24
23
  },
25
24
  disabled: {
26
25
  textColor: tokens.semantic.color.text.secondary500
@@ -31,14 +30,14 @@ const theme = {
31
30
  states: {
32
31
  normal: {
33
32
  color: 'transparent',
34
- size: '4px',
35
- inset: 'auto 0 -4px'
33
+ size: '2px',
34
+ inset: 'auto 0 -1px'
36
35
  },
37
36
  hover: {
38
37
  color: tokens.semantic.color.text.secondary400
39
38
  },
40
39
  active: {
41
- color: tokens.semantic.color.text.secondary950
40
+ color: tokens.semantic.color.border.primary400
42
41
  }
43
42
  }
44
43
  }
@@ -55,7 +54,7 @@ const theme = {
55
54
  textColor: tokens.semantic.color.text.secondary500,
56
55
  padding: '4px 8px',
57
56
  letterSpacing: '0.11px',
58
- fontSize: `1.2rem`,
57
+ fontSize: tokens.core.font.fontSize.s14,
59
58
  borderRadius: '0.3rem',
60
59
  borderWidth: '1px',
61
60
  borderColor: tokens.semantic.color.border.transparent
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@redis-ui/styles",
3
3
  "license": "UNLICENSED",
4
- "version": "21.14.0",
4
+ "version": "21.14.1",
5
5
  "repository": "git@github.com:redislabsdev/redis-ui.git",
6
6
  "type": "module",
7
7
  "files": [