@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,3 +1,4 @@
1
+ import { withOpacity } from '../../../../utils';
1
2
  import { tokens } from '../../tokens';
2
3
  const theme = {
3
4
  width: '100%',
@@ -5,31 +6,31 @@ const theme = {
5
6
  variants: {
6
7
  primary: {
7
8
  bgColor: tokens.semantic.color.background.secondary900,
8
- borderColor: tokens.semantic.color.border.secondary800
9
+ borderColor: tokens.semantic.color.border.secondary700
9
10
  },
10
11
  secondary: {
11
- bgColor: tokens.semantic.color.background.secondary800,
12
+ bgColor: tokens.semantic.color.background.secondary950,
12
13
  borderColor: tokens.semantic.color.border.secondary700
13
14
  },
14
15
  informative: {
15
- bgColor: tokens.semantic.color.background.informative900,
16
- borderColor: tokens.semantic.color.border.primary500
16
+ bgColor: tokens.semantic.color.background.informative0,
17
+ borderColor: withOpacity(tokens.semantic.color.border.informative200, 0.24)
17
18
  },
18
19
  success: {
19
- bgColor: tokens.semantic.color.background.success900,
20
- borderColor: tokens.semantic.color.border.success500
20
+ bgColor: tokens.semantic.color.background.success0,
21
+ borderColor: withOpacity(tokens.semantic.color.border.success500, 0.24)
21
22
  },
22
23
  notice: {
23
- bgColor: tokens.semantic.color.background.notice900,
24
- borderColor: tokens.semantic.color.border.notice500
24
+ bgColor: tokens.semantic.color.background.notice0,
25
+ borderColor: withOpacity(tokens.semantic.color.border.notice400, 0.24)
25
26
  },
26
27
  attention: {
27
- bgColor: tokens.semantic.color.background.attention900,
28
- borderColor: tokens.semantic.color.border.attention500
28
+ bgColor: tokens.semantic.color.background.notice0,
29
+ borderColor: withOpacity(tokens.semantic.color.border.notice400, 0.24)
29
30
  },
30
31
  danger: {
31
- bgColor: tokens.semantic.color.background.danger900,
32
- borderColor: tokens.semantic.color.border.danger500
32
+ bgColor: tokens.semantic.color.background.primary0,
33
+ borderColor: withOpacity(tokens.semantic.color.border.primary300, 0.24)
33
34
  },
34
35
  upsell: {
35
36
  bgColor: tokens.semantic.color.background.discovery900,
@@ -1,20 +1,71 @@
1
1
  import { tokens } from '../../tokens';
2
2
  const theme = {
3
3
  categorical: [
4
- tokens.semantic.color.icon.informative400,
5
- tokens.semantic.color.icon.discovery400,
6
- tokens.semantic.color.icon.success400,
4
+ tokens.semantic.color.icon.informative300,
5
+ tokens.semantic.color.icon.success500,
7
6
  tokens.semantic.color.icon.attention400,
8
- tokens.semantic.color.icon.primary400,
7
+ tokens.semantic.color.icon.discovery300,
8
+ tokens.semantic.color.icon.primary300,
9
9
  tokens.semantic.color.icon.secondary400,
10
10
  tokens.semantic.color.icon.informative700,
11
- tokens.semantic.color.icon.discovery700
11
+ tokens.semantic.color.icon.discovery500
12
12
  ],
13
13
  grid: tokens.semantic.color.border.secondary700,
14
+ gridDashArray: '3 3',
14
15
  axisLabel: tokens.semantic.color.text.secondary400,
15
16
  threshold: {
16
17
  warning: tokens.semantic.color.icon.attention400,
17
- critical: tokens.semantic.color.icon.danger500
18
+ critical: tokens.semantic.color.icon.primary400
19
+ },
20
+ axis: {
21
+ fontFamily: tokens.core.font.fontFamily.sourceCodeProRegular,
22
+ fontSize: { S: '0.95rem', M: '1.05rem' }
23
+ },
24
+ series: {
25
+ strokeWidth: { S: 2, M: 1.6 },
26
+ areaOpacity: { from: 0.45, to: 0.03 }
27
+ },
28
+ cursor: {
29
+ color: tokens.semantic.color.border.secondary500,
30
+ width: 1
31
+ },
32
+ activeDot: {
33
+ size: 9,
34
+ ringColor: tokens.semantic.color.background.secondary950,
35
+ ringWidth: 2
36
+ },
37
+ referenceLine: {
38
+ color: tokens.semantic.color.border.secondary400,
39
+ dashArray: '4 4'
40
+ },
41
+ tooltip: {
42
+ bgColor: tokens.semantic.color.background.secondary950,
43
+ textColor: tokens.semantic.color.text.secondary200,
44
+ labelColor: tokens.semantic.color.text.secondary300,
45
+ borderColor: tokens.semantic.color.border.secondary800,
46
+ borderRadius: '0.5rem',
47
+ shadow: '0 4px 14px rgba(0, 0, 0, 0.28)',
48
+ padding: '0.7rem 1rem',
49
+ fontSize: '1.1rem',
50
+ labelFontSize: '0.95rem',
51
+ valueFontFamily: tokens.core.font.fontFamily.sourceCodeProRegular,
52
+ markerSize: '0.8rem'
53
+ },
54
+ legend: {
55
+ textColor: tokens.semantic.color.text.secondary300,
56
+ fontFamily: {
57
+ S: tokens.core.font.fontFamily.sourceCodeProRegular,
58
+ M: tokens.core.font.fontFamily.regular
59
+ },
60
+ fontSize: { S: tokens.core.font.fontSize.s10, M: '1.25rem' },
61
+ gap: { S: '1rem', M: '1.6rem' },
62
+ dotSize: '0.9rem',
63
+ lineWidth: '1.2rem',
64
+ lineHeight: '0.2rem'
65
+ },
66
+ sparkline: {
67
+ strokeWidth: 1.6,
68
+ areaOpacity: { from: 0.55, to: 0.04 }
18
69
  }
19
70
  };
20
71
  export default theme;
@@ -3,7 +3,7 @@ const theme = {
3
3
  width: '1.8rem',
4
4
  height: '1.8rem',
5
5
  padding: '0',
6
- borderRadius: '0.5rem',
6
+ borderRadius: '0.2rem',
7
7
  borderWidth: '1px',
8
8
  label: {
9
9
  padding: '0 0.8rem',
@@ -13,52 +13,56 @@ const theme = {
13
13
  primary: {
14
14
  on: {
15
15
  normal: {
16
- bgColor: tokens.semantic.color.background.primary400,
17
- iconColor: tokens.semantic.color.icon.secondary0,
16
+ bgColor: tokens.semantic.color.background.informative300,
17
+ borderColor: tokens.semantic.color.border.informative300,
18
+ iconColor: tokens.semantic.color.icon.secondary950,
18
19
  textColor: tokens.semantic.color.text.secondary0
19
20
  },
20
21
  disabled: {
21
- bgColor: tokens.semantic.color.background.secondary800,
22
- iconColor: tokens.semantic.color.icon.secondary500,
23
- textColor: tokens.semantic.color.text.secondary700
22
+ bgColor: tokens.semantic.color.background.secondary700,
23
+ borderColor: tokens.semantic.color.border.secondary700,
24
+ iconColor: tokens.semantic.color.icon.secondary400,
25
+ textColor: tokens.semantic.color.text.secondary400
24
26
  }
25
27
  },
26
28
  off: {
27
29
  normal: {
28
- bgColor: tokens.semantic.color.background.secondary900,
29
- borderColor: tokens.semantic.color.border.secondary700,
30
+ bgColor: tokens.semantic.color.background.secondary950,
31
+ borderColor: tokens.semantic.color.border.secondary500,
30
32
  textColor: tokens.semantic.color.text.secondary0
31
33
  },
32
34
  disabled: {
33
- bgColor: tokens.semantic.color.background.secondary900,
34
- borderColor: tokens.semantic.color.border.secondary800,
35
- textColor: tokens.semantic.color.text.secondary700
35
+ bgColor: tokens.semantic.color.background.secondary700,
36
+ borderColor: tokens.semantic.color.border.secondary700,
37
+ textColor: tokens.semantic.color.text.secondary400
36
38
  }
37
39
  }
38
40
  },
39
41
  danger: {
40
42
  on: {
41
43
  normal: {
42
- bgColor: tokens.semantic.color.background.danger500,
44
+ bgColor: tokens.semantic.color.background.primary300,
45
+ borderColor: tokens.semantic.color.border.primary300,
43
46
  iconColor: tokens.semantic.color.icon.secondary0,
44
- textColor: tokens.semantic.color.text.danger400
47
+ textColor: tokens.semantic.color.text.primary300
45
48
  },
46
49
  disabled: {
47
- bgColor: tokens.semantic.color.background.danger500,
48
- iconColor: tokens.semantic.color.icon.secondary0,
49
- textColor: tokens.semantic.color.text.danger400
50
+ bgColor: tokens.semantic.color.background.secondary700,
51
+ borderColor: tokens.semantic.color.border.secondary700,
52
+ iconColor: tokens.semantic.color.icon.secondary400,
53
+ textColor: tokens.semantic.color.text.secondary400
50
54
  }
51
55
  },
52
56
  off: {
53
57
  normal: {
54
- bgColor: tokens.semantic.color.background.secondary900,
55
- borderColor: tokens.semantic.color.border.danger500,
56
- textColor: tokens.semantic.color.text.danger400
58
+ bgColor: tokens.semantic.color.background.secondary950,
59
+ borderColor: tokens.semantic.color.border.primary300,
60
+ textColor: tokens.semantic.color.text.primary300
57
61
  },
58
62
  disabled: {
59
- bgColor: tokens.semantic.color.background.secondary900,
60
- borderColor: tokens.semantic.color.border.danger500,
61
- textColor: tokens.semantic.color.text.danger400
63
+ bgColor: tokens.semantic.color.background.secondary700,
64
+ borderColor: tokens.semantic.color.border.secondary700,
65
+ textColor: tokens.semantic.color.text.secondary400
62
66
  }
63
67
  }
64
68
  }
@@ -17,32 +17,32 @@ const theme = {
17
17
  variant: {
18
18
  regular: {
19
19
  normal: {
20
- bgColor: tokens.semantic.color.background.secondary800,
21
- textColor: tokens.semantic.color.text.secondary50
20
+ bgColor: tokens.semantic.color.background.secondary900,
21
+ textColor: tokens.semantic.color.text.secondary0
22
22
  },
23
23
  disabled: {
24
- bgColor: tokens.semantic.color.background.secondary900,
25
- textColor: tokens.semantic.color.text.secondary700
24
+ bgColor: tokens.semantic.color.background.secondary700,
25
+ textColor: tokens.semantic.color.text.secondary400
26
26
  }
27
27
  },
28
28
  flat: {
29
29
  normal: {
30
- bgColor: tokens.semantic.color.background.secondary800,
31
- textColor: tokens.semantic.color.text.secondary50
30
+ bgColor: tokens.semantic.color.background.secondary900,
31
+ textColor: tokens.semantic.color.text.secondary0
32
32
  },
33
33
  disabled: {
34
- bgColor: tokens.semantic.color.background.secondary900,
35
- textColor: tokens.semantic.color.text.secondary700
34
+ bgColor: tokens.semantic.color.background.secondary700,
35
+ textColor: tokens.semantic.color.text.secondary400
36
36
  }
37
37
  }
38
38
  },
39
39
  closeButton: {
40
40
  variant: {
41
41
  regular: {
42
- color: tokens.semantic.color.icon.secondary500
42
+ color: tokens.semantic.color.text.secondary400
43
43
  },
44
44
  flat: {
45
- color: tokens.semantic.color.icon.secondary500
45
+ color: tokens.semantic.color.text.secondary400
46
46
  }
47
47
  },
48
48
  size: {
@@ -9,9 +9,9 @@ const theme = {
9
9
  }
10
10
  },
11
11
  popupList: {
12
- bgColor: tokens.semantic.color.background.secondary900,
13
- color: tokens.semantic.color.text.secondary200,
14
- disabledColor: tokens.semantic.color.text.secondary800,
12
+ bgColor: tokens.semantic.color.background.secondary950,
13
+ color: tokens.semantic.color.text.secondary0,
14
+ disabledColor: tokens.semantic.color.background.secondary400,
15
15
  minWidth: '18rem',
16
16
  maxHeight: '33.2rem',
17
17
  gap: '0.4rem',
@@ -1,30 +1,30 @@
1
- import { withOpacity } from '../../../../utils';
2
1
  import { tokens } from '../../tokens';
2
+ import { withOpacity } from '../../../../utils';
3
3
  const theme = {
4
- shadow: tokens.core.shadow.shadow500,
5
- bgColor: tokens.semantic.color.background.secondary900,
4
+ shadow: tokens.core.shadow.shadow600,
5
+ bgColor: tokens.semantic.color.background.secondary950,
6
6
  sidePadding: '3.2rem',
7
7
  width: '60rem',
8
8
  borderRadius: '0.8rem',
9
9
  header: {
10
10
  blockPadding: '4rem 0',
11
- closeIconColor: tokens.semantic.color.icon.secondary200,
12
- textColor: tokens.semantic.color.text.secondary200
11
+ closeIconColor: tokens.semantic.color.icon.secondary400,
12
+ textColor: tokens.semantic.color.text.secondary0
13
13
  },
14
14
  description: {
15
15
  blockPadding: '3rem 0',
16
- textColor: tokens.semantic.color.text.secondary200
16
+ textColor: tokens.semantic.color.text.secondary300
17
17
  },
18
18
  body: {
19
19
  blockPadding: '4rem 1.6rem'
20
20
  },
21
21
  footer: {
22
22
  blockPadding: '1.6rem',
23
- border: `1px solid ${tokens.semantic.color.border.secondary800}`,
23
+ border: `1px solid ${tokens.semantic.color.border.secondary700}`,
24
24
  buttonsGap: '1.6rem'
25
25
  },
26
26
  overlay: {
27
- bgColor: withOpacity(tokens.semantic.color.background.secondary990, 0.8)
27
+ bgColor: withOpacity(tokens.semantic.color.background.secondary950, 0.55)
28
28
  }
29
29
  };
30
30
  export default theme;
@@ -2,23 +2,23 @@ import { tokens } from '../../tokens';
2
2
  const theme = {
3
3
  chipList: {
4
4
  padding: '0.8rem 1.6rem',
5
- border: `1px solid ${tokens.semantic.color.border.secondary800}`
5
+ border: `1px solid ${tokens.semantic.color.border.secondary700}`
6
6
  },
7
7
  filtersBar: {
8
8
  gap: '1.6rem',
9
9
  padding: '0.8rem 1.6rem 0.8rem 0.4rem',
10
10
  separator: {
11
11
  width: '1px',
12
- color: tokens.semantic.color.border.secondary800
12
+ color: tokens.semantic.color.text.secondary700
13
13
  },
14
14
  trigger: {
15
15
  margin: '0.4rem 1.6rem',
16
16
  gap: '0.4rem',
17
17
  on: {
18
- color: tokens.semantic.color.text.secondary200
18
+ color: tokens.semantic.color.text.secondary0
19
19
  },
20
20
  off: {
21
- color: tokens.semantic.color.text.secondary200
21
+ color: tokens.semantic.color.text.secondary0
22
22
  }
23
23
  }
24
24
  },
@@ -7,10 +7,10 @@ const theme = {
7
7
  additionalText: {
8
8
  margin: '0.4rem 0 0 0',
9
9
  normal: {
10
- textColor: tokens.semantic.color.text.secondary500
10
+ textColor: tokens.semantic.color.text.secondary400
11
11
  },
12
12
  error: {
13
- textColor: tokens.semantic.color.text.danger400
13
+ textColor: tokens.semantic.color.text.primary300
14
14
  }
15
15
  }
16
16
  };
@@ -2,19 +2,19 @@ import { tokens } from '../../tokens';
2
2
  const theme = {
3
3
  variant: {
4
4
  success: {
5
- arcColor: tokens.semantic.color.background.success300,
6
- trackColor: tokens.semantic.color.background.success700,
7
- textColor: tokens.semantic.color.text.success300
5
+ arcColor: tokens.semantic.color.background.success500,
6
+ trackColor: tokens.semantic.color.background.secondary990,
7
+ textColor: tokens.semantic.color.text.success500
8
8
  },
9
9
  attention: {
10
- arcColor: tokens.semantic.color.background.attention200,
11
- trackColor: tokens.semantic.color.background.attention600,
12
- textColor: tokens.semantic.color.text.attention300
10
+ arcColor: tokens.semantic.color.background.notice400,
11
+ trackColor: tokens.semantic.color.background.secondary990,
12
+ textColor: tokens.semantic.color.text.notice400
13
13
  },
14
14
  danger: {
15
- arcColor: tokens.semantic.color.background.danger200,
16
- trackColor: tokens.semantic.color.background.danger500,
17
- textColor: tokens.semantic.color.text.danger300
15
+ arcColor: tokens.semantic.color.background.primary300,
16
+ trackColor: tokens.semantic.color.background.secondary990,
17
+ textColor: tokens.semantic.color.text.primary300
18
18
  }
19
19
  },
20
20
  size: {
@@ -1,41 +1,42 @@
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.primary950,
6
+ background: withOpacity(tokens.semantic.color.background.primary400, 0.1),
6
7
  text: tokens.semantic.color.text.primary400
7
8
  },
8
9
  secondary: {
9
- background: tokens.semantic.color.background.secondary900,
10
- text: tokens.semantic.color.text.secondary400
10
+ background: tokens.semantic.color.background.secondary990,
11
+ text: tokens.semantic.color.text.secondary300
11
12
  },
12
13
  informative: {
13
- background: tokens.semantic.color.background.informative900,
14
- text: tokens.semantic.color.text.informative600
14
+ background: tokens.semantic.color.background.informative0,
15
+ text: tokens.semantic.color.text.informative300
15
16
  },
16
17
  notice: {
17
- background: tokens.semantic.color.background.notice900,
18
+ background: tokens.semantic.color.background.notice0,
18
19
  text: tokens.semantic.color.text.notice400
19
20
  },
20
21
  success: {
21
- background: tokens.semantic.color.background.success900,
22
- text: tokens.semantic.color.text.success400
22
+ background: tokens.semantic.color.background.success0,
23
+ text: tokens.semantic.color.text.success500
23
24
  },
24
25
  attention: {
25
- background: tokens.semantic.color.background.attention900,
26
- text: tokens.semantic.color.text.attention400
26
+ background: tokens.semantic.color.background.notice0,
27
+ text: tokens.semantic.color.text.notice400
27
28
  },
28
29
  error: {
29
- background: tokens.semantic.color.background.danger900,
30
- text: tokens.semantic.color.text.danger400
30
+ background: tokens.semantic.color.background.primary0,
31
+ text: tokens.semantic.color.text.primary300
31
32
  },
32
33
  upsell: {
33
34
  background: tokens.semantic.color.background.discovery900,
34
35
  text: tokens.semantic.color.text.discovery400
35
36
  },
36
37
  neutral: {
37
- background: tokens.semantic.color.background.neutral950,
38
- text: tokens.semantic.color.text.neutral700
38
+ background: tokens.semantic.color.background.secondary900,
39
+ text: tokens.semantic.color.text.secondary300
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.secondary200,
5
- secondary: tokens.semantic.color.icon.secondary400,
6
- notice: tokens.semantic.color.icon.notice500,
7
- success: tokens.semantic.color.icon.success500,
8
- attention: tokens.semantic.color.icon.attention500,
9
- danger: tokens.semantic.color.icon.danger500,
4
+ primary: tokens.semantic.color.background.secondary0,
5
+ secondary: tokens.semantic.color.background.secondary400,
6
+ notice: tokens.semantic.color.background.notice400,
7
+ success: tokens.semantic.color.background.success500,
8
+ attention: tokens.semantic.color.background.notice400,
9
+ danger: tokens.semantic.color.background.primary300,
10
10
  upsell: tokens.semantic.color.icon.discovery500,
11
- informative: tokens.semantic.color.icon.informative500
11
+ informative: tokens.semantic.color.background.informative300
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.secondary200
32
+ textColor: tokens.semantic.color.text.secondary300
33
33
  },
34
34
  hover: {
35
- bgColor: tokens.semantic.color.background.secondary800,
36
- textColor: tokens.semantic.color.text.secondary200
35
+ bgColor: tokens.semantic.color.background.secondary900,
36
+ textColor: tokens.semantic.color.text.secondary0
37
37
  },
38
38
  active: {
39
- bgColor: 'transparent',
40
- textColor: tokens.semantic.color.text.secondary200
39
+ bgColor: tokens.semantic.color.background.secondary990,
40
+ textColor: tokens.semantic.color.text.secondary0
41
41
  },
42
42
  disabled: {
43
43
  bgColor: 'transparent',
44
- textColor: tokens.semantic.color.text.secondary500
44
+ textColor: tokens.semantic.color.text.secondary400
45
45
  }
46
46
  },
47
47
  borderRadius: '0.5rem'
@@ -7,15 +7,15 @@ const theme = {
7
7
  fontSize: '1.4rem',
8
8
  fontWeight: tokens.core.font.fontWeight.normal,
9
9
  resetButton: {
10
- iconColor: tokens.semantic.color.icon.secondary200
10
+ iconColor: tokens.semantic.color.icon.secondary400
11
11
  },
12
12
  indicator: {
13
- errorTooltipTextColor: tokens.semantic.color.text.secondary50,
14
- errorIconColor: tokens.semantic.color.icon.danger400,
13
+ errorTooltipTextColor: tokens.semantic.color.text.primary300,
14
+ errorIconColor: tokens.semantic.color.icon.primary300,
15
15
  successIconColor: tokens.semantic.color.icon.success500
16
16
  },
17
17
  placeholder: {
18
- textColor: tokens.semantic.color.text.secondary500
18
+ textColor: tokens.semantic.color.text.secondary400
19
19
  },
20
20
  loader: {
21
21
  size: 'M'
@@ -33,26 +33,26 @@ const theme = {
33
33
  states: {
34
34
  normal: {
35
35
  bgColor: tokens.semantic.color.background.secondary950,
36
- textColor: tokens.semantic.color.text.secondary200,
37
- borderColor: tokens.semantic.color.border.secondary700
36
+ textColor: tokens.semantic.color.text.secondary0,
37
+ borderColor: tokens.semantic.color.border.secondary500
38
38
  },
39
39
  focused: {
40
- borderColor: tokens.semantic.color.border.primary300
40
+ borderColor: tokens.semantic.color.border.secondary0
41
41
  },
42
42
  success: {
43
43
  borderColor: tokens.semantic.color.border.success500
44
44
  },
45
45
  error: {
46
- borderColor: tokens.semantic.color.border.danger400
46
+ borderColor: tokens.semantic.color.border.primary300
47
47
  },
48
48
  disabled: {
49
49
  bgColor: tokens.semantic.color.background.secondary900,
50
- textColor: tokens.semantic.color.text.secondary500,
51
- borderColor: tokens.semantic.color.border.secondary800
50
+ textColor: tokens.semantic.color.text.secondary400,
51
+ borderColor: tokens.semantic.color.border.secondary700
52
52
  },
53
53
  readonly: {
54
54
  bgColor: 'transparent',
55
- textColor: tokens.semantic.color.text.secondary200,
55
+ textColor: tokens.semantic.color.text.secondary0,
56
56
  borderColor: 'transparent'
57
57
  }
58
58
  },
@@ -68,16 +68,16 @@ const theme = {
68
68
  indicatorMargin: '0.8rem 0.9rem auto auto'
69
69
  },
70
70
  search: {
71
- iconColor: tokens.semantic.color.icon.secondary200,
71
+ iconColor: tokens.semantic.color.icon.secondary400,
72
72
  resetButton: {
73
- iconColor: tokens.semantic.color.icon.secondary200
73
+ iconColor: tokens.semantic.color.icon.secondary400
74
74
  }
75
75
  },
76
76
  counter: {
77
77
  minWidth: '12rem',
78
78
  padding: '0 0.8rem',
79
79
  valueLabel: {
80
- textColor: tokens.semantic.color.text.secondary200
80
+ textColor: tokens.semantic.color.text.secondary0
81
81
  }
82
82
  },
83
83
  password: {
@@ -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.secondary500
90
+ textColor: tokens.semantic.color.text.secondary400
91
91
  },
92
92
  error: {
93
- textColor: tokens.semantic.color.text.secondary500
93
+ textColor: tokens.semantic.color.text.primary300
94
94
  }
95
95
  }
96
96
  };
@@ -3,21 +3,21 @@ const theme = {
3
3
  container: {
4
4
  borderRadius: '0.8rem',
5
5
  backgroundColor: tokens.semantic.color.background.secondary950,
6
- boxShadow: `0px 0px 0px 1px ${tokens.semantic.color.border.secondary800}`
6
+ boxShadow: `0px 0px 0px 1px ${tokens.semantic.color.border.secondary700}`
7
7
  },
8
8
  headerRow: {
9
9
  minHeight: '5.6rem',
10
10
  bgColor: tokens.semantic.color.background.secondary950,
11
11
  separator: {
12
- color: tokens.semantic.color.border.secondary800,
12
+ color: tokens.semantic.color.text.secondary700,
13
13
  width: '1px'
14
14
  }
15
15
  },
16
16
  headerCell: {
17
17
  padding: '1rem 1.2rem',
18
- color: tokens.semantic.color.text.secondary200,
18
+ color: tokens.semantic.color.text.secondary0,
19
19
  separator: {
20
- color: tokens.semantic.color.border.secondary800,
20
+ color: tokens.semantic.color.text.secondary700,
21
21
  width: '1px',
22
22
  blockPadding: '1rem'
23
23
  }
@@ -5,20 +5,20 @@ const theme = {
5
5
  minHeight: '20px',
6
6
  state: {
7
7
  normal: {
8
- textColor: tokens.semantic.color.text.secondary200
8
+ textColor: tokens.semantic.color.text.secondary0
9
9
  },
10
10
  readonly: {
11
- textColor: tokens.semantic.color.text.secondary400
11
+ textColor: tokens.semantic.color.text.secondary300
12
12
  }
13
13
  },
14
14
  infoIcon: {
15
- iconColor: tokens.semantic.color.icon.secondary500
15
+ iconColor: tokens.semantic.color.icon.secondary400
16
16
  },
17
17
  optional: {
18
- textColor: tokens.semantic.color.text.secondary500
18
+ textColor: tokens.semantic.color.text.secondary400
19
19
  },
20
20
  required: {
21
- textColor: tokens.semantic.color.text.danger500
21
+ textColor: tokens.semantic.color.text.primary300
22
22
  }
23
23
  };
24
24
  export default theme;
@@ -28,7 +28,7 @@ const theme = {
28
28
  XXL: tokens.core.space.space300
29
29
  },
30
30
  flexDivider: {
31
- color: tokens.semantic.color.background.secondary700,
31
+ color: tokens.semantic.color.text.secondary700,
32
32
  size: '1px',
33
33
  padding: {
34
34
  none: tokens.core.space.space000,