@redis-ui/styles 21.15.2 → 21.16.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 +3651 -3651
- package/dist/index.umd.cjs +13 -13
- package/dist/themes/themeDarkNext/theme/components/breadcrumbs.js +3 -3
- package/dist/themes/themeDarkNext/theme/components/button.js +15 -17
- package/dist/themes/themeLightNext/theme/components/breadcrumbs.js +3 -3
- package/dist/themes/themeLightNext/theme/components/button.js +15 -17
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ const theme = {
|
|
|
5
5
|
link: {
|
|
6
6
|
states: {
|
|
7
7
|
normal: {
|
|
8
|
-
textColor: tokens.semantic.color.text.
|
|
8
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
9
9
|
},
|
|
10
10
|
hover: {
|
|
11
11
|
textColor: tokens.semantic.color.text.secondary0
|
|
@@ -20,10 +20,10 @@ const theme = {
|
|
|
20
20
|
},
|
|
21
21
|
current: {
|
|
22
22
|
textColor: tokens.semantic.color.text.secondary0,
|
|
23
|
-
fontWeight:
|
|
23
|
+
fontWeight: 'inherit'
|
|
24
24
|
},
|
|
25
25
|
separator: {
|
|
26
|
-
textColor: tokens.semantic.color.text.
|
|
26
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
29
|
export default theme;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { tokens } from '../../tokens';
|
|
2
|
-
import { withOpacity } from '../../../../utils';
|
|
3
|
-
const destructiveBorder = withOpacity(tokens.semantic.color.background.primary300, 0.55);
|
|
4
2
|
const theme = {
|
|
5
3
|
gap: '0.2rem',
|
|
6
4
|
pressTransform: 'translateY(1px)',
|
|
@@ -8,21 +6,21 @@ const theme = {
|
|
|
8
6
|
small: {
|
|
9
7
|
borderRadius: '0.5rem',
|
|
10
8
|
padding: '0.8rem 1.4rem',
|
|
11
|
-
height: '
|
|
9
|
+
height: '2.8rem',
|
|
12
10
|
lineHeight: '1.2rem',
|
|
13
11
|
fontSize: '1.2rem'
|
|
14
12
|
},
|
|
15
13
|
medium: {
|
|
16
14
|
borderRadius: '0.5rem',
|
|
17
|
-
padding: '
|
|
18
|
-
height: '
|
|
19
|
-
lineHeight: '1.
|
|
20
|
-
fontSize: '1.
|
|
15
|
+
padding: '0.8rem 1.8rem',
|
|
16
|
+
height: '3rem',
|
|
17
|
+
lineHeight: '1.3rem',
|
|
18
|
+
fontSize: '1.3rem'
|
|
21
19
|
},
|
|
22
20
|
large: {
|
|
23
21
|
borderRadius: '0.5rem',
|
|
24
|
-
padding: '
|
|
25
|
-
height: '
|
|
22
|
+
padding: '0.9rem 2.8rem',
|
|
23
|
+
height: '3.6rem',
|
|
26
24
|
lineHeight: '1.8rem',
|
|
27
25
|
fontSize: '1.3rem'
|
|
28
26
|
}
|
|
@@ -52,19 +50,19 @@ const theme = {
|
|
|
52
50
|
},
|
|
53
51
|
destructive: {
|
|
54
52
|
normal: {
|
|
55
|
-
bgColor: tokens.semantic.color.background.
|
|
56
|
-
borderColor:
|
|
53
|
+
bgColor: tokens.semantic.color.background.secondary950,
|
|
54
|
+
borderColor: tokens.semantic.color.border.primary300,
|
|
57
55
|
textColor: tokens.semantic.color.text.primary300
|
|
58
56
|
},
|
|
59
57
|
hover: {
|
|
60
|
-
bgColor:
|
|
61
|
-
borderColor:
|
|
62
|
-
textColor: tokens.semantic.color.text.
|
|
58
|
+
bgColor: '#272328',
|
|
59
|
+
borderColor: tokens.semantic.color.border.primary400,
|
|
60
|
+
textColor: tokens.semantic.color.text.primary400
|
|
63
61
|
},
|
|
64
62
|
active: {
|
|
65
|
-
bgColor:
|
|
66
|
-
borderColor:
|
|
67
|
-
textColor: tokens.semantic.color.text.
|
|
63
|
+
bgColor: '#3E292C',
|
|
64
|
+
borderColor: tokens.semantic.color.border.primary600,
|
|
65
|
+
textColor: tokens.semantic.color.text.primary400
|
|
68
66
|
},
|
|
69
67
|
disabled: {
|
|
70
68
|
bgColor: tokens.semantic.color.background.secondary700,
|
|
@@ -5,7 +5,7 @@ const theme = {
|
|
|
5
5
|
link: {
|
|
6
6
|
states: {
|
|
7
7
|
normal: {
|
|
8
|
-
textColor: tokens.semantic.color.text.
|
|
8
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
9
9
|
},
|
|
10
10
|
hover: {
|
|
11
11
|
textColor: tokens.semantic.color.text.secondary950
|
|
@@ -20,10 +20,10 @@ const theme = {
|
|
|
20
20
|
},
|
|
21
21
|
current: {
|
|
22
22
|
textColor: tokens.semantic.color.text.secondary950,
|
|
23
|
-
fontWeight:
|
|
23
|
+
fontWeight: 'inherit'
|
|
24
24
|
},
|
|
25
25
|
separator: {
|
|
26
|
-
textColor: tokens.semantic.color.text.
|
|
26
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
29
|
export default theme;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { tokens } from '../../tokens';
|
|
2
|
-
import { withOpacity } from '../../../../utils';
|
|
3
|
-
const destructiveBorder = withOpacity(tokens.semantic.color.background.primary400, 0.55);
|
|
4
2
|
const theme = {
|
|
5
3
|
gap: '0.2rem',
|
|
6
4
|
pressTransform: 'translateY(1px)',
|
|
@@ -8,21 +6,21 @@ const theme = {
|
|
|
8
6
|
small: {
|
|
9
7
|
borderRadius: '0.5rem',
|
|
10
8
|
padding: '0.8rem 1.4rem',
|
|
11
|
-
height: '
|
|
9
|
+
height: '2.8rem',
|
|
12
10
|
lineHeight: '1.2rem',
|
|
13
11
|
fontSize: '1.2rem'
|
|
14
12
|
},
|
|
15
13
|
medium: {
|
|
16
14
|
borderRadius: '0.5rem',
|
|
17
|
-
padding: '
|
|
18
|
-
height: '
|
|
19
|
-
lineHeight: '1.
|
|
20
|
-
fontSize: '1.
|
|
15
|
+
padding: '0.8rem 1.8rem',
|
|
16
|
+
height: '3rem',
|
|
17
|
+
lineHeight: '1.3rem',
|
|
18
|
+
fontSize: '1.3rem'
|
|
21
19
|
},
|
|
22
20
|
large: {
|
|
23
21
|
borderRadius: '0.5rem',
|
|
24
|
-
padding: '
|
|
25
|
-
height: '
|
|
22
|
+
padding: '0.9rem 2.8rem',
|
|
23
|
+
height: '3.6rem',
|
|
26
24
|
lineHeight: '1.8rem',
|
|
27
25
|
fontSize: '1.3rem'
|
|
28
26
|
}
|
|
@@ -53,18 +51,18 @@ const theme = {
|
|
|
53
51
|
destructive: {
|
|
54
52
|
normal: {
|
|
55
53
|
bgColor: tokens.semantic.color.background.secondary0,
|
|
56
|
-
borderColor:
|
|
57
|
-
textColor: tokens.semantic.color.text.
|
|
54
|
+
borderColor: tokens.semantic.color.border.primary700,
|
|
55
|
+
textColor: tokens.semantic.color.text.primary700
|
|
58
56
|
},
|
|
59
57
|
hover: {
|
|
60
|
-
bgColor:
|
|
61
|
-
borderColor:
|
|
62
|
-
textColor: tokens.semantic.color.text.
|
|
58
|
+
bgColor: '#FFEBE7',
|
|
59
|
+
borderColor: tokens.semantic.color.border.primary600,
|
|
60
|
+
textColor: tokens.semantic.color.text.primary800
|
|
63
61
|
},
|
|
64
62
|
active: {
|
|
65
|
-
bgColor:
|
|
66
|
-
borderColor:
|
|
67
|
-
textColor: tokens.semantic.color.text.
|
|
63
|
+
bgColor: '#FFDBD4',
|
|
64
|
+
borderColor: tokens.semantic.color.border.primary500,
|
|
65
|
+
textColor: tokens.semantic.color.text.primary800
|
|
68
66
|
},
|
|
69
67
|
disabled: {
|
|
70
68
|
bgColor: tokens.semantic.color.background.secondary200,
|