@manohub/ui 0.10.5 → 1.0.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 (70) hide show
  1. package/README.md +155 -155
  2. package/dist/components/form/index.js +8 -1
  3. package/dist/styles/components/avatar.css +131 -131
  4. package/dist/styles/components/avatar.tokens.css +24 -24
  5. package/dist/styles/components/badge.css +266 -266
  6. package/dist/styles/components/badge.tokens.css +24 -24
  7. package/dist/styles/components/button.css +460 -460
  8. package/dist/styles/components/capsule.css +128 -128
  9. package/dist/styles/components/capsule.tokens.css +27 -27
  10. package/dist/styles/components/card.css +198 -198
  11. package/dist/styles/components/checkbox.css +145 -145
  12. package/dist/styles/components/checkbox.tokens.css +26 -26
  13. package/dist/styles/components/code-block.css +216 -216
  14. package/dist/styles/components/code-block.tokens.css +40 -40
  15. package/dist/styles/components/collapse.css +62 -62
  16. package/dist/styles/components/collapse.tokens.css +20 -20
  17. package/dist/styles/components/dialog.css +158 -158
  18. package/dist/styles/components/dialog.tokens.css +24 -24
  19. package/dist/styles/components/divider.css +75 -75
  20. package/dist/styles/components/divider.tokens.css +22 -22
  21. package/dist/styles/components/drawer.css +143 -143
  22. package/dist/styles/components/drawer.tokens.css +22 -22
  23. package/dist/styles/components/filter.css +29 -29
  24. package/dist/styles/components/form.css +442 -425
  25. package/dist/styles/components/form.tokens.css +15 -15
  26. package/dist/styles/components/input.css +538 -538
  27. package/dist/styles/components/input.tokens.css +43 -43
  28. package/dist/styles/components/layout.css +200 -200
  29. package/dist/styles/components/list-view.css +244 -244
  30. package/dist/styles/components/loading.css +76 -76
  31. package/dist/styles/components/loading.tokens.css +23 -23
  32. package/dist/styles/components/nav.css +48 -48
  33. package/dist/styles/components/notice.css +153 -153
  34. package/dist/styles/components/notice.tokens.css +17 -17
  35. package/dist/styles/components/notification.css +159 -159
  36. package/dist/styles/components/notification.tokens.css +37 -37
  37. package/dist/styles/components/page.css +473 -473
  38. package/dist/styles/components/pagination.css +303 -303
  39. package/dist/styles/components/pagination.tokens.css +32 -32
  40. package/dist/styles/components/panel.css +77 -77
  41. package/dist/styles/components/query-state.css +88 -88
  42. package/dist/styles/components/radio.css +271 -271
  43. package/dist/styles/components/radio.tokens.css +26 -26
  44. package/dist/styles/components/search.css +34 -34
  45. package/dist/styles/components/select.css +326 -326
  46. package/dist/styles/components/select.tokens.css +44 -44
  47. package/dist/styles/components/skeleton.css +60 -60
  48. package/dist/styles/components/skeleton.tokens.css +27 -27
  49. package/dist/styles/components/steps.css +205 -205
  50. package/dist/styles/components/steps.tokens.css +44 -44
  51. package/dist/styles/components/switch.css +165 -165
  52. package/dist/styles/components/switch.tokens.css +26 -26
  53. package/dist/styles/components/tabbar.css +235 -235
  54. package/dist/styles/components/tabbar.tokens.css +30 -30
  55. package/dist/styles/components/table.css +504 -504
  56. package/dist/styles/components/table.tokens.css +44 -44
  57. package/dist/styles/components/tag.css +127 -127
  58. package/dist/styles/components/tag.tokens.css +24 -24
  59. package/dist/styles/components/toast.css +185 -185
  60. package/dist/styles/components/toast.tokens.css +26 -26
  61. package/dist/styles/components/tooltip.css +89 -89
  62. package/dist/styles/components/tooltip.tokens.css +25 -25
  63. package/dist/styles/components/tree.css +173 -173
  64. package/dist/styles/components/upload.css +151 -151
  65. package/dist/styles/components/upload.tokens.css +27 -27
  66. package/dist/styles/index.css +153 -153
  67. package/dist/styles/operations/collapse.css +84 -84
  68. package/dist/styles/operations/popup.css +193 -193
  69. package/dist/styles/operations/tabs.css +82 -82
  70. package/package.json +62 -62
@@ -1,159 +1,159 @@
1
- /**
2
- * Notification —— 通知卡(带标题 / 正文 / 头像 / 标签 / 操作 / 关闭的结构)。
3
- *
4
- * 出处:`@aihub/theme` 的 `playground/components/notification.html` 与 `src/components/toast.css`
5
- * 里的 `--mh-notice-*` 令牌(面板 430 宽 / 最小高 100 / 正文最大高 180 / 圆角 10 / 左边线 6px;
6
- * 语义淡底五档;标题 16px Te01、正文 14px Te04、关闭槽 10x10 Te07;内距 上下右 16、左 24)。
7
- * ⚠️ 关闭字形按**组件内联 12** 渲染(规范注记的 10x10 登记为偏差;关闭位是贴小控件的字形,
8
- * 不并入常规图标档 —— 改前静态样例页按规范画 10、与组件不一致,已同步为 12)。
9
- *
10
- * **与 `Notice` 的判据**(两者都在本仓,别互相顶替):
11
- * - `Notice`(`.mh-notice*`)= **条状提示**(对齐规范 alert 族):一行话 + 可选操作,不带头像 / 标签 / 关闭;
12
- * - 本件(`.mh-notification*`)= **通知卡**:有标题行(含关闭位)、可带头像与标签、多行正文。
13
- * 类名刻意不同前缀 —— 规范里两族的类名都叫 `.notice*`,本仓若照抄就会出现两套 `.mh-notice*` 互撞。
14
- *
15
- * **左边线用绝对定位伪元素画,不用 `border-left` + `border-image`**:后者会吃掉圆角(规范踩过这个坑)。
16
- * 语义八档的线色是规范 04 档**渐变**,色板编号写在令牌注释里;底色复用本仓语义弱底令牌(一处定义)。
17
- *
18
- * **标签位与操作位不重复实现**:标签用标记族(只读走 `.mh-badge`,要可关闭走 `.mh-tag`),
19
- * 操作用按钮族(`.mh-button--sm`)—— 本件只给它们的容器与间距。
20
- */
21
- .mh-notification {
22
- position: relative;
23
- overflow: hidden; /* 让伪元素画的左边线跟着圆角走 */
24
- display: flex;
25
- gap: var(--ui-space-3);
26
- width: var(--ui-notification-width);
27
- min-height: var(--ui-notification-min-height);
28
- padding: var(--ui-notification-pad) var(--ui-notification-pad) var(--ui-notification-pad)
29
- var(--ui-notification-pad-left);
30
- border-radius: var(--ui-notification-radius);
31
- background: var(--ui-info-weak); /* 缺省档 = info 淡底(规范通知淡底) */
32
- box-shadow: var(--ui-shadow-elevated);
33
- }
34
- .mh-notification::before {
35
- content: '';
36
- position: absolute;
37
- inset: 0 auto 0 0;
38
- width: var(--ui-notification-line-width);
39
- background: var(--ui-notification-line);
40
- }
41
-
42
- /* 语义档:底色与左边线成对换(`submit` 与 `success` 共用底色,只换线 —— 与规范同构) */
43
- .mh-notification--info {
44
- background: var(--ui-info-weak);
45
- --ui-notification-line: var(--ui-notification-line-info);
46
- }
47
- .mh-notification--success {
48
- background: var(--ui-success-weak);
49
- --ui-notification-line: var(--ui-notification-line-success);
50
- }
51
- .mh-notification--warning {
52
- background: var(--ui-warning-weak);
53
- --ui-notification-line: var(--ui-notification-line-warning);
54
- }
55
- .mh-notification--error {
56
- background: var(--ui-error-weak);
57
- --ui-notification-line: var(--ui-notification-line-error);
58
- }
59
- .mh-notification--submit {
60
- background: var(--ui-success-weak);
61
- --ui-notification-line: var(--ui-notification-line-submit);
62
- }
63
-
64
- /* 正文列:有头像时占余宽 */
65
- .mh-notification__body {
66
- flex: 1;
67
- min-width: 0;
68
- }
69
-
70
- /* 标题行:标题左、关闭位右(`space-between` 让关闭位贴右) */
71
- .mh-notification__title {
72
- display: flex;
73
- align-items: center;
74
- justify-content: space-between;
75
- gap: var(--ui-space-2);
76
- margin: 0;
77
- font-size: var(--ui-font-heading); /* 规范 16px */
78
- font-weight: var(--ui-weight-medium);
79
- color: var(--ui-base-content);
80
- }
81
- .mh-notification__close {
82
- display: inline-flex;
83
- align-items: center;
84
- justify-content: center;
85
- flex: none;
86
- width: var(--ui-notification-close-size);
87
- height: var(--ui-notification-close-size);
88
- padding: 0;
89
- border: none;
90
- background: transparent;
91
- color: var(--ui-base-content-muted);
92
- cursor: pointer;
93
- }
94
- .mh-notification__close:hover,
95
- .mh-notification__close.is-hover {
96
- color: var(--ui-base-content);
97
- }
98
- .mh-notification__close:focus-visible {
99
- outline: 2px solid var(--ui-primary);
100
- outline-offset: 2px;
101
- }
102
- .mh-notification__text {
103
- max-height: var(--ui-notification-max-height);
104
- margin: var(--ui-space-1) 0 0;
105
- font-size: var(--ui-font-body); /* 规范 14px */
106
- line-height: var(--ui-line-body);
107
- color: var(--ui-base-content-muted); /* Te04 */
108
- }
109
-
110
- /* 头像位(静态页 / 无 Avatar 时的兜底字标) */
111
- .mh-notification__avatar {
112
- display: inline-flex;
113
- align-items: center;
114
- justify-content: center;
115
- flex: none;
116
- width: var(--ui-notification-avatar-size);
117
- height: var(--ui-notification-avatar-size);
118
- border-radius: var(--ui-radius-full);
119
- background: var(--ui-primary-weak);
120
- color: var(--ui-primary);
121
- font-size: var(--ui-font-caption);
122
- }
123
-
124
- /* 操作位与标签位(标签/按钮的面各归其族,这里只给容器与间距) */
125
- .mh-notification__actions {
126
- display: inline-flex;
127
- gap: var(--ui-space-2);
128
- margin-top: var(--ui-space-1);
129
- }
130
- .mh-notification__tags {
131
- display: inline-flex;
132
- align-items: center;
133
- gap: var(--ui-space-1);
134
- margin-top: var(--ui-space-1);
135
- }
136
-
137
- /* 叠放(多条通知纵向排) */
138
- .mh-notification + .mh-notification {
139
- margin-top: var(--ui-space-2);
140
- }
141
-
142
- /* ===== 语义图标 / 标题行占位 / 关闭位图标 ===== */
143
- .mh-notification__icon {
144
- flex: none;
145
- /* 语义图标是常规图标:尺寸取全局图标档(改前硬写 16) */
146
- width: var(--ui-font-icon);
147
- height: var(--ui-font-icon);
148
- }
149
- /* 标题文字占满剩余宽度:关闭位自然贴到行尾(不靠 padding 硬挤) */
150
- .mh-notification__title-text {
151
- flex: 1;
152
- min-width: 0;
153
- overflow: hidden;
154
- text-overflow: ellipsis;
155
- white-space: nowrap;
156
- }
157
- .mh-notification__close-icon {
158
- flex: none;
159
- }
1
+ /**
2
+ * Notification —— 通知卡(带标题 / 正文 / 头像 / 标签 / 操作 / 关闭的结构)。
3
+ *
4
+ * 出处:`@aihub/theme` 的 `playground/components/notification.html` 与 `src/components/toast.css`
5
+ * 里的 `--mh-notice-*` 令牌(面板 430 宽 / 最小高 100 / 正文最大高 180 / 圆角 10 / 左边线 6px;
6
+ * 语义淡底五档;标题 16px Te01、正文 14px Te04、关闭槽 10x10 Te07;内距 上下右 16、左 24)。
7
+ * ⚠️ 关闭字形按**组件内联 12** 渲染(规范注记的 10x10 登记为偏差;关闭位是贴小控件的字形,
8
+ * 不并入常规图标档 —— 改前静态样例页按规范画 10、与组件不一致,已同步为 12)。
9
+ *
10
+ * **与 `Notice` 的判据**(两者都在本仓,别互相顶替):
11
+ * - `Notice`(`.mh-notice*`)= **条状提示**(对齐规范 alert 族):一行话 + 可选操作,不带头像 / 标签 / 关闭;
12
+ * - 本件(`.mh-notification*`)= **通知卡**:有标题行(含关闭位)、可带头像与标签、多行正文。
13
+ * 类名刻意不同前缀 —— 规范里两族的类名都叫 `.notice*`,本仓若照抄就会出现两套 `.mh-notice*` 互撞。
14
+ *
15
+ * **左边线用绝对定位伪元素画,不用 `border-left` + `border-image`**:后者会吃掉圆角(规范踩过这个坑)。
16
+ * 语义八档的线色是规范 04 档**渐变**,色板编号写在令牌注释里;底色复用本仓语义弱底令牌(一处定义)。
17
+ *
18
+ * **标签位与操作位不重复实现**:标签用标记族(只读走 `.mh-badge`,要可关闭走 `.mh-tag`),
19
+ * 操作用按钮族(`.mh-button--sm`)—— 本件只给它们的容器与间距。
20
+ */
21
+ .mh-notification {
22
+ position: relative;
23
+ overflow: hidden; /* 让伪元素画的左边线跟着圆角走 */
24
+ display: flex;
25
+ gap: var(--ui-space-3);
26
+ width: var(--ui-notification-width);
27
+ min-height: var(--ui-notification-min-height);
28
+ padding: var(--ui-notification-pad) var(--ui-notification-pad) var(--ui-notification-pad)
29
+ var(--ui-notification-pad-left);
30
+ border-radius: var(--ui-notification-radius);
31
+ background: var(--ui-info-weak); /* 缺省档 = info 淡底(规范通知淡底) */
32
+ box-shadow: var(--ui-shadow-elevated);
33
+ }
34
+ .mh-notification::before {
35
+ content: '';
36
+ position: absolute;
37
+ inset: 0 auto 0 0;
38
+ width: var(--ui-notification-line-width);
39
+ background: var(--ui-notification-line);
40
+ }
41
+
42
+ /* 语义档:底色与左边线成对换(`submit` 与 `success` 共用底色,只换线 —— 与规范同构) */
43
+ .mh-notification--info {
44
+ background: var(--ui-info-weak);
45
+ --ui-notification-line: var(--ui-notification-line-info);
46
+ }
47
+ .mh-notification--success {
48
+ background: var(--ui-success-weak);
49
+ --ui-notification-line: var(--ui-notification-line-success);
50
+ }
51
+ .mh-notification--warning {
52
+ background: var(--ui-warning-weak);
53
+ --ui-notification-line: var(--ui-notification-line-warning);
54
+ }
55
+ .mh-notification--error {
56
+ background: var(--ui-error-weak);
57
+ --ui-notification-line: var(--ui-notification-line-error);
58
+ }
59
+ .mh-notification--submit {
60
+ background: var(--ui-success-weak);
61
+ --ui-notification-line: var(--ui-notification-line-submit);
62
+ }
63
+
64
+ /* 正文列:有头像时占余宽 */
65
+ .mh-notification__body {
66
+ flex: 1;
67
+ min-width: 0;
68
+ }
69
+
70
+ /* 标题行:标题左、关闭位右(`space-between` 让关闭位贴右) */
71
+ .mh-notification__title {
72
+ display: flex;
73
+ align-items: center;
74
+ justify-content: space-between;
75
+ gap: var(--ui-space-2);
76
+ margin: 0;
77
+ font-size: var(--ui-font-heading); /* 规范 16px */
78
+ font-weight: var(--ui-weight-medium);
79
+ color: var(--ui-base-content);
80
+ }
81
+ .mh-notification__close {
82
+ display: inline-flex;
83
+ align-items: center;
84
+ justify-content: center;
85
+ flex: none;
86
+ width: var(--ui-notification-close-size);
87
+ height: var(--ui-notification-close-size);
88
+ padding: 0;
89
+ border: none;
90
+ background: transparent;
91
+ color: var(--ui-base-content-muted);
92
+ cursor: pointer;
93
+ }
94
+ .mh-notification__close:hover,
95
+ .mh-notification__close.is-hover {
96
+ color: var(--ui-base-content);
97
+ }
98
+ .mh-notification__close:focus-visible {
99
+ outline: 2px solid var(--ui-primary);
100
+ outline-offset: 2px;
101
+ }
102
+ .mh-notification__text {
103
+ max-height: var(--ui-notification-max-height);
104
+ margin: var(--ui-space-1) 0 0;
105
+ font-size: var(--ui-font-body); /* 规范 14px */
106
+ line-height: var(--ui-line-body);
107
+ color: var(--ui-base-content-muted); /* Te04 */
108
+ }
109
+
110
+ /* 头像位(静态页 / 无 Avatar 时的兜底字标) */
111
+ .mh-notification__avatar {
112
+ display: inline-flex;
113
+ align-items: center;
114
+ justify-content: center;
115
+ flex: none;
116
+ width: var(--ui-notification-avatar-size);
117
+ height: var(--ui-notification-avatar-size);
118
+ border-radius: var(--ui-radius-full);
119
+ background: var(--ui-primary-weak);
120
+ color: var(--ui-primary);
121
+ font-size: var(--ui-font-caption);
122
+ }
123
+
124
+ /* 操作位与标签位(标签/按钮的面各归其族,这里只给容器与间距) */
125
+ .mh-notification__actions {
126
+ display: inline-flex;
127
+ gap: var(--ui-space-2);
128
+ margin-top: var(--ui-space-1);
129
+ }
130
+ .mh-notification__tags {
131
+ display: inline-flex;
132
+ align-items: center;
133
+ gap: var(--ui-space-1);
134
+ margin-top: var(--ui-space-1);
135
+ }
136
+
137
+ /* 叠放(多条通知纵向排) */
138
+ .mh-notification + .mh-notification {
139
+ margin-top: var(--ui-space-2);
140
+ }
141
+
142
+ /* ===== 语义图标 / 标题行占位 / 关闭位图标 ===== */
143
+ .mh-notification__icon {
144
+ flex: none;
145
+ /* 语义图标是常规图标:尺寸取全局图标档(改前硬写 16) */
146
+ width: var(--ui-font-icon);
147
+ height: var(--ui-font-icon);
148
+ }
149
+ /* 标题文字占满剩余宽度:关闭位自然贴到行尾(不靠 padding 硬挤) */
150
+ .mh-notification__title-text {
151
+ flex: 1;
152
+ min-width: 0;
153
+ overflow: hidden;
154
+ text-overflow: ellipsis;
155
+ white-space: nowrap;
156
+ }
157
+ .mh-notification__close-icon {
158
+ flex: none;
159
+ }
@@ -1,37 +1,37 @@
1
- /**
2
- * notification —— 单件令牌(**基础值**)。
3
- *
4
- * 本件自己的几何 / 尺寸 / 色彩槽位;只服务本件,故不随主题进 `@manohub/theme`。
5
- *
6
- * ## 抽出说明
7
- * 本文件从面文件里抽出(原先混写在 `notification.css` 顶部):这些是**基础值**,锚在
8
- * `[data-manohub-ui]` —— 跨包唯一作用域锚,由入口层无条件写在应用容器上,因此**任何落在
9
- * 容器里的分件都取得到值**,不再依赖「声明在某个组件根类上」这条脆弱假设
10
- * (历史症状:跨件消费的 `--ui-*-group-*` 取不到值,组内间距变 0)。
11
- *
12
- * ⚠️ `.mh-<件>--<档>` 这类**档位改写**留在面文件的修饰符块里 —— 它们靠「同一元素上两个
13
- * 选择器改写同一个令牌」生效,搬到本文件会让档位失效。
14
- * ⚠️ 新增组件要登记两处:本文件 + `src/styles/index.css`(见其文件头「五处齐备」)。
15
- */
16
- [data-manohub-ui] {
17
- /* 单件令牌(几何与线色) */
18
- --ui-notification-width: 430px; /* 规范标准宽 */
19
- --ui-notification-min-height: 100px;
20
- --ui-notification-max-height: 180px; /* 正文区最大高 */
21
- /* 10:规范对「通知条」给的实测值就是 r10(见 `@aihub/theme` 的 `components/toast.css`)。
22
- **有意不复用 `--ui-radius-md`** —— 该档在 default 主题是 **10**、在 farris 主题是 **8**
23
- (规范的卡片圆角),引用它会让通知卡在两套主题下不是同一个体量。 */
24
- --ui-notification-radius: 10px;
25
- --ui-notification-line-width: 6px; /* 规范左边线实测 6px */
26
- --ui-notification-pad: var(--ui-space-4); /* 上下右 16 */
27
- --ui-notification-pad-left: var(--ui-space-6); /* 左 24:让开 6px 线后与内容左缘对齐 */
28
- --ui-notification-line: var(--ui-primary); /* 缺省档 = info 线 */
29
- /* 语义左边线:规范 04 档渐变(色板编号见注释,逐条有出处) */
30
- --ui-notification-line-info: linear-gradient(135deg, #657cff, #4190ff); /* Focus04 常规 */
31
- --ui-notification-line-submit: linear-gradient(135deg, #12bfd3, #41d5b9); /* Submit04 提交 */
32
- --ui-notification-line-success: linear-gradient(135deg, #3ca78d, #7bca8b); /* Success04 成功 */
33
- --ui-notification-line-warning: linear-gradient(135deg, #fc8249, #fe9539); /* Warning04 警告 */
34
- --ui-notification-line-error: linear-gradient(135deg, #e55875, #ff7878); /* Danger04 失败 */
35
- --ui-notification-close-size: 10px; /* 规范关闭槽 10x10(Te07) */
36
- --ui-notification-avatar-size: 36px;
37
- }
1
+ /**
2
+ * notification —— 单件令牌(**基础值**)。
3
+ *
4
+ * 本件自己的几何 / 尺寸 / 色彩槽位;只服务本件,故不随主题进 `@manohub/theme`。
5
+ *
6
+ * ## 抽出说明
7
+ * 本文件从面文件里抽出(原先混写在 `notification.css` 顶部):这些是**基础值**,锚在
8
+ * `[data-manohub-ui]` —— 跨包唯一作用域锚,由入口层无条件写在应用容器上,因此**任何落在
9
+ * 容器里的分件都取得到值**,不再依赖「声明在某个组件根类上」这条脆弱假设
10
+ * (历史症状:跨件消费的 `--ui-*-group-*` 取不到值,组内间距变 0)。
11
+ *
12
+ * ⚠️ `.mh-<件>--<档>` 这类**档位改写**留在面文件的修饰符块里 —— 它们靠「同一元素上两个
13
+ * 选择器改写同一个令牌」生效,搬到本文件会让档位失效。
14
+ * ⚠️ 新增组件要登记两处:本文件 + `src/styles/index.css`(见其文件头「五处齐备」)。
15
+ */
16
+ [data-manohub-ui] {
17
+ /* 单件令牌(几何与线色) */
18
+ --ui-notification-width: 430px; /* 规范标准宽 */
19
+ --ui-notification-min-height: 100px;
20
+ --ui-notification-max-height: 180px; /* 正文区最大高 */
21
+ /* 10:规范对「通知条」给的实测值就是 r10(见 `@aihub/theme` 的 `components/toast.css`)。
22
+ **有意不复用 `--ui-radius-md`** —— 该档在 default 主题是 **10**、在 farris 主题是 **8**
23
+ (规范的卡片圆角),引用它会让通知卡在两套主题下不是同一个体量。 */
24
+ --ui-notification-radius: 10px;
25
+ --ui-notification-line-width: 6px; /* 规范左边线实测 6px */
26
+ --ui-notification-pad: var(--ui-space-4); /* 上下右 16 */
27
+ --ui-notification-pad-left: var(--ui-space-6); /* 左 24:让开 6px 线后与内容左缘对齐 */
28
+ --ui-notification-line: var(--ui-primary); /* 缺省档 = info 线 */
29
+ /* 语义左边线:规范 04 档渐变(色板编号见注释,逐条有出处) */
30
+ --ui-notification-line-info: linear-gradient(135deg, #657cff, #4190ff); /* Focus04 常规 */
31
+ --ui-notification-line-submit: linear-gradient(135deg, #12bfd3, #41d5b9); /* Submit04 提交 */
32
+ --ui-notification-line-success: linear-gradient(135deg, #3ca78d, #7bca8b); /* Success04 成功 */
33
+ --ui-notification-line-warning: linear-gradient(135deg, #fc8249, #fe9539); /* Warning04 警告 */
34
+ --ui-notification-line-error: linear-gradient(135deg, #e55875, #ff7878); /* Danger04 失败 */
35
+ --ui-notification-close-size: 10px; /* 规范关闭槽 10x10(Te07) */
36
+ --ui-notification-avatar-size: 36px;
37
+ }