@redis-ui/styles 21.6.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 (116) hide show
  1. package/dist/index.js +3645 -3616
  2. package/dist/index.umd.cjs +13 -13
  3. package/dist/themes/themeDarkNext/theme/components/actionIconButton.js +13 -11
  4. package/dist/themes/themeDarkNext/theme/components/appBar.js +12 -12
  5. package/dist/themes/themeDarkNext/theme/components/appSelectionMenu.js +8 -8
  6. package/dist/themes/themeDarkNext/theme/components/badge.js +36 -35
  7. package/dist/themes/themeDarkNext/theme/components/boxSelectionGroup.js +20 -19
  8. package/dist/themes/themeDarkNext/theme/components/breadcrumbs.js +6 -6
  9. package/dist/themes/themeDarkNext/theme/components/button.js +35 -33
  10. package/dist/themes/themeDarkNext/theme/components/buttonGroup.js +17 -17
  11. package/dist/themes/themeDarkNext/theme/components/card.js +13 -12
  12. package/dist/themes/themeDarkNext/theme/components/checkbox.js +26 -22
  13. package/dist/themes/themeDarkNext/theme/components/chip.js +10 -10
  14. package/dist/themes/themeDarkNext/theme/components/chipList.js +3 -3
  15. package/dist/themes/themeDarkNext/theme/components/drawer.js +8 -8
  16. package/dist/themes/themeDarkNext/theme/components/filters.js +4 -4
  17. package/dist/themes/themeDarkNext/theme/components/formField.js +2 -2
  18. package/dist/themes/themeDarkNext/theme/components/gauge.js +9 -9
  19. package/dist/themes/themeDarkNext/theme/components/highlightedIcon.js +15 -14
  20. package/dist/themes/themeDarkNext/theme/components/icon.js +7 -7
  21. package/dist/themes/themeDarkNext/theme/components/iconButton.js +6 -6
  22. package/dist/themes/themeDarkNext/theme/components/input.js +16 -16
  23. package/dist/themes/themeDarkNext/theme/components/keyValueList.js +4 -4
  24. package/dist/themes/themeDarkNext/theme/components/label.js +5 -5
  25. package/dist/themes/themeDarkNext/theme/components/layouts.js +1 -1
  26. package/dist/themes/themeDarkNext/theme/components/link.js +9 -9
  27. package/dist/themes/themeDarkNext/theme/components/loader.js +9 -9
  28. package/dist/themes/themeDarkNext/theme/components/menu.js +13 -13
  29. package/dist/themes/themeDarkNext/theme/components/modal.js +9 -9
  30. package/dist/themes/themeDarkNext/theme/components/moreInfoIcon.js +1 -1
  31. package/dist/themes/themeDarkNext/theme/components/popover.js +2 -2
  32. package/dist/themes/themeDarkNext/theme/components/popupCard.js +3 -3
  33. package/dist/themes/themeDarkNext/theme/components/progressBar.js +9 -9
  34. package/dist/themes/themeDarkNext/theme/components/radio.js +10 -10
  35. package/dist/themes/themeDarkNext/theme/components/searchBar.js +3 -3
  36. package/dist/themes/themeDarkNext/theme/components/section.js +9 -9
  37. package/dist/themes/themeDarkNext/theme/components/select.js +17 -17
  38. package/dist/themes/themeDarkNext/theme/components/semanticButton.js +21 -21
  39. package/dist/themes/themeDarkNext/theme/components/semanticContainer.js +16 -15
  40. package/dist/themes/themeDarkNext/theme/components/semanticIcon.js +5 -5
  41. package/dist/themes/themeDarkNext/theme/components/sideBar.js +20 -19
  42. package/dist/themes/themeDarkNext/theme/components/skeleton.js +6 -6
  43. package/dist/themes/themeDarkNext/theme/components/slider.js +12 -12
  44. package/dist/themes/themeDarkNext/theme/components/stepper.js +10 -10
  45. package/dist/themes/themeDarkNext/theme/components/switch.js +18 -18
  46. package/dist/themes/themeDarkNext/theme/components/table.js +9 -9
  47. package/dist/themes/themeDarkNext/theme/components/tableHeading.js +2 -2
  48. package/dist/themes/themeDarkNext/theme/components/tabs.js +13 -13
  49. package/dist/themes/themeDarkNext/theme/components/textButton.js +30 -29
  50. package/dist/themes/themeDarkNext/theme/components/themeModeSwitch.js +3 -3
  51. package/dist/themes/themeDarkNext/theme/components/toggleButton.js +17 -14
  52. package/dist/themes/themeDarkNext/theme/components/tooltip.js +7 -7
  53. package/dist/themes/themeDarkNext/theme/components/treeView.js +2 -2
  54. package/dist/themes/themeDarkNext/theme/components/typography.js +7 -7
  55. package/dist/themes/themeDarkNext/theme/components/windowBar.js +28 -27
  56. package/dist/themes/themeDarkNext/theme/globals/body.js +2 -2
  57. package/dist/themes/themeDarkNext/theme/globals/scrollbar.js +2 -2
  58. package/dist/themes/themeDarkNext/tokens.js +3 -3
  59. package/dist/themes/themeLightNext/theme/components/actionIconButton.js +12 -10
  60. package/dist/themes/themeLightNext/theme/components/appBar.js +8 -8
  61. package/dist/themes/themeLightNext/theme/components/appSelectionMenu.js +4 -4
  62. package/dist/themes/themeLightNext/theme/components/badge.js +30 -29
  63. package/dist/themes/themeLightNext/theme/components/boxSelectionGroup.js +16 -15
  64. package/dist/themes/themeLightNext/theme/components/breadcrumbs.js +2 -2
  65. package/dist/themes/themeLightNext/theme/components/button.js +43 -41
  66. package/dist/themes/themeLightNext/theme/components/buttonGroup.js +14 -14
  67. package/dist/themes/themeLightNext/theme/components/card.js +10 -9
  68. package/dist/themes/themeLightNext/theme/components/checkbox.js +21 -17
  69. package/dist/themes/themeLightNext/theme/components/chip.js +8 -8
  70. package/dist/themes/themeLightNext/theme/components/chipList.js +3 -3
  71. package/dist/themes/themeLightNext/theme/components/countryFlag.js +1 -1
  72. package/dist/themes/themeLightNext/theme/components/drawer.js +7 -7
  73. package/dist/themes/themeLightNext/theme/components/filters.js +2 -2
  74. package/dist/themes/themeLightNext/theme/components/formField.js +2 -2
  75. package/dist/themes/themeLightNext/theme/components/gauge.js +8 -8
  76. package/dist/themes/themeLightNext/theme/components/highlightedIcon.js +13 -12
  77. package/dist/themes/themeLightNext/theme/components/icon.js +6 -6
  78. package/dist/themes/themeLightNext/theme/components/iconButton.js +4 -4
  79. package/dist/themes/themeLightNext/theme/components/input.js +11 -11
  80. package/dist/themes/themeLightNext/theme/components/keyValueList.js +4 -4
  81. package/dist/themes/themeLightNext/theme/components/label.js +3 -3
  82. package/dist/themes/themeLightNext/theme/components/layouts.js +1 -1
  83. package/dist/themes/themeLightNext/theme/components/link.js +10 -10
  84. package/dist/themes/themeLightNext/theme/components/loader.js +9 -9
  85. package/dist/themes/themeLightNext/theme/components/menu.js +13 -13
  86. package/dist/themes/themeLightNext/theme/components/modal.js +7 -7
  87. package/dist/themes/themeLightNext/theme/components/moreInfoIcon.js +1 -1
  88. package/dist/themes/themeLightNext/theme/components/popover.js +2 -2
  89. package/dist/themes/themeLightNext/theme/components/popupCard.js +3 -3
  90. package/dist/themes/themeLightNext/theme/components/progressBar.js +8 -8
  91. package/dist/themes/themeLightNext/theme/components/radio.js +10 -10
  92. package/dist/themes/themeLightNext/theme/components/searchBar.js +3 -3
  93. package/dist/themes/themeLightNext/theme/components/section.js +7 -7
  94. package/dist/themes/themeLightNext/theme/components/select.js +15 -15
  95. package/dist/themes/themeLightNext/theme/components/semanticButton.js +25 -25
  96. package/dist/themes/themeLightNext/theme/components/semanticContainer.js +13 -12
  97. package/dist/themes/themeLightNext/theme/components/semanticIcon.js +5 -5
  98. package/dist/themes/themeLightNext/theme/components/sideBar.js +20 -19
  99. package/dist/themes/themeLightNext/theme/components/skeleton.js +6 -6
  100. package/dist/themes/themeLightNext/theme/components/slider.js +8 -8
  101. package/dist/themes/themeLightNext/theme/components/stepper.js +9 -9
  102. package/dist/themes/themeLightNext/theme/components/switch.js +18 -18
  103. package/dist/themes/themeLightNext/theme/components/table.js +6 -6
  104. package/dist/themes/themeLightNext/theme/components/tableHeading.js +2 -2
  105. package/dist/themes/themeLightNext/theme/components/tabs.js +10 -10
  106. package/dist/themes/themeLightNext/theme/components/textButton.js +26 -26
  107. package/dist/themes/themeLightNext/theme/components/themeModeSwitch.js +3 -3
  108. package/dist/themes/themeLightNext/theme/components/toggleButton.js +12 -9
  109. package/dist/themes/themeLightNext/theme/components/tooltip.js +6 -6
  110. package/dist/themes/themeLightNext/theme/components/treeView.js +2 -2
  111. package/dist/themes/themeLightNext/theme/components/typography.js +6 -6
  112. package/dist/themes/themeLightNext/theme/components/windowBar.js +28 -27
  113. package/dist/themes/themeLightNext/theme/globals/body.js +1 -1
  114. package/dist/themes/themeLightNext/theme/globals/scrollbar.js +2 -2
  115. package/dist/themes/themeLightNext/tokens.js +3 -3
  116. package/package.json +1 -1
@@ -3,18 +3,18 @@ const theme = {
3
3
  dropDown: {
4
4
  minWidth: '16rem',
5
5
  maxWidth: '40rem',
6
- bgColor: tokens.semantic.color.background.secondary900,
6
+ bgColor: tokens.semantic.color.background.secondary950,
7
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: tokens.core.shadow.shadow400
12
+ shadow: tokens.core.shadow.shadow100
13
13
  }
14
14
  },
15
15
  separator: {
16
16
  size: '1px',
17
- bgColor: tokens.semantic.color.background.secondary800
17
+ bgColor: tokens.semantic.color.background.secondary700
18
18
  },
19
19
  label: {
20
20
  padding: '1rem 1.6rem',
@@ -26,7 +26,7 @@ const theme = {
26
26
  fontWeight: tokens.core.font.fontWeight.semiBold
27
27
  },
28
28
  sub: {
29
- textColor: tokens.semantic.color.text.secondary200,
29
+ textColor: tokens.semantic.color.text.secondary300,
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.secondary200
39
+ textColor: tokens.semantic.color.text.secondary300
40
40
  },
41
41
  check: {
42
42
  size: '1.6rem'
@@ -47,30 +47,30 @@ const theme = {
47
47
  variants: {
48
48
  primary: {
49
49
  normal: {
50
- textColor: tokens.semantic.color.text.secondary200
50
+ textColor: tokens.semantic.color.text.secondary0
51
51
  },
52
52
  hover: {
53
- bgColor: tokens.semantic.color.background.secondary800
53
+ bgColor: tokens.semantic.color.background.secondary900
54
54
  },
55
55
  selected: {
56
- textColor: tokens.semantic.color.text.primary200
56
+ textColor: tokens.semantic.color.text.secondary0
57
57
  },
58
58
  disabled: {
59
- textColor: tokens.semantic.color.text.secondary700
59
+ textColor: tokens.semantic.color.text.secondary400
60
60
  }
61
61
  },
62
62
  destructive: {
63
63
  normal: {
64
- textColor: tokens.semantic.color.text.danger400
64
+ textColor: tokens.semantic.color.text.primary300
65
65
  },
66
66
  hover: {
67
- bgColor: tokens.semantic.color.background.danger900
67
+ bgColor: tokens.semantic.color.background.primary0
68
68
  },
69
69
  selected: {
70
- textColor: tokens.semantic.color.text.danger400
70
+ textColor: tokens.semantic.color.text.primary300
71
71
  },
72
72
  disabled: {
73
- textColor: tokens.semantic.color.text.secondary700
73
+ textColor: tokens.semantic.color.text.secondary400
74
74
  }
75
75
  }
76
76
  }
@@ -1,34 +1,34 @@
1
- import { withOpacity } from '../../../../utils';
2
1
  import { tokens } from '../../tokens';
2
+ 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.secondary900,
10
+ bgColor: tokens.semantic.color.background.secondary950,
11
11
  header: {
12
12
  blockPadding: '0 1.6rem',
13
- closeIconColor: tokens.semantic.color.icon.secondary200,
14
- textColor: tokens.semantic.color.text.secondary50,
13
+ closeIconColor: tokens.semantic.color.icon.secondary400,
14
+ textColor: tokens.semantic.color.text.secondary0,
15
15
  gap: '0.8rem'
16
16
  },
17
17
  description: {
18
18
  blockPadding: '0 1.2rem',
19
- textColor: tokens.semantic.color.text.secondary50
19
+ textColor: tokens.semantic.color.text.secondary300
20
20
  },
21
21
  body: {
22
22
  minWidth: '30rem',
23
23
  maxWidth: '50rem',
24
- textColor: tokens.semantic.color.text.secondary200
24
+ textColor: tokens.semantic.color.text.secondary300
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.secondary990, 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.secondary500
3
+ iconColor: tokens.semantic.color.icon.secondary400
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.secondary900,
3
+ bgColor: tokens.semantic.color.background.secondary950,
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: tokens.core.shadow.shadow400
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.secondary400
5
5
  },
6
6
  header: {
7
- textColor: tokens.semantic.color.text.secondary200,
7
+ textColor: tokens.semantic.color.text.secondary0,
8
8
  margin: '0 0 0.4rem 0'
9
9
  },
10
10
  body: {
11
11
  margin: '0',
12
- textColor: tokens.semantic.color.text.secondary200
12
+ textColor: tokens.semantic.color.text.secondary300
13
13
  },
14
14
  footer: {
15
15
  margin: '1.8rem 0 0 0'
@@ -22,36 +22,36 @@ const theme = {
22
22
  },
23
23
  variant: {
24
24
  normal: {
25
- color: tokens.semantic.color.background.secondary800
25
+ color: tokens.semantic.color.text.secondary990
26
26
  },
27
27
  danger: {
28
- color: tokens.semantic.color.background.secondary800
28
+ color: tokens.semantic.color.text.secondary990
29
29
  },
30
30
  attention: {
31
- color: tokens.semantic.color.background.secondary800
31
+ color: tokens.semantic.color.text.secondary990
32
32
  },
33
33
  success: {
34
- color: tokens.semantic.color.background.secondary800
34
+ color: tokens.semantic.color.text.secondary990
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.informative200
41
41
  },
42
42
  danger: {
43
- color: tokens.semantic.color.background.danger400
43
+ color: tokens.semantic.color.text.primary300
44
44
  },
45
45
  attention: {
46
- color: tokens.semantic.color.background.attention400
46
+ color: tokens.semantic.color.text.notice400
47
47
  },
48
48
  success: {
49
- color: tokens.semantic.color.background.success400
49
+ color: tokens.semantic.color.text.success500
50
50
  }
51
51
  }
52
52
  },
53
53
  text: {
54
- color: tokens.semantic.color.text.secondary200
54
+ color: tokens.semantic.color.text.secondary0
55
55
  }
56
56
  };
57
57
  export default theme;
@@ -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.secondary950,
27
+ iconColor: tokens.semantic.color.icon.informative300,
28
28
  textColor: tokens.semantic.color.text.secondary0
29
29
  },
30
30
  disabled: {
31
- bgColor: tokens.semantic.color.background.secondary800,
32
- iconColor: tokens.semantic.color.icon.secondary500,
33
- textColor: tokens.semantic.color.text.secondary700
31
+ bgColor: tokens.semantic.color.background.secondary700,
32
+ iconColor: tokens.semantic.color.icon.secondary400,
33
+ textColor: tokens.semantic.color.text.secondary400
34
34
  }
35
35
  },
36
36
  off: {
37
37
  normal: {
38
- bgColor: 'transparent',
39
- borderColor: tokens.semantic.color.border.secondary700,
38
+ bgColor: tokens.semantic.color.background.secondary950,
39
+ borderColor: tokens.semantic.color.border.secondary500,
40
40
  textColor: tokens.semantic.color.text.secondary0
41
41
  },
42
42
  disabled: {
43
- bgColor: 'transparent',
44
- borderColor: tokens.semantic.color.border.secondary800,
45
- textColor: tokens.semantic.color.text.secondary700
43
+ bgColor: tokens.semantic.color.background.secondary700,
44
+ borderColor: tokens.semantic.color.border.secondary700,
45
+ textColor: tokens.semantic.color.text.secondary400
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.secondary950,
4
- shadow: `0px 0px 0px 1px ${tokens.semantic.color.border.secondary800}`,
4
+ shadow: `0px 0px 0px 1px ${tokens.semantic.color.border.secondary700}`,
5
5
  borderRadius: '0.8rem',
6
6
  filtersSection: {
7
- borderColor: tokens.semantic.color.border.secondary800,
7
+ borderColor: tokens.semantic.color.border.secondary700,
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.secondary800
18
+ color: tokens.semantic.color.text.secondary700
19
19
  },
20
20
  customActions: {
21
21
  gap: '0.8rem'
@@ -3,7 +3,7 @@ const theme = {
3
3
  width: '100%',
4
4
  height: 'fit-content',
5
5
  bgColor: tokens.semantic.color.background.secondary950,
6
- borderColor: tokens.semantic.color.border.secondary800,
6
+ borderColor: tokens.semantic.color.border.secondary700,
7
7
  borderRadius: '0.8rem',
8
8
  header: {
9
9
  minHeight: '5.6rem',
@@ -13,14 +13,14 @@ const theme = {
13
13
  gap: '1.6rem'
14
14
  },
15
15
  label: {
16
- textColor: tokens.semantic.color.text.secondary200
16
+ textColor: tokens.semantic.color.text.secondary0
17
17
  },
18
18
  collapsedInfo: {},
19
19
  summaryBar: {
20
20
  minHeight: '4rem',
21
21
  padding: '1.2rem 1.6rem',
22
- backgroundColor: tokens.semantic.color.background.secondary900,
23
- collapsableBackgroundColor: tokens.semantic.color.background.secondary900
22
+ backgroundColor: tokens.semantic.color.background.secondary950,
23
+ collapsableBackgroundColor: tokens.semantic.color.background.secondary950
24
24
  },
25
25
  categoryValueList: {
26
26
  gap: '12px',
@@ -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.secondary400,
32
- valueTextColor: tokens.semantic.color.text.secondary200
31
+ categoryTextColor: tokens.semantic.color.text.secondary300,
32
+ valueTextColor: tokens.semantic.color.text.secondary0
33
33
  },
34
34
  divider: {
35
35
  width: '1px',
36
36
  height: '1.6rem',
37
- backgroundColor: tokens.semantic.color.text.secondary700
37
+ backgroundColor: tokens.semantic.color.background.secondary700
38
38
  },
39
39
  counter: {
40
- textColor: tokens.semantic.color.text.secondary200
40
+ textColor: tokens.semantic.color.text.secondary400
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.secondary800
49
+ color: tokens.semantic.color.text.secondary700
50
50
  }
51
51
  };
52
52
  export default theme;
@@ -9,12 +9,12 @@ const theme = {
9
9
  borderWidth: '1px',
10
10
  borderRadius: '0.5rem',
11
11
  indicator: {
12
- errorTooltipTextColor: tokens.semantic.color.text.secondary50,
13
- errorIconColor: tokens.semantic.color.icon.danger400,
12
+ errorTooltipTextColor: tokens.semantic.color.text.primary300,
13
+ errorIconColor: tokens.semantic.color.icon.primary300,
14
14
  successIconColor: tokens.semantic.color.icon.success500
15
15
  },
16
16
  placeholder: {
17
- textColor: tokens.semantic.color.text.secondary500
17
+ textColor: tokens.semantic.color.text.secondary400
18
18
  },
19
19
  reset: {
20
20
  iconColor: tokens.semantic.color.icon.secondary400
@@ -31,36 +31,36 @@ const theme = {
31
31
  states: {
32
32
  normal: {
33
33
  bgColor: tokens.semantic.color.background.secondary950,
34
- borderColor: tokens.semantic.color.border.secondary700,
35
- textColor: tokens.semantic.color.text.secondary200
34
+ borderColor: tokens.semantic.color.border.secondary500,
35
+ textColor: tokens.semantic.color.text.secondary0
36
36
  },
37
37
  focused: {
38
- borderColor: tokens.semantic.color.border.primary300
38
+ borderColor: tokens.semantic.color.border.secondary0
39
39
  },
40
40
  opened: {
41
- borderColor: tokens.semantic.color.border.primary300
41
+ borderColor: tokens.semantic.color.border.secondary0
42
42
  },
43
43
  success: {
44
44
  borderColor: tokens.semantic.color.border.success500
45
45
  },
46
46
  error: {
47
- borderColor: tokens.semantic.color.border.danger400
47
+ borderColor: tokens.semantic.color.border.primary300
48
48
  },
49
49
  disabled: {
50
50
  bgColor: tokens.semantic.color.background.secondary900,
51
- borderColor: tokens.semantic.color.border.secondary800,
52
- textColor: tokens.semantic.color.text.secondary500,
51
+ borderColor: tokens.semantic.color.border.secondary700,
52
+ textColor: tokens.semantic.color.text.secondary400,
53
53
  iconOpacity: '0.4'
54
54
  },
55
55
  readonly: {
56
56
  bgColor: 'transparent',
57
- textColor: tokens.semantic.color.text.secondary200,
57
+ textColor: tokens.semantic.color.text.secondary0,
58
58
  borderColor: 'transparent'
59
59
  }
60
60
  },
61
61
  dropdown: {
62
62
  padding: '0.8rem 0',
63
- bgColor: tokens.semantic.color.background.secondary900,
63
+ bgColor: tokens.semantic.color.background.secondary950,
64
64
  shadow: tokens.core.shadow.shadow400,
65
65
  borderRadius: '0.5rem',
66
66
  triggerOffset: '0.4rem',
@@ -73,7 +73,7 @@ const theme = {
73
73
  inlinePadding: '1.6rem',
74
74
  separator: {
75
75
  size: '1px',
76
- color: tokens.semantic.color.border.secondary800
76
+ color: tokens.semantic.color.text.secondary700
77
77
  }
78
78
  },
79
79
  option: {
@@ -86,16 +86,16 @@ const theme = {
86
86
  },
87
87
  states: {
88
88
  normal: {
89
- textColor: tokens.semantic.color.text.secondary50
89
+ textColor: tokens.semantic.color.text.secondary0
90
90
  },
91
91
  highlighted: {
92
- bgColor: tokens.semantic.color.background.secondary800
92
+ bgColor: tokens.semantic.color.background.secondary900
93
93
  },
94
94
  checked: {
95
- textColor: tokens.semantic.color.text.primary400
95
+ textColor: tokens.semantic.color.text.secondary0
96
96
  },
97
97
  disabled: {
98
- textColor: tokens.semantic.color.text.secondary500
98
+ textColor: tokens.semantic.color.text.secondary400
99
99
  }
100
100
  }
101
101
  }
@@ -33,7 +33,7 @@ const theme = {
33
33
  textColor: tokens.semantic.color.text.secondary0
34
34
  },
35
35
  disabled: {
36
- bgColor: tokens.semantic.color.background.secondary800,
36
+ bgColor: tokens.semantic.color.background.secondary700,
37
37
  borderColor: tokens.semantic.color.border.secondary700,
38
38
  textColor: tokens.semantic.color.text.secondary400
39
39
  }
@@ -56,8 +56,8 @@ const theme = {
56
56
  },
57
57
  disabled: {
58
58
  bgColor: 'transparent',
59
- borderColor: tokens.semantic.color.border.success800,
60
- textColor: tokens.semantic.color.text.success800
59
+ borderColor: tokens.semantic.color.border.secondary700,
60
+ textColor: tokens.semantic.color.text.secondary400
61
61
  }
62
62
  }
63
63
  },
@@ -79,9 +79,9 @@ const theme = {
79
79
  textColor: tokens.semantic.color.text.secondary0
80
80
  },
81
81
  disabled: {
82
- bgColor: tokens.semantic.color.background.attention800,
83
- borderColor: tokens.semantic.color.border.attention800,
84
- textColor: tokens.semantic.color.text.secondary500
82
+ bgColor: tokens.semantic.color.background.secondary700,
83
+ borderColor: tokens.semantic.color.border.secondary700,
84
+ textColor: tokens.semantic.color.text.secondary400
85
85
  }
86
86
  },
87
87
  secondary: {
@@ -102,8 +102,8 @@ const theme = {
102
102
  },
103
103
  disabled: {
104
104
  bgColor: 'transparent',
105
- borderColor: tokens.semantic.color.border.attention800,
106
- textColor: tokens.semantic.color.text.attention600
105
+ borderColor: tokens.semantic.color.border.secondary700,
106
+ textColor: tokens.semantic.color.text.secondary400
107
107
  }
108
108
  }
109
109
  },
@@ -125,7 +125,7 @@ const theme = {
125
125
  textColor: tokens.semantic.color.text.secondary0
126
126
  },
127
127
  disabled: {
128
- bgColor: tokens.semantic.color.background.secondary800,
128
+ bgColor: tokens.semantic.color.background.secondary700,
129
129
  borderColor: tokens.semantic.color.border.secondary700,
130
130
  textColor: tokens.semantic.color.text.secondary400
131
131
  }
@@ -148,8 +148,8 @@ const theme = {
148
148
  },
149
149
  disabled: {
150
150
  bgColor: 'transparent',
151
- borderColor: tokens.semantic.color.border.danger800,
152
- textColor: tokens.semantic.color.text.danger800
151
+ borderColor: tokens.semantic.color.border.secondary700,
152
+ textColor: tokens.semantic.color.text.secondary400
153
153
  }
154
154
  }
155
155
  },
@@ -171,9 +171,9 @@ const theme = {
171
171
  textColor: tokens.semantic.color.text.secondary0
172
172
  },
173
173
  disabled: {
174
- bgColor: tokens.semantic.color.background.notice800,
175
- borderColor: tokens.semantic.color.border.notice800,
176
- textColor: tokens.semantic.color.text.notice500
174
+ bgColor: tokens.semantic.color.background.secondary700,
175
+ borderColor: tokens.semantic.color.border.secondary700,
176
+ textColor: tokens.semantic.color.text.secondary400
177
177
  }
178
178
  },
179
179
  secondary: {
@@ -194,8 +194,8 @@ const theme = {
194
194
  },
195
195
  disabled: {
196
196
  bgColor: 'transparent',
197
- borderColor: tokens.semantic.color.border.notice800,
198
- textColor: tokens.semantic.color.text.notice800
197
+ borderColor: tokens.semantic.color.border.secondary700,
198
+ textColor: tokens.semantic.color.text.secondary400
199
199
  }
200
200
  }
201
201
  },
@@ -217,9 +217,9 @@ const theme = {
217
217
  textColor: tokens.semantic.color.text.secondary0
218
218
  },
219
219
  disabled: {
220
- bgColor: tokens.semantic.color.background.informative800,
221
- borderColor: tokens.semantic.color.border.informative800,
222
- textColor: tokens.semantic.color.text.informative600
220
+ bgColor: tokens.semantic.color.background.secondary700,
221
+ borderColor: tokens.semantic.color.border.secondary700,
222
+ textColor: tokens.semantic.color.text.secondary400
223
223
  }
224
224
  },
225
225
  secondary: {
@@ -240,8 +240,8 @@ const theme = {
240
240
  },
241
241
  disabled: {
242
242
  bgColor: 'transparent',
243
- borderColor: tokens.semantic.color.border.informative800,
244
- textColor: tokens.semantic.color.text.informative800
243
+ borderColor: tokens.semantic.color.border.secondary700,
244
+ textColor: tokens.semantic.color.text.secondary400
245
245
  }
246
246
  }
247
247
  }
@@ -1,3 +1,4 @@
1
+ import { withOpacity } from '../../../../utils';
1
2
  import { tokens } from '../../tokens';
2
3
  const theme = {
3
4
  sizes: {
@@ -14,29 +15,29 @@ const theme = {
14
15
  },
15
16
  variants: {
16
17
  informative: {
17
- bgColor: tokens.semantic.color.background.informative900,
18
- textColor: tokens.semantic.color.text.informative200,
19
- borderColor: tokens.semantic.color.border.informative700
18
+ bgColor: tokens.semantic.color.background.informative0,
19
+ textColor: tokens.semantic.color.text.secondary0,
20
+ borderColor: withOpacity(tokens.semantic.color.border.informative200, 0.24)
20
21
  },
21
22
  success: {
22
- bgColor: tokens.semantic.color.background.success900,
23
- textColor: tokens.semantic.color.text.success200,
24
- borderColor: tokens.semantic.color.border.success700
23
+ bgColor: tokens.semantic.color.background.success0,
24
+ textColor: tokens.semantic.color.text.secondary0,
25
+ borderColor: withOpacity(tokens.semantic.color.border.success500, 0.24)
25
26
  },
26
27
  notice: {
27
- bgColor: tokens.semantic.color.background.notice900,
28
- textColor: tokens.semantic.color.text.notice200,
29
- borderColor: tokens.semantic.color.border.notice600
28
+ bgColor: tokens.semantic.color.background.notice0,
29
+ textColor: tokens.semantic.color.text.secondary0,
30
+ borderColor: withOpacity(tokens.semantic.color.border.notice400, 0.24)
30
31
  },
31
32
  danger: {
32
- bgColor: tokens.semantic.color.background.danger900,
33
- textColor: tokens.semantic.color.text.danger200,
34
- borderColor: tokens.semantic.color.border.danger700
33
+ bgColor: tokens.semantic.color.background.primary0,
34
+ textColor: tokens.semantic.color.text.secondary0,
35
+ borderColor: withOpacity(tokens.semantic.color.border.primary300, 0.24)
35
36
  },
36
37
  attention: {
37
- bgColor: tokens.semantic.color.background.attention900,
38
- textColor: tokens.semantic.color.text.attention200,
39
- borderColor: tokens.semantic.color.border.attention600
38
+ bgColor: tokens.semantic.color.background.notice0,
39
+ textColor: tokens.semantic.color.text.secondary0,
40
+ borderColor: withOpacity(tokens.semantic.color.border.notice400, 0.24)
40
41
  }
41
42
  }
42
43
  };
@@ -1,11 +1,11 @@
1
1
  import { tokens } from '../../tokens';
2
2
  const theme = {
3
3
  variants: {
4
- informative: { iconColor: tokens.semantic.color.icon.informative600 },
5
- danger: { iconColor: tokens.semantic.color.icon.danger600 },
6
- attention: { iconColor: tokens.semantic.color.icon.attention600 },
7
- notice: { iconColor: tokens.semantic.color.icon.notice600 },
8
- success: { iconColor: tokens.semantic.color.icon.success600 }
4
+ informative: { iconColor: tokens.semantic.color.background.informative300 },
5
+ danger: { iconColor: tokens.semantic.color.background.primary300 },
6
+ attention: { iconColor: tokens.semantic.color.background.notice400 },
7
+ notice: { iconColor: tokens.semantic.color.background.notice400 },
8
+ success: { iconColor: tokens.semantic.color.background.success500 }
9
9
  }
10
10
  };
11
11
  export default theme;