@redis-ui/styles 21.6.0 → 21.8.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 +3685 -3616
  2. package/dist/index.umd.cjs +13 -13
  3. package/dist/themes/themeDark/theme/components/charts.js +4 -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 +4 -0
  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 +4 -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 +4 -0
  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 +4 -0
  121. package/package.json +1 -1
@@ -9,43 +9,46 @@ const theme = {
9
9
  toggleStates: {
10
10
  on: {
11
11
  normal: {
12
- bgColor: tokens.semantic.color.background.secondary700,
13
- textColor: tokens.semantic.color.text.secondary100
12
+ bgColor: tokens.semantic.color.background.secondary950,
13
+ borderColor: tokens.semantic.color.border.secondary700,
14
+ textColor: tokens.semantic.color.text.secondary0
14
15
  },
15
16
  hover: {
16
- bgColor: tokens.semantic.color.background.secondary800,
17
- textColor: tokens.semantic.color.text.secondary100
17
+ bgColor: tokens.semantic.color.background.secondary950,
18
+ borderColor: tokens.semantic.color.border.secondary700,
19
+ textColor: tokens.semantic.color.text.secondary0
18
20
  },
19
21
  active: {
20
- bgColor: transparent,
21
- textColor: tokens.semantic.color.text.secondary200
22
+ bgColor: tokens.semantic.color.background.secondary950,
23
+ borderColor: tokens.semantic.color.border.secondary700,
24
+ textColor: tokens.semantic.color.text.secondary0
22
25
  },
23
26
  disabled: {
24
27
  bgColor: transparent,
25
- textColor: tokens.semantic.color.text.secondary500
28
+ textColor: tokens.semantic.color.text.secondary400
26
29
  }
27
30
  },
28
31
  off: {
29
32
  normal: {
30
33
  bgColor: transparent,
31
- textColor: tokens.semantic.color.text.secondary200
34
+ textColor: tokens.semantic.color.text.secondary300
32
35
  },
33
36
  hover: {
34
- bgColor: tokens.semantic.color.background.secondary800,
35
- textColor: tokens.semantic.color.text.secondary100
37
+ bgColor: tokens.semantic.color.background.secondary900,
38
+ textColor: tokens.semantic.color.text.secondary0
36
39
  },
37
40
  active: {
38
- bgColor: tokens.semantic.color.background.secondary700,
39
- textColor: tokens.semantic.color.text.secondary100
41
+ bgColor: tokens.semantic.color.background.secondary990,
42
+ textColor: tokens.semantic.color.text.secondary0
40
43
  },
41
44
  disabled: {
42
45
  bgColor: transparent,
43
- textColor: tokens.semantic.color.text.secondary500
46
+ textColor: tokens.semantic.color.text.secondary400
44
47
  }
45
48
  }
46
49
  },
47
50
  counter: {
48
- bgColor: tokens.semantic.color.background.primary500,
51
+ bgColor: tokens.semantic.color.background.secondary0,
49
52
  textColor: tokens.semantic.color.text.secondary950,
50
53
  disabledOpacity: '0.3',
51
54
  padding: '0.1rem 0.4rem',
@@ -1,17 +1,17 @@
1
1
  import { tokens } from '../../tokens';
2
2
  const theme = {
3
- textColor: tokens.semantic.color.text.secondary200,
4
- bgColor: tokens.semantic.color.background.secondary900,
5
- shadow: `0 0 0.5px 1px ${tokens.semantic.color.border.neutral400}`,
6
- borderRadius: '0.8rem',
3
+ textColor: tokens.semantic.color.text.secondary300,
4
+ bgColor: tokens.semantic.color.background.secondary950,
5
+ shadow: `0 0 0 1px ${tokens.semantic.color.border.secondary500}, ${tokens.core.shadow.shadow400}`,
6
+ borderRadius: '0.5rem',
7
7
  minWidth: 'initial',
8
8
  maxWidth: '30rem',
9
- blockPadding: '1.6rem',
10
- inlinePadding: '1.6rem',
9
+ blockPadding: '0.9rem',
10
+ inlinePadding: '1.1rem',
11
11
  arrow: {
12
12
  width: '16px',
13
13
  height: '8px',
14
- shadow: `${tokens.semantic.color.border.neutral400} 0px 1.5px`
14
+ shadow: `0 1px 0 ${tokens.semantic.color.border.secondary500}`
15
15
  }
16
16
  };
17
17
  export default theme;
@@ -5,11 +5,11 @@ const theme = {
5
5
  inlinePadding: '0.8rem 1.6rem',
6
6
  blockPadding: '0.5rem',
7
7
  checkboxGap: '0.8rem',
8
- selectedBgColor: tokens.semantic.color.background.neutral400,
8
+ selectedBgColor: tokens.semantic.color.background.secondary900,
9
9
  height: '3rem'
10
10
  },
11
11
  arrow: {
12
- iconColor: tokens.semantic.color.icon.neutral800,
12
+ iconColor: tokens.semantic.color.icon.secondary400,
13
13
  gap: '0.4rem'
14
14
  }
15
15
  };
@@ -1,14 +1,14 @@
1
1
  import { tokens } from '../../tokens';
2
2
  const theme = {
3
3
  colors: {
4
- primary: tokens.semantic.color.text.secondary200,
5
- secondary: tokens.semantic.color.text.secondary400,
6
- notice: tokens.semantic.color.text.notice500,
7
- success: tokens.semantic.color.text.success500,
8
- attention: tokens.semantic.color.text.attention500,
9
- danger: tokens.semantic.color.text.danger500,
4
+ primary: tokens.semantic.color.background.secondary0,
5
+ secondary: tokens.semantic.color.background.secondary300,
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.text.discovery500,
11
- informative: tokens.semantic.color.text.informative500
11
+ informative: tokens.semantic.color.background.informative300
12
12
  },
13
13
  heading: {
14
14
  fontFamily: tokens.core.font.fontFamily.regular,
@@ -1,3 +1,4 @@
1
+ import { withOpacity } from '../../../../utils';
1
2
  import { tokens } from '../../tokens';
2
3
  const theme = {
3
4
  gap: '1.6rem',
@@ -6,49 +7,49 @@ const theme = {
6
7
  },
7
8
  variants: {
8
9
  white: {
9
- backgroundColor: tokens.semantic.color.background.neutral100,
10
- color: tokens.semantic.color.text.neutral700,
11
- borderColor: tokens.semantic.color.border.neutral400
10
+ backgroundColor: tokens.semantic.color.background.secondary950,
11
+ color: tokens.semantic.color.text.secondary0,
12
+ borderColor: tokens.semantic.color.border.secondary700
12
13
  },
13
14
  light: {
14
- backgroundColor: tokens.semantic.color.background.neutral200,
15
- color: tokens.semantic.color.text.neutral700,
16
- borderColor: tokens.semantic.color.border.neutral400
15
+ backgroundColor: tokens.semantic.color.background.secondary900,
16
+ color: tokens.semantic.color.text.secondary0,
17
+ borderColor: tokens.semantic.color.border.secondary700
17
18
  },
18
19
  default: {
19
- backgroundColor: tokens.semantic.color.background.neutral300,
20
- color: tokens.semantic.color.text.neutral700,
21
- borderColor: tokens.semantic.color.border.neutral500
20
+ backgroundColor: tokens.semantic.color.background.secondary990,
21
+ color: tokens.semantic.color.text.secondary0,
22
+ borderColor: tokens.semantic.color.border.secondary500
22
23
  },
23
24
  informative: {
24
- backgroundColor: tokens.semantic.color.background.informative50,
25
- color: tokens.semantic.color.text.informative200,
26
- borderColor: tokens.semantic.color.border.informative300
25
+ backgroundColor: tokens.semantic.color.background.informative0,
26
+ color: tokens.semantic.color.text.informative300,
27
+ borderColor: withOpacity(tokens.semantic.color.border.informative200, 0.24)
27
28
  },
28
29
  success: {
29
- backgroundColor: tokens.semantic.color.background.success100,
30
- color: tokens.semantic.color.text.success200,
31
- borderColor: tokens.semantic.color.border.success300
30
+ backgroundColor: tokens.semantic.color.background.success0,
31
+ color: tokens.semantic.color.text.success500,
32
+ borderColor: withOpacity(tokens.semantic.color.border.success500, 0.24)
32
33
  },
33
34
  notice: {
34
- backgroundColor: tokens.semantic.color.background.notice100,
35
- color: tokens.semantic.color.text.notice200,
36
- borderColor: tokens.semantic.color.border.notice200
35
+ backgroundColor: tokens.semantic.color.background.notice0,
36
+ color: tokens.semantic.color.text.notice400,
37
+ borderColor: withOpacity(tokens.semantic.color.border.notice400, 0.24)
37
38
  },
38
39
  danger: {
39
- backgroundColor: tokens.semantic.color.background.danger100,
40
- color: tokens.semantic.color.text.danger200,
41
- borderColor: tokens.semantic.color.border.danger200
40
+ backgroundColor: tokens.semantic.color.background.primary0,
41
+ color: tokens.semantic.color.text.primary300,
42
+ borderColor: withOpacity(tokens.semantic.color.border.primary300, 0.24)
42
43
  },
43
44
  attention: {
44
- backgroundColor: tokens.semantic.color.background.attention100,
45
- color: tokens.semantic.color.text.attention200,
46
- borderColor: tokens.semantic.color.border.attention300
45
+ backgroundColor: tokens.semantic.color.background.notice0,
46
+ color: tokens.semantic.color.text.notice400,
47
+ borderColor: withOpacity(tokens.semantic.color.border.notice400, 0.24)
47
48
  },
48
49
  disabled: {
49
- backgroundColor: tokens.semantic.color.background.neutral200,
50
- color: tokens.semantic.color.text.neutral500,
51
- borderColor: tokens.semantic.color.border.neutral300
50
+ backgroundColor: tokens.semantic.color.background.secondary700,
51
+ color: tokens.semantic.color.text.secondary400,
52
+ borderColor: tokens.semantic.color.border.secondary700
52
53
  }
53
54
  }
54
55
  };
@@ -1,7 +1,7 @@
1
1
  import { tokens } from '../../tokens';
2
2
  const theme = {
3
- bgColor: tokens.semantic.color.background.secondary990,
4
- textColor: tokens.semantic.color.background.secondary50,
3
+ bgColor: tokens.semantic.color.background.secondary950,
4
+ textColor: tokens.semantic.color.text.secondary0,
5
5
  fontFamily: tokens.core.font.fontFamily.regular,
6
6
  fontSize: tokens.core.font.fontSize.s14,
7
7
  lineHeight: '1.5'
@@ -2,10 +2,10 @@ import { tokens } from '../../tokens';
2
2
  const theme = {
3
3
  width: '0.5rem',
4
4
  height: '0.5rem',
5
- bgColor: tokens.semantic.color.background.neutral100,
5
+ bgColor: 'transparent',
6
6
  padding: '0.1rem',
7
7
  thumb: {
8
- bgColor: tokens.semantic.color.background.neutral400,
8
+ bgColor: tokens.semantic.color.background.secondary700,
9
9
  borderRadius: '99rem'
10
10
  }
11
11
  };
@@ -36,7 +36,7 @@ const semanticColors = {
36
36
  secondary800: '#163341',
37
37
  secondary900: '#0D212C',
38
38
  secondary950: '#091A23',
39
- secondary990: '#091A23',
39
+ secondary990: '#07151C',
40
40
  success0: '#1C2B16',
41
41
  success50: '#24361C',
42
42
  success100: '#2C421F',
@@ -140,7 +140,7 @@ export const tokens = {
140
140
  shadow100: '0 1px 2px rgba(0, 0, 0, 0.3)',
141
141
  shadow200: '0 4px 12px rgba(0, 0, 0, 0.35)',
142
142
  shadow300: '0 4px 12px rgba(0, 0, 0, 0.4)',
143
- shadow400: '0 24px 48px rgba(0, 0, 0, 0.55)',
143
+ shadow400: '0 16px 36px rgba(0, 0, 0, 0.45)',
144
144
  shadow500: '0 24px 48px rgba(0, 0, 0, 0.5)',
145
145
  shadow600: '0 24px 48px rgba(0, 0, 0, 0.55)',
146
146
  shadow700: '0 4px 12px rgba(0, 0, 0, 0.35), 0 24px 48px rgba(0, 0, 0, 0.45)'
@@ -207,7 +207,7 @@ export const tokens = {
207
207
  focus: {
208
208
  margin: '2px',
209
209
  size: '2px',
210
- color: semanticColors.primary200
210
+ color: semanticColors.primary400
211
211
  }
212
212
  }
213
213
  };
@@ -63,6 +63,10 @@ const theme = {
63
63
  sparkline: {
64
64
  strokeWidth: 1.5,
65
65
  areaOpacity: { from: 0.4, to: 0.04 }
66
+ },
67
+ panel: {
68
+ padding: { S: tokens.core.space.space200, M: tokens.core.space.space200 },
69
+ gap: { S: tokens.core.space.space100, M: tokens.core.space.space100 }
66
70
  }
67
71
  };
68
72
  export default theme;
@@ -25,30 +25,32 @@ const theme = {
25
25
  textColor: tokens.semantic.color.text.secondary0
26
26
  },
27
27
  hover: {
28
- bgColor: tokens.semantic.color.background.primary500
28
+ bgColor: tokens.semantic.color.background.primary700
29
29
  },
30
30
  active: {
31
- bgColor: tokens.semantic.color.background.primary600
31
+ bgColor: tokens.semantic.color.background.primary800
32
32
  },
33
33
  disabled: {
34
- bgColor: tokens.semantic.color.background.neutral100,
35
- textColor: tokens.semantic.color.text.neutral400
34
+ bgColor: tokens.semantic.color.background.secondary200,
35
+ textColor: tokens.semantic.color.text.secondary500
36
36
  }
37
37
  },
38
38
  secondary: {
39
39
  normal: {
40
- bgColor: tokens.semantic.color.background.primary0,
41
- textColor: tokens.semantic.color.text.primary600
40
+ bgColor: 'transparent',
41
+ textColor: tokens.semantic.color.text.secondary500
42
42
  },
43
43
  hover: {
44
- bgColor: tokens.semantic.color.background.primary50
44
+ bgColor: tokens.semantic.color.background.neutral100,
45
+ textColor: tokens.semantic.color.text.secondary950
45
46
  },
46
47
  active: {
47
- bgColor: tokens.semantic.color.background.primary100
48
+ bgColor: tokens.semantic.color.background.secondary50,
49
+ textColor: tokens.semantic.color.text.secondary950
48
50
  },
49
51
  disabled: {
50
- bgColor: tokens.semantic.color.background.neutral100,
51
- textColor: tokens.semantic.color.text.neutral400
52
+ bgColor: tokens.semantic.color.background.secondary200,
53
+ textColor: tokens.semantic.color.text.secondary500
52
54
  }
53
55
  }
54
56
  }
@@ -1,7 +1,7 @@
1
1
  import { tokens } from '../../tokens';
2
2
  const theme = {
3
- height: '5.6rem',
4
- padding: '1.4rem 1.4rem 1.4rem 2.4rem',
3
+ height: '4.8rem',
4
+ padding: '0.8rem 1.4rem 0.8rem 2.4rem',
5
5
  separator: `1px solid ${tokens.semantic.color.border.secondary200}`,
6
6
  boxShadow: `0px 1px 0px 0px ${tokens.semantic.color.border.secondary200}`,
7
7
  group: {
@@ -10,15 +10,15 @@ const theme = {
10
10
  variants: {
11
11
  default: {
12
12
  bgColor: tokens.semantic.color.background.secondary0,
13
- color: tokens.semantic.color.background.primary400,
14
- userNameColor: tokens.semantic.color.background.secondary700,
15
- accountNameColor: tokens.semantic.color.background.secondary950
13
+ color: tokens.semantic.color.text.secondary950,
14
+ userNameColor: tokens.semantic.color.background.secondary950,
15
+ accountNameColor: tokens.semantic.color.text.secondary500
16
16
  },
17
17
  alert: {
18
- bgColor: tokens.semantic.color.background.danger200,
18
+ bgColor: tokens.semantic.color.background.primary0,
19
19
  color: tokens.semantic.color.text.secondary950,
20
- userNameColor: tokens.semantic.color.text.secondary950,
21
- accountNameColor: tokens.semantic.color.text.secondary950
20
+ userNameColor: tokens.semantic.color.background.secondary950,
21
+ accountNameColor: tokens.semantic.color.background.secondary950
22
22
  }
23
23
  }
24
24
  };
@@ -8,7 +8,7 @@ const theme = {
8
8
  toggleStates: {
9
9
  on: {
10
10
  normal: {
11
- bgColor: tokens.semantic.color.background.secondary200,
11
+ bgColor: tokens.semantic.color.background.neutral100,
12
12
  borderColor: tokens.semantic.color.border.secondary200,
13
13
  textColor: tokens.semantic.color.text.secondary950
14
14
  }
@@ -20,8 +20,8 @@ const theme = {
20
20
  textColor: tokens.semantic.color.text.secondary950
21
21
  },
22
22
  hover: {
23
- bgColor: tokens.semantic.color.background.secondary100,
24
- borderColor: tokens.semantic.color.border.secondary100,
23
+ bgColor: tokens.semantic.color.background.neutral100,
24
+ borderColor: tokens.semantic.color.border.neutral100,
25
25
  textColor: tokens.semantic.color.text.secondary950
26
26
  }
27
27
  }
@@ -39,7 +39,7 @@ const theme = {
39
39
  width: '11rem',
40
40
  height: '6rem',
41
41
  label: {
42
- color: tokens.semantic.color.text.neutral800
42
+ color: tokens.semantic.color.text.secondary950
43
43
  }
44
44
  }
45
45
  };
@@ -1,3 +1,4 @@
1
+ import { withOpacity } from '../../../../utils';
1
2
  import { tokens } from '../../tokens';
2
3
  const borderWidth = '1px';
3
4
  const theme = {
@@ -10,51 +11,51 @@ const theme = {
10
11
  variants: {
11
12
  white: {
12
13
  backgroundColor: tokens.semantic.color.background.secondary0,
13
- color: tokens.semantic.color.text.secondary700,
14
+ color: tokens.semantic.color.text.secondary950,
14
15
  borderColor: tokens.semantic.color.border.secondary200,
15
- iconColor: tokens.semantic.color.text.secondary600
16
+ iconColor: tokens.semantic.color.icon.secondary950
16
17
  },
17
18
  light: {
18
19
  backgroundColor: tokens.semantic.color.background.secondary50,
19
- color: tokens.semantic.color.text.secondary700,
20
+ color: tokens.semantic.color.text.secondary950,
20
21
  borderColor: tokens.semantic.color.border.secondary200,
21
- iconColor: tokens.semantic.color.text.secondary600
22
+ iconColor: tokens.semantic.color.icon.secondary950
22
23
  },
23
24
  default: {
24
- backgroundColor: tokens.semantic.color.background.informative0,
25
- color: tokens.semantic.color.text.informative800,
26
- borderColor: tokens.semantic.color.border.informative200,
27
- iconColor: tokens.semantic.color.text.primary600
25
+ backgroundColor: tokens.semantic.color.background.neutral100,
26
+ color: tokens.semantic.color.text.secondary950,
27
+ borderColor: tokens.semantic.color.border.secondary200,
28
+ iconColor: tokens.semantic.color.icon.secondary950
28
29
  },
29
30
  informative: {
30
31
  backgroundColor: tokens.semantic.color.background.informative0,
31
- color: tokens.semantic.color.text.primary700,
32
- borderColor: tokens.semantic.color.border.informative100,
33
- iconColor: tokens.semantic.color.text.informative800
32
+ color: '#0F6FB8',
33
+ borderColor: withOpacity(tokens.semantic.color.border.informative300, 0.24),
34
+ iconColor: '#0F6FB8'
34
35
  },
35
36
  success: {
36
37
  backgroundColor: tokens.semantic.color.background.success0,
37
- color: tokens.semantic.color.text.success800,
38
- borderColor: tokens.semantic.color.border.success200,
39
- iconColor: tokens.semantic.color.text.success700
38
+ color: '#15803D',
39
+ borderColor: withOpacity(tokens.semantic.color.border.success500, 0.24),
40
+ iconColor: '#15803D'
40
41
  },
41
42
  notice: {
42
43
  backgroundColor: tokens.semantic.color.background.notice0,
43
- color: tokens.semantic.color.text.notice700,
44
- borderColor: tokens.semantic.color.border.notice200,
45
- iconColor: tokens.semantic.color.text.notice700
44
+ color: '#B45309',
45
+ borderColor: withOpacity(tokens.semantic.color.border.notice400, 0.24),
46
+ iconColor: '#B45309'
46
47
  },
47
48
  danger: {
48
- backgroundColor: tokens.semantic.color.background.danger0,
49
- color: tokens.semantic.color.text.danger700,
50
- borderColor: tokens.semantic.color.border.danger200,
51
- iconColor: tokens.semantic.color.text.danger600
49
+ backgroundColor: tokens.semantic.color.background.primary0,
50
+ color: tokens.semantic.color.text.danger500,
51
+ borderColor: withOpacity(tokens.semantic.color.border.primary400, 0.24),
52
+ iconColor: tokens.semantic.color.icon.danger500
52
53
  },
53
54
  attention: {
54
- backgroundColor: tokens.semantic.color.background.attention0,
55
- color: tokens.semantic.color.text.attention700,
56
- borderColor: tokens.semantic.color.border.attention200,
57
- iconColor: tokens.semantic.color.text.attention600
55
+ backgroundColor: tokens.semantic.color.background.notice0,
56
+ color: '#B45309',
57
+ borderColor: withOpacity(tokens.semantic.color.border.notice400, 0.24),
58
+ iconColor: '#B45309'
58
59
  },
59
60
  upsell: {
60
61
  backgroundColor: tokens.semantic.color.background.discovery0,
@@ -63,10 +64,10 @@ const theme = {
63
64
  iconColor: tokens.semantic.color.text.discovery600
64
65
  },
65
66
  disabled: {
66
- backgroundColor: tokens.semantic.color.background.neutral100,
67
- color: tokens.semantic.color.text.neutral400,
68
- borderColor: tokens.semantic.color.border.neutral300,
69
- iconColor: tokens.semantic.color.text.neutral400
67
+ backgroundColor: tokens.semantic.color.background.secondary200,
68
+ color: tokens.semantic.color.text.secondary500,
69
+ borderColor: tokens.semantic.color.border.secondary200,
70
+ iconColor: tokens.semantic.color.icon.secondary500
70
71
  }
71
72
  }
72
73
  };
@@ -1,4 +1,5 @@
1
1
  import { tokens } from '../../tokens';
2
+ import { withOpacity } from '../../../../utils';
2
3
  const theme = {
3
4
  gap: tokens.core.space.space300,
4
5
  item: {
@@ -11,41 +12,41 @@ const theme = {
11
12
  default: {
12
13
  normal: {
13
14
  bgColor: tokens.semantic.color.background.secondary0,
14
- borderColor: tokens.semantic.color.border.secondary400,
15
+ borderColor: tokens.semantic.color.border.secondary200,
15
16
  markerColor: 'transparent',
16
17
  textColor: tokens.semantic.color.text.secondary950,
17
18
  iconColor: tokens.semantic.color.icon.secondary950
18
19
  },
19
20
  hover: {
20
21
  bgColor: tokens.semantic.color.background.secondary0,
21
- borderColor: tokens.semantic.color.border.primary500,
22
- markerColor: tokens.semantic.color.border.primary500,
22
+ borderColor: tokens.semantic.color.border.secondary400,
23
+ markerColor: 'transparent',
23
24
  textColor: tokens.semantic.color.text.secondary950,
24
25
  iconColor: tokens.semantic.color.icon.secondary950
25
26
  },
26
27
  disabled: {
27
- bgColor: tokens.semantic.color.background.neutral0,
28
- borderColor: tokens.semantic.color.border.neutral200,
28
+ bgColor: tokens.semantic.color.background.neutral100,
29
+ borderColor: tokens.semantic.color.border.secondary200,
29
30
  markerColor: 'transparent',
30
- textColor: tokens.semantic.color.text.secondary950,
31
- iconColor: tokens.semantic.color.icon.secondary300,
31
+ textColor: tokens.semantic.color.text.secondary500,
32
+ iconColor: tokens.semantic.color.icon.secondary500,
32
33
  opacity: '0.5'
33
34
  }
34
35
  },
35
36
  checked: {
36
37
  normal: {
37
- bgColor: tokens.semantic.color.background.secondary0,
38
- borderColor: tokens.semantic.color.border.primary400,
39
- markerColor: tokens.semantic.color.border.primary400,
38
+ bgColor: withOpacity('#0F6FB8', 0.08),
39
+ borderColor: '#0F6FB8',
40
+ markerColor: 'transparent',
40
41
  textColor: tokens.semantic.color.text.secondary950,
41
42
  iconColor: tokens.semantic.color.icon.secondary950
42
43
  },
43
44
  disabled: {
44
- bgColor: tokens.semantic.color.background.neutral200,
45
- borderColor: tokens.semantic.color.border.neutral200,
46
- markerColor: tokens.semantic.color.border.neutral200,
47
- textColor: tokens.semantic.color.text.secondary950,
48
- iconColor: tokens.semantic.color.icon.secondary950,
45
+ bgColor: tokens.semantic.color.background.neutral100,
46
+ borderColor: tokens.semantic.color.border.secondary500,
47
+ markerColor: 'transparent',
48
+ textColor: tokens.semantic.color.text.secondary500,
49
+ iconColor: tokens.semantic.color.icon.secondary500,
49
50
  opacity: '0.5'
50
51
  }
51
52
  }
@@ -4,7 +4,7 @@ const theme = {
4
4
  link: {
5
5
  states: {
6
6
  normal: {
7
- textColor: tokens.semantic.color.text.secondary600
7
+ textColor: tokens.semantic.color.text.secondary500
8
8
  },
9
9
  hover: {
10
10
  textColor: tokens.semantic.color.text.secondary950
@@ -22,7 +22,7 @@ const theme = {
22
22
  fontWeight: tokens.core.font.fontWeight.semiBold
23
23
  },
24
24
  separator: {
25
- textColor: tokens.semantic.color.text.secondary600
25
+ textColor: tokens.semantic.color.text.secondary500
26
26
  }
27
27
  };
28
28
  export default theme;