@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.
@@ -5,7 +5,7 @@ const theme = {
5
5
  link: {
6
6
  states: {
7
7
  normal: {
8
- textColor: tokens.semantic.color.text.secondary300
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: tokens.core.font.fontWeight.semiBold
23
+ fontWeight: 'inherit'
24
24
  },
25
25
  separator: {
26
- textColor: tokens.semantic.color.text.secondary400
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: '3rem',
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: '1rem 1.8rem',
18
- height: '3.6rem',
19
- lineHeight: '1.2rem',
20
- fontSize: '1.2rem'
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: '1.2rem 2.8rem',
25
- height: '4.4rem',
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.secondary800,
56
- borderColor: destructiveBorder,
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: tokens.semantic.color.background.secondary700,
61
- borderColor: destructiveBorder,
62
- textColor: tokens.semantic.color.text.primary300
58
+ bgColor: '#272328',
59
+ borderColor: tokens.semantic.color.border.primary400,
60
+ textColor: tokens.semantic.color.text.primary400
63
61
  },
64
62
  active: {
65
- bgColor: tokens.semantic.color.background.secondary500,
66
- borderColor: destructiveBorder,
67
- textColor: tokens.semantic.color.text.primary300
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.secondary500
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: tokens.core.font.fontWeight.semiBold
23
+ fontWeight: 'inherit'
24
24
  },
25
25
  separator: {
26
- textColor: tokens.semantic.color.text.secondary500
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: '3rem',
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: '1rem 1.8rem',
18
- height: '3.6rem',
19
- lineHeight: '1.2rem',
20
- fontSize: '1.2rem'
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: '1.2rem 2.8rem',
25
- height: '4.4rem',
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: destructiveBorder,
57
- textColor: tokens.semantic.color.text.danger500
54
+ borderColor: tokens.semantic.color.border.primary700,
55
+ textColor: tokens.semantic.color.text.primary700
58
56
  },
59
57
  hover: {
60
- bgColor: tokens.semantic.color.background.secondary100,
61
- borderColor: destructiveBorder,
62
- textColor: tokens.semantic.color.text.danger500
58
+ bgColor: '#FFEBE7',
59
+ borderColor: tokens.semantic.color.border.primary600,
60
+ textColor: tokens.semantic.color.text.primary800
63
61
  },
64
62
  active: {
65
- bgColor: tokens.semantic.color.background.secondary200,
66
- borderColor: destructiveBorder,
67
- textColor: tokens.semantic.color.text.danger500
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,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@redis-ui/styles",
3
3
  "license": "UNLICENSED",
4
- "version": "21.15.2",
4
+ "version": "21.16.0",
5
5
  "repository": "git@github.com:redislabsdev/redis-ui.git",
6
6
  "type": "module",
7
7
  "files": [