@yunlefun/vue 0.8.0 → 0.8.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.
@@ -97,8 +97,8 @@ const model = defineModel<string | string[]>()
97
97
  }
98
98
 
99
99
  .ylf-accordion__trigger[data-state='open'] {
100
- color: var(--ylf-c-brand, #2563eb);
101
- background: color-mix(in srgb, var(--ylf-c-brand-soft, #eff6ff) 60%, transparent);
100
+ color: var(--ylf-c-brand, #006aeb);
101
+ background: color-mix(in srgb, var(--ylf-c-brand-soft, #f0f7ff) 60%, transparent);
102
102
  }
103
103
 
104
104
  .ylf-accordion__trigger[data-disabled] {
@@ -109,7 +109,7 @@ const model = defineModel<string | string[]>()
109
109
  .ylf-accordion__trigger:focus-visible {
110
110
  outline: var(--ylf-ring-width, 2px) solid transparent;
111
111
  outline-offset: -2px;
112
- box-shadow: inset 0 0 0 var(--ylf-ring-width, 2px) var(--ylf-ring-color, var(--ylf-c-brand, #2563eb));
112
+ box-shadow: inset 0 0 0 var(--ylf-ring-width, 2px) var(--ylf-ring-color, var(--ylf-c-brand, #006aeb));
113
113
  }
114
114
 
115
115
  .ylf-accordion__chevron {
@@ -67,8 +67,8 @@ const titleId = useId()
67
67
  width: 52px;
68
68
  height: 52px;
69
69
  border-radius: var(--ylf-radius, 14px);
70
- background: var(--ylf-c-brand-soft, #eff6ff);
71
- color: var(--ylf-c-brand, #2563eb);
70
+ background: var(--ylf-c-brand-soft, #f0f7ff);
71
+ color: var(--ylf-c-brand, #006aeb);
72
72
  }
73
73
  .ylf-agent-card__avatar svg {
74
74
  width: 32px;
@@ -41,16 +41,16 @@ withDefaults(defineProps<{
41
41
  }
42
42
  .ylf-agent-status[data-state='connecting'],
43
43
  .ylf-agent-status[data-state='working'] {
44
- --agent-color: var(--ylf-c-brand, #2563eb);
45
- --agent-surface: var(--ylf-c-brand-soft, #eff6ff);
44
+ --agent-color: var(--ylf-c-brand, #006aeb);
45
+ --agent-surface: var(--ylf-c-brand-soft, #f0f7ff);
46
46
  }
47
47
  .ylf-agent-status[data-state='waiting'] {
48
48
  --agent-color: var(--ylf-status-warning-text, #854d0e);
49
49
  --agent-surface: var(--ylf-status-warning-soft, #fef9c3);
50
50
  }
51
51
  .ylf-agent-status[data-state='error'] {
52
- --agent-color: var(--ylf-status-danger-text, #9a3412);
53
- --agent-surface: var(--ylf-status-danger-soft, #ffede6);
52
+ --agent-color: var(--ylf-status-danger-text, #b91c1c);
53
+ --agent-surface: var(--ylf-status-danger-soft, #fef2f2);
54
54
  }
55
55
  .ylf-agent-status__mark {
56
56
  flex: none;
@@ -186,7 +186,7 @@ async function open(event: MouseEvent, target: AiPromptTarget) {
186
186
  --_border: var(--ylf-ai-border, var(--ylf-c-border, #e2e8f0));
187
187
  --_surface: var(--ylf-ai-surface, var(--ylf-c-surface, #fff));
188
188
  --_soft: var(--ylf-ai-background, var(--ylf-c-bg-soft, #f1f5f9));
189
- --_brand: var(--ylf-ai-accent, var(--ylf-c-brand, #2563eb));
189
+ --_brand: var(--ylf-ai-accent, var(--ylf-c-brand, #006aeb));
190
190
  color: var(--_ink);
191
191
  container: ylf-ai / inline-size;
192
192
  }
@@ -32,7 +32,7 @@ withDefaults(defineProps<{
32
32
  overflow: hidden;
33
33
  border-radius: 50%;
34
34
  user-select: none;
35
- background: var(--ylf-c-brand-soft, #eff6ff);
35
+ background: var(--ylf-c-brand-soft, #f0f7ff);
36
36
  }
37
37
 
38
38
  .ylf-avatar--sm {
@@ -66,6 +66,6 @@ withDefaults(defineProps<{
66
66
  width: 100%;
67
67
  height: 100%;
68
68
  font-weight: 600;
69
- color: var(--ylf-c-brand, #2563eb);
69
+ color: var(--ylf-c-brand, #006aeb);
70
70
  }
71
71
  </style>
@@ -48,7 +48,7 @@ const statusPath = computed(() => statusPaths[props.variant])
48
48
 
49
49
  <style>
50
50
  .ylf-badge {
51
- --_badge-tone: var(--ylf-c-brand, #2563eb);
51
+ --_badge-tone: var(--ylf-c-brand, #006aeb);
52
52
 
53
53
  display: inline-flex;
54
54
  align-items: center;
@@ -73,12 +73,12 @@ const statusPath = computed(() => statusPaths[props.variant])
73
73
  }
74
74
 
75
75
  .ylf-badge--accent {
76
- --_color: var(--ylf-accent, var(--ylf-c-brand, #2563eb));
77
- --_soft: var(--ylf-accent-soft, var(--ylf-c-brand-soft, #eff6ff));
78
- --_text: var(--ylf-accent-text, var(--ylf-c-brand, #2563eb));
76
+ --_color: var(--ylf-accent, var(--ylf-c-brand, #006aeb));
77
+ --_soft: var(--ylf-accent-soft, var(--ylf-c-brand-soft, #f0f7ff));
78
+ --_text: var(--ylf-accent-text, var(--ylf-c-brand, #006aeb));
79
79
 
80
80
  color: var(--ylf-accent-on, var(--ylf-c-text-on-accent, #fff));
81
- background: var(--ylf-accent, var(--ylf-c-brand, #2563eb));
81
+ background: var(--ylf-accent, var(--ylf-c-brand, #006aeb));
82
82
  border-color: transparent;
83
83
  }
84
84
 
@@ -113,7 +113,7 @@ const statusPath = computed(() => statusPaths[props.variant])
113
113
  --_soft: var(--ylf-status-success-soft, var(--ylf-c-bg-soft, #f1f5f9));
114
114
  --_text: var(--ylf-status-success-text, #166534);
115
115
 
116
- color: var(--ylf-status-success-on, #124324);
116
+ color: var(--ylf-status-success-on, #052e16);
117
117
  background: var(--ylf-status-success, #22c55e);
118
118
  border-color: transparent;
119
119
  }
@@ -129,12 +129,12 @@ const statusPath = computed(() => statusPaths[props.variant])
129
129
  }
130
130
 
131
131
  .ylf-badge--danger {
132
- --_color: var(--ylf-status-danger, #ff6b4a);
132
+ --_color: var(--ylf-status-danger, #dc2626);
133
133
  --_soft: var(--ylf-status-danger-soft, var(--ylf-c-bg-soft, #f1f5f9));
134
- --_text: var(--ylf-status-danger-text, #9a3412);
134
+ --_text: var(--ylf-status-danger-text, #b91c1c);
135
135
 
136
- color: var(--ylf-status-danger-on, #551b0a);
137
- background: var(--ylf-status-danger, #ff6b4a);
136
+ color: var(--ylf-status-danger-on, #fff);
137
+ background: var(--ylf-status-danger, #dc2626);
138
138
  border-color: transparent;
139
139
  }
140
140
 
@@ -143,7 +143,7 @@ const statusPath = computed(() => statusPaths[props.variant])
143
143
  --_soft: var(--ylf-status-info-soft, var(--ylf-c-bg-soft, #f1f5f9));
144
144
  --_text: var(--ylf-status-info-text, #155e75);
145
145
 
146
- color: var(--ylf-status-info-on, #083e4f);
146
+ color: var(--ylf-status-info-on, #032530);
147
147
  background: var(--ylf-status-info, #06b6d4);
148
148
  border-color: transparent;
149
149
  }
@@ -54,7 +54,7 @@ const emit = defineEmits(['click'])
54
54
  }
55
55
 
56
56
  .ylf-bottom-menu-item.active {
57
- color: var(--ylf-c-brand, #2563eb);
57
+ color: var(--ylf-c-brand, #006aeb);
58
58
  }
59
59
 
60
60
  @media (prefers-reduced-motion: reduce) {
@@ -92,7 +92,7 @@ function onClick(e: MouseEvent) {
92
92
  <style>
93
93
  .ylf-button {
94
94
  --_radius: var(--ylf-control-radius, var(--ylf-radius, 14px));
95
- --_fill: var(--ylf-c-brand, #2563eb);
95
+ --_fill: var(--ylf-c-brand, #006aeb);
96
96
 
97
97
  box-sizing: border-box;
98
98
  max-width: 100%;
@@ -131,11 +131,11 @@ function onClick(e: MouseEvent) {
131
131
  }
132
132
 
133
133
  .ylf-button:focus-visible {
134
- outline: var(--ylf-ring-width, 2px) solid var(--ylf-ring-color, var(--ylf-c-brand, #2563eb));
134
+ outline: var(--ylf-ring-width, 2px) solid var(--ylf-ring-color, var(--ylf-c-brand, #006aeb));
135
135
  outline-offset: 4px;
136
136
  box-shadow:
137
- 0 0 0 3px var(--ylf-c-brand-soft, #eff6ff),
138
- 0 0 0 5px var(--ylf-ring-color, var(--ylf-c-brand, #2563eb));
137
+ 0 0 0 3px var(--ylf-c-brand-soft, #f0f7ff),
138
+ 0 0 0 5px var(--ylf-ring-color, var(--ylf-c-brand, #006aeb));
139
139
  }
140
140
 
141
141
  /* --- sizes --- */
@@ -194,18 +194,18 @@ function onClick(e: MouseEvent) {
194
194
  /* Opt-in brand entrance; everyday primary actions keep their solid appearance. */
195
195
  .ylf-button--hero {
196
196
  color: var(--ylf-hero-foreground, #fff);
197
- background: var(--ylf-hero-background, linear-gradient(115deg, #2563eb, #0f74b8 58%, #0369a1));
197
+ background: var(--ylf-hero-background, linear-gradient(115deg, #006aeb, #005ed6 58%, #0051bd));
198
198
  border-color: var(--ylf-hero-border, rgb(255 255 255 / 0.16));
199
- box-shadow: var(--ylf-hero-shadow, inset 0 1px 0 rgb(255 255 255 / 0.24), 0 12px 26px -14px rgb(3 105 161 / 0.58));
199
+ box-shadow: var(--ylf-hero-shadow, inset 0 1px 0 rgb(255 255 255 / 0.24), 0 12px 26px -14px rgb(0 81 189 / 0.58));
200
200
  }
201
201
 
202
202
  @media (hover: hover) and (pointer: fine) {
203
203
  .ylf-button--hero:hover:not(.is-disabled, .is-loading, :disabled) {
204
- background: var(--ylf-hero-background-hover, linear-gradient(115deg, #1d4ed8, #096ba9 58%, #075985));
204
+ background: var(--ylf-hero-background-hover, linear-gradient(115deg, #0057c7, #004db3 58%, #004199));
205
205
  box-shadow: var(
206
206
  --ylf-hero-shadow-hover,
207
207
  inset 0 1px 0 rgb(255 255 255 / 0.3),
208
- 0 14px 30px -14px rgb(3 105 161 / 0.58)
208
+ 0 14px 30px -14px rgb(0 81 189 / 0.58)
209
209
  );
210
210
  transform: translateY(var(--ylf-hover-lift, -1px));
211
211
  }
@@ -214,13 +214,13 @@ function onClick(e: MouseEvent) {
214
214
  .ylf-button--hero:focus-visible {
215
215
  outline: var(--ylf-ring-width, 2px) solid var(--ylf-hero-foreground, #fff);
216
216
  outline-offset: 3px;
217
- box-shadow: 0 0 0 5px var(--ylf-hero-end, #0369a1);
217
+ box-shadow: 0 0 0 5px var(--ylf-hero-end, #0051bd);
218
218
  }
219
219
 
220
220
  /* --- primary:晴空蓝实色(主操作,单色不花) --- */
221
221
  .ylf-button--primary {
222
222
  color: var(--ylf-c-text-on-accent, #fff);
223
- background: var(--ylf-c-brand, #2563eb);
223
+ background: var(--ylf-c-brand, #006aeb);
224
224
  border-color: color-mix(in srgb, var(--_fill) 85%, #000);
225
225
  box-shadow:
226
226
  inset 0 1px 0 rgba(255, 255, 255, 0.22),
@@ -230,7 +230,7 @@ function onClick(e: MouseEvent) {
230
230
 
231
231
  @media (hover: hover) and (pointer: fine) {
232
232
  .ylf-button--primary:hover:not(.is-disabled, .is-loading, :disabled) {
233
- background: var(--ylf-c-brand-hover, #1d4ed8);
233
+ background: var(--ylf-c-brand-hover, #0057c7);
234
234
  transform: translateY(var(--ylf-hover-lift, -1px));
235
235
  box-shadow:
236
236
  inset 0 1px 0 rgba(255, 255, 255, 0.22),
@@ -242,23 +242,25 @@ function onClick(e: MouseEvent) {
242
242
  /* 强调色来自共享上下文;实色上的文字与填充色成组维护。 */
243
243
  .ylf-button--accent,
244
244
  .ylf-button--aurora {
245
- --_fill: var(--ylf-accent, var(--ylf-c-brand, #2563eb));
246
- --_color: var(--ylf-accent, var(--ylf-c-brand, #2563eb));
247
- --_soft: var(--ylf-accent-soft, var(--ylf-c-brand-soft, #eff6ff));
248
- --_text: var(--ylf-accent-text, var(--ylf-c-brand, #2563eb));
245
+ --_fill: var(--ylf-accent, var(--ylf-c-brand, #006aeb));
246
+ --_color: var(--ylf-accent, var(--ylf-c-brand, #006aeb));
247
+ --_soft: var(--ylf-accent-soft, var(--ylf-c-brand-soft, #f0f7ff));
248
+ --_text: var(--ylf-accent-text, var(--ylf-c-brand, #006aeb));
249
249
 
250
250
  color: var(--ylf-accent-on, var(--ylf-c-text-on-accent, #fff));
251
- background: var(--ylf-accent, var(--ylf-c-brand, #2563eb));
252
- border-color: color-mix(in srgb, var(--_fill) 82%, #000);
251
+ background: var(--ylf-accent, var(--ylf-c-brand, #006aeb));
252
+ border-color: color-mix(in srgb, var(--_fill) 85%, #000);
253
253
  box-shadow:
254
- inset 0 1px 0 rgba(255, 255, 255, 0.2),
255
- 0 2px 0 color-mix(in srgb, var(--_fill) 78%, #000);
254
+ inset 0 1px 0 rgba(255, 255, 255, 0.22),
255
+ 0 2px 0 color-mix(in srgb, var(--_fill) 80%, #000),
256
+ 0 6px 14px -6px color-mix(in srgb, var(--_fill) 32%, transparent);
256
257
  }
257
258
 
258
259
  @media (hover: hover) and (pointer: fine) {
259
260
  .ylf-button--accent:hover:not(.is-disabled, .is-loading, :disabled),
260
261
  .ylf-button--aurora:hover:not(.is-disabled, .is-loading, :disabled) {
261
- background: var(--ylf-accent-hover, var(--ylf-c-brand-hover, #1d4ed8));
262
+ background: var(--ylf-accent-hover, var(--ylf-c-brand-hover, #0057c7));
263
+ transform: translateY(var(--ylf-hover-lift, -1px));
262
264
  }
263
265
  }
264
266
 
@@ -266,23 +268,23 @@ function onClick(e: MouseEvent) {
266
268
  .ylf-button--secondary {
267
269
  color: var(--ylf-c-text, #0f172a);
268
270
  background: var(--ylf-c-surface, #fff);
269
- border-color: var(--ylf-c-border-strong, #cbd5e1);
271
+ border-color: var(--ylf-c-border-control, #7d8ca0);
270
272
  box-shadow: var(--ylf-shadow-control);
271
273
  }
272
274
 
273
275
  @media (hover: hover) and (pointer: fine) {
274
276
  .ylf-button--secondary:hover:not(.is-disabled, .is-loading, :disabled) {
275
- color: var(--ylf-c-brand, #2563eb);
276
- border-color: var(--ylf-c-brand, #2563eb);
277
+ color: var(--ylf-c-brand, #006aeb);
278
+ border-color: var(--ylf-c-brand, #006aeb);
277
279
  transform: translateY(var(--ylf-hover-lift, -1px));
278
280
  }
279
281
  }
280
282
 
281
283
  /* --- soft:柔色填充 --- */
282
284
  .ylf-button--soft {
283
- color: var(--ylf-c-brand, #2563eb);
284
- background: var(--ylf-c-brand-soft, #eff6ff);
285
- border-color: color-mix(in srgb, var(--ylf-c-brand, #2563eb) 12%, transparent);
285
+ color: var(--ylf-c-brand, #006aeb);
286
+ background: var(--ylf-c-brand-soft, #f0f7ff);
287
+ border-color: color-mix(in srgb, var(--ylf-c-brand, #006aeb) 12%, transparent);
286
288
  }
287
289
 
288
290
  @media (hover: hover) and (pointer: fine) {
@@ -300,14 +302,14 @@ function onClick(e: MouseEvent) {
300
302
 
301
303
  @media (hover: hover) and (pointer: fine) {
302
304
  .ylf-button--ghost:hover:not(.is-disabled, .is-loading, :disabled) {
303
- color: var(--ylf-c-brand, #2563eb);
304
- background: var(--ylf-c-brand-soft, #eff6ff);
305
+ color: var(--ylf-c-brand, #006aeb);
306
+ background: var(--ylf-c-brand-soft, #f0f7ff);
305
307
  }
306
308
  }
307
309
 
308
310
  .ylf-button--ghost[aria-pressed='true'] {
309
- color: var(--ylf-c-brand, #2563eb);
310
- background: var(--ylf-c-brand-soft, #eff6ff);
311
+ color: var(--ylf-c-brand, #006aeb);
312
+ background: var(--ylf-c-brand-soft, #f0f7ff);
311
313
  }
312
314
 
313
315
  /* --- 语义色 --- */
@@ -316,7 +318,7 @@ function onClick(e: MouseEvent) {
316
318
  --_soft: var(--ylf-status-success-soft, var(--ylf-c-bg-soft, #f1f5f9));
317
319
  --_text: var(--ylf-status-success-text, #166534);
318
320
 
319
- color: var(--ylf-status-success-on, #124324);
321
+ color: var(--ylf-status-success-on, #052e16);
320
322
  background: var(--ylf-status-success, #22c55e);
321
323
  }
322
324
 
@@ -330,25 +332,28 @@ function onClick(e: MouseEvent) {
330
332
  }
331
333
 
332
334
  .ylf-button--danger {
333
- --_color: var(--ylf-status-danger, #ff6b4a);
335
+ --_color: var(--ylf-status-danger, #dc2626);
334
336
  --_soft: var(--ylf-status-danger-soft, var(--ylf-c-bg-soft, #f1f5f9));
335
- --_text: var(--ylf-status-danger-text, #9a3412);
337
+ --_text: var(--ylf-status-danger-text, #b91c1c);
336
338
 
337
- color: var(--ylf-status-danger-on, #551b0a);
338
- background: var(--ylf-status-danger, #ff6b4a);
339
+ color: var(--ylf-status-danger-on, #fff);
340
+ background: var(--ylf-status-danger, #dc2626);
339
341
  }
340
342
 
341
343
  @media (hover: hover) and (pointer: fine) {
342
344
  .ylf-button--success:hover:not(.is-disabled, .is-loading, :disabled) {
343
- background: var(--ylf-status-success-hover, #4ade80);
345
+ background: var(--ylf-status-success-hover, #18a84e);
346
+ transform: translateY(var(--ylf-hover-lift, -1px));
344
347
  }
345
348
 
346
349
  .ylf-button--warning:hover:not(.is-disabled, .is-loading, :disabled) {
347
350
  background: var(--ylf-status-warning-hover, #eab308);
351
+ transform: translateY(var(--ylf-hover-lift, -1px));
348
352
  }
349
353
 
350
354
  .ylf-button--danger:hover:not(.is-disabled, .is-loading, :disabled) {
351
- background: var(--ylf-status-danger-hover, #ff856b);
355
+ background: var(--ylf-status-danger-hover, #b91c1c);
356
+ transform: translateY(var(--ylf-hover-lift, -1px));
352
357
  }
353
358
  }
354
359
 
@@ -374,7 +379,7 @@ function onClick(e: MouseEvent) {
374
379
  .is-soft,
375
380
  .is-outline
376
381
  ):focus-visible {
377
- outline: var(--ylf-ring-width, 2px) solid var(--ylf-ring-color, var(--ylf-c-brand, #2563eb));
382
+ outline: var(--ylf-ring-width, 2px) solid var(--ylf-ring-color, var(--ylf-c-brand, #006aeb));
378
383
  outline-offset: 3px;
379
384
  }
380
385
 
@@ -66,12 +66,12 @@ withDefaults(defineProps<{
66
66
 
67
67
  .ylf-card--accent,
68
68
  .ylf-card--gradient {
69
- border-top: 3px solid var(--ylf-accent, var(--ylf-c-brand, #2563eb));
69
+ border-top: 3px solid var(--ylf-accent, var(--ylf-c-brand, #006aeb));
70
70
  }
71
71
 
72
72
  .ylf-card--tinted {
73
- background: var(--ylf-accent-soft, var(--ylf-c-brand-soft, #eff6ff));
74
- border-color: color-mix(in srgb, var(--ylf-accent, var(--ylf-c-brand, #2563eb)) 35%, var(--ylf-c-surface, #fff));
73
+ background: var(--ylf-accent-soft, var(--ylf-c-brand-soft, #f0f7ff));
74
+ border-color: color-mix(in srgb, var(--ylf-accent, var(--ylf-c-brand, #006aeb)) 35%, var(--ylf-c-surface, #fff));
75
75
  box-shadow: none;
76
76
  }
77
77
 
@@ -48,7 +48,7 @@ watch(checked, () => {
48
48
  display: inline-grid;
49
49
  place-items: center;
50
50
  padding: 0;
51
- border: 2px solid var(--ylf-c-border-strong, #cbd5e1);
51
+ border: 2px solid var(--ylf-c-border-control, #7d8ca0);
52
52
  border-radius: 7px;
53
53
  background: var(--ylf-c-surface, #fff);
54
54
  box-shadow: var(--ylf-shadow-control);
@@ -65,14 +65,14 @@ watch(checked, () => {
65
65
 
66
66
  @media (hover: hover) and (pointer: fine) {
67
67
  .ylf-checkbox:hover:not([data-disabled]) {
68
- border-color: var(--ylf-c-brand, #2563eb);
68
+ border-color: var(--ylf-c-brand, #006aeb);
69
69
  }
70
70
  }
71
71
 
72
72
  .ylf-checkbox:focus-visible {
73
- outline: var(--ylf-ring-width, 2px) solid var(--ylf-ring-color, var(--ylf-c-brand, #2563eb));
73
+ outline: var(--ylf-ring-width, 2px) solid var(--ylf-ring-color, var(--ylf-c-brand, #006aeb));
74
74
  outline-offset: 3px;
75
- box-shadow: 0 0 0 3px var(--ylf-c-brand-soft, #eff6ff);
75
+ box-shadow: 0 0 0 3px var(--ylf-c-brand-soft, #f0f7ff);
76
76
  }
77
77
 
78
78
  .ylf-checkbox:active:not([data-disabled]) {
@@ -88,8 +88,8 @@ watch(checked, () => {
88
88
 
89
89
  .ylf-checkbox[data-state='checked'],
90
90
  .ylf-checkbox[data-state='indeterminate'] {
91
- background: var(--ylf-c-brand, #2563eb);
92
- border-color: var(--ylf-c-brand, #2563eb);
91
+ background: var(--ylf-c-brand, #006aeb);
92
+ border-color: var(--ylf-c-brand, #006aeb);
93
93
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
94
94
  }
95
95
 
@@ -182,7 +182,7 @@ const descriptionProps = computed(() => hasDescription.value
182
182
  }
183
183
 
184
184
  .ylf-dialog__close:focus-visible {
185
- outline: var(--ylf-ring-width, 2px) solid var(--ylf-ring-color, var(--ylf-c-brand, #2563eb));
185
+ outline: var(--ylf-ring-width, 2px) solid var(--ylf-ring-color, var(--ylf-c-brand, #006aeb));
186
186
  outline-offset: 2px;
187
187
  }
188
188
 
@@ -101,9 +101,9 @@ const open = defineModel<boolean>('open', { default: false })
101
101
  }
102
102
 
103
103
  .ylf-menu__item[data-highlighted] {
104
- background: var(--ylf-c-brand-soft, #eff6ff);
105
- color: var(--ylf-c-brand, #2563eb);
106
- box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ylf-c-brand, #2563eb) 12%, transparent);
104
+ background: var(--ylf-c-brand-soft, #f0f7ff);
105
+ color: var(--ylf-c-brand, #006aeb);
106
+ box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ylf-c-brand, #006aeb) 12%, transparent);
107
107
  }
108
108
 
109
109
  .ylf-menu__item[data-disabled] {
@@ -18,7 +18,7 @@ const model = defineModel<string>({ default: '' })
18
18
  min-width: 0;
19
19
  height: var(--ylf-control-h, 44px);
20
20
  padding: 0 14px;
21
- border: 1px solid var(--ylf-c-border-strong, #cbd5e1);
21
+ border: 1px solid var(--ylf-c-border-control, #7d8ca0);
22
22
  border-radius: var(--ylf-control-radius, var(--ylf-radius, 14px));
23
23
  background: var(--ylf-c-surface, #fff);
24
24
  color: var(--ylf-c-text, #0f172a);
@@ -32,17 +32,17 @@ const model = defineModel<string>({ default: '' })
32
32
  color: var(--ylf-c-placeholder, var(--ylf-c-text-3, #5a697e));
33
33
  }
34
34
  .ylf-input:hover:not(:disabled, :read-only) {
35
- border-color: var(--ylf-c-brand, #2563eb);
35
+ border-color: var(--ylf-c-brand, #006aeb);
36
36
  }
37
37
  .ylf-input:focus-visible {
38
- outline: var(--ylf-ring-width, 2px) solid var(--ylf-ring-color, var(--ylf-c-brand, #2563eb));
38
+ outline: var(--ylf-ring-width, 2px) solid var(--ylf-ring-color, var(--ylf-c-brand, #006aeb));
39
39
  outline-offset: 2px;
40
40
  }
41
41
  .ylf-input[aria-invalid='true'] {
42
- border-color: var(--ylf-status-danger-text, #9a3412);
42
+ border-color: var(--ylf-status-danger-text, #b91c1c);
43
43
  }
44
44
  .ylf-input[aria-invalid='true']:focus-visible {
45
- outline-color: var(--ylf-status-danger-text, #9a3412);
45
+ outline-color: var(--ylf-status-danger-text, #b91c1c);
46
46
  }
47
47
  .ylf-input:disabled {
48
48
  opacity: var(--ylf-disabled-opacity, 0.48);
@@ -44,7 +44,7 @@ const viewBox = `0 0 ${mark.width || icons.width || 16} ${mark.height || icons.h
44
44
  flex: none;
45
45
  display: grid;
46
46
  place-items: center;
47
- color: var(--ylf-c-brand, #2563eb);
47
+ color: var(--ylf-c-brand, #006aeb);
48
48
  }
49
49
 
50
50
  .ylf-logo__mark svg {
@@ -60,14 +60,14 @@ const indicator = useNavigationIndicator(root, {
60
60
  width: 16px;
61
61
  height: 2px;
62
62
  border-radius: var(--ylf-radius-pill, 999px);
63
- background: var(--ylf-c-brand, #2563eb);
63
+ background: var(--ylf-c-brand, #006aeb);
64
64
  pointer-events: none;
65
65
  transition: transform var(--ylf-duration-normal, 240ms) var(--ylf-ease-standard, cubic-bezier(0.2, 0, 0, 1));
66
66
  }
67
67
 
68
68
  .ylf-navigation[data-orientation='vertical'] {
69
69
  --_ylf-nav-justify: flex-start;
70
- --_ylf-nav-active-bg: var(--ylf-c-brand-soft, #eff6ff);
70
+ --_ylf-nav-active-bg: var(--ylf-c-brand-soft, #f0f7ff);
71
71
  --_ylf-nav-indicator: none;
72
72
 
73
73
  flex-direction: column;
@@ -57,14 +57,14 @@ withDefaults(defineProps<{
57
57
 
58
58
  /* Focus stays inside the target so it cannot overlap a neighboring state. */
59
59
  .ylf-navigation-link:focus-visible {
60
- outline: var(--ylf-ring-width, 2px) solid var(--ylf-ring-color, var(--ylf-c-brand, #2563eb));
60
+ outline: var(--ylf-ring-width, 2px) solid var(--ylf-ring-color, var(--ylf-c-brand, #006aeb));
61
61
  outline-offset: -2px;
62
62
  box-shadow: none;
63
63
  }
64
64
 
65
65
  .ylf-navigation-link[data-active] {
66
66
  background: var(--_ylf-nav-active-bg, transparent);
67
- color: var(--ylf-c-brand, #2563eb);
67
+ color: var(--ylf-c-brand, #006aeb);
68
68
  }
69
69
 
70
70
  .ylf-navigation-link[data-active]::after {
@@ -81,7 +81,7 @@ withDefaults(defineProps<{
81
81
 
82
82
  .ylf-navigation-link[data-active]:hover {
83
83
  background: var(--ylf-c-bg-soft, #f1f5f9);
84
- color: var(--ylf-c-brand, #2563eb);
84
+ color: var(--ylf-c-brand, #006aeb);
85
85
  }
86
86
 
87
87
  @media (prefers-reduced-motion: reduce) {
@@ -47,7 +47,7 @@ withDefaults(defineProps<{
47
47
 
48
48
  /* Focus stays inside the target so it cannot overlap a neighboring state. */
49
49
  .ylf-navigation-trigger:focus-visible {
50
- outline: var(--ylf-ring-width, 2px) solid var(--ylf-ring-color, var(--ylf-c-brand, #2563eb));
50
+ outline: var(--ylf-ring-width, 2px) solid var(--ylf-ring-color, var(--ylf-c-brand, #006aeb));
51
51
  outline-offset: -2px;
52
52
  box-shadow: none;
53
53
  }
@@ -56,7 +56,7 @@ const percent = computed(() => safeValue.value === null
56
56
  width: 100%;
57
57
  height: 100%;
58
58
  border-radius: var(--ylf-radius-pill, 999px);
59
- background: var(--ylf-c-brand, #2563eb);
59
+ background: var(--ylf-c-brand, #006aeb);
60
60
  transition: transform 0.4s var(--ylf-ease-bounce, cubic-bezier(0.34, 1.56, 0.64, 1));
61
61
  }
62
62
 
@@ -77,7 +77,7 @@ const percent = computed(() => safeValue.value === null
77
77
 
78
78
  .ylf-progress--accent .ylf-progress__indicator,
79
79
  .ylf-progress--aurora .ylf-progress__indicator {
80
- background: var(--ylf-accent, var(--ylf-c-brand, #2563eb));
80
+ background: var(--ylf-accent, var(--ylf-c-brand, #006aeb));
81
81
  }
82
82
 
83
83
  @media (prefers-reduced-motion: reduce) {
@@ -108,7 +108,7 @@ function selectFocusedRadio(event: KeyboardEvent) {
108
108
  height: 20px;
109
109
  display: inline-grid;
110
110
  place-items: center;
111
- border: 2px solid var(--ylf-c-border-strong, #cbd5e1);
111
+ border: 2px solid var(--ylf-c-border-control, #7d8ca0);
112
112
  border-radius: 50%;
113
113
  background: var(--ylf-c-surface, #fff);
114
114
  box-shadow: var(--ylf-shadow-control);
@@ -121,7 +121,7 @@ function selectFocusedRadio(event: KeyboardEvent) {
121
121
 
122
122
  @media (hover: hover) and (pointer: fine) {
123
123
  .ylf-radio:hover:not([data-disabled]) .ylf-radio__control {
124
- border-color: var(--ylf-c-brand, #2563eb);
124
+ border-color: var(--ylf-c-brand, #006aeb);
125
125
  }
126
126
  }
127
127
 
@@ -130,13 +130,13 @@ function selectFocusedRadio(event: KeyboardEvent) {
130
130
  }
131
131
 
132
132
  .ylf-radio:focus-visible .ylf-radio__control {
133
- box-shadow: 0 0 0 3px var(--ylf-c-brand-soft, #eff6ff);
134
- outline: var(--ylf-ring-width, 2px) solid var(--ylf-ring-color, var(--ylf-c-brand, #2563eb));
133
+ box-shadow: 0 0 0 3px var(--ylf-c-brand-soft, #f0f7ff);
134
+ outline: var(--ylf-ring-width, 2px) solid var(--ylf-ring-color, var(--ylf-c-brand, #006aeb));
135
135
  outline-offset: 3px;
136
136
  }
137
137
 
138
138
  .ylf-radio[data-state='checked'] .ylf-radio__control {
139
- border-color: var(--ylf-c-brand, #2563eb);
139
+ border-color: var(--ylf-c-brand, #006aeb);
140
140
  }
141
141
 
142
142
  .ylf-radio[data-disabled] {
@@ -149,7 +149,7 @@ function selectFocusedRadio(event: KeyboardEvent) {
149
149
  width: 10px;
150
150
  height: 10px;
151
151
  border-radius: 50%;
152
- background: var(--ylf-c-brand, #2563eb);
152
+ background: var(--ylf-c-brand, #006aeb);
153
153
  }
154
154
 
155
155
  .ylf-radio:active:not([data-disabled]) .ylf-radio__control {
@@ -168,7 +168,7 @@ onBeforeUnmount(() => resizeObserver?.disconnect())
168
168
  }
169
169
 
170
170
  .ylf-segmented__item[aria-pressed='true'] {
171
- color: var(--ylf-c-brand, #2563eb);
171
+ color: var(--ylf-c-brand, #006aeb);
172
172
  background: var(--ylf-c-surface, #fff);
173
173
  border-color: var(--ylf-c-border, #e2e8f0);
174
174
  box-shadow: var(--ylf-shadow-control);
@@ -204,7 +204,7 @@ onBeforeUnmount(() => resizeObserver?.disconnect())
204
204
  .ylf-segmented__item:focus-visible {
205
205
  position: relative;
206
206
  z-index: var(--ylf-z-base, 1);
207
- outline: var(--ylf-ring-width, 2px) solid var(--ylf-ring-color, var(--ylf-c-brand, #2563eb));
207
+ outline: var(--ylf-ring-width, 2px) solid var(--ylf-ring-color, var(--ylf-c-brand, #006aeb));
208
208
  outline-offset: 2px;
209
209
  }
210
210
 
@@ -92,7 +92,7 @@ const viewport = useTemplateRef<HTMLElement>('viewport')
92
92
  line-height: 1.5;
93
93
  color: var(--ylf-c-text, #0f172a);
94
94
  background: var(--ylf-c-surface, #fff);
95
- border: 1px solid var(--ylf-c-border-strong, #cbd5e1);
95
+ border: 1px solid var(--ylf-c-border-control, #7d8ca0);
96
96
  border-radius: var(--ylf-control-radius, var(--ylf-radius, 14px));
97
97
  box-shadow: var(--ylf-shadow-control);
98
98
  cursor: pointer;
@@ -107,22 +107,22 @@ const viewport = useTemplateRef<HTMLElement>('viewport')
107
107
 
108
108
  @media (hover: hover) and (pointer: fine) {
109
109
  .ylf-select__trigger:hover:not([data-disabled]) {
110
- border-color: var(--ylf-c-brand, #2563eb);
110
+ border-color: var(--ylf-c-brand, #006aeb);
111
111
  }
112
112
  }
113
113
 
114
114
  .ylf-select__trigger[data-state='open'] {
115
- border-color: var(--ylf-c-brand, #2563eb);
115
+ border-color: var(--ylf-c-brand, #006aeb);
116
116
  box-shadow:
117
117
  var(--ylf-shadow-control),
118
- 0 0 0 3px var(--ylf-c-brand-soft, #eff6ff);
118
+ 0 0 0 3px var(--ylf-c-brand-soft, #f0f7ff);
119
119
  }
120
120
 
121
121
  .ylf-select__trigger:focus-visible {
122
- outline: var(--ylf-ring-width, 2px) solid var(--ylf-ring-color, var(--ylf-c-brand, #2563eb));
122
+ outline: var(--ylf-ring-width, 2px) solid var(--ylf-ring-color, var(--ylf-c-brand, #006aeb));
123
123
  outline-offset: 2px;
124
- border-color: var(--ylf-c-brand, #2563eb);
125
- box-shadow: 0 0 0 3px var(--ylf-c-brand-soft, #eff6ff);
124
+ border-color: var(--ylf-c-brand, #006aeb);
125
+ box-shadow: 0 0 0 3px var(--ylf-c-brand-soft, #f0f7ff);
126
126
  }
127
127
 
128
128
  .ylf-select__trigger[data-disabled] {
@@ -223,9 +223,9 @@ const viewport = useTemplateRef<HTMLElement>('viewport')
223
223
  }
224
224
 
225
225
  .ylf-select__item[data-highlighted] {
226
- background: var(--ylf-c-brand-soft, #eff6ff);
227
- color: var(--ylf-c-brand, #2563eb);
228
- box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ylf-c-brand, #2563eb) 12%, transparent);
226
+ background: var(--ylf-c-brand-soft, #f0f7ff);
227
+ color: var(--ylf-c-brand, #006aeb);
228
+ box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ylf-c-brand, #006aeb) 12%, transparent);
229
229
  }
230
230
 
231
231
  .ylf-select__item[data-disabled] {
@@ -235,7 +235,7 @@ const viewport = useTemplateRef<HTMLElement>('viewport')
235
235
 
236
236
  .ylf-select__check {
237
237
  display: inline-flex;
238
- color: var(--ylf-c-brand, #2563eb);
238
+ color: var(--ylf-c-brand, #006aeb);
239
239
  }
240
240
 
241
241
  .ylf-select__check :where(svg, i, span) {
@@ -45,13 +45,13 @@ withDefaults(defineProps<{
45
45
  }
46
46
 
47
47
  .ylf-separator--brand {
48
- background: var(--ylf-c-brand, #2563eb);
48
+ background: var(--ylf-c-brand, #006aeb);
49
49
  }
50
50
 
51
51
  .ylf-separator--accent {
52
52
  --_separator-size: 2px;
53
53
 
54
- background: var(--ylf-accent, var(--ylf-c-brand, #2563eb));
54
+ background: var(--ylf-accent, var(--ylf-c-brand, #006aeb));
55
55
  }
56
56
 
57
57
  .ylf-separator--spectrum {
@@ -60,14 +60,14 @@ withDefaults(defineProps<{
60
60
  border-radius: var(--ylf-radius-pill, 999px);
61
61
  background: linear-gradient(
62
62
  90deg,
63
- var(--ylf-spectrum-stops, var(--ylf-palette-blue, #2563eb), var(--ylf-palette-sun, #facc15))
63
+ var(--ylf-spectrum-stops, var(--ylf-palette-blue, #006aeb), var(--ylf-palette-sun, #facc15))
64
64
  );
65
65
  }
66
66
 
67
67
  .ylf-separator--spectrum.ylf-separator--vertical {
68
68
  background: linear-gradient(
69
69
  180deg,
70
- var(--ylf-spectrum-stops, var(--ylf-palette-blue, #2563eb), var(--ylf-palette-sun, #facc15))
70
+ var(--ylf-spectrum-stops, var(--ylf-palette-blue, #006aeb), var(--ylf-palette-sun, #facc15))
71
71
  );
72
72
  }
73
73
  </style>
@@ -73,7 +73,7 @@ const model = defineModel<number[]>({
73
73
  position: absolute;
74
74
  height: 100%;
75
75
  border-radius: var(--ylf-radius-pill, 999px);
76
- background: var(--ylf-c-brand, #2563eb);
76
+ background: var(--ylf-c-brand, #006aeb);
77
77
  }
78
78
 
79
79
  .ylf-slider__thumb {
@@ -83,7 +83,7 @@ const model = defineModel<number[]>({
83
83
  height: 18px;
84
84
  border-radius: 50%;
85
85
  background: var(--ylf-c-surface, #fff);
86
- border: 2px solid var(--ylf-c-brand, #2563eb);
86
+ border: 2px solid var(--ylf-c-brand, #006aeb);
87
87
  box-shadow: var(--ylf-shadow-sm, 0 2px 8px -2px rgba(15, 23, 42, 0.12));
88
88
  cursor: grab;
89
89
  transition:
@@ -93,20 +93,20 @@ const model = defineModel<number[]>({
93
93
 
94
94
  @media (hover: hover) and (pointer: fine) {
95
95
  .ylf-slider__thumb:hover {
96
- box-shadow: 0 0 0 6px var(--ylf-c-brand-soft, #eff6ff);
96
+ box-shadow: 0 0 0 6px var(--ylf-c-brand-soft, #f0f7ff);
97
97
  }
98
98
  }
99
99
 
100
100
  .ylf-slider__thumb:focus-visible {
101
- outline: var(--ylf-ring-width, 2px) solid var(--ylf-ring-color, var(--ylf-c-brand, #2563eb));
101
+ outline: var(--ylf-ring-width, 2px) solid var(--ylf-ring-color, var(--ylf-c-brand, #006aeb));
102
102
  outline-offset: 2px;
103
- box-shadow: 0 0 0 4px var(--ylf-c-brand-soft, #eff6ff);
103
+ box-shadow: 0 0 0 4px var(--ylf-c-brand-soft, #f0f7ff);
104
104
  }
105
105
 
106
106
  .ylf-slider__thumb:active {
107
107
  cursor: grabbing;
108
108
  scale: 1.2;
109
- box-shadow: 0 0 0 6px var(--ylf-c-brand-soft, #eff6ff);
109
+ box-shadow: 0 0 0 6px var(--ylf-c-brand-soft, #f0f7ff);
110
110
  }
111
111
 
112
112
  @media (pointer: coarse) {
@@ -49,7 +49,7 @@ const checked = defineModel<boolean>({ default: false })
49
49
  background: var(--ylf-c-bg-mute, #e2e8f0);
50
50
  box-shadow:
51
51
  var(--ylf-shadow-inset),
52
- inset 0 0 0 1px var(--ylf-c-edge, rgba(30, 64, 115, 0.12));
52
+ inset 0 0 0 1px var(--ylf-c-border-control, #7d8ca0);
53
53
  cursor: pointer;
54
54
  -webkit-tap-highlight-color: transparent;
55
55
  transition:
@@ -63,11 +63,11 @@ const checked = defineModel<boolean>({ default: false })
63
63
  }
64
64
 
65
65
  .ylf-switch:focus-visible {
66
- outline: var(--ylf-ring-width, 2px) solid var(--ylf-ring-color, var(--ylf-c-brand, #2563eb));
66
+ outline: var(--ylf-ring-width, 2px) solid var(--ylf-ring-color, var(--ylf-c-brand, #006aeb));
67
67
  outline-offset: 2px;
68
68
  box-shadow:
69
- 0 0 0 3px var(--ylf-c-brand-soft, #eff6ff),
70
- 0 0 0 5px var(--ylf-ring-color, var(--ylf-c-brand, #2563eb));
69
+ 0 0 0 3px var(--ylf-c-brand-soft, #f0f7ff),
70
+ 0 0 0 5px var(--ylf-ring-color, var(--ylf-c-brand, #006aeb));
71
71
  }
72
72
 
73
73
  .ylf-switch[data-disabled] {
@@ -77,13 +77,14 @@ const checked = defineModel<boolean>({ default: false })
77
77
 
78
78
  /* on 态:晴空蓝主色 */
79
79
  .ylf-switch[data-state='checked'] {
80
- background: var(--ylf-c-brand, #2563eb);
80
+ background: var(--ylf-c-brand, #006aeb);
81
+ box-shadow: var(--ylf-shadow-inset);
81
82
  }
82
83
 
83
84
  /* 选中的强调轨道,前景与填充色成组。 */
84
85
  .ylf-switch--accent[data-state='checked'],
85
86
  .ylf-switch--aurora[data-state='checked'] {
86
- background: var(--ylf-accent, var(--ylf-c-brand, #2563eb));
87
+ background: var(--ylf-accent, var(--ylf-c-brand, #006aeb));
87
88
  }
88
89
 
89
90
  .ylf-switch:active:not([data-disabled]) {
@@ -78,8 +78,8 @@ const model = defineModel<string>()
78
78
  }
79
79
 
80
80
  .ylf-tabs__trigger[data-state='active'] {
81
- color: var(--ylf-c-brand, #2563eb);
82
- background: color-mix(in srgb, var(--ylf-c-brand-soft, #eff6ff) 65%, transparent);
81
+ color: var(--ylf-c-brand, #006aeb);
82
+ background: color-mix(in srgb, var(--ylf-c-brand-soft, #f0f7ff) 65%, transparent);
83
83
  }
84
84
 
85
85
  .ylf-tabs__trigger[data-disabled] {
@@ -88,10 +88,10 @@ const model = defineModel<string>()
88
88
  }
89
89
 
90
90
  .ylf-tabs__trigger:focus-visible {
91
- outline: var(--ylf-ring-width, 2px) solid var(--ylf-ring-color, var(--ylf-c-brand, #2563eb));
91
+ outline: var(--ylf-ring-width, 2px) solid var(--ylf-ring-color, var(--ylf-c-brand, #006aeb));
92
92
  outline-offset: -3px;
93
93
  border-radius: var(--ylf-radius-sm, 10px);
94
- box-shadow: 0 0 0 3px var(--ylf-c-brand-soft, #eff6ff);
94
+ box-shadow: 0 0 0 3px var(--ylf-c-brand-soft, #f0f7ff);
95
95
  }
96
96
 
97
97
  .ylf-tabs__indicator {
@@ -101,8 +101,8 @@ const model = defineModel<string>()
101
101
  width: var(--reka-tabs-indicator-size);
102
102
  height: 2.5px;
103
103
  border-radius: var(--ylf-radius-pill, 999px);
104
- background: var(--ylf-c-brand, #2563eb);
105
- box-shadow: 0 1px 4px color-mix(in srgb, var(--ylf-c-brand, #2563eb) 25%, transparent);
104
+ background: var(--ylf-c-brand, #006aeb);
105
+ box-shadow: 0 1px 4px color-mix(in srgb, var(--ylf-c-brand, #006aeb) 25%, transparent);
106
106
  transform: translateX(var(--reka-tabs-indicator-position));
107
107
  transition:
108
108
  transform var(--ylf-duration-slow, 480ms)
@@ -11,11 +11,11 @@ title_zh: 徽标
11
11
  - `featured`:精选、推荐等品牌标记,明黄星芒、浅黄底和中性文字。
12
12
  - `accent`:高饱和实色,默认晴空蓝,使用 `tone` 选择明黄、青、珊瑚橙、桃粉或鲜绿。
13
13
  - `neutral`:已归档、草稿等普通信息,无需暗示成功或错误。
14
- - `success` / `warning` / `danger` / `info`:分别使用鲜绿、明黄、珊瑚橙与青色实底,配套状态图形和文字。
14
+ - `success` / `warning` / `danger` / `info`:分别使用鲜绿、明黄、警戒红与青色实底,配套状态图形和文字。
15
15
 
16
16
  徽标使用系统正文字体,默认 12px、500 字重,无阴影、发光或持续动画。前景、底色和描边使用配套 token,随明暗主题调整。使用简短明确的文字描述状态,颜色辅助识别。
17
17
 
18
- 晴空蓝实底在浅色主题使用白字、深色主题使用深蓝字;其余纯色标签使用同色相深色文字,保证各组填充与前景的对比度。状态与强调色共享 token,详见[色彩与组件](/guide/colors#状态也来自同一套色板)。
18
+ 晴空蓝实底在浅色主题使用白字、深色主题使用深蓝字;错误警戒红在明暗主题下均使用白字;其余纯色标签使用同色相深色文字,保证各组填充与前景的对比度。详见[色彩与组件](/guide/colors#状态也来自同一套色板)。
19
19
 
20
20
  徽标用于展示信息;需要点击筛选或执行操作时,使用按钮等交互组件。
21
21
 
@@ -5,11 +5,11 @@ title_zh: 按钮
5
5
 
6
6
  主操作默认使用晴空蓝实色;品牌展示可选择 `accent` 纯色变体,配合 `tone` 指定强调色。描边、柔色和透明按钮用于次级操作,成功、提醒与危险变体表达对应的状态语义。
7
7
 
8
- 状态按钮与徽标使用同一套多巴胺色板:成功为鲜绿、提醒为明黄、危险为珊瑚橙,文字使用配套的同色相深色 token。
8
+ 状态按钮与徽标共享语义色:成功为鲜绿、提醒为明黄、危险为独立警戒红(白字),避免与珊瑚橙的活动入口混淆。
9
9
 
10
10
  ## 品牌入口
11
11
 
12
- 首页或活动区的主入口使用 `variant="hero" size="xl"`:深蓝到青蓝渐变、白色文案、柔光投影,以及 56px 点击高度。明暗主题均保留深色渐变和白字,不使用偏亮的天空装饰渐变作为按钮底色。悬停时加深颜色,键盘聚焦使用双色外圈,减少动态效果时关闭位移。
12
+ 首页或活动区的主入口使用 `variant="hero" size="xl"`:由晴空蓝延展至深海蓝的同色系渐变、白色文案、柔光投影,以及 56px 点击高度。明暗主题均保留深色渐变和白字,不使用偏亮的天空装饰渐变作为按钮底色。悬停时加深颜色,键盘聚焦使用双色外圈,减少动态效果时关闭位移。
13
13
 
14
14
  每个区块保留一个 hero 主入口。日常保存、确认和导航使用 `primary` 或次级变体。`tone` 和 `appearance` 不改变 hero 的专用配色;颜色与阴影统一由 `--ylf-hero-*` 提供,业务可保留自己的路由行为封装。
15
15
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@yunlefun/vue",
3
3
  "type": "module",
4
- "version": "0.8.0",
4
+ "version": "0.8.1",
5
5
  "description": "Vue components and Nuxt integration for YunLeFun Design",
6
6
  "author": "YunLeFun",
7
7
  "license": "MIT",