@oxyhq/bloom 1.0.2 → 1.0.3

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 (28) hide show
  1. package/docs/button.mdx +19 -17
  2. package/docs/design-tokens.mdx +12 -10
  3. package/lib/commonjs/design-tokens/tokens.json +11040 -0
  4. package/lib/commonjs/theme/color-policy.js +1 -1
  5. package/lib/commonjs/theme/color-presets.js +331 -1
  6. package/lib/commonjs/theme/color-presets.js.map +1 -1
  7. package/lib/commonjs/theme/glass-colors.js +22 -19
  8. package/lib/commonjs/theme/glass-colors.js.map +1 -1
  9. package/lib/module/design-tokens/tokens.json +11040 -0
  10. package/lib/module/theme/color-policy.js +1 -1
  11. package/lib/module/theme/color-presets.js +331 -1
  12. package/lib/module/theme/color-presets.js.map +1 -1
  13. package/lib/module/theme/glass-colors.js +22 -19
  14. package/lib/module/theme/glass-colors.js.map +1 -1
  15. package/lib/typescript/commonjs/theme/color-presets.d.ts +331 -1
  16. package/lib/typescript/commonjs/theme/color-presets.d.ts.map +1 -1
  17. package/lib/typescript/commonjs/theme/glass-colors.d.ts +22 -19
  18. package/lib/typescript/commonjs/theme/glass-colors.d.ts.map +1 -1
  19. package/lib/typescript/module/theme/color-presets.d.ts +331 -1
  20. package/lib/typescript/module/theme/color-presets.d.ts.map +1 -1
  21. package/lib/typescript/module/theme/glass-colors.d.ts +22 -19
  22. package/lib/typescript/module/theme/glass-colors.d.ts.map +1 -1
  23. package/package.json +1 -1
  24. package/src/design-tokens/tokens.json +11040 -0
  25. package/src/theme/__tests__/__fixtures__/golden-resolved-tokens.json +3600 -0
  26. package/src/theme/color-policy.ts +1 -1
  27. package/src/theme/color-presets.ts +361 -1
  28. package/src/theme/glass-colors.ts +22 -19
@@ -360,6 +360,336 @@ declare const COLOR_PRESET_SOURCES: readonly [{
360
360
  readonly variant: "vivid";
361
361
  readonly pairing: "curated";
362
362
  readonly featured: true;
363
+ }, {
364
+ readonly name: "forest-fire";
365
+ readonly displayName: "Forest + Crimson + Marigold";
366
+ readonly family: "botanical";
367
+ readonly description: "Deep forest identity, crimson support and a hard marigold action signal.";
368
+ readonly hex: "#075c35";
369
+ readonly secondaryHex: "#9a153d";
370
+ readonly tertiaryHex: "#ffb400";
371
+ readonly variant: "vivid";
372
+ readonly pairing: "curated";
373
+ readonly featured: true;
374
+ }, {
375
+ readonly name: "malachite-rush";
376
+ readonly displayName: "Malachite + Copper + Cobalt";
377
+ readonly family: "botanical";
378
+ readonly description: "Mineral green identity backed by copper and finished with a cobalt action.";
379
+ readonly hex: "#008a55";
380
+ readonly secondaryHex: "#b74b12";
381
+ readonly tertiaryHex: "#1e55e6";
382
+ readonly variant: "vivid";
383
+ readonly pairing: "curated";
384
+ readonly featured: true;
385
+ }, {
386
+ readonly name: "moss-voltage";
387
+ readonly displayName: "Moss + Petrol + Electric Purple";
388
+ readonly family: "botanical";
389
+ readonly description: "Dense moss and petrol structure cut by a saturated electric-purple action.";
390
+ readonly hex: "#556b0b";
391
+ readonly secondaryHex: "#006f7a";
392
+ readonly tertiaryHex: "#c000be";
393
+ readonly variant: "vivid";
394
+ readonly pairing: "curated";
395
+ readonly featured: true;
396
+ }, {
397
+ readonly name: "viridian-orbit";
398
+ readonly displayName: "Viridian + Purple + Safety Orange";
399
+ readonly family: "botanical";
400
+ readonly description: "Cool viridian identity with purple support and an unmistakable orange action.";
401
+ readonly hex: "#006b57";
402
+ readonly secondaryHex: "#6a1fd2";
403
+ readonly tertiaryHex: "#ff8a00";
404
+ readonly variant: "vivid";
405
+ readonly pairing: "curated";
406
+ readonly featured: true;
407
+ }, {
408
+ readonly name: "acid-canopy";
409
+ readonly displayName: "Acid Canopy + Cobalt + Magenta";
410
+ readonly family: "botanical";
411
+ readonly description: "Acid olive identity balanced by cobalt support and a clear magenta action.";
412
+ readonly hex: "#5c7f00";
413
+ readonly secondaryHex: "#0047d9";
414
+ readonly tertiaryHex: "#e500a4";
415
+ readonly variant: "vivid";
416
+ readonly pairing: "curated";
417
+ readonly featured: true;
418
+ }, {
419
+ readonly name: "pacific-flare";
420
+ readonly displayName: "Pacific + Ochre + Blue Violet";
421
+ readonly family: "ocean";
422
+ readonly description: "Deep Pacific blue with ochre support and a blue-violet action.";
423
+ readonly hex: "#006487";
424
+ readonly secondaryHex: "#c76b00";
425
+ readonly tertiaryHex: "#4c34e8";
426
+ readonly variant: "vivid";
427
+ readonly pairing: "curated";
428
+ readonly featured: true;
429
+ }, {
430
+ readonly name: "reef-pulse";
431
+ readonly displayName: "Reef + Burnt Orange + Raspberry";
432
+ readonly family: "ocean";
433
+ readonly description: "Saturated reef identity, burnt-orange support and a raspberry action pulse.";
434
+ readonly hex: "#007d8a";
435
+ readonly secondaryHex: "#ef6c00";
436
+ readonly tertiaryHex: "#d80073";
437
+ readonly variant: "vivid";
438
+ readonly pairing: "curated";
439
+ readonly featured: true;
440
+ }, {
441
+ readonly name: "electric-tide";
442
+ readonly displayName: "Electric Blue + Violet + Acid Lime";
443
+ readonly family: "ocean";
444
+ readonly description: "Electric-blue identity with violet depth and a high-voltage lime action.";
445
+ readonly hex: "#005be7";
446
+ readonly secondaryHex: "#6b20c8";
447
+ readonly tertiaryHex: "#76c900";
448
+ readonly variant: "vivid";
449
+ readonly pairing: "curated";
450
+ readonly featured: true;
451
+ }, {
452
+ readonly name: "arctic-signal";
453
+ readonly displayName: "Arctic Cyan + Navy + Fuchsia";
454
+ readonly family: "ocean";
455
+ readonly description: "Crisp cyan identity anchored by navy with a decisive fuchsia action.";
456
+ readonly hex: "#0089a8";
457
+ readonly secondaryHex: "#123a78";
458
+ readonly tertiaryHex: "#d6008f";
459
+ readonly variant: "vivid";
460
+ readonly pairing: "curated";
461
+ readonly featured: true;
462
+ }, {
463
+ readonly name: "ultramarine-gold";
464
+ readonly displayName: "Ultramarine + Rust + Gold";
465
+ readonly family: "ocean";
466
+ readonly description: "Dense ultramarine identity with earthen rust support and a true-gold action.";
467
+ readonly hex: "#273bc6";
468
+ readonly secondaryHex: "#a83b13";
469
+ readonly tertiaryHex: "#f5b700";
470
+ readonly variant: "vivid";
471
+ readonly pairing: "curated";
472
+ readonly featured: true;
473
+ }, {
474
+ readonly name: "midnight-citrus";
475
+ readonly displayName: "Midnight Indigo + Teal + Citrus";
476
+ readonly family: "ocean";
477
+ readonly description: "Midnight indigo and teal create depth while citrus owns the primary action.";
478
+ readonly hex: "#29267d";
479
+ readonly secondaryHex: "#00867a";
480
+ readonly tertiaryHex: "#ff7200";
481
+ readonly variant: "vivid";
482
+ readonly pairing: "curated";
483
+ readonly featured: true;
484
+ }, {
485
+ readonly name: "persimmon-wave";
486
+ readonly displayName: "Persimmon + Marine + Sun Yellow";
487
+ readonly family: "sunset";
488
+ readonly description: "Persimmon identity with marine support and a saturated sun-yellow action.";
489
+ readonly hex: "#c83a12";
490
+ readonly secondaryHex: "#003f75";
491
+ readonly tertiaryHex: "#f5cf00";
492
+ readonly variant: "vivid";
493
+ readonly pairing: "curated";
494
+ readonly featured: true;
495
+ }, {
496
+ readonly name: "solar-flux";
497
+ readonly displayName: "Solar Orange + Magenta + Deep Cyan";
498
+ readonly family: "sunset";
499
+ readonly description: "Solar orange identity grounded by magenta with a strong deep-cyan action.";
500
+ readonly hex: "#d95800";
501
+ readonly secondaryHex: "#b00078";
502
+ readonly tertiaryHex: "#008ca5";
503
+ readonly variant: "vivid";
504
+ readonly pairing: "curated";
505
+ readonly featured: true;
506
+ }, {
507
+ readonly name: "paprika-current";
508
+ readonly displayName: "Paprika + Olive + Turquoise";
509
+ readonly family: "sunset";
510
+ readonly description: "Paprika identity, grounded olive support and a clean turquoise action.";
511
+ readonly hex: "#a83216";
512
+ readonly secondaryHex: "#657000";
513
+ readonly tertiaryHex: "#00a1a8";
514
+ readonly variant: "vivid";
515
+ readonly pairing: "curated";
516
+ readonly featured: true;
517
+ }, {
518
+ readonly name: "crimson-spark";
519
+ readonly displayName: "Crimson + Teal + Electric Lime";
520
+ readonly family: "sunset";
521
+ readonly description: "Crimson identity with teal support and an electric-lime action spark.";
522
+ readonly hex: "#b70d36";
523
+ readonly secondaryHex: "#007a83";
524
+ readonly tertiaryHex: "#9bd300";
525
+ readonly variant: "vivid";
526
+ readonly pairing: "curated";
527
+ readonly featured: true;
528
+ }, {
529
+ readonly name: "flamenco-sun";
530
+ readonly displayName: "Flamenco Red + Emerald + Sunbeam";
531
+ readonly family: "sunset";
532
+ readonly description: "Flamenco-red identity supported by emerald and punctuated by a sunbeam action.";
533
+ readonly hex: "#d51f2d";
534
+ readonly secondaryHex: "#007663";
535
+ readonly tertiaryHex: "#ffc000";
536
+ readonly variant: "vivid";
537
+ readonly pairing: "curated";
538
+ readonly featured: true;
539
+ }, {
540
+ readonly name: "saffron-depth";
541
+ readonly displayName: "Saffron + Aubergine + Royal Blue";
542
+ readonly family: "sunset";
543
+ readonly description: "Deep saffron identity with aubergine support and a royal-blue action.";
544
+ readonly hex: "#a86400";
545
+ readonly secondaryHex: "#67145d";
546
+ readonly tertiaryHex: "#165dd8";
547
+ readonly variant: "vivid";
548
+ readonly pairing: "curated";
549
+ readonly featured: true;
550
+ }, {
551
+ readonly name: "clay-current";
552
+ readonly displayName: "Clay + Gold + Fuchsia";
553
+ readonly family: "earth";
554
+ readonly description: "Burnt-clay identity with deep-gold support and a saturated fuchsia action.";
555
+ readonly hex: "#9a3f1d";
556
+ readonly secondaryHex: "#b56a00";
557
+ readonly tertiaryHex: "#c900a5";
558
+ readonly variant: "vivid";
559
+ readonly pairing: "curated";
560
+ readonly featured: true;
561
+ }, {
562
+ readonly name: "bronze-neon";
563
+ readonly displayName: "Bronze + Emerald + Neon Berry";
564
+ readonly family: "earth";
565
+ readonly description: "Bronze identity offset by emerald support and a neon-berry action.";
566
+ readonly hex: "#875000";
567
+ readonly secondaryHex: "#17603a";
568
+ readonly tertiaryHex: "#df007e";
569
+ readonly variant: "vivid";
570
+ readonly pairing: "curated";
571
+ readonly featured: true;
572
+ }, {
573
+ readonly name: "copper-field";
574
+ readonly displayName: "Copper + Emerald + Royal Blue";
575
+ readonly family: "earth";
576
+ readonly description: "Copper identity, emerald support and a crisp royal-blue action.";
577
+ readonly hex: "#a94d12";
578
+ readonly secondaryHex: "#00734f";
579
+ readonly tertiaryHex: "#2354d8";
580
+ readonly variant: "vivid";
581
+ readonly pairing: "curated";
582
+ readonly featured: true;
583
+ }, {
584
+ readonly name: "umber-signal";
585
+ readonly displayName: "Umber + Ocean Cyan + Signal Gold";
586
+ readonly family: "earth";
587
+ readonly description: "Dark umber identity with ocean-cyan support and a signal-gold action.";
588
+ readonly hex: "#693916";
589
+ readonly secondaryHex: "#00889b";
590
+ readonly tertiaryHex: "#f3b300";
591
+ readonly variant: "vivid";
592
+ readonly pairing: "curated";
593
+ readonly featured: true;
594
+ }, {
595
+ readonly name: "amethyst-current";
596
+ readonly displayName: "Amethyst + Ochre + Emerald";
597
+ readonly family: "jewel";
598
+ readonly description: "Amethyst identity with ochre support and a saturated emerald action.";
599
+ readonly hex: "#6d1db8";
600
+ readonly secondaryHex: "#b87500";
601
+ readonly tertiaryHex: "#00a85a";
602
+ readonly variant: "vivid";
603
+ readonly pairing: "curated";
604
+ readonly featured: true;
605
+ }, {
606
+ readonly name: "ruby-current";
607
+ readonly displayName: "Ruby + Violet + Turquoise";
608
+ readonly family: "jewel";
609
+ readonly description: "Ruby identity backed by violet support and focused by a turquoise action.";
610
+ readonly hex: "#a90032";
611
+ readonly secondaryHex: "#6632b5";
612
+ readonly tertiaryHex: "#00a99d";
613
+ readonly variant: "vivid";
614
+ readonly pairing: "curated";
615
+ readonly featured: true;
616
+ }, {
617
+ readonly name: "orchid-flare";
618
+ readonly displayName: "Orchid + Burnt Orange + Cyan";
619
+ readonly family: "jewel";
620
+ readonly description: "Saturated orchid identity with burnt-orange support and a cyan action.";
621
+ readonly hex: "#a70086";
622
+ readonly secondaryHex: "#d45a00";
623
+ readonly tertiaryHex: "#00a6b8";
624
+ readonly variant: "vivid";
625
+ readonly pairing: "curated";
626
+ readonly featured: true;
627
+ }, {
628
+ readonly name: "garnet-acid";
629
+ readonly displayName: "Garnet + Indigo + Acid Lime";
630
+ readonly family: "jewel";
631
+ readonly description: "Dark garnet identity, indigo support and a high-chroma acid-lime action.";
632
+ readonly hex: "#7d1538";
633
+ readonly secondaryHex: "#2839a8";
634
+ readonly tertiaryHex: "#88c900";
635
+ readonly variant: "vivid";
636
+ readonly pairing: "curated";
637
+ readonly featured: true;
638
+ }, {
639
+ readonly name: "indigo-ember";
640
+ readonly displayName: "Indigo + Ember + Turquoise";
641
+ readonly family: "jewel";
642
+ readonly description: "Indigo identity with ember support and a direct turquoise action.";
643
+ readonly hex: "#4130a8";
644
+ readonly secondaryHex: "#a54216";
645
+ readonly tertiaryHex: "#00a58c";
646
+ readonly variant: "vivid";
647
+ readonly pairing: "curated";
648
+ readonly featured: true;
649
+ }, {
650
+ readonly name: "raspberry-gold";
651
+ readonly displayName: "Raspberry + Antique Gold + Cobalt";
652
+ readonly family: "jewel";
653
+ readonly description: "Raspberry identity with antique-gold support and a concentrated cobalt action.";
654
+ readonly hex: "#b00063";
655
+ readonly secondaryHex: "#b98600";
656
+ readonly tertiaryHex: "#195fe8";
657
+ readonly variant: "vivid";
658
+ readonly pairing: "curated";
659
+ readonly featured: true;
660
+ }, {
661
+ readonly name: "ink-orange";
662
+ readonly displayName: "Ink + Purple + Safety Orange";
663
+ readonly family: "neutral";
664
+ readonly description: "Blue-black ink identity with purple support and a safety-orange action.";
665
+ readonly hex: "#202f44";
666
+ readonly secondaryHex: "#7d3fb2";
667
+ readonly tertiaryHex: "#f25b16";
668
+ readonly variant: "vivid";
669
+ readonly pairing: "curated";
670
+ readonly featured: true;
671
+ }, {
672
+ readonly name: "charcoal-lime";
673
+ readonly displayName: "Charcoal + Cobalt + Electric Lime";
674
+ readonly family: "neutral";
675
+ readonly description: "Charcoal identity gives cobalt structure and electric lime room to command.";
676
+ readonly hex: "#303a35";
677
+ readonly secondaryHex: "#205bd2";
678
+ readonly tertiaryHex: "#86ce00";
679
+ readonly variant: "vivid";
680
+ readonly pairing: "curated";
681
+ readonly featured: true;
682
+ }, {
683
+ readonly name: "pewter-current";
684
+ readonly displayName: "Pewter + Purple + Turquoise";
685
+ readonly family: "neutral";
686
+ readonly description: "Cool pewter identity with purple support and a saturated turquoise action.";
687
+ readonly hex: "#47515b";
688
+ readonly secondaryHex: "#6b27b6";
689
+ readonly tertiaryHex: "#00a88f";
690
+ readonly variant: "vivid";
691
+ readonly pairing: "curated";
692
+ readonly featured: true;
363
693
  }];
364
694
  /** Preset identifiers are inferred from the authored registry, never repeated. */
365
695
  export type AppColorName = (typeof COLOR_PRESET_SOURCES)[number]['name'];
@@ -391,7 +721,7 @@ export declare const APP_COLOR_NAMES: readonly AppColorName[];
391
721
  export declare const APP_COLOR_PRESETS: Record<AppColorName, AppColorPreset>;
392
722
  export declare const HEX_TO_APP_COLOR: Record<string, AppColorName>;
393
723
  export declare function hexToAppColorName(hex: string): AppColorName;
394
- /** The sixteen approved paired directions in the permanent Mention playground. */
724
+ /** The approved paired directions in the permanent Mention playground. */
395
725
  export declare const COLOR_PLAYGROUND_NAMES: readonly AppColorName[];
396
726
  export interface ColorPresetGroup extends ColorPresetFamilyDefinition {
397
727
  presets: readonly ColorPresetRecipe[];
@@ -1 +1 @@
1
- {"version":3,"file":"color-presets.d.ts","sourceRoot":"","sources":["../../../../src/theme/color-presets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEpD,0EAA0E;AAC1E,MAAM,MAAM,eAAe;AACzB,oEAAoE;AAClE,QAAQ;AACV,gCAAgC;GAC9B,SAAS,CAAC;AAEd,6EAA6E;AAC7E,QAAA,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQvB,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,2BAA2B,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;AAErF,MAAM,WAAW,2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C;AAED,gEAAgE;AAChE,eAAO,MAAM,mBAAmB,EAAE,QAAQ,CAAC,MAAM,CAAC,iBAAiB,EAAE,gBAAgB,CAAC,CAUnF,CAAC;AAEJ;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAKlD,iDAAiD;AACjD,eAAO,MAAM,gBAAgB,EAAE,SAAS,YAAY,EAA4B,CAAC;AAEjF,qFAAqF;AACrF,eAAO,MAAM,kBAAkB,EAAE,SAAS,YAAY,EAA2B,CAAC;AAElF,gCAAgC;AAChC,eAAO,MAAM,mBAAmB,EAAE,SAAS,YAAY,EAA4B,CAAC"}
@@ -16,22 +16,24 @@
16
16
  *
17
17
  * The 15% that bleeds through moves the pane TOWARD the surface under it, and
18
18
  * in light mode that means lighter — which is the direction a white label can
19
- * least afford. Measured over 34 presets x 2 modes x 5 Bloom surfaces:
20
- *
21
- * `Button` primary 38 of 340 rows fall below WCAG AA, in the band
22
- * 4.17..4.49, ALL of them in LIGHT mode, across fourteen
23
- * presets (blue, faircoin, green, lagoon, lavender, mint,
24
- * olive, orange, pine, plum, pumpkin, rose, sky, yellow).
25
- * `Button` destructive 0 of 340. Worst 5.32.
26
- *
27
- * As a SOLID fill all 680 Button rows pass. The original 18 presets retain
28
- * their exact 30/180 shipped failure set; all eight added failures belong to
29
- * the new recipes. A browser helper briefly reported 45 only because it parsed
30
- * the structured `GLASS_SHEEN.bottom` stop as CSS; that was measurement drift,
31
- * never the shipped oracle and never a threshold being relaxed.
19
+ * least afford. Measured over 64 presets x 2 modes x 5 Bloom surfaces:
20
+ *
21
+ * `Button` primary 73 of 640 rows fall below WCAG AA, in the band
22
+ * 4.17..4.50, ALL of them in LIGHT mode, across 27
23
+ * presets (acid-canopy, arctic-signal, blue, bronze-neon,
24
+ * clay-current, copper-field, electric-tide, faircoin,
25
+ * green, lagoon, lavender, malachite-rush,
26
+ * midnight-citrus, mint, olive, orange, pacific-flare,
27
+ * pine, plum, pumpkin, reef-pulse, rose, saffron-depth,
28
+ * sky, solar-flux, viridian-orbit, yellow).
29
+ * `Button` destructive 0 of 640. Worst 5.32.
30
+ *
31
+ * As a SOLID fill all 1280 Button rows pass. The 1.0.1 catalog retains its exact
32
+ * 38/340 failure set (including the original 18 presets' 30/180); the 30 new
33
+ * three-seed combinations add 35/300 and do not worsen the 4.17 floor.
32
34
  *
33
35
  * The alpha at which the failures reach zero is **0.89** (worst 4.52), and the
34
- * curve between is steep: 0.86 -> 25 rows, 0.87 -> 14, 0.88 -> 5, 0.89 -> 0.
36
+ * curve between is steep: 0.86 -> 49 rows, 0.87 -> 26, 0.88 -> 8, 0.89 -> 0.
35
37
  * So AA compliance costs four hundredths of alpha. 0.85 is kept because it is
36
38
  * the reference's own value and matching the reference is the requirement;
37
39
  * `glass-colors.test.ts` pins the compromise as an EXACT failure count and an
@@ -167,7 +169,7 @@ export interface GlassColors {
167
169
  * `colors.negative`, `colors.success` — rather than a tone name, because the
168
170
  * caller is the only one who knows which token its variant means. `Button`'s
169
171
  * `destructive` is `colors.negative` (the engine's error ROLE) and not
170
- * `colors.error` (the fixed status seed): measured, those two differ in all 68
172
+ * `colors.error` (the fixed status seed): measured, those two differ in all 128
171
173
  * preset x mode combinations and by as much as `rgb(255 180 171)` against
172
174
  * `rgb(209 45 50)` on `teal`/dark, so a tone vocabulary here would have
173
175
  * silently repainted every destructive button on the way past.
@@ -183,10 +185,11 @@ export interface GlassColors {
183
185
  * `colors.text` and that was correct THEN: a pane that is three-quarters
184
186
  * backdrop takes its luminance from the page, so it needed the page's reading
185
187
  * colour. At 0.85 the pane is the fill, so it takes the fill's own label: on
186
- * the complete 2040-row matrix (34 presets x 2 modes x 6 tones x 5 surfaces),
187
- * `colors.text` fails AA on 1714 rows (worst 1.21) against the on-fill token's
188
- * 305 (worst 4.17). Neither count is permanent; the gate re-measures and pins
189
- * both on every alpha or surface change.
188
+ * the complete 3840-row matrix (64 presets x 2 modes x 6 tones x 5 surfaces),
189
+ * `colors.text` fails AA on 3232 rows (worst 1.21) against the on-fill token's
190
+ * 577 (worst 4.17). The 1.0.1 baseline remains 1714/2040 versus 305/2040;
191
+ * the 30 additions contribute 1518/1800 versus 272/1800. The gate re-measures
192
+ * and pins both on every alpha or surface change.
190
193
  */
191
194
  export declare function resolveGlassColors(fill: string): GlassColors;
192
195
  //# sourceMappingURL=glass-colors.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"glass-colors.d.ts","sourceRoot":"","sources":["../../../../src/theme/glass-colors.ts"],"names":[],"mappings":"AAyEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,eAAO,MAAM,gBAAgB,OAAO,CAAC;AAErC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;IAItB,0EAA0E;;CAElE,CAAC;AAEX,wFAAwF;AACxF,MAAM,MAAM,cAAc,GAAG;IAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AAElF,iEAAiE;AACjE,wBAAgB,aAAa,CAAC,IAAI,EAAE,cAAc,GAAG,MAAM,CAE1D;AAED;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,mBAAmB,6CAA6C,CAAC;AAE9E,oFAAoF;AACpF,eAAO,MAAM,oBAAoB,KAAK,CAAC;AAEvC;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,eAAoC,CAAC;AAEnE;;;;;;;;;GASG;AACH,eAAO,MAAM,oBAAoB,QAA4K,CAAC;AAE9M;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,oBAAoB,QAA6B,CAAC;AAE/D,MAAM,WAAW,WAAW;IAC1B,kFAAkF;IAClF,IAAI,EAAE,MAAM,CAAC;IACb,mFAAmF;IACnF,QAAQ,EAAE,MAAM,CAAC;IACjB,oFAAoF;IACpF,aA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