@redis-ui/styles 21.5.0 → 21.7.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.
Files changed (121) hide show
  1. package/dist/index.js +3875 -3570
  2. package/dist/index.umd.cjs +13 -13
  3. package/dist/themes/themeDark/theme/components/charts.js +48 -0
  4. package/dist/themes/themeDarkNext/theme/components/actionIconButton.js +13 -11
  5. package/dist/themes/themeDarkNext/theme/components/appBar.js +12 -12
  6. package/dist/themes/themeDarkNext/theme/components/appSelectionMenu.js +8 -8
  7. package/dist/themes/themeDarkNext/theme/components/badge.js +36 -35
  8. package/dist/themes/themeDarkNext/theme/components/boxSelectionGroup.js +20 -19
  9. package/dist/themes/themeDarkNext/theme/components/breadcrumbs.js +6 -6
  10. package/dist/themes/themeDarkNext/theme/components/button.js +35 -33
  11. package/dist/themes/themeDarkNext/theme/components/buttonGroup.js +17 -17
  12. package/dist/themes/themeDarkNext/theme/components/card.js +13 -12
  13. package/dist/themes/themeDarkNext/theme/components/charts.js +57 -6
  14. package/dist/themes/themeDarkNext/theme/components/checkbox.js +26 -22
  15. package/dist/themes/themeDarkNext/theme/components/chip.js +10 -10
  16. package/dist/themes/themeDarkNext/theme/components/chipList.js +3 -3
  17. package/dist/themes/themeDarkNext/theme/components/drawer.js +8 -8
  18. package/dist/themes/themeDarkNext/theme/components/filters.js +4 -4
  19. package/dist/themes/themeDarkNext/theme/components/formField.js +2 -2
  20. package/dist/themes/themeDarkNext/theme/components/gauge.js +9 -9
  21. package/dist/themes/themeDarkNext/theme/components/highlightedIcon.js +15 -14
  22. package/dist/themes/themeDarkNext/theme/components/icon.js +7 -7
  23. package/dist/themes/themeDarkNext/theme/components/iconButton.js +6 -6
  24. package/dist/themes/themeDarkNext/theme/components/input.js +16 -16
  25. package/dist/themes/themeDarkNext/theme/components/keyValueList.js +4 -4
  26. package/dist/themes/themeDarkNext/theme/components/label.js +5 -5
  27. package/dist/themes/themeDarkNext/theme/components/layouts.js +1 -1
  28. package/dist/themes/themeDarkNext/theme/components/link.js +9 -9
  29. package/dist/themes/themeDarkNext/theme/components/loader.js +9 -9
  30. package/dist/themes/themeDarkNext/theme/components/menu.js +13 -13
  31. package/dist/themes/themeDarkNext/theme/components/modal.js +9 -9
  32. package/dist/themes/themeDarkNext/theme/components/moreInfoIcon.js +1 -1
  33. package/dist/themes/themeDarkNext/theme/components/popover.js +2 -2
  34. package/dist/themes/themeDarkNext/theme/components/popupCard.js +3 -3
  35. package/dist/themes/themeDarkNext/theme/components/progressBar.js +9 -9
  36. package/dist/themes/themeDarkNext/theme/components/radio.js +10 -10
  37. package/dist/themes/themeDarkNext/theme/components/searchBar.js +3 -3
  38. package/dist/themes/themeDarkNext/theme/components/section.js +9 -9
  39. package/dist/themes/themeDarkNext/theme/components/select.js +17 -17
  40. package/dist/themes/themeDarkNext/theme/components/semanticButton.js +21 -21
  41. package/dist/themes/themeDarkNext/theme/components/semanticContainer.js +16 -15
  42. package/dist/themes/themeDarkNext/theme/components/semanticIcon.js +5 -5
  43. package/dist/themes/themeDarkNext/theme/components/sideBar.js +20 -19
  44. package/dist/themes/themeDarkNext/theme/components/skeleton.js +6 -6
  45. package/dist/themes/themeDarkNext/theme/components/slider.js +12 -12
  46. package/dist/themes/themeDarkNext/theme/components/stepper.js +10 -10
  47. package/dist/themes/themeDarkNext/theme/components/switch.js +18 -18
  48. package/dist/themes/themeDarkNext/theme/components/table.js +9 -9
  49. package/dist/themes/themeDarkNext/theme/components/tableHeading.js +2 -2
  50. package/dist/themes/themeDarkNext/theme/components/tabs.js +13 -13
  51. package/dist/themes/themeDarkNext/theme/components/textButton.js +30 -29
  52. package/dist/themes/themeDarkNext/theme/components/themeModeSwitch.js +3 -3
  53. package/dist/themes/themeDarkNext/theme/components/toggleButton.js +17 -14
  54. package/dist/themes/themeDarkNext/theme/components/tooltip.js +7 -7
  55. package/dist/themes/themeDarkNext/theme/components/treeView.js +2 -2
  56. package/dist/themes/themeDarkNext/theme/components/typography.js +7 -7
  57. package/dist/themes/themeDarkNext/theme/components/windowBar.js +28 -27
  58. package/dist/themes/themeDarkNext/theme/globals/body.js +2 -2
  59. package/dist/themes/themeDarkNext/theme/globals/scrollbar.js +2 -2
  60. package/dist/themes/themeDarkNext/tokens.js +3 -3
  61. package/dist/themes/themeLight/theme/components/charts.js +48 -0
  62. package/dist/themes/themeLightNext/theme/components/actionIconButton.js +12 -10
  63. package/dist/themes/themeLightNext/theme/components/appBar.js +8 -8
  64. package/dist/themes/themeLightNext/theme/components/appSelectionMenu.js +4 -4
  65. package/dist/themes/themeLightNext/theme/components/badge.js +30 -29
  66. package/dist/themes/themeLightNext/theme/components/boxSelectionGroup.js +16 -15
  67. package/dist/themes/themeLightNext/theme/components/breadcrumbs.js +2 -2
  68. package/dist/themes/themeLightNext/theme/components/button.js +43 -41
  69. package/dist/themes/themeLightNext/theme/components/buttonGroup.js +14 -14
  70. package/dist/themes/themeLightNext/theme/components/card.js +10 -9
  71. package/dist/themes/themeLightNext/theme/components/charts.js +60 -9
  72. package/dist/themes/themeLightNext/theme/components/checkbox.js +21 -17
  73. package/dist/themes/themeLightNext/theme/components/chip.js +8 -8
  74. package/dist/themes/themeLightNext/theme/components/chipList.js +3 -3
  75. package/dist/themes/themeLightNext/theme/components/countryFlag.js +1 -1
  76. package/dist/themes/themeLightNext/theme/components/drawer.js +7 -7
  77. package/dist/themes/themeLightNext/theme/components/filters.js +2 -2
  78. package/dist/themes/themeLightNext/theme/components/formField.js +2 -2
  79. package/dist/themes/themeLightNext/theme/components/gauge.js +8 -8
  80. package/dist/themes/themeLightNext/theme/components/highlightedIcon.js +13 -12
  81. package/dist/themes/themeLightNext/theme/components/icon.js +6 -6
  82. package/dist/themes/themeLightNext/theme/components/iconButton.js +4 -4
  83. package/dist/themes/themeLightNext/theme/components/input.js +11 -11
  84. package/dist/themes/themeLightNext/theme/components/keyValueList.js +4 -4
  85. package/dist/themes/themeLightNext/theme/components/label.js +3 -3
  86. package/dist/themes/themeLightNext/theme/components/layouts.js +1 -1
  87. package/dist/themes/themeLightNext/theme/components/link.js +10 -10
  88. package/dist/themes/themeLightNext/theme/components/loader.js +9 -9
  89. package/dist/themes/themeLightNext/theme/components/menu.js +13 -13
  90. package/dist/themes/themeLightNext/theme/components/modal.js +7 -7
  91. package/dist/themes/themeLightNext/theme/components/moreInfoIcon.js +1 -1
  92. package/dist/themes/themeLightNext/theme/components/popover.js +2 -2
  93. package/dist/themes/themeLightNext/theme/components/popupCard.js +3 -3
  94. package/dist/themes/themeLightNext/theme/components/progressBar.js +8 -8
  95. package/dist/themes/themeLightNext/theme/components/radio.js +10 -10
  96. package/dist/themes/themeLightNext/theme/components/searchBar.js +3 -3
  97. package/dist/themes/themeLightNext/theme/components/section.js +7 -7
  98. package/dist/themes/themeLightNext/theme/components/select.js +15 -15
  99. package/dist/themes/themeLightNext/theme/components/semanticButton.js +25 -25
  100. package/dist/themes/themeLightNext/theme/components/semanticContainer.js +13 -12
  101. package/dist/themes/themeLightNext/theme/components/semanticIcon.js +5 -5
  102. package/dist/themes/themeLightNext/theme/components/sideBar.js +20 -19
  103. package/dist/themes/themeLightNext/theme/components/skeleton.js +6 -6
  104. package/dist/themes/themeLightNext/theme/components/slider.js +8 -8
  105. package/dist/themes/themeLightNext/theme/components/stepper.js +9 -9
  106. package/dist/themes/themeLightNext/theme/components/switch.js +18 -18
  107. package/dist/themes/themeLightNext/theme/components/table.js +6 -6
  108. package/dist/themes/themeLightNext/theme/components/tableHeading.js +2 -2
  109. package/dist/themes/themeLightNext/theme/components/tabs.js +10 -10
  110. package/dist/themes/themeLightNext/theme/components/textButton.js +26 -26
  111. package/dist/themes/themeLightNext/theme/components/themeModeSwitch.js +3 -3
  112. package/dist/themes/themeLightNext/theme/components/toggleButton.js +12 -9
  113. package/dist/themes/themeLightNext/theme/components/tooltip.js +6 -6
  114. package/dist/themes/themeLightNext/theme/components/treeView.js +2 -2
  115. package/dist/themes/themeLightNext/theme/components/typography.js +6 -6
  116. package/dist/themes/themeLightNext/theme/components/windowBar.js +28 -27
  117. package/dist/themes/themeLightNext/theme/globals/body.js +1 -1
  118. package/dist/themes/themeLightNext/theme/globals/scrollbar.js +2 -2
  119. package/dist/themes/themeLightNext/tokens.js +3 -3
  120. package/dist/themes/types/theme/components/charts.types.d.ts +55 -0
  121. package/package.json +1 -1
@@ -1,32 +1,33 @@
1
1
  import { tokens } from '../../tokens';
2
+ import { withOpacity } from '../../../../utils';
2
3
  const theme = {
3
4
  variants: {
4
5
  primary: {
5
- background: tokens.semantic.color.background.primary0,
6
- text: tokens.semantic.color.text.primary400
6
+ background: withOpacity(tokens.semantic.color.background.primary700, 0.04),
7
+ text: tokens.semantic.color.text.primary700
7
8
  },
8
9
  secondary: {
9
- background: tokens.semantic.color.background.secondary100,
10
- text: tokens.semantic.color.text.secondary700
10
+ background: tokens.semantic.color.background.secondary50,
11
+ text: tokens.semantic.color.text.secondary500
11
12
  },
12
13
  informative: {
13
14
  background: tokens.semantic.color.background.informative0,
14
- text: tokens.semantic.color.text.informative600
15
+ text: '#0F6FB8'
15
16
  },
16
17
  notice: {
17
- background: tokens.semantic.color.background.notice50,
18
- text: tokens.semantic.color.text.notice500
18
+ background: tokens.semantic.color.background.notice0,
19
+ text: '#B45309'
19
20
  },
20
21
  success: {
21
22
  background: tokens.semantic.color.background.success0,
22
- text: tokens.semantic.color.text.success500
23
+ text: '#15803D'
23
24
  },
24
25
  attention: {
25
- background: tokens.semantic.color.background.attention0,
26
- text: tokens.semantic.color.text.attention500
26
+ background: tokens.semantic.color.background.notice0,
27
+ text: '#B45309'
27
28
  },
28
29
  error: {
29
- background: tokens.semantic.color.background.danger0,
30
+ background: tokens.semantic.color.background.primary0,
30
31
  text: tokens.semantic.color.text.danger500
31
32
  },
32
33
  upsell: {
@@ -35,7 +36,7 @@ const theme = {
35
36
  },
36
37
  neutral: {
37
38
  background: tokens.semantic.color.background.neutral100,
38
- text: tokens.semantic.color.text.neutral500
39
+ text: tokens.semantic.color.text.secondary500
39
40
  }
40
41
  }
41
42
  };
@@ -1,14 +1,14 @@
1
1
  import { tokens } from '../../tokens';
2
2
  const theme = {
3
3
  variants: {
4
- primary: tokens.semantic.color.icon.secondary950,
5
- secondary: tokens.semantic.color.icon.secondary600,
6
- notice: tokens.semantic.color.icon.notice500,
7
- success: tokens.semantic.color.icon.success500,
8
- attention: tokens.semantic.color.icon.attention500,
4
+ primary: tokens.semantic.color.background.secondary950,
5
+ secondary: tokens.semantic.color.icon.secondary500,
6
+ notice: '#B45309',
7
+ success: '#15803D',
8
+ attention: '#B45309',
9
9
  danger: tokens.semantic.color.icon.danger500,
10
10
  upsell: tokens.semantic.color.icon.discovery500,
11
- informative: tokens.semantic.color.icon.informative500
11
+ informative: '#0F6FB8'
12
12
  }
13
13
  };
14
14
  export default theme;
@@ -29,19 +29,19 @@ const theme = {
29
29
  states: {
30
30
  normal: {
31
31
  bgColor: 'transparent',
32
- textColor: tokens.semantic.color.text.secondary950
32
+ textColor: tokens.semantic.color.text.secondary500
33
33
  },
34
34
  hover: {
35
- bgColor: tokens.semantic.color.background.secondary100,
35
+ bgColor: tokens.semantic.color.background.neutral100,
36
36
  textColor: tokens.semantic.color.text.secondary950
37
37
  },
38
38
  active: {
39
- bgColor: tokens.semantic.color.background.secondary200,
39
+ bgColor: tokens.semantic.color.background.secondary50,
40
40
  textColor: tokens.semantic.color.text.secondary950
41
41
  },
42
42
  disabled: {
43
43
  bgColor: 'transparent',
44
- textColor: tokens.semantic.color.text.neutral400
44
+ textColor: tokens.semantic.color.text.secondary500
45
45
  }
46
46
  },
47
47
  borderRadius: '0.5rem'
@@ -7,7 +7,7 @@ const theme = {
7
7
  fontSize: '1.4rem',
8
8
  fontWeight: tokens.core.font.fontWeight.normal,
9
9
  resetButton: {
10
- iconColor: tokens.semantic.color.icon.secondary950
10
+ iconColor: tokens.semantic.color.icon.secondary500
11
11
  },
12
12
  indicator: {
13
13
  errorTooltipTextColor: tokens.semantic.color.text.danger500,
@@ -15,7 +15,7 @@ const theme = {
15
15
  successIconColor: tokens.semantic.color.icon.success500
16
16
  },
17
17
  placeholder: {
18
- textColor: tokens.semantic.color.text.secondary600
18
+ textColor: tokens.semantic.color.text.secondary500
19
19
  },
20
20
  loader: {
21
21
  size: 'M'
@@ -37,18 +37,18 @@ const theme = {
37
37
  borderColor: tokens.semantic.color.border.secondary400
38
38
  },
39
39
  focused: {
40
- borderColor: tokens.semantic.color.border.primary400
40
+ borderColor: tokens.semantic.color.border.secondary950
41
41
  },
42
42
  success: {
43
43
  borderColor: tokens.semantic.color.border.success500
44
44
  },
45
45
  error: {
46
- borderColor: tokens.semantic.color.border.danger500
46
+ borderColor: tokens.semantic.color.border.primary400
47
47
  },
48
48
  disabled: {
49
- bgColor: tokens.semantic.color.background.neutral50,
50
- textColor: tokens.semantic.color.text.neutral300,
51
- borderColor: tokens.semantic.color.border.neutral200
49
+ bgColor: tokens.semantic.color.background.neutral100,
50
+ textColor: tokens.semantic.color.text.secondary500,
51
+ borderColor: tokens.semantic.color.border.secondary200
52
52
  },
53
53
  readonly: {
54
54
  bgColor: 'transparent',
@@ -68,9 +68,9 @@ const theme = {
68
68
  indicatorMargin: '0.8rem 0.9rem auto auto'
69
69
  },
70
70
  search: {
71
- iconColor: tokens.semantic.color.icon.secondary950,
71
+ iconColor: tokens.semantic.color.icon.secondary500,
72
72
  resetButton: {
73
- iconColor: tokens.semantic.color.icon.secondary950
73
+ iconColor: tokens.semantic.color.icon.secondary500
74
74
  }
75
75
  },
76
76
  counter: {
@@ -87,10 +87,10 @@ const theme = {
87
87
  additionalText: {
88
88
  margin: '0.4rem 0 0 0',
89
89
  normal: {
90
- textColor: tokens.semantic.color.text.secondary600
90
+ textColor: tokens.semantic.color.text.secondary500
91
91
  },
92
92
  error: {
93
- textColor: tokens.semantic.color.text.secondary600
93
+ textColor: tokens.semantic.color.text.danger500
94
94
  }
95
95
  }
96
96
  };
@@ -3,13 +3,13 @@ const theme = {
3
3
  container: {
4
4
  borderRadius: '0.8rem',
5
5
  backgroundColor: tokens.semantic.color.background.secondary0,
6
- boxShadow: `0px 0px 0px 1px ${tokens.semantic.color.border.secondary300}`
6
+ boxShadow: `0px 0px 0px 1px ${tokens.semantic.color.border.secondary200}`
7
7
  },
8
8
  headerRow: {
9
9
  minHeight: '5.6rem',
10
10
  bgColor: tokens.semantic.color.background.secondary0,
11
11
  separator: {
12
- color: tokens.semantic.color.border.secondary300,
12
+ color: tokens.semantic.color.text.secondary200,
13
13
  width: '1px'
14
14
  }
15
15
  },
@@ -17,14 +17,14 @@ const theme = {
17
17
  padding: '1rem 1.2rem',
18
18
  color: tokens.semantic.color.text.secondary950,
19
19
  separator: {
20
- color: tokens.semantic.color.border.secondary300,
20
+ color: tokens.semantic.color.text.secondary200,
21
21
  width: '1px',
22
22
  blockPadding: '1rem'
23
23
  }
24
24
  },
25
25
  bodyCell: {
26
26
  padding: '0.4rem 1.2rem',
27
- color: tokens.semantic.color.text.secondary900
27
+ color: tokens.semantic.color.text.secondary500
28
28
  }
29
29
  };
30
30
  export default theme;
@@ -8,14 +8,14 @@ const theme = {
8
8
  textColor: tokens.semantic.color.text.secondary950
9
9
  },
10
10
  readonly: {
11
- textColor: tokens.semantic.color.text.secondary800
11
+ textColor: tokens.semantic.color.text.secondary500
12
12
  }
13
13
  },
14
14
  infoIcon: {
15
- iconColor: tokens.semantic.color.icon.secondary600
15
+ iconColor: tokens.semantic.color.icon.secondary500
16
16
  },
17
17
  optional: {
18
- textColor: tokens.semantic.color.text.secondary600
18
+ textColor: tokens.semantic.color.text.secondary500
19
19
  },
20
20
  required: {
21
21
  textColor: tokens.semantic.color.text.danger500
@@ -28,7 +28,7 @@ const theme = {
28
28
  XXL: tokens.core.space.space300
29
29
  },
30
30
  flexDivider: {
31
- color: tokens.semantic.color.background.secondary300,
31
+ color: tokens.semantic.color.text.secondary200,
32
32
  size: '1px',
33
33
  padding: {
34
34
  none: tokens.core.space.space000,
@@ -21,19 +21,19 @@ const theme = {
21
21
  states: {
22
22
  normal: {
23
23
  bgColor: 'transparent',
24
- textColor: tokens.semantic.color.text.primary400
24
+ textColor: '#0F6FB8'
25
25
  },
26
26
  hover: {
27
- bgColor: tokens.semantic.color.background.primary0,
28
- textColor: tokens.semantic.color.text.primary400
27
+ bgColor: 'transparent',
28
+ textColor: '#0F6FB8'
29
29
  },
30
30
  active: {
31
- bgColor: tokens.semantic.color.background.primary50,
32
- textColor: tokens.semantic.color.text.primary600
31
+ bgColor: 'transparent',
32
+ textColor: '#0F6FB8'
33
33
  },
34
34
  disabled: {
35
35
  bgColor: 'transparent',
36
- textColor: tokens.semantic.color.text.neutral300
36
+ textColor: tokens.semantic.color.text.secondary500
37
37
  }
38
38
  }
39
39
  },
@@ -54,16 +54,16 @@ const theme = {
54
54
  },
55
55
  states: {
56
56
  normal: {
57
- textColor: tokens.semantic.color.text.primary400
57
+ textColor: '#0F6FB8'
58
58
  },
59
59
  hover: {
60
- textColor: tokens.semantic.color.text.primary400
60
+ textColor: '#0F6FB8'
61
61
  },
62
62
  active: {
63
- textColor: tokens.semantic.color.text.primary400
63
+ textColor: '#0F6FB8'
64
64
  },
65
65
  disabled: {
66
- textColor: tokens.semantic.color.text.neutral300
66
+ textColor: tokens.semantic.color.text.secondary500
67
67
  }
68
68
  }
69
69
  }
@@ -11,19 +11,19 @@ const theme = {
11
11
  gap: '0.5rem',
12
12
  variants: {
13
13
  regular: {
14
- bgColor: tokens.semantic.color.icon.primary50,
15
- color: tokens.semantic.color.icon.primary600,
16
- textColor: tokens.semantic.color.icon.secondary950
14
+ bgColor: tokens.semantic.color.background.secondary200,
15
+ color: tokens.semantic.color.text.secondary500,
16
+ textColor: tokens.semantic.color.text.secondary950
17
17
  },
18
18
  pending: {
19
- bgColor: tokens.semantic.color.icon.attention100,
20
- color: tokens.semantic.color.icon.attention700,
21
- textColor: tokens.semantic.color.icon.secondary950
19
+ bgColor: tokens.semantic.color.background.notice0,
20
+ color: tokens.semantic.color.text.notice400,
21
+ textColor: tokens.semantic.color.text.secondary950
22
22
  },
23
23
  inverse: {
24
- bgColor: withOpacity(tokens.semantic.color.icon.secondary0, 0.2),
25
- color: tokens.semantic.color.icon.secondary0,
26
- textColor: tokens.semantic.color.icon.secondary0
24
+ bgColor: withOpacity(tokens.semantic.color.background.secondary0, 0.2),
25
+ color: tokens.semantic.color.text.secondary0,
26
+ textColor: tokens.semantic.color.text.secondary0
27
27
  }
28
28
  }
29
29
  };
@@ -3,18 +3,18 @@ const theme = {
3
3
  dropDown: {
4
4
  minWidth: '16rem',
5
5
  maxWidth: '40rem',
6
- bgColor: tokens.semantic.color.background.neutral100,
7
- shadow: '0 0 40px rgba(0, 0, 0, 0.1)',
6
+ bgColor: tokens.semantic.color.background.secondary0,
7
+ shadow: tokens.core.shadow.shadow400,
8
8
  borderRadius: '0.8rem',
9
9
  arrow: {
10
10
  width: '1.6rem',
11
11
  height: '0.8rem',
12
- shadow: 'rgba(0, 0, 0, 0.03) 0px 2px 1px'
12
+ shadow: tokens.core.shadow.shadow100
13
13
  }
14
14
  },
15
15
  separator: {
16
16
  size: '1px',
17
- bgColor: tokens.semantic.color.background.secondary300
17
+ bgColor: tokens.semantic.color.background.secondary200
18
18
  },
19
19
  label: {
20
20
  padding: '1rem 1.6rem',
@@ -22,11 +22,11 @@ const theme = {
22
22
  gap: '1rem',
23
23
  variants: {
24
24
  header: {
25
- textColor: tokens.semantic.color.text.secondary950,
25
+ textColor: tokens.semantic.color.text.secondary500,
26
26
  fontWeight: tokens.core.font.fontWeight.semiBold
27
27
  },
28
28
  sub: {
29
- textColor: tokens.semantic.color.text.secondary700,
29
+ textColor: tokens.semantic.color.text.secondary500,
30
30
  fontWeight: tokens.core.font.fontWeight.semiBold
31
31
  }
32
32
  }
@@ -36,7 +36,7 @@ const theme = {
36
36
  levelOffset: '1.6rem',
37
37
  gap: '1rem',
38
38
  subHead: {
39
- textColor: tokens.semantic.color.text.secondary700
39
+ textColor: tokens.semantic.color.text.secondary500
40
40
  },
41
41
  check: {
42
42
  size: '1.6rem'
@@ -47,16 +47,16 @@ const theme = {
47
47
  variants: {
48
48
  primary: {
49
49
  normal: {
50
- textColor: tokens.semantic.color.text.secondary700
50
+ textColor: tokens.semantic.color.text.secondary950
51
51
  },
52
52
  hover: {
53
- bgColor: tokens.semantic.color.background.secondary100
53
+ bgColor: tokens.semantic.color.background.neutral100
54
54
  },
55
55
  selected: {
56
- textColor: tokens.semantic.color.text.primary400
56
+ textColor: tokens.semantic.color.text.secondary950
57
57
  },
58
58
  disabled: {
59
- textColor: tokens.semantic.color.text.neutral300
59
+ textColor: tokens.semantic.color.text.secondary500
60
60
  }
61
61
  },
62
62
  destructive: {
@@ -64,13 +64,13 @@ const theme = {
64
64
  textColor: tokens.semantic.color.text.danger500
65
65
  },
66
66
  hover: {
67
- bgColor: tokens.semantic.color.background.danger0
67
+ bgColor: tokens.semantic.color.background.primary0
68
68
  },
69
69
  selected: {
70
70
  textColor: tokens.semantic.color.text.danger500
71
71
  },
72
72
  disabled: {
73
- textColor: tokens.semantic.color.text.neutral300
73
+ textColor: tokens.semantic.color.text.secondary500
74
74
  }
75
75
  }
76
76
  }
@@ -3,32 +3,32 @@ import { withOpacity } from '../../../../utils';
3
3
  const theme = {
4
4
  blockScreenMargin: '20px',
5
5
  inlineScreenMargin: '20px',
6
- inlinePadding: '4rem',
7
- blockPadding: '4rem',
6
+ inlinePadding: '2.4rem',
7
+ blockPadding: '2.4rem',
8
8
  borderRadius: '0.8rem',
9
9
  shadow: tokens.core.shadow.shadow600,
10
- bgColor: tokens.semantic.color.background.neutral100,
10
+ bgColor: tokens.semantic.color.background.secondary0,
11
11
  header: {
12
12
  blockPadding: '0 1.6rem',
13
- closeIconColor: tokens.semantic.color.icon.secondary950,
13
+ closeIconColor: tokens.semantic.color.icon.secondary500,
14
14
  textColor: tokens.semantic.color.text.secondary950,
15
15
  gap: '0.8rem'
16
16
  },
17
17
  description: {
18
18
  blockPadding: '0 1.2rem',
19
- textColor: tokens.semantic.color.text.secondary950
19
+ textColor: tokens.semantic.color.text.secondary500
20
20
  },
21
21
  body: {
22
22
  minWidth: '30rem',
23
23
  maxWidth: '50rem',
24
- textColor: tokens.semantic.color.text.secondary700
24
+ textColor: tokens.semantic.color.text.secondary500
25
25
  },
26
26
  footer: {
27
27
  blockPadding: '4rem 0',
28
28
  buttonsGap: '0.8rem'
29
29
  },
30
30
  overlay: {
31
- bgColor: withOpacity(tokens.semantic.color.background.secondary0, 0.8)
31
+ bgColor: withOpacity(tokens.semantic.color.background.secondary950, 0.55)
32
32
  }
33
33
  };
34
34
  export default theme;
@@ -1,5 +1,5 @@
1
1
  import { tokens } from '../../tokens';
2
2
  const theme = {
3
- iconColor: tokens.semantic.color.icon.secondary600
3
+ iconColor: tokens.semantic.color.icon.secondary500
4
4
  };
5
5
  export default theme;
@@ -1,6 +1,6 @@
1
1
  import { tokens } from '../../tokens';
2
2
  const theme = {
3
- bgColor: tokens.semantic.color.background.neutral100,
3
+ bgColor: tokens.semantic.color.background.secondary0,
4
4
  shadow: tokens.core.shadow.shadow400,
5
5
  borderRadius: '0.8rem',
6
6
  minWidth: '10rem',
@@ -10,7 +10,7 @@ const theme = {
10
10
  arrow: {
11
11
  width: '16px',
12
12
  height: '8px',
13
- shadow: 'rgba(0, 0, 0, 0.03) 0px 2px 1px'
13
+ shadow: tokens.core.shadow.shadow100
14
14
  }
15
15
  };
16
16
  export default theme;
@@ -1,15 +1,15 @@
1
1
  import { tokens } from '../../tokens';
2
2
  const theme = {
3
3
  closeButton: {
4
- iconColor: tokens.semantic.color.icon.neutral700
4
+ iconColor: tokens.semantic.color.icon.secondary500
5
5
  },
6
6
  header: {
7
- textColor: tokens.semantic.color.text.neutral800,
7
+ textColor: tokens.semantic.color.text.secondary950,
8
8
  margin: '0 0 0.4rem 0'
9
9
  },
10
10
  body: {
11
11
  margin: '0',
12
- textColor: tokens.semantic.color.text.neutral800
12
+ textColor: tokens.semantic.color.text.secondary500
13
13
  },
14
14
  footer: {
15
15
  margin: '1.8rem 0 0 0'
@@ -22,31 +22,31 @@ const theme = {
22
22
  },
23
23
  variant: {
24
24
  normal: {
25
- color: tokens.semantic.color.background.primary50
25
+ color: tokens.semantic.color.text.secondary50
26
26
  },
27
27
  danger: {
28
- color: tokens.semantic.color.background.danger50
28
+ color: tokens.semantic.color.text.secondary50
29
29
  },
30
30
  attention: {
31
- color: tokens.semantic.color.background.attention50
31
+ color: tokens.semantic.color.text.secondary50
32
32
  },
33
33
  success: {
34
- color: tokens.semantic.color.background.success50
34
+ color: tokens.semantic.color.text.secondary50
35
35
  }
36
36
  },
37
37
  indicator: {
38
38
  variant: {
39
39
  normal: {
40
- color: tokens.semantic.color.background.primary400
40
+ color: tokens.semantic.color.text.informative300
41
41
  },
42
42
  danger: {
43
- color: tokens.semantic.color.background.danger500
43
+ color: tokens.semantic.color.text.primary400
44
44
  },
45
45
  attention: {
46
- color: tokens.semantic.color.background.attention500
46
+ color: tokens.semantic.color.text.notice400
47
47
  },
48
48
  success: {
49
- color: tokens.semantic.color.background.success500
49
+ color: tokens.semantic.color.text.success500
50
50
  }
51
51
  }
52
52
  },
@@ -23,26 +23,26 @@ const theme = {
23
23
  primary: {
24
24
  on: {
25
25
  normal: {
26
- bgColor: tokens.semantic.color.background.primary400,
27
- iconColor: tokens.semantic.color.icon.secondary0,
26
+ bgColor: tokens.semantic.color.background.secondary0,
27
+ iconColor: '#0F6FB8',
28
28
  textColor: tokens.semantic.color.text.secondary950
29
29
  },
30
30
  disabled: {
31
- bgColor: tokens.semantic.color.background.secondary300,
32
- iconColor: tokens.semantic.color.icon.secondary0,
33
- textColor: tokens.semantic.color.text.secondary300
31
+ bgColor: tokens.semantic.color.background.secondary200,
32
+ iconColor: tokens.semantic.color.icon.secondary500,
33
+ textColor: tokens.semantic.color.text.secondary500
34
34
  }
35
35
  },
36
36
  off: {
37
37
  normal: {
38
- bgColor: 'transparent',
39
- borderColor: tokens.semantic.color.border.secondary950,
38
+ bgColor: tokens.semantic.color.background.secondary0,
39
+ borderColor: tokens.semantic.color.border.secondary400,
40
40
  textColor: tokens.semantic.color.text.secondary950
41
41
  },
42
42
  disabled: {
43
- bgColor: 'transparent',
44
- borderColor: tokens.semantic.color.border.secondary300,
45
- textColor: tokens.semantic.color.text.secondary300
43
+ bgColor: tokens.semantic.color.background.secondary200,
44
+ borderColor: tokens.semantic.color.border.secondary200,
45
+ textColor: tokens.semantic.color.text.secondary500
46
46
  }
47
47
  }
48
48
  }
@@ -1,10 +1,10 @@
1
1
  import { tokens } from '../../tokens';
2
2
  const theme = {
3
3
  bgColor: tokens.semantic.color.background.secondary0,
4
- shadow: `0px 0px 0px 1px ${tokens.semantic.color.border.secondary300}`,
4
+ shadow: `0px 0px 0px 1px ${tokens.semantic.color.border.secondary200}`,
5
5
  borderRadius: '0.8rem',
6
6
  filtersSection: {
7
- borderColor: tokens.semantic.color.border.secondary300,
7
+ borderColor: tokens.semantic.color.border.secondary200,
8
8
  borderWidth: '1px'
9
9
  },
10
10
  searchSection: {
@@ -15,7 +15,7 @@ const theme = {
15
15
  separator: {
16
16
  height: '1.6rem',
17
17
  width: '1px',
18
- color: tokens.semantic.color.border.secondary300
18
+ color: tokens.semantic.color.text.secondary200
19
19
  },
20
20
  customActions: {
21
21
  gap: '0.8rem'
@@ -3,12 +3,12 @@ const theme = {
3
3
  width: '100%',
4
4
  height: 'fit-content',
5
5
  bgColor: tokens.semantic.color.background.secondary0,
6
- borderColor: tokens.semantic.color.border.secondary400,
6
+ borderColor: tokens.semantic.color.border.secondary200,
7
7
  borderRadius: '0.8rem',
8
8
  header: {
9
9
  minHeight: '5.6rem',
10
10
  padding: '1.2rem 1.6rem',
11
- backgroundColor: tokens.semantic.color.background.secondary50,
11
+ backgroundColor: tokens.semantic.color.background.neutral100,
12
12
  group: {
13
13
  gap: '1.6rem'
14
14
  },
@@ -28,16 +28,16 @@ const theme = {
28
28
  gap: '0.8rem',
29
29
  minWidth: '0',
30
30
  backgroundColor: tokens.semantic.color.background.transparent,
31
- categoryTextColor: tokens.semantic.color.text.secondary950,
32
- valueTextColor: tokens.semantic.color.text.secondary600
31
+ categoryTextColor: tokens.semantic.color.text.secondary500,
32
+ valueTextColor: tokens.semantic.color.text.secondary950
33
33
  },
34
34
  divider: {
35
35
  width: '1px',
36
36
  height: '1.6rem',
37
- backgroundColor: tokens.semantic.color.text.secondary300
37
+ backgroundColor: tokens.semantic.color.background.secondary200
38
38
  },
39
39
  counter: {
40
- textColor: tokens.semantic.color.text.secondary300
40
+ textColor: tokens.semantic.color.text.secondary500
41
41
  }
42
42
  }
43
43
  },
@@ -46,7 +46,7 @@ const theme = {
46
46
  },
47
47
  separator: {
48
48
  width: '1px',
49
- color: tokens.semantic.color.border.secondary400
49
+ color: tokens.semantic.color.text.secondary200
50
50
  }
51
51
  };
52
52
  export default theme;