@qw-ui/tokens 0.3.0-next.4 → 0.3.0-next.6
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.
- package/README.md +7 -4
- package/dist/color-architecture.d.ts +153 -3
- package/dist/derive/index.d.ts +2 -2
- package/dist/derive/live-css.d.ts +1 -1
- package/dist/derive/reference.d.ts +73 -13
- package/dist/derive/semantic.d.ts +17 -1
- package/dist/design-doc.d.ts +1 -1
- package/dist/figma/color-contract.d.ts +2 -0
- package/dist/figma/color-snapshot.d.ts +4 -0
- package/dist/index.d.ts +6 -5
- package/dist/index.js +863 -241
- package/dist/index.js.map +1 -1
- package/dist/schema.d.ts +3 -3
- package/dist/tokens.css +115 -94
- package/dist/tokens.json +209 -94
- package/dist/tokens.live.css +134 -10
- package/dist/tokens.ts +211 -131
- package/package.json +1 -1
- package/dist/compat/build.d.ts +0 -14
- package/dist/compat/color.d.ts +0 -8
- package/dist/compat/index.d.ts +0 -5
- package/dist/compat/schema.d.ts +0 -114
package/dist/schema.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
/**
|
|
3
|
-
* SeedSchema — T1 Seed
|
|
3
|
+
* SeedSchema — T1 Seed 与兼容输入的运行时校验(RFC 0001 §2.1,v4 修订)。
|
|
4
4
|
*
|
|
5
5
|
* 五大类目 color/size/typography/motion/effect,字段结构对齐
|
|
6
|
-
* packages/tokens/design/seed.tokens.json
|
|
7
|
-
*
|
|
6
|
+
* packages/tokens/design/seed.tokens.json。部分已不再驱动 canonical T2 的字段暂时
|
|
7
|
+
* 保留为兼容输入;新 Reference 不得为了形式完整继续扩充伪 Seed。
|
|
8
8
|
*
|
|
9
9
|
* v3 变化:
|
|
10
10
|
* - 颜色全部结构化(DTCG Color module,支持 srgb/oklch)。
|
package/dist/tokens.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @qw-ui/tokens — 由 seed derive()
|
|
1
|
+
/* @qw-ui/tokens — 由 seed derive() 生成,请勿手改。 */
|
|
2
2
|
:root {
|
|
3
3
|
--qw-ref-color-brand-50: #F2F6FF;
|
|
4
4
|
--qw-ref-color-brand-100: #E6ECFF;
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
--qw-ref-color-black-a90: rgba(34, 34, 34, 0.9);
|
|
45
45
|
--qw-ref-color-black-a100: #222222;
|
|
46
46
|
--qw-ref-color-black-base: #222222;
|
|
47
|
+
--qw-ref-color-black-pure: #000000;
|
|
47
48
|
--qw-ref-color-white-50: #F6F6F6;
|
|
48
49
|
--qw-ref-color-white-100: #EBEBEB;
|
|
49
50
|
--qw-ref-color-white-200: #D7D7D7;
|
|
@@ -275,6 +276,7 @@
|
|
|
275
276
|
--qw-ref-size-radius-sm: 4px;
|
|
276
277
|
--qw-ref-size-radius-md: 8px;
|
|
277
278
|
--qw-ref-size-radius-lg: 14px;
|
|
279
|
+
--qw-ref-size-radius-xl: 16px;
|
|
278
280
|
--qw-ref-size-radius-full: 9999px;
|
|
279
281
|
--qw-ref-size-control-size-sm: 32px;
|
|
280
282
|
--qw-ref-size-control-size-md: 40px;
|
|
@@ -282,7 +284,20 @@
|
|
|
282
284
|
--qw-ref-size-icon-size-sm: 16px;
|
|
283
285
|
--qw-ref-size-icon-size-md: 20px;
|
|
284
286
|
--qw-ref-size-icon-size-lg: 24px;
|
|
285
|
-
--qw-ref-size-
|
|
287
|
+
--qw-ref-size-stroke-width-half: 0.5px;
|
|
288
|
+
--qw-ref-size-stroke-width-base: 1px;
|
|
289
|
+
--qw-ref-size-stroke-width-double: 2px;
|
|
290
|
+
--qw-ref-size-stroke-width-triple: 3px;
|
|
291
|
+
--qw-ref-size-action-control-height-2xs: 24px;
|
|
292
|
+
--qw-ref-size-action-control-height-xs: 28px;
|
|
293
|
+
--qw-ref-size-action-control-height-sm: 32px;
|
|
294
|
+
--qw-ref-size-action-control-height-md: 36px;
|
|
295
|
+
--qw-ref-size-action-control-height-lg: 42px;
|
|
296
|
+
--qw-ref-size-action-control-height-xl: 50px;
|
|
297
|
+
--qw-ref-size-action-control-icon-2xs: 14px;
|
|
298
|
+
--qw-ref-size-avatar-diameter-sm: 40px;
|
|
299
|
+
--qw-ref-size-avatar-diameter-md: 50px;
|
|
300
|
+
--qw-ref-size-avatar-diameter-lg: 58px;
|
|
286
301
|
--qw-ref-size-opacity-disabled: 0.5;
|
|
287
302
|
--qw-ref-size-z-index-1: 10;
|
|
288
303
|
--qw-ref-size-z-index-2: 20;
|
|
@@ -298,6 +313,7 @@
|
|
|
298
313
|
--qw-ref-typography-font-weight-medium: 500;
|
|
299
314
|
--qw-ref-typography-font-weight-semibold: 600;
|
|
300
315
|
--qw-ref-typography-font-size-base: 14px;
|
|
316
|
+
--qw-ref-typography-font-size-xs: 11px;
|
|
301
317
|
--qw-ref-typography-font-size-sm: 12px;
|
|
302
318
|
--qw-ref-typography-font-size-lg: 16px;
|
|
303
319
|
--qw-ref-typography-font-size-xl: 20px;
|
|
@@ -310,8 +326,10 @@
|
|
|
310
326
|
--qw-ref-effect-shadow-sm: 0px 1px 2px 0px rgba(0, 0, 0, 0.08);
|
|
311
327
|
--qw-ref-effect-shadow-md: 0px 4px 12px 0px rgba(0, 0, 0, 0.12);
|
|
312
328
|
--qw-ref-effect-shadow-lg: 0px 8px 24px 0px rgba(0, 0, 0, 0.16);
|
|
329
|
+
--qw-sem-size-radius-sm: 4px;
|
|
313
330
|
--qw-sem-size-radius-control: 8px;
|
|
314
331
|
--qw-sem-size-radius-card: 14px;
|
|
332
|
+
--qw-sem-size-radius-xl: 16px;
|
|
315
333
|
--qw-sem-size-radius-pill: 9999px;
|
|
316
334
|
--qw-sem-size-radius-full: 9999px;
|
|
317
335
|
--qw-sem-size-control-height-sm: 32px;
|
|
@@ -320,6 +338,40 @@
|
|
|
320
338
|
--qw-sem-size-icon-size-sm: 16px;
|
|
321
339
|
--qw-sem-size-icon-size-md: 20px;
|
|
322
340
|
--qw-sem-size-icon-size-lg: 24px;
|
|
341
|
+
--qw-sem-size-action-control-height-2xs: 24px;
|
|
342
|
+
--qw-sem-size-action-control-height-xs: 28px;
|
|
343
|
+
--qw-sem-size-action-control-height-sm: 32px;
|
|
344
|
+
--qw-sem-size-action-control-height-md: 36px;
|
|
345
|
+
--qw-sem-size-action-control-height-lg: 42px;
|
|
346
|
+
--qw-sem-size-action-control-height-xl: 50px;
|
|
347
|
+
--qw-sem-size-action-control-padding-inline-2xs: 8px;
|
|
348
|
+
--qw-sem-size-action-control-padding-inline-xs: 8px;
|
|
349
|
+
--qw-sem-size-action-control-padding-inline-sm: 16px;
|
|
350
|
+
--qw-sem-size-action-control-padding-inline-md: 16px;
|
|
351
|
+
--qw-sem-size-action-control-padding-inline-lg: 20px;
|
|
352
|
+
--qw-sem-size-action-control-padding-inline-xl: 32px;
|
|
353
|
+
--qw-sem-size-action-control-icon-2xs: 14px;
|
|
354
|
+
--qw-sem-size-action-control-icon-xs: 16px;
|
|
355
|
+
--qw-sem-size-action-control-icon-sm: 16px;
|
|
356
|
+
--qw-sem-size-action-control-icon-md: 16px;
|
|
357
|
+
--qw-sem-size-action-control-icon-lg: 16px;
|
|
358
|
+
--qw-sem-size-action-control-icon-xl: 20px;
|
|
359
|
+
--qw-sem-size-action-control-gap-2xs: 4px;
|
|
360
|
+
--qw-sem-size-action-control-gap-xs: 4px;
|
|
361
|
+
--qw-sem-size-action-control-gap-sm: 8px;
|
|
362
|
+
--qw-sem-size-action-control-gap-md: 8px;
|
|
363
|
+
--qw-sem-size-action-control-gap-lg: 8px;
|
|
364
|
+
--qw-sem-size-action-control-gap-xl: 8px;
|
|
365
|
+
--qw-sem-size-border-width-default: 1px;
|
|
366
|
+
--qw-sem-size-border-width-strong: 2px;
|
|
367
|
+
--qw-sem-size-divider-width-thin: 0.5px;
|
|
368
|
+
--qw-sem-size-divider-width-default: 1px;
|
|
369
|
+
--qw-sem-size-focus-ring-width: 2px;
|
|
370
|
+
--qw-sem-size-focus-ring-offset: 2px;
|
|
371
|
+
--qw-sem-size-indicator-loading: 2px;
|
|
372
|
+
--qw-sem-size-avatar-diameter-sm: 40px;
|
|
373
|
+
--qw-sem-size-avatar-diameter-md: 50px;
|
|
374
|
+
--qw-sem-size-avatar-diameter-lg: 58px;
|
|
323
375
|
--qw-sem-size-inset-sm: 8px;
|
|
324
376
|
--qw-sem-size-inset-md: 16px;
|
|
325
377
|
--qw-sem-size-inset-lg: 24px;
|
|
@@ -344,6 +396,11 @@
|
|
|
344
396
|
--qw-sem-typography-body-strong-font-weight: 500;
|
|
345
397
|
--qw-sem-typography-body-strong-line-height: 1.5;
|
|
346
398
|
--qw-sem-typography-body-strong-letter-spacing: 0px;
|
|
399
|
+
--qw-sem-typography-body-lg-font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
400
|
+
--qw-sem-typography-body-lg-font-size: 16px;
|
|
401
|
+
--qw-sem-typography-body-lg-font-weight: 400;
|
|
402
|
+
--qw-sem-typography-body-lg-line-height: 1.5;
|
|
403
|
+
--qw-sem-typography-body-lg-letter-spacing: 0px;
|
|
347
404
|
--qw-sem-typography-heading-sm-font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
348
405
|
--qw-sem-typography-heading-sm-font-size: 16px;
|
|
349
406
|
--qw-sem-typography-heading-sm-font-weight: 600;
|
|
@@ -364,6 +421,11 @@
|
|
|
364
421
|
--qw-sem-typography-caption-font-weight: 400;
|
|
365
422
|
--qw-sem-typography-caption-line-height: 1.5;
|
|
366
423
|
--qw-sem-typography-caption-letter-spacing: 0px;
|
|
424
|
+
--qw-sem-typography-label-sm-font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
425
|
+
--qw-sem-typography-label-sm-font-size: 11px;
|
|
426
|
+
--qw-sem-typography-label-sm-font-weight: 500;
|
|
427
|
+
--qw-sem-typography-label-sm-line-height: 1.5;
|
|
428
|
+
--qw-sem-typography-label-sm-letter-spacing: 0px;
|
|
367
429
|
--qw-sem-typography-code-font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
|
|
368
430
|
--qw-sem-typography-code-font-size: 12px;
|
|
369
431
|
--qw-sem-typography-code-font-weight: 400;
|
|
@@ -378,146 +440,105 @@
|
|
|
378
440
|
--qw-sem-color-surface-elevated: #ffffff;
|
|
379
441
|
--qw-sem-color-surface-header: #EEEEEE;
|
|
380
442
|
--qw-sem-color-surface-brand-subtle: #EBF5FF;
|
|
443
|
+
--qw-sem-color-surface-canvas: #ffffff;
|
|
444
|
+
--qw-sem-color-surface-sunken: #EEEEEE;
|
|
445
|
+
--qw-sem-color-surface-selected: rgba(34, 34, 34, 0.05);
|
|
446
|
+
--qw-sem-color-surface-inverse: #353535;
|
|
381
447
|
--qw-sem-color-content-primary: #222222;
|
|
382
448
|
--qw-sem-color-content-secondary: #666666;
|
|
383
449
|
--qw-sem-color-content-tertiary: #999999;
|
|
384
450
|
--qw-sem-color-content-placeholder: #CCCCCC;
|
|
385
451
|
--qw-sem-color-content-intro: #A2A9B6;
|
|
452
|
+
--qw-sem-color-content-disabled: rgba(34, 34, 34, 0.3);
|
|
453
|
+
--qw-sem-color-content-link: #003DB8;
|
|
454
|
+
--qw-sem-color-content-icon-subtle: rgba(34, 34, 34, 0.05);
|
|
455
|
+
--qw-sem-color-content-inverse: #ffffff;
|
|
456
|
+
--qw-sem-color-content-on-solid: #ffffff;
|
|
457
|
+
--qw-sem-color-content-on-warning-subtle: #453200;
|
|
386
458
|
--qw-sem-color-border-default: #EEEEEE;
|
|
387
459
|
--qw-sem-color-border-strong: #CCCCCC;
|
|
388
460
|
--qw-sem-color-border-focus: #0011ff;
|
|
461
|
+
--qw-sem-color-border-subtle: rgba(34, 34, 34, 0.05);
|
|
462
|
+
--qw-sem-color-border-disabled: rgba(34, 34, 34, 0.1);
|
|
463
|
+
--qw-sem-color-border-on-media: #ffffff;
|
|
389
464
|
--qw-sem-color-fill-subtle: #F6F6F6;
|
|
390
465
|
--qw-sem-color-fill-hover: #EEEEEE;
|
|
391
466
|
--qw-sem-color-fill-active: #EBF5FF;
|
|
392
467
|
--qw-sem-color-fill-disabled: #F6F6F6;
|
|
468
|
+
--qw-sem-color-fill-track: rgba(34, 34, 34, 0.1);
|
|
393
469
|
--qw-sem-color-action-brand: #0011ff;
|
|
394
470
|
--qw-sem-color-action-product: #0d53ff;
|
|
395
471
|
--qw-sem-color-action-selected: rgba(13, 83, 255, 0.2);
|
|
396
472
|
--qw-sem-color-action-inverse: #ffffff;
|
|
473
|
+
--qw-sem-color-control-action-brand-subtle: rgba(0, 17, 255, 0.1);
|
|
474
|
+
--qw-sem-color-control-action-product-subtle: rgba(13, 83, 255, 0.1);
|
|
475
|
+
--qw-sem-color-control-action-danger-default: #FF5745;
|
|
476
|
+
--qw-sem-color-control-action-danger-subtle: rgba(255, 87, 69, 0.1);
|
|
477
|
+
--qw-sem-color-control-action-neutral-subtle: rgba(34, 34, 34, 0.05);
|
|
478
|
+
--qw-sem-color-control-selection-brand: rgba(0, 17, 255, 0.1);
|
|
479
|
+
--qw-sem-color-control-selection-product: rgba(13, 83, 255, 0.1);
|
|
480
|
+
--qw-sem-color-selection-text-background: rgba(13, 83, 255, 0.2);
|
|
397
481
|
--qw-sem-color-status-success: #1f993f;
|
|
398
482
|
--qw-sem-color-status-warning: #ffd575;
|
|
399
483
|
--qw-sem-color-status-danger: #FF5745;
|
|
400
484
|
--qw-sem-color-status-info: #0d53ff;
|
|
401
485
|
--qw-sem-color-overlay-scrim: rgba(34, 34, 34, 0.5);
|
|
402
|
-
--qw-sem-color-overlay-guide: rgba(
|
|
486
|
+
--qw-sem-color-overlay-guide: rgba(13, 83, 255, 0.1);
|
|
487
|
+
--qw-sem-color-overlay-media-subtle: rgba(34, 34, 34, 0.4);
|
|
488
|
+
--qw-sem-color-overlay-media-strong: rgba(34, 34, 34, 0.5);
|
|
403
489
|
--qw-sem-color-shadow: rgba(34, 34, 34, 0.1);
|
|
490
|
+
--qw-sem-effect-shadow-card: 0px 1px 2px 0px rgba(34, 34, 34, 0.1);
|
|
491
|
+
--qw-sem-effect-shadow-floating: 0px 4px 12px 0px rgba(34, 34, 34, 0.1);
|
|
404
492
|
--qw-sem-effect-shadow-dialog: 0px 8px 24px 0px rgba(34, 34, 34, 0.1);
|
|
405
|
-
--qw-compat-button-dimension-height-mini: 24px;
|
|
406
|
-
--qw-compat-button-dimension-height-xs: 28px;
|
|
407
|
-
--qw-compat-button-dimension-height-s: 32px;
|
|
408
|
-
--qw-compat-button-dimension-height-normal: 36px;
|
|
409
|
-
--qw-compat-button-dimension-height-m: 42px;
|
|
410
|
-
--qw-compat-button-dimension-height-l: 50px;
|
|
411
|
-
--qw-compat-button-dimension-square-mini: 24px;
|
|
412
|
-
--qw-compat-button-dimension-square-xs: 28px;
|
|
413
|
-
--qw-compat-button-dimension-square-s: 32px;
|
|
414
|
-
--qw-compat-button-dimension-square-normal: 36px;
|
|
415
|
-
--qw-compat-button-dimension-square-m: 42px;
|
|
416
|
-
--qw-compat-button-dimension-square-l: 50px;
|
|
417
|
-
--qw-compat-button-dimension-padding-inline-mini: 8px;
|
|
418
|
-
--qw-compat-button-dimension-padding-inline-xs: 8px;
|
|
419
|
-
--qw-compat-button-dimension-padding-inline-s: 16px;
|
|
420
|
-
--qw-compat-button-dimension-padding-inline-normal: 16px;
|
|
421
|
-
--qw-compat-button-dimension-padding-inline-m: 20px;
|
|
422
|
-
--qw-compat-button-dimension-padding-inline-l: 32px;
|
|
423
|
-
--qw-compat-button-dimension-icon-mini: 14px;
|
|
424
|
-
--qw-compat-button-dimension-icon-xs: 16px;
|
|
425
|
-
--qw-compat-button-dimension-icon-s: 16px;
|
|
426
|
-
--qw-compat-button-dimension-icon-normal: 16px;
|
|
427
|
-
--qw-compat-button-dimension-icon-m: 16px;
|
|
428
|
-
--qw-compat-button-dimension-icon-l: 20px;
|
|
429
|
-
--qw-compat-button-dimension-gap-mini: 4px;
|
|
430
|
-
--qw-compat-button-dimension-gap-xs: 4px;
|
|
431
|
-
--qw-compat-button-dimension-gap-s: 8px;
|
|
432
|
-
--qw-compat-button-dimension-gap-normal: 8px;
|
|
433
|
-
--qw-compat-button-dimension-gap-m: 8px;
|
|
434
|
-
--qw-compat-button-dimension-gap-l: 8px;
|
|
435
|
-
--qw-compat-button-dimension-border-width: 1px;
|
|
436
|
-
--qw-compat-button-dimension-focus-ring-width: 2px;
|
|
437
|
-
--qw-compat-button-dimension-focus-ring-offset: 2px;
|
|
438
|
-
--qw-compat-button-dimension-spinner-stroke: 2px;
|
|
439
|
-
--qw-compat-button-color-bg-soft-brand: rgba(0, 68, 255, 0.1);
|
|
440
|
-
--qw-compat-button-color-bg-soft-danger: rgba(255, 87, 69, 0.1);
|
|
441
|
-
--qw-compat-button-color-bg-neutral-gray: rgba(34, 34, 34, 0.06);
|
|
442
|
-
--qw-compat-loading-color-logo: rgba(34, 34, 34, 0.06);
|
|
443
|
-
--qw-compat-loading-dimension-radius-surface: 16px;
|
|
444
|
-
--qw-compat-tag-dimension-radius-small: 2px;
|
|
445
|
-
--qw-compat-tag-dimension-radius-medium: 4px;
|
|
446
|
-
--qw-compat-tag-dimension-radius-large: 4px;
|
|
447
|
-
--qw-compat-tag-dimension-border-width: 1px;
|
|
448
|
-
--qw-compat-tag-dimension-height-small: 12px;
|
|
449
|
-
--qw-compat-tag-dimension-height-medium: 16px;
|
|
450
|
-
--qw-compat-tag-dimension-height-large: 20px;
|
|
451
|
-
--qw-compat-tag-dimension-padding-inline-small: 3px;
|
|
452
|
-
--qw-compat-tag-dimension-padding-inline-medium: 4px;
|
|
453
|
-
--qw-compat-tag-dimension-padding-inline-large: 5px;
|
|
454
|
-
--qw-compat-tag-typography-line-height-small: 16px;
|
|
455
|
-
--qw-compat-tag-typography-line-height-medium: 22px;
|
|
456
|
-
--qw-compat-tag-typography-line-height-large: 22px;
|
|
457
|
-
--qw-compat-tag-typography-font-size-small: 8px;
|
|
458
|
-
--qw-compat-tag-typography-font-size-medium: 11px;
|
|
459
|
-
--qw-compat-tag-typography-font-size-large: 11px;
|
|
460
|
-
--qw-compat-avatar-dimension-diameter-s: 40px;
|
|
461
|
-
--qw-compat-avatar-dimension-diameter-m: 50px;
|
|
462
|
-
--qw-compat-avatar-dimension-diameter-l: 58px;
|
|
463
|
-
--qw-compat-avatar-dimension-border-width: 1px;
|
|
464
|
-
--qw-compat-avatar-dimension-badge-font-size: 11px;
|
|
465
|
-
--qw-compat-avatar-dimension-badge-line-height: 16px;
|
|
466
|
-
--qw-compat-avatar-dimension-badge-padding: 5px;
|
|
467
|
-
--qw-compat-avatar-color-border: rgba(34, 34, 34, 0.06);
|
|
468
|
-
--qw-compat-avatar-color-badge-border: #FFFFFF;
|
|
469
|
-
--qw-compat-avatar-color-badge-text: #FFFFFF;
|
|
470
|
-
--qw-compat-textarea-color-paste-text: #FFFFFF;
|
|
471
|
-
--qw-compat-tabs-color-button-bg-selected: rgba(34, 34, 34, 0.06);
|
|
472
|
-
--qw-compat-tabs-color-button-border: rgba(34, 34, 34, 0.03);
|
|
473
|
-
--qw-compat-tabs-dimension-border-width: 1px;
|
|
474
|
-
--qw-compat-image-dimension-border-width: 1px;
|
|
475
|
-
--qw-compat-image-color-background: #F8F8F8;
|
|
476
|
-
--qw-compat-divider-color-border: rgba(34, 34, 34, 0.03);
|
|
477
|
-
--qw-compat-divider-dimension-weight-thin: 0.5px;
|
|
478
|
-
--qw-compat-divider-dimension-weight-thick: 1px;
|
|
479
|
-
--qw-compat-empty-dimension-description-font-size: 16px;
|
|
480
|
-
--qw-compat-empty-dimension-description-line-height: 26px;
|
|
481
|
-
--qw-compat-empty-dimension-title-gap: 10px;
|
|
482
|
-
--qw-compat-skeleton-color-background: rgba(185, 185, 185, 0.1);
|
|
483
493
|
}
|
|
484
494
|
|
|
485
|
-
/* ── Compat Sidecar(迁移债务,禁止业务方长期依赖)── */
|
|
486
|
-
/* 治理:specs/rfcs/0002-token-compat-sidecar.md */
|
|
487
|
-
/* 条目数:78 · graceDays:90 */
|
|
488
495
|
[data-qw-mode="dark"] {
|
|
489
496
|
--qw-sem-color-surface-base: #222222;
|
|
490
497
|
--qw-sem-color-surface-subtle: #202020;
|
|
491
498
|
--qw-sem-color-surface-elevated: #2D2D2D;
|
|
492
499
|
--qw-sem-color-surface-header: #3A3A3A;
|
|
493
500
|
--qw-sem-color-surface-brand-subtle: #001D66;
|
|
501
|
+
--qw-sem-color-surface-canvas: #000000;
|
|
502
|
+
--qw-sem-color-surface-sunken: #2D2D2D;
|
|
503
|
+
--qw-sem-color-surface-selected: rgba(255, 255, 255, 0.1);
|
|
494
504
|
--qw-sem-color-content-primary: #ffffff;
|
|
495
505
|
--qw-sem-color-content-secondary: #999999;
|
|
496
506
|
--qw-sem-color-content-tertiary: #666666;
|
|
497
507
|
--qw-sem-color-content-placeholder: rgba(255, 255, 255, 0.3);
|
|
498
508
|
--qw-sem-color-content-intro: #888E99;
|
|
509
|
+
--qw-sem-color-content-disabled: rgba(255, 255, 255, 0.3);
|
|
510
|
+
--qw-sem-color-content-link: #3086FF;
|
|
511
|
+
--qw-sem-color-content-icon-subtle: rgba(255, 255, 255, 0.1);
|
|
512
|
+
--qw-sem-color-content-inverse: #222222;
|
|
513
|
+
--qw-sem-color-content-on-warning-subtle: #F4D38B;
|
|
499
514
|
--qw-sem-color-border-default: #3A3A3A;
|
|
500
515
|
--qw-sem-color-border-strong: #666666;
|
|
501
516
|
--qw-sem-color-border-focus: #426EFF;
|
|
517
|
+
--qw-sem-color-border-subtle: rgba(255, 255, 255, 0.05);
|
|
518
|
+
--qw-sem-color-border-disabled: rgba(255, 255, 255, 0.1);
|
|
502
519
|
--qw-sem-color-fill-subtle: rgba(255, 255, 255, 0.2);
|
|
503
520
|
--qw-sem-color-fill-hover: #2D2D2D;
|
|
504
521
|
--qw-sem-color-fill-active: #001D66;
|
|
505
522
|
--qw-sem-color-fill-disabled: #202020;
|
|
523
|
+
--qw-sem-color-fill-track: rgba(255, 255, 255, 0.2);
|
|
506
524
|
--qw-sem-color-action-brand: #426EFF;
|
|
507
525
|
--qw-sem-color-action-product: #266FFF;
|
|
508
|
-
--qw-sem-color-action-selected: rgba(
|
|
526
|
+
--qw-sem-color-action-selected: rgba(38, 111, 255, 0.4);
|
|
509
527
|
--qw-sem-color-action-inverse: #222222;
|
|
528
|
+
--qw-sem-color-control-action-brand-subtle: rgba(66, 110, 255, 0.2);
|
|
529
|
+
--qw-sem-color-control-action-product-subtle: rgba(38, 111, 255, 0.2);
|
|
530
|
+
--qw-sem-color-control-action-danger-subtle: rgba(255, 87, 69, 0.2);
|
|
531
|
+
--qw-sem-color-control-action-neutral-subtle: rgba(255, 255, 255, 0.1);
|
|
532
|
+
--qw-sem-color-control-selection-brand: rgba(66, 110, 255, 0.2);
|
|
533
|
+
--qw-sem-color-control-selection-product: rgba(38, 111, 255, 0.2);
|
|
534
|
+
--qw-sem-color-selection-text-background: rgba(38, 111, 255, 0.4);
|
|
510
535
|
--qw-sem-color-status-info: #266FFF;
|
|
536
|
+
--qw-sem-color-status-success-subtle: rgba(31, 153, 63, 0.2);
|
|
537
|
+
--qw-sem-color-status-danger-subtle: rgba(255, 87, 69, 0.2);
|
|
511
538
|
--qw-sem-color-overlay-scrim: rgba(34, 34, 34, 0.7);
|
|
539
|
+
--qw-sem-color-overlay-guide: rgba(38, 111, 255, 0.2);
|
|
512
540
|
--qw-sem-color-shadow: rgba(34, 34, 34, 0.5);
|
|
541
|
+
--qw-sem-effect-shadow-card: 0px 1px 2px 0px rgba(34, 34, 34, 0.5);
|
|
542
|
+
--qw-sem-effect-shadow-floating: 0px 4px 12px 0px rgba(34, 34, 34, 0.5);
|
|
513
543
|
--qw-sem-effect-shadow-dialog: 0px 8px 24px 0px rgba(34, 34, 34, 0.5);
|
|
514
|
-
--qw-compat-button-color-bg-soft-brand: rgba(66, 110, 255, 0.24);
|
|
515
|
-
--qw-compat-button-color-bg-soft-danger: rgba(254, 135, 122, 0.2);
|
|
516
|
-
--qw-compat-button-color-bg-neutral-gray: rgba(255, 255, 255, 0.1);
|
|
517
|
-
--qw-compat-loading-color-logo: rgba(255, 255, 255, 0.1);
|
|
518
|
-
--qw-compat-avatar-color-border: rgba(255, 255, 255, 0.1);
|
|
519
|
-
--qw-compat-tabs-color-button-bg-selected: rgba(255, 255, 255, 0.1);
|
|
520
|
-
--qw-compat-tabs-color-button-border: rgba(255, 255, 255, 0.05);
|
|
521
|
-
--qw-compat-divider-color-border: rgba(255, 255, 255, 0.05);
|
|
522
|
-
--qw-compat-image-color-background: #333333;
|
|
523
544
|
}
|