@aloudata/aloudata-design 2.18.2 → 2.19.0-beta.1

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 (119) hide show
  1. package/dist/AldSelect/index.js +12 -6
  2. package/dist/AldSelect/style/color.less +25 -16
  3. package/dist/AldSelect/style/index.less +2 -2
  4. package/dist/Avatar/component/Avatar/index.js +8 -19
  5. package/dist/Avatar/component/Avatar/type.js +3 -3
  6. package/dist/Avatar/style/index.less +10 -3
  7. package/dist/Badge/index.js +1 -27
  8. package/dist/Badge/style/index.less +27 -1
  9. package/dist/Button/style/index.less +1 -0
  10. package/dist/Button/style/type.less +5 -5
  11. package/dist/Button/style/variables.less +70 -203
  12. package/dist/Checkbox/style/index.less +20 -37
  13. package/dist/Collapse/index.js +2 -2
  14. package/dist/Collapse/style/index.less +7 -7
  15. package/dist/ColorPicker/index.js +3 -3
  16. package/dist/ColorPicker/style/complex.less +8 -9
  17. package/dist/ColorPicker/style/index.less +7 -8
  18. package/dist/DataPreviewTable/components/Body/Cell.js +1 -1
  19. package/dist/DataPreviewTable/style/index.less +9 -9
  20. package/dist/DatePicker/style/index.less +3 -3
  21. package/dist/Divider/style/index.less +1 -1
  22. package/dist/DoubleCircleIcon/style/index.less +12 -12
  23. package/dist/Empty/style/index.less +3 -3
  24. package/dist/Form/style/index.less +4 -4
  25. package/dist/HighlightText/style/index.less +1 -1
  26. package/dist/Icon/components/CancelledCircleFill.d.ts +1 -2
  27. package/dist/Icon/components/CancelledCircleFill.js +1 -1
  28. package/dist/Icon/components/Ellipsis.d.ts +1 -2
  29. package/dist/Icon/components/Ellipsis.js +1 -1
  30. package/dist/Icon/components/LoadingDuotone.d.ts +1 -2
  31. package/dist/Icon/components/LoadingDuotone.js +1 -1
  32. package/dist/Icon/components/SortAscendingOrderColor.d.ts +1 -2
  33. package/dist/Icon/components/SortAscendingOrderColor.js +1 -1
  34. package/dist/Icon/components/SortColor.d.ts +1 -2
  35. package/dist/Icon/components/SortColor.js +1 -1
  36. package/dist/Icon/components/SortDescendingOrderColor.d.ts +1 -2
  37. package/dist/Icon/components/SortDescendingOrderColor.js +1 -1
  38. package/dist/Icon/svg/Cancelled-Circle-fill.svg +2 -1
  39. package/dist/Icon/svg/Loading-duotone.svg +3 -2
  40. package/dist/Icon/svg/Sort-Ascending-order-Color.svg +2 -1
  41. package/dist/Icon/svg/Sort-Color.svg +3 -2
  42. package/dist/Icon/svg/Sort-Descending-order-Color.svg +2 -1
  43. package/dist/Icon/svg/ellipsis.svg +2 -1
  44. package/dist/IconButton/style/index.less +17 -17
  45. package/dist/Input/components/Input/index.js +1 -1
  46. package/dist/Input/components/TextArea/index.js +1 -1
  47. package/dist/Input/style/index.less +1 -1
  48. package/dist/Input/style/size.less +11 -11
  49. package/dist/Input/style/status.less +21 -36
  50. package/dist/InputNumber/style/index.less +22 -25
  51. package/dist/InputSearch/index.js +4 -3
  52. package/dist/InputSearch/style/index.less +8 -8
  53. package/dist/List/style/index.less +11 -11
  54. package/dist/LogicTree/style/DisplayLogicItem.less +3 -3
  55. package/dist/LogicTree/style/LoginItem.less +13 -13
  56. package/dist/MemberPicker/style/index.less +28 -30
  57. package/dist/Menu/style/index.less +22 -21
  58. package/dist/Modal/index.js +12 -12
  59. package/dist/Modal/style/modal.less +17 -18
  60. package/dist/Modal/style/modalConfirm.less +11 -26
  61. package/dist/Modal/style/polyfill/index.less +3 -3
  62. package/dist/Pagination/style/index.less +3 -4
  63. package/dist/Popconfirm/index.js +2 -2
  64. package/dist/Popconfirm/style/index.less +6 -6
  65. package/dist/Popover/style/index.less +8 -8
  66. package/dist/Progress/style/index.less +2 -5
  67. package/dist/Radio/style/index.less +39 -49
  68. package/dist/RenameInput/style/index.less +3 -3
  69. package/dist/Result/index.js +8 -7
  70. package/dist/Result/style/index.less +4 -4
  71. package/dist/ScrollArea/style/index.less +1 -1
  72. package/dist/Select/index.js +1 -1
  73. package/dist/Select/style/emptyShowAll.less +1 -1
  74. package/dist/Select/style/index.less +5 -5
  75. package/dist/Select/style/layout.less +1 -1
  76. package/dist/Select/style/option.less +7 -10
  77. package/dist/Select/style/selectDropdown.less +4 -4
  78. package/dist/Select/style/status.less +21 -24
  79. package/dist/Select/style/variables.less +3 -3
  80. package/dist/Skeleton/style/index.less +15 -15
  81. package/dist/Slider/style/index.less +56 -3
  82. package/dist/Spin/style/customIcon.less +2 -2
  83. package/dist/StatusLight/index.js +9 -24
  84. package/dist/StatusLight/style/index.less +58 -6
  85. package/dist/Steps/components/Step/index.js +4 -4
  86. package/dist/Steps/style/index.less +26 -22
  87. package/dist/Switch/style/index.less +1 -1
  88. package/dist/Switch/style/status.less +3 -3
  89. package/dist/Table/components/Header.js +6 -3
  90. package/dist/Table/style/index.less +18 -18
  91. package/dist/Tabs/style/index.less +9 -9
  92. package/dist/Tag/index.js +81 -21
  93. package/dist/Tag/style/index.less +3 -2
  94. package/dist/TextLink/style/type.less +16 -16
  95. package/dist/Tooltip/style/index.less +5 -5
  96. package/dist/Tree/Tree.js +2 -2
  97. package/dist/Tree/demo/basic/index.js +1 -1
  98. package/dist/Tree/style/checkbox.less +17 -27
  99. package/dist/Tree/style/index.less +4 -4
  100. package/dist/Tree/style/mixin.less +3 -3
  101. package/dist/Tree/style/reset.less +1 -1
  102. package/dist/Tree/style/var.less +19 -19
  103. package/dist/Tree/utils/iconUtil.js +1 -1
  104. package/dist/User/style/index.less +3 -3
  105. package/dist/ald.min.css +5 -1
  106. package/dist/message/index.js +4 -4
  107. package/dist/message/style/index.less +11 -14
  108. package/dist/notification/index.js +5 -5
  109. package/dist/notification/style/index.less +6 -7
  110. package/dist/style/components/toastify.css +27 -27
  111. package/dist/style/index.less +2 -2
  112. package/dist/style/themes/default/default.less +1 -1
  113. package/dist/style/themes/default/index.less +1 -1
  114. package/dist/style/themes/default/scrollBar.less +8 -4
  115. package/dist/style/themes/default/themeColor.module.less +178 -183
  116. package/dist/style/var/default.css +1156 -256
  117. package/package.json +2 -3
  118. package/dist/Avatar/component/Avatar/avatar.d.ts +0 -3
  119. package/dist/Avatar/component/Avatar/avatar.js +0 -23
@@ -181,17 +181,20 @@ export default /*#__PURE__*/forwardRef(function AldSelect(props, ref) {
181
181
  };
182
182
  // Used for OptionList selection
183
183
  var onOptionSelect = function onOptionSelect(val) {
184
+ // Get the original value from keyMenuItems to preserve the type (number/string)
185
+ var menuItem = keyMenuItems.get(toString(val));
186
+ var originalValue = (menuItem === null || menuItem === void 0 ? void 0 : menuItem.value) !== undefined ? menuItem.value : val;
184
187
  var selected = displayValues.find(function (item) {
185
188
  return toString(item.value) === toString(val);
186
189
  });
187
190
  if (isMultiple(mode)) {
188
191
  if (!selected) {
189
- triggerSelect(val, true, 'add');
192
+ triggerSelect(originalValue, true, 'add');
190
193
  } else {
191
- triggerSelect(val, false, 'remove');
194
+ triggerSelect(originalValue, false, 'remove');
192
195
  }
193
196
  } else {
194
- triggerSelect(val, true, 'add');
197
+ triggerSelect(originalValue, true, 'add');
195
198
  }
196
199
  };
197
200
  // ======================= Display Change =======================
@@ -217,6 +220,9 @@ export default /*#__PURE__*/forwardRef(function AldSelect(props, ref) {
217
220
  items: (mergedMenu === null || mergedMenu === void 0 ? void 0 : mergedMenu.items) || [],
218
221
  onClick: function onClick(menuInfo) {
219
222
  var _mergedMenu$onClick;
223
+ // Get the original value from keyMenuItems to preserve the type (number/string)
224
+ var menuItem = keyMenuItems.get(menuInfo.key);
225
+ var originalValue = (menuItem === null || menuItem === void 0 ? void 0 : menuItem.value) !== undefined ? menuItem.value : menuInfo.key;
220
226
  if (mode && isMultiple(mode)) {
221
227
  if (displayValues.find(function (item) {
222
228
  return toString(item.value) === menuInfo.key;
@@ -227,15 +233,15 @@ export default /*#__PURE__*/forwardRef(function AldSelect(props, ref) {
227
233
  return item.value;
228
234
  }));
229
235
  } else {
230
- triggerChange([].concat(_toConsumableArray(displayValues), [menuInfo.key]));
236
+ triggerChange([].concat(_toConsumableArray(displayValues), [originalValue]));
231
237
  }
232
238
  } else {
233
- triggerChange(menuInfo.key);
239
+ triggerChange(originalValue);
234
240
  }
235
241
  mergedMenu === null || mergedMenu === void 0 ? void 0 : (_mergedMenu$onClick = mergedMenu.onClick) === null || _mergedMenu$onClick === void 0 ? void 0 : _mergedMenu$onClick.call(mergedMenu, menuInfo);
236
242
  }
237
243
  });
238
- }, [mergedMenu, mode, displayValues, triggerChange]);
244
+ }, [mergedMenu, mode, displayValues, triggerChange, keyMenuItems]);
239
245
  var displayMenu = useDisplayMenu(selectMenu,
240
246
  // 如果用户接管了搜索,则默认不做搜索过滤
241
247
  onSearch ? filterOption || noOpFilter : filterOption, innerSearchValue);
@@ -1,40 +1,49 @@
1
1
  .beta-ald-select {
2
- border-color: #d1d5db;
3
- color: #1f2937;
4
- background-color: #fff;
2
+ border-color: var(--interaction-border-neutral-normal);
3
+ color: var(--content-primary);
4
+ background-color: var(--interaction-background-form-field);
5
+
6
+ &:hover {
7
+ border-color: var(--interaction-border-normal);
8
+ }
5
9
 
6
10
  &-active {
7
- border-color: #007bff;
11
+ border-color: var(--global-transparent-transparent);
12
+ box-shadow: var(--focus-default-focus);
13
+
14
+ &:hover {
15
+ border-color: var(--global-transparent-transparent);
16
+ }
8
17
  }
9
18
 
10
19
  &-error {
11
- border-color: #dc2626;
20
+ border-color: var(--interaction-border-alert);
12
21
  }
13
22
 
14
23
  &-validating,
15
24
  &-passed {
16
- border-color: #16a34a;
25
+ border-color: var(--interaction-border-success);
17
26
  }
18
27
 
19
28
  &-borderless {
20
29
  border-color: transparent;
21
30
  background-color: transparent;
22
- color: #111827;
31
+ color: var(--content-primary);
23
32
 
24
33
  &:hover {
25
- background-color: #f3f4f6;
26
- border-color: #f3f4f6;
34
+ background-color: var(--background-neutral-muted);
35
+ border-color: var(--background-neutral-muted);
27
36
  }
28
37
 
29
38
  &.beta-ald-select-active {
30
- background-color: #fff;
31
- border-color: #fff;
39
+ background-color: var(--background-default);
40
+ border-color: var(--background-default);
32
41
  }
33
42
  }
34
43
 
35
44
  &-disabled {
36
- border: 1px solid #d1d5db;
37
- background: #f3f4f6;
45
+ border: 1px solid var(--border-default);
46
+ background: var(--background-neutral-muted);
38
47
 
39
48
  &.beta-ald-select-borderless {
40
49
  border-color: transparent;
@@ -43,14 +52,14 @@
43
52
  }
44
53
 
45
54
  .beta-ald-select-placeholder {
46
- color: #9ca3af;
55
+ color: var(--content-tertiary);
47
56
  }
48
57
  }
49
58
 
50
59
  .beta-ald-select-prefix {
51
- color: #4b5563;
60
+ color: var(--content-secondary);
52
61
  }
53
62
 
54
63
  .beta-ald-select-selector-multiple-responsive-selected-section {
55
- border-color: #007bff;
64
+ border-color: var(--interaction-border-selected);
56
65
  }
@@ -121,7 +121,7 @@
121
121
  left: -1px;
122
122
  border-width: 1px;
123
123
  border-style: solid;
124
- background-color: #fff;
124
+ background-color: var(--background-default);
125
125
  z-index: 1;
126
126
 
127
127
  .beta-ald-select-selector-multiple-responsive-selected-section-tags {
@@ -162,7 +162,7 @@
162
162
  width: 100%;
163
163
 
164
164
  .beta-ald-select-search-box {
165
- border-bottom: 1px solid #d1d5db;
165
+ border-bottom: 1px solid var(--border-default);
166
166
  border-radius: 0 !important;
167
167
 
168
168
  .ald-input {
@@ -1,5 +1,9 @@
1
- var _excluded = ["size", "children", "src", "icon", "type"];
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ var _excluded = ["size", "children", "src", "icon"];
2
3
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
6
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
3
7
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
8
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
5
9
  import InternalAvatar from 'antd/lib/avatar/avatar';
@@ -7,7 +11,7 @@ import * as React from 'react';
7
11
  import { User } from "../../../Icon";
8
12
  import _ from 'lodash';
9
13
  import { useCallback, useMemo } from 'react';
10
- import { AVATAR_SIZE_MAP, AVATAR_TYPE_TO_BG_COLOR } from "./type";
14
+ import { AVATAR_SIZE_MAP } from "./type";
11
15
  import { getFontSize } from "./helper";
12
16
  import classNames from 'classnames';
13
17
  var ZERO = 0;
@@ -17,7 +21,6 @@ var Avatar = function Avatar(props) {
17
21
  children = props.children,
18
22
  src = props.src,
19
23
  icon = props.icon,
20
- type = props.type,
21
24
  restProps = _objectWithoutProperties(props, _excluded);
22
25
  var getSize = useCallback(function () {
23
26
  if (typeof size === 'number') {
@@ -34,18 +37,6 @@ var Avatar = function Avatar(props) {
34
37
  }
35
38
  return children;
36
39
  }, [children]);
37
- var bgColor = useMemo(function () {
38
- if (type) {
39
- return AVATAR_TYPE_TO_BG_COLOR[type];
40
- }
41
- return AVATAR_TYPE_TO_BG_COLOR.user;
42
- }, [type]);
43
- var fontColor = useMemo(function () {
44
- if (type === 'count') {
45
- return '#1F2937';
46
- }
47
- return '#fff';
48
- }, [type]);
49
40
  var innerIcon = useMemo(function () {
50
41
  if (icon) {
51
42
  return icon;
@@ -53,8 +44,6 @@ var Avatar = function Avatar(props) {
53
44
  if (!_.isEmpty(children)) {
54
45
  return /*#__PURE__*/React.createElement("div", {
55
46
  style: {
56
- backgroundColor: bgColor,
57
- color: fontColor,
58
47
  height: '100%',
59
48
  width: '100%',
60
49
  display: 'flex',
@@ -68,10 +57,10 @@ var Avatar = function Avatar(props) {
68
57
  return /*#__PURE__*/React.createElement(User, {
69
58
  size: getSize()
70
59
  });
71
- }, [icon, getSize, children, getChildren, bgColor, fontColor]);
60
+ }, [icon, getSize, children, getChildren]);
72
61
  return /*#__PURE__*/React.createElement(InternalAvatar, _extends({}, restProps, {
73
62
  size: getSize(),
74
- className: classNames(restProps.className, 'ald-avatar'),
63
+ className: classNames(restProps.className, 'ald-avatar', _defineProperty({}, "ald-avatar-default", !icon && _.isEmpty(children))),
75
64
  icon: innerIcon,
76
65
  src: src
77
66
  }));
@@ -10,7 +10,7 @@ export var AVATAR_SIZE_MAP = {
10
10
  };
11
11
  export var AVATAR_SIZE_TO_FONT_SIZE = (_AVATAR_SIZE_TO_FONT_ = {}, _defineProperty(_AVATAR_SIZE_TO_FONT_, 16, 8), _defineProperty(_AVATAR_SIZE_TO_FONT_, 20, 10), _defineProperty(_AVATAR_SIZE_TO_FONT_, 24, 10), _defineProperty(_AVATAR_SIZE_TO_FONT_, 28, 12), _defineProperty(_AVATAR_SIZE_TO_FONT_, 32, 12), _defineProperty(_AVATAR_SIZE_TO_FONT_, 40, 14), _defineProperty(_AVATAR_SIZE_TO_FONT_, 48, 16), _defineProperty(_AVATAR_SIZE_TO_FONT_, 64, 24), _AVATAR_SIZE_TO_FONT_);
12
12
  export var AVATAR_TYPE_TO_BG_COLOR = {
13
- user: '#1D4ED8',
14
- userGroup: '#15803D',
15
- count: '#E5E7EB'
13
+ user: 'var(--non-semantic-background-blue-muted)',
14
+ userGroup: 'var(--non-semantic-background-blue-muted)',
15
+ count: 'var(--non-semantic-background-grey-muted)'
16
16
  };
@@ -1,16 +1,23 @@
1
1
  @import '../../style/index.less';
2
2
 
3
3
  .ald-avatar.ald-avatar {
4
- background-color: #fff;
5
- color: #1f2937;
6
4
  border: 0;
7
5
  display: inline-flex;
8
6
  align-items: center;
9
7
  justify-content: center;
8
+ background-color: var(--non-semantic-background-blue-muted);
9
+ color: var(--non-semantic-content-blue-primary);
10
+
11
+ &.ald-avatar-default {
12
+ background-color: white;
13
+ }
10
14
  }
11
15
 
12
16
  .ant-avatar-group {
13
17
  .ald-avatar.ald-avatar {
14
- border: 1px solid #fff;
18
+ &.ald-avatar-default {
19
+ background-color: var(--non-semantic-background-blue-muted);
20
+ color: var(--non-semantic-content-blue-primary);
21
+ }
15
22
  }
16
23
  }
@@ -17,34 +17,8 @@ export default function Badge(props) {
17
17
  className = props.className,
18
18
  onClick = props.onClick,
19
19
  rest = _objectWithoutProperties(props, _excluded);
20
- var status2ColorMap = {
21
- success: {
22
- color: '#15803D',
23
- backgroundColor: '#BBF7D0'
24
- },
25
- error: {
26
- color: '#B91C1C',
27
- backgroundColor: '#FECACA'
28
- },
29
- default: {
30
- color: '#374151',
31
- backgroundColor: '#E5E7EB'
32
- },
33
- info: {
34
- color: '#0F59B1',
35
- backgroundColor: '#A9CFFB'
36
- },
37
- warning: {
38
- color: '#A16207',
39
- backgroundColor: '#FEF08A'
40
- }
41
- };
42
20
  return /*#__PURE__*/React.createElement("div", _extends({}, rest, {
43
- className: classNames('ald-badge', (_classNames = {}, _defineProperty(_classNames, 'ald-badge-large', size === 'large'), _defineProperty(_classNames, 'ald-badge-clickable', typeof onClick === 'function'), _classNames), className),
44
- style: {
45
- color: status2ColorMap[status].color,
46
- backgroundColor: status2ColorMap[status].backgroundColor
47
- },
21
+ className: classNames('ald-badge', (_classNames = {}, _defineProperty(_classNames, 'ald-badge-large', size === 'large'), _defineProperty(_classNames, 'ald-badge-clickable', typeof onClick === 'function'), _defineProperty(_classNames, "ald-badge-".concat(status), status), _classNames), className),
48
22
  onClick: onClick
49
23
  }), count);
50
24
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  .ald-badge {
4
4
  display: inline-flex;
5
- padding: var(--alias-padding-25, 2px) var(--alias-padding-75, 6px);
5
+ padding: var(--alias-padding-25) var(--alias-padding-75);
6
6
  align-items: center;
7
7
  min-width: 20px;
8
8
  height: 20px;
@@ -10,6 +10,7 @@
10
10
  font-size: 12px;
11
11
  line-height: 16px;
12
12
  font-weight: 500;
13
+ cursor: default;
13
14
 
14
15
  &.ald-badge-large {
15
16
  font-size: 14px;
@@ -21,4 +22,29 @@
21
22
  &.ald-badge-clickable {
22
23
  cursor: pointer;
23
24
  }
25
+
26
+ &.ald-badge-success {
27
+ color: var(--content-inverted-primary);
28
+ background-color: var(--background-positive-strong);
29
+ }
30
+
31
+ &.ald-badge-error {
32
+ color: var(--content-inverted-primary);
33
+ background-color: var(--background-negative-strong);
34
+ }
35
+
36
+ &.ald-badge-default {
37
+ color: var(--content-inverted-primary);
38
+ background-color: var(--background-neutral-strong);
39
+ }
40
+
41
+ &.ald-badge-info {
42
+ color: var(--content-inverted-primary);
43
+ background-color: var(--background-informative-strong);
44
+ }
45
+
46
+ &.ald-badge-warning {
47
+ color: var(--content-primary);
48
+ background-color: var(--background-warning-strong);
49
+ }
24
50
  }
@@ -10,6 +10,7 @@
10
10
 
11
11
  .ald-loading-spin {
12
12
  animation: spin 1s linear infinite;
13
+ flex-shrink: 0;
13
14
  }
14
15
 
15
16
  @keyframes spin {
@@ -18,7 +18,7 @@
18
18
  text-decoration: none;
19
19
 
20
20
  .ald-icon {
21
- color: #fff;
21
+ color: var(--alias-colors-text-inverse-strong);
22
22
  }
23
23
 
24
24
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
@@ -133,7 +133,7 @@
133
133
  box-shadow: none;
134
134
 
135
135
  .ald-icon {
136
- color: #6b7280;
136
+ color: var(--alias-colors-icon-subtle);
137
137
  }
138
138
 
139
139
  &:focus {
@@ -182,7 +182,7 @@
182
182
  box-shadow: none;
183
183
 
184
184
  .ald-icon {
185
- color: #6b7280;
185
+ color: var(--content-secondary);
186
186
  }
187
187
 
188
188
  &:focus {
@@ -198,7 +198,7 @@
198
198
  border-color: @button-text-border-color-hover;
199
199
 
200
200
  .ald-icon {
201
- color: #2986f4;
201
+ color: var(--alias-colors-text-brand);
202
202
  }
203
203
  }
204
204
 
@@ -209,7 +209,7 @@
209
209
  box-shadow: none;
210
210
 
211
211
  .ald-icon {
212
- color: #2986f4;
212
+ color: var(--alias-colors-text-brand);
213
213
  }
214
214
  }
215
215