@redis-ui/styles 21.14.0 → 21.14.2
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 +36 -32
- package/dist/index.umd.cjs +1 -1
- package/dist/themes/themeDark/theme/components/tabs.js +3 -2
- package/dist/themes/themeDarkNext/theme/components/radio.js +6 -4
- package/dist/themes/themeDarkNext/theme/components/tabs.js +9 -10
- package/dist/themes/themeLight/theme/components/tabs.js +3 -2
- package/dist/themes/themeLightNext/theme/components/radio.js +6 -4
- package/dist/themes/themeLightNext/theme/components/tabs.js +9 -10
- package/package.json +1 -1
|
@@ -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:
|
|
59
|
+
fontSize: tokens.core.font.fontSize.s14,
|
|
59
60
|
borderRadius: '0.3rem',
|
|
60
61
|
borderWidth: '1px',
|
|
61
62
|
borderColor: tokens.semantic.color.border.transparent
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { tokens } from '../../tokens';
|
|
2
2
|
const theme = {
|
|
3
|
-
size: '1.
|
|
3
|
+
size: '1.6rem',
|
|
4
4
|
iconSize: '0.6rem',
|
|
5
5
|
padding: '0',
|
|
6
|
-
borderWidth: '
|
|
6
|
+
borderWidth: '1.5px',
|
|
7
7
|
gap: '0.8rem',
|
|
8
8
|
group: {
|
|
9
9
|
vertical: {
|
|
@@ -23,12 +23,14 @@ const theme = {
|
|
|
23
23
|
primary: {
|
|
24
24
|
on: {
|
|
25
25
|
normal: {
|
|
26
|
-
bgColor: tokens.semantic.color.background.
|
|
27
|
-
|
|
26
|
+
bgColor: tokens.semantic.color.background.informative300,
|
|
27
|
+
borderColor: tokens.semantic.color.border.informative300,
|
|
28
|
+
iconColor: tokens.semantic.color.icon.secondary950,
|
|
28
29
|
textColor: tokens.semantic.color.text.secondary0
|
|
29
30
|
},
|
|
30
31
|
disabled: {
|
|
31
32
|
bgColor: tokens.semantic.color.background.secondary700,
|
|
33
|
+
borderColor: tokens.semantic.color.border.secondary700,
|
|
32
34
|
iconColor: tokens.semantic.color.icon.secondary400,
|
|
33
35
|
textColor: tokens.semantic.color.text.secondary400
|
|
34
36
|
}
|
|
@@ -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: '
|
|
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
|
|
15
|
-
|
|
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: '
|
|
35
|
-
inset: 'auto 0 -
|
|
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.
|
|
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:
|
|
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:
|
|
56
|
+
fontSize: tokens.core.font.fontSize.s14,
|
|
56
57
|
borderRadius: '0.3rem',
|
|
57
58
|
borderWidth: '1px',
|
|
58
59
|
borderColor: tokens.semantic.color.border.transparent
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { tokens } from '../../tokens';
|
|
2
2
|
const theme = {
|
|
3
|
-
size: '1.
|
|
3
|
+
size: '1.6rem',
|
|
4
4
|
iconSize: '0.6rem',
|
|
5
5
|
padding: '0',
|
|
6
|
-
borderWidth: '
|
|
6
|
+
borderWidth: '1.5px',
|
|
7
7
|
gap: '0.8rem',
|
|
8
8
|
group: {
|
|
9
9
|
vertical: {
|
|
@@ -23,12 +23,14 @@ const theme = {
|
|
|
23
23
|
primary: {
|
|
24
24
|
on: {
|
|
25
25
|
normal: {
|
|
26
|
-
bgColor:
|
|
27
|
-
|
|
26
|
+
bgColor: '#0F6FB8',
|
|
27
|
+
borderColor: '#0F6FB8',
|
|
28
|
+
iconColor: tokens.semantic.color.icon.secondary0,
|
|
28
29
|
textColor: tokens.semantic.color.text.secondary950
|
|
29
30
|
},
|
|
30
31
|
disabled: {
|
|
31
32
|
bgColor: tokens.semantic.color.background.secondary200,
|
|
33
|
+
borderColor: tokens.semantic.color.border.secondary200,
|
|
32
34
|
iconColor: tokens.semantic.color.icon.secondary500,
|
|
33
35
|
textColor: tokens.semantic.color.text.secondary500
|
|
34
36
|
}
|
|
@@ -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: '
|
|
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
|
|
15
|
-
|
|
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: '
|
|
35
|
-
inset: 'auto 0 -
|
|
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.
|
|
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:
|
|
57
|
+
fontSize: tokens.core.font.fontSize.s14,
|
|
59
58
|
borderRadius: '0.3rem',
|
|
60
59
|
borderWidth: '1px',
|
|
61
60
|
borderColor: tokens.semantic.color.border.transparent
|