@oxyhq/bloom 0.74.5 → 0.75.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 (59) hide show
  1. package/lib/commonjs/design-tokens/theme.css +0 -4
  2. package/lib/commonjs/fab/Fab.js +4 -4
  3. package/lib/commonjs/fab/Fab.js.map +1 -1
  4. package/lib/commonjs/fab/Fab.web.js +6 -6
  5. package/lib/commonjs/fab/Fab.web.js.map +1 -1
  6. package/lib/commonjs/theme/adaptive-colors.js +0 -10
  7. package/lib/commonjs/theme/adaptive-colors.js.map +1 -1
  8. package/lib/commonjs/theme/build-theme-from-seed.js +0 -4
  9. package/lib/commonjs/theme/build-theme-from-seed.js.map +1 -1
  10. package/lib/commonjs/theme/build-theme.js +0 -4
  11. package/lib/commonjs/theme/build-theme.js.map +1 -1
  12. package/lib/commonjs/theme/color-policy.js +0 -18
  13. package/lib/commonjs/theme/color-policy.js.map +1 -1
  14. package/lib/commonjs/theme/token-registry.js +1 -1
  15. package/lib/commonjs/theme/token-registry.js.map +1 -1
  16. package/lib/module/design-tokens/theme.css +0 -4
  17. package/lib/module/fab/Fab.js +4 -4
  18. package/lib/module/fab/Fab.js.map +1 -1
  19. package/lib/module/fab/Fab.web.js +6 -6
  20. package/lib/module/fab/Fab.web.js.map +1 -1
  21. package/lib/module/theme/adaptive-colors.js +0 -10
  22. package/lib/module/theme/adaptive-colors.js.map +1 -1
  23. package/lib/module/theme/build-theme-from-seed.js +0 -4
  24. package/lib/module/theme/build-theme-from-seed.js.map +1 -1
  25. package/lib/module/theme/build-theme.js +0 -4
  26. package/lib/module/theme/build-theme.js.map +1 -1
  27. package/lib/module/theme/color-policy.js +0 -18
  28. package/lib/module/theme/color-policy.js.map +1 -1
  29. package/lib/module/theme/token-registry.js +1 -1
  30. package/lib/module/theme/token-registry.js.map +1 -1
  31. package/lib/typescript/commonjs/theme/adaptive-colors.d.ts.map +1 -1
  32. package/lib/typescript/commonjs/theme/build-theme-from-seed.d.ts.map +1 -1
  33. package/lib/typescript/commonjs/theme/build-theme.d.ts.map +1 -1
  34. package/lib/typescript/commonjs/theme/color-policy.d.ts.map +1 -1
  35. package/lib/typescript/commonjs/theme/token-registry.d.ts +1 -1
  36. package/lib/typescript/commonjs/theme/token-registry.d.ts.map +1 -1
  37. package/lib/typescript/commonjs/theme/types.d.ts +0 -9
  38. package/lib/typescript/commonjs/theme/types.d.ts.map +1 -1
  39. package/lib/typescript/module/theme/adaptive-colors.d.ts.map +1 -1
  40. package/lib/typescript/module/theme/build-theme-from-seed.d.ts.map +1 -1
  41. package/lib/typescript/module/theme/build-theme.d.ts.map +1 -1
  42. package/lib/typescript/module/theme/color-policy.d.ts.map +1 -1
  43. package/lib/typescript/module/theme/token-registry.d.ts +1 -1
  44. package/lib/typescript/module/theme/token-registry.d.ts.map +1 -1
  45. package/lib/typescript/module/theme/types.d.ts +0 -9
  46. package/lib/typescript/module/theme/types.d.ts.map +1 -1
  47. package/package.json +1 -1
  48. package/src/__tests__/theme.test.ts +0 -4
  49. package/src/design-tokens/theme.css +0 -4
  50. package/src/fab/Fab.tsx +2 -2
  51. package/src/fab/Fab.web.tsx +2 -2
  52. package/src/theme/__tests__/__fixtures__/golden-resolved-tokens.json +0 -104
  53. package/src/theme/__tests__/__snapshots__/visual-gallery.test.tsx.snap +0 -104
  54. package/src/theme/adaptive-colors.ts +0 -10
  55. package/src/theme/build-theme-from-seed.ts +0 -4
  56. package/src/theme/build-theme.ts +0 -4
  57. package/src/theme/color-policy.ts +0 -18
  58. package/src/theme/token-registry.ts +0 -4
  59. package/src/theme/types.ts +0 -9
@@ -27,14 +27,10 @@ exports[`theme.colors snapshot for all presets (catches unintended palette shift
27
27
  "primarySubtleForeground": "rgb(255 221 184)",
28
28
  "secondary": "rgb(0 213 255)",
29
29
  "secondaryForeground": "rgb(0 0 0)",
30
- "secondaryStrong": "rgb(0 127 153)",
31
- "secondaryStrongForeground": "rgb(255 255 255)",
32
30
  "shadow": "rgba(0, 0, 0, 0.3)",
33
31
  "success": "rgb(16 185 129)",
34
32
  "tertiary": "rgb(111 128 255)",
35
33
  "tertiaryForeground": "rgb(0 0 0)",
36
- "tertiaryStrong": "rgb(78 98 255)",
37
- "tertiaryStrongForeground": "rgb(255 255 255)",
38
34
  "text": "rgb(244 223 203)",
39
35
  "textSecondary": "rgb(217 195 171)",
40
36
  "textTertiary": "rgb(161 141 120)",
@@ -66,14 +62,10 @@ exports[`theme.colors snapshot for all presets (catches unintended palette shift
66
62
  "primarySubtleForeground": "rgb(101 62 0)",
67
63
  "secondary": "rgb(0 117 141)",
68
64
  "secondaryForeground": "rgb(255 255 255)",
69
- "secondaryStrong": "rgb(0 117 141)",
70
- "secondaryStrongForeground": "rgb(255 255 255)",
71
65
  "shadow": "rgba(0, 0, 0, 0.1)",
72
66
  "success": "rgb(0 122 83)",
73
67
  "tertiary": "rgb(61 84 255)",
74
68
  "tertiaryForeground": "rgb(255 255 255)",
75
- "tertiaryStrong": "rgb(61 84 255)",
76
- "tertiaryStrongForeground": "rgb(255 255 255)",
77
69
  "text": "rgb(36 26 14)",
78
70
  "textSecondary": "rgb(84 68 50)",
79
71
  "textTertiary": "rgb(135 116 96)",
@@ -105,14 +97,10 @@ exports[`theme.colors snapshot for all presets (catches unintended palette shift
105
97
  "primarySubtleForeground": "rgb(207 229 255)",
106
98
  "secondary": "rgb(247 81 63)",
107
99
  "secondaryForeground": "rgb(0 0 0)",
108
- "secondaryStrong": "rgb(214 58 43)",
109
- "secondaryStrongForeground": "rgb(255 255 255)",
110
100
  "shadow": "rgba(0, 0, 0, 0.3)",
111
101
  "success": "rgb(16 185 129)",
112
102
  "tertiary": "rgb(252 220 0)",
113
103
  "tertiaryForeground": "rgb(0 0 0)",
114
- "tertiaryStrong": "rgb(134 116 0)",
115
- "tertiaryStrongForeground": "rgb(255 255 255)",
116
104
  "text": "rgb(220 227 238)",
117
105
  "textSecondary": "rgb(190 199 212)",
118
106
  "textTertiary": "rgb(136 146 158)",
@@ -144,14 +132,10 @@ exports[`theme.colors snapshot for all presets (catches unintended palette shift
144
132
  "primarySubtleForeground": "rgb(0 74 120)",
145
133
  "secondary": "rgb(200 48 35)",
146
134
  "secondaryForeground": "rgb(255 255 255)",
147
- "secondaryStrong": "rgb(200 48 35)",
148
- "secondaryStrongForeground": "rgb(255 255 255)",
149
135
  "shadow": "rgba(0, 0, 0, 0.1)",
150
136
  "success": "rgb(0 122 83)",
151
137
  "tertiary": "rgb(123 106 0)",
152
138
  "tertiaryForeground": "rgb(255 255 255)",
153
- "tertiaryStrong": "rgb(123 106 0)",
154
- "tertiaryStrongForeground": "rgb(255 255 255)",
155
139
  "text": "rgb(21 28 36)",
156
140
  "textSecondary": "rgb(62 72 82)",
157
141
  "textTertiary": "rgb(111 120 132)",
@@ -183,14 +167,10 @@ exports[`theme.colors snapshot for all presets (catches unintended palette shift
183
167
  "primarySubtleForeground": "rgb(138 254 0)",
184
168
  "secondary": "rgb(122 125 255)",
185
169
  "secondaryForeground": "rgb(0 0 0)",
186
- "secondaryStrong": "rgb(92 94 255)",
187
- "secondaryStrongForeground": "rgb(255 255 255)",
188
170
  "shadow": "rgba(0, 0, 0, 0.3)",
189
171
  "success": "rgb(16 185 129)",
190
172
  "tertiary": "rgb(232 76 188)",
191
173
  "tertiaryForeground": "rgb(0 0 0)",
192
- "tertiaryStrong": "rgb(203 50 163)",
193
- "tertiaryStrongForeground": "rgb(255 255 255)",
194
174
  "text": "rgb(223 229 211)",
195
175
  "textSecondary": "rgb(193 202 180)",
196
176
  "textTertiary": "rgb(139 148 128)",
@@ -222,14 +202,10 @@ exports[`theme.colors snapshot for all presets (catches unintended palette shift
222
202
  "primarySubtleForeground": "rgb(40 80 0)",
223
203
  "secondary": "rgb(79 79 255)",
224
204
  "secondaryForeground": "rgb(255 255 255)",
225
- "secondaryStrong": "rgb(79 79 255)",
226
- "secondaryStrongForeground": "rgb(255 255 255)",
227
205
  "shadow": "rgba(0, 0, 0, 0.1)",
228
206
  "success": "rgb(0 122 83)",
229
207
  "tertiary": "rgb(190 36 152)",
230
208
  "tertiaryForeground": "rgb(255 255 255)",
231
- "tertiaryStrong": "rgb(190 36 152)",
232
- "tertiaryStrongForeground": "rgb(255 255 255)",
233
209
  "text": "rgb(24 29 18)",
234
210
  "textSecondary": "rgb(65 73 57)",
235
211
  "textTertiary": "rgb(114 122 103)",
@@ -261,14 +237,10 @@ exports[`theme.colors snapshot for all presets (catches unintended palette shift
261
237
  "primarySubtleForeground": "rgb(71 255 184)",
262
238
  "secondary": "rgb(247 76 101)",
263
239
  "secondaryForeground": "rgb(0 0 0)",
264
- "secondaryStrong": "rgb(216 52 80)",
265
- "secondaryStrongForeground": "rgb(255 255 255)",
266
240
  "shadow": "rgba(0, 0, 0, 0.3)",
267
241
  "success": "rgb(16 185 129)",
268
242
  "tertiary": "rgb(189 94 255)",
269
243
  "tertiaryForeground": "rgb(0 0 0)",
270
- "tertiaryStrong": "rgb(165 64 234)",
271
- "tertiaryStrongForeground": "rgb(255 255 255)",
272
244
  "text": "rgb(217 230 220)",
273
245
  "textSecondary": "rgb(186 203 191)",
274
246
  "textTertiary": "rgb(132 149 138)",
@@ -300,14 +272,10 @@ exports[`theme.colors snapshot for all presets (catches unintended palette shift
300
272
  "primarySubtleForeground": "rgb(0 82 54)",
301
273
  "secondary": "rgb(202 41 70)",
302
274
  "secondaryForeground": "rgb(255 255 255)",
303
- "secondaryStrong": "rgb(202 41 70)",
304
- "secondaryStrongForeground": "rgb(255 255 255)",
305
275
  "shadow": "rgba(0, 0, 0, 0.1)",
306
276
  "success": "rgb(0 122 83)",
307
277
  "tertiary": "rgb(154 51 223)",
308
278
  "tertiaryForeground": "rgb(255 255 255)",
309
- "tertiaryStrong": "rgb(154 51 223)",
310
- "tertiaryStrongForeground": "rgb(255 255 255)",
311
279
  "text": "rgb(19 30 24)",
312
280
  "textSecondary": "rgb(59 74 65)",
313
281
  "textTertiary": "rgb(107 123 113)",
@@ -339,14 +307,10 @@ exports[`theme.colors snapshot for all presets (catches unintended palette shift
339
307
  "primarySubtleForeground": "rgb(0 254 229)",
340
308
  "secondary": "rgb(244 86 35)",
341
309
  "secondaryForeground": "rgb(0 0 0)",
342
- "secondaryStrong": "rgb(212 63 10)",
343
- "secondaryStrongForeground": "rgb(255 255 255)",
344
310
  "shadow": "rgba(0, 0, 0, 0.3)",
345
311
  "success": "rgb(16 185 129)",
346
312
  "tertiary": "rgb(227 85 221)",
347
313
  "tertiaryForeground": "rgb(0 0 0)",
348
- "tertiaryStrong": "rgb(193 53 190)",
349
- "tertiaryStrongForeground": "rgb(255 255 255)",
350
314
  "text": "rgb(215 230 225)",
351
315
  "textSecondary": "rgb(184 202 198)",
352
316
  "textTertiary": "rgb(130 148 144)",
@@ -378,14 +342,10 @@ exports[`theme.colors snapshot for all presets (catches unintended palette shift
378
342
  "primarySubtleForeground": "rgb(0 80 72)",
379
343
  "secondary": "rgb(197 54 0)",
380
344
  "secondaryForeground": "rgb(255 255 255)",
381
- "secondaryStrong": "rgb(197 54 0)",
382
- "secondaryStrongForeground": "rgb(255 255 255)",
383
345
  "shadow": "rgba(0, 0, 0, 0.1)",
384
346
  "success": "rgb(0 122 83)",
385
347
  "tertiary": "rgb(181 39 179)",
386
348
  "tertiaryForeground": "rgb(255 255 255)",
387
- "tertiaryStrong": "rgb(181 39 179)",
388
- "tertiaryStrongForeground": "rgb(255 255 255)",
389
349
  "text": "rgb(17 30 28)",
390
350
  "textSecondary": "rgb(57 74 71)",
391
351
  "textTertiary": "rgb(105 123 119)",
@@ -417,14 +377,10 @@ exports[`theme.colors snapshot for all presets (catches unintended palette shift
417
377
  "primarySubtleForeground": "rgb(255 219 202)",
418
378
  "secondary": "rgb(0 255 254)",
419
379
  "secondaryForeground": "rgb(0 0 0)",
420
- "secondaryStrong": "rgb(0 130 130)",
421
- "secondaryStrongForeground": "rgb(255 255 255)",
422
380
  "shadow": "rgba(0, 0, 0, 0.3)",
423
381
  "success": "rgb(16 185 129)",
424
382
  "tertiary": "rgb(114 127 255)",
425
383
  "tertiaryForeground": "rgb(0 0 0)",
426
- "tertiaryStrong": "rgb(81 97 255)",
427
- "tertiaryStrongForeground": "rgb(255 255 255)",
428
384
  "text": "rgb(248 221 209)",
429
385
  "textSecondary": "rgb(223 192 178)",
430
386
  "textTertiary": "rgb(166 139 126)",
@@ -456,14 +412,10 @@ exports[`theme.colors snapshot for all presets (catches unintended palette shift
456
412
  "primarySubtleForeground": "rgb(120 50 0)",
457
413
  "secondary": "rgb(0 119 119)",
458
414
  "secondaryForeground": "rgb(255 255 255)",
459
- "secondaryStrong": "rgb(0 119 119)",
460
- "secondaryStrongForeground": "rgb(255 255 255)",
461
415
  "shadow": "rgba(0, 0, 0, 0.1)",
462
416
  "success": "rgb(0 122 83)",
463
417
  "tertiary": "rgb(66 83 255)",
464
418
  "tertiaryForeground": "rgb(255 255 255)",
465
- "tertiaryStrong": "rgb(66 83 255)",
466
- "tertiaryStrongForeground": "rgb(255 255 255)",
467
419
  "text": "rgb(38 24 17)",
468
420
  "textSecondary": "rgb(87 66 56)",
469
421
  "textTertiary": "rgb(139 114 102)",
@@ -495,14 +447,10 @@ exports[`theme.colors snapshot for all presets (catches unintended palette shift
495
447
  "primarySubtleForeground": "rgb(251 215 255)",
496
448
  "secondary": "rgb(0 253 200)",
497
449
  "secondaryForeground": "rgb(0 0 0)",
498
- "secondaryStrong": "rgb(0 132 104)",
499
- "secondaryStrongForeground": "rgb(255 255 255)",
500
450
  "shadow": "rgba(0, 0, 0, 0.3)",
501
451
  "success": "rgb(16 185 129)",
502
452
  "tertiary": "rgb(142 249 86)",
503
453
  "tertiaryForeground": "rgb(0 0 0)",
504
- "tertiaryStrong": "rgb(53 133 0)",
505
- "tertiaryStrongForeground": "rgb(255 255 255)",
506
454
  "text": "rgb(237 222 235)",
507
455
  "textSecondary": "rgb(210 193 210)",
508
456
  "textTertiary": "rgb(155 140 155)",
@@ -534,14 +482,10 @@ exports[`theme.colors snapshot for all presets (catches unintended palette shift
534
482
  "primarySubtleForeground": "rgb(119 0 154)",
535
483
  "secondary": "rgb(0 121 95)",
536
484
  "secondaryForeground": "rgb(255 255 255)",
537
- "secondaryStrong": "rgb(0 121 95)",
538
- "secondaryStrongForeground": "rgb(255 255 255)",
539
485
  "shadow": "rgba(0, 0, 0, 0.1)",
540
486
  "success": "rgb(0 122 83)",
541
487
  "tertiary": "rgb(48 122 0)",
542
488
  "tertiaryForeground": "rgb(255 255 255)",
543
- "tertiaryStrong": "rgb(48 122 0)",
544
- "tertiaryStrongForeground": "rgb(255 255 255)",
545
489
  "text": "rgb(33 25 34)",
546
490
  "textSecondary": "rgb(79 67 80)",
547
491
  "textTertiary": "rgb(129 115 129)",
@@ -573,14 +517,10 @@ exports[`theme.colors snapshot for all presets (catches unintended palette shift
573
517
  "primarySubtleForeground": "rgb(255 217 228)",
574
518
  "secondary": "rgb(0 237 255)",
575
519
  "secondaryForeground": "rgb(0 0 0)",
576
- "secondaryStrong": "rgb(0 129 139)",
577
- "secondaryStrongForeground": "rgb(255 255 255)",
578
520
  "shadow": "rgba(0, 0, 0, 0.3)",
579
521
  "success": "rgb(16 185 129)",
580
522
  "tertiary": "rgb(100 250 110)",
581
523
  "tertiaryForeground": "rgb(0 0 0)",
582
- "tertiaryStrong": "rgb(0 135 37)",
583
- "tertiaryStrongForeground": "rgb(255 255 255)",
584
524
  "text": "rgb(245 220 227)",
585
525
  "textSecondary": "rgb(219 191 200)",
586
526
  "textTertiary": "rgb(163 138 146)",
@@ -612,14 +552,10 @@ exports[`theme.colors snapshot for all presets (catches unintended palette shift
612
552
  "primarySubtleForeground": "rgb(140 0 83)",
613
553
  "secondary": "rgb(0 118 127)",
614
554
  "secondaryForeground": "rgb(255 255 255)",
615
- "secondaryStrong": "rgb(0 118 127)",
616
- "secondaryStrongForeground": "rgb(255 255 255)",
617
555
  "shadow": "rgba(0, 0, 0, 0.1)",
618
556
  "success": "rgb(0 122 83)",
619
557
  "tertiary": "rgb(0 124 33)",
620
558
  "tertiaryForeground": "rgb(255 255 255)",
621
- "tertiaryStrong": "rgb(0 124 33)",
622
- "tertiaryStrongForeground": "rgb(255 255 255)",
623
559
  "text": "rgb(37 24 29)",
624
560
  "textSecondary": "rgb(85 65 72)",
625
561
  "textTertiary": "rgb(136 113 120)",
@@ -651,14 +587,10 @@ exports[`theme.colors snapshot for all presets (catches unintended palette shift
651
587
  "primarySubtleForeground": "rgb(233 221 255)",
652
588
  "secondary": "rgb(254 199 0)",
653
589
  "secondaryForeground": "rgb(0 0 0)",
654
- "secondaryStrong": "rgb(144 112 0)",
655
- "secondaryStrongForeground": "rgb(255 255 255)",
656
590
  "shadow": "rgba(0, 0, 0, 0.3)",
657
591
  "success": "rgb(16 185 129)",
658
592
  "tertiary": "rgb(118 245 94)",
659
593
  "tertiaryForeground": "rgb(0 0 0)",
660
- "tertiaryStrong": "rgb(10 136 0)",
661
- "tertiaryStrongForeground": "rgb(255 255 255)",
662
594
  "text": "rgb(231 224 238)",
663
595
  "textSecondary": "rgb(203 195 213)",
664
596
  "textTertiary": "rgb(148 142 159)",
@@ -690,14 +622,10 @@ exports[`theme.colors snapshot for all presets (catches unintended palette shift
690
622
  "primarySubtleForeground": "rgb(86 0 202)",
691
623
  "secondary": "rgb(132 103 0)",
692
624
  "secondaryForeground": "rgb(255 255 255)",
693
- "secondaryStrong": "rgb(132 103 0)",
694
- "secondaryStrongForeground": "rgb(255 255 255)",
695
625
  "shadow": "rgba(0, 0, 0, 0.1)",
696
626
  "success": "rgb(0 122 83)",
697
627
  "tertiary": "rgb(9 124 0)",
698
628
  "tertiaryForeground": "rgb(255 255 255)",
699
- "tertiaryStrong": "rgb(9 124 0)",
700
- "tertiaryStrongForeground": "rgb(255 255 255)",
701
629
  "text": "rgb(29 26 36)",
702
630
  "textSecondary": "rgb(73 68 83)",
703
631
  "textTertiary": "rgb(122 116 132)",
@@ -729,14 +657,10 @@ exports[`theme.colors snapshot for all presets (catches unintended palette shift
729
657
  "primarySubtleForeground": "rgb(255 218 215)",
730
658
  "secondary": "rgb(0 193 253)",
731
659
  "secondaryForeground": "rgb(0 0 0)",
732
- "secondaryStrong": "rgb(0 126 166)",
733
- "secondaryStrongForeground": "rgb(255 255 255)",
734
660
  "shadow": "rgba(0, 0, 0, 0.3)",
735
661
  "success": "rgb(16 185 129)",
736
662
  "tertiary": "rgb(90 250 115)",
737
663
  "tertiaryForeground": "rgb(0 0 0)",
738
- "tertiaryStrong": "rgb(0 135 45)",
739
- "tertiaryStrongForeground": "rgb(255 255 255)",
740
664
  "text": "rgb(249 220 217)",
741
665
  "textSecondary": "rgb(223 191 188)",
742
666
  "textTertiary": "rgb(167 138 136)",
@@ -768,14 +692,10 @@ exports[`theme.colors snapshot for all presets (catches unintended palette shift
768
692
  "primarySubtleForeground": "rgb(147 0 19)",
769
693
  "secondary": "rgb(0 115 153)",
770
694
  "secondaryForeground": "rgb(255 255 255)",
771
- "secondaryStrong": "rgb(0 115 153)",
772
- "secondaryStrongForeground": "rgb(255 255 255)",
773
695
  "shadow": "rgba(0, 0, 0, 0.1)",
774
696
  "success": "rgb(0 122 83)",
775
697
  "tertiary": "rgb(0 124 41)",
776
698
  "tertiaryForeground": "rgb(255 255 255)",
777
- "tertiaryStrong": "rgb(0 124 41)",
778
- "tertiaryStrongForeground": "rgb(255 255 255)",
779
699
  "text": "rgb(39 24 23)",
780
700
  "textSecondary": "rgb(88 65 63)",
781
701
  "textTertiary": "rgb(140 113 110)",
@@ -807,14 +727,10 @@ exports[`theme.colors snapshot for all presets (catches unintended palette shift
807
727
  "primarySubtleForeground": "rgb(201 230 255)",
808
728
  "secondary": "rgb(246 83 51)",
809
729
  "secondaryForeground": "rgb(0 0 0)",
810
- "secondaryStrong": "rgb(213 61 30)",
811
- "secondaryStrongForeground": "rgb(255 255 255)",
812
730
  "shadow": "rgba(0, 0, 0, 0.3)",
813
731
  "success": "rgb(16 185 129)",
814
732
  "tertiary": "rgb(253 200 0)",
815
733
  "tertiaryForeground": "rgb(0 0 0)",
816
- "tertiaryStrong": "rgb(144 112 0)",
817
- "tertiaryStrongForeground": "rgb(255 255 255)",
818
734
  "text": "rgb(219 227 237)",
819
735
  "textSecondary": "rgb(188 200 211)",
820
736
  "textTertiary": "rgb(134 146 157)",
@@ -846,14 +762,10 @@ exports[`theme.colors snapshot for all presets (catches unintended palette shift
846
762
  "primarySubtleForeground": "rgb(0 76 110)",
847
763
  "secondary": "rgb(199 50 21)",
848
764
  "secondaryForeground": "rgb(255 255 255)",
849
- "secondaryStrong": "rgb(199 50 21)",
850
- "secondaryStrongForeground": "rgb(255 255 255)",
851
765
  "shadow": "rgba(0, 0, 0, 0.1)",
852
766
  "success": "rgb(0 122 83)",
853
767
  "tertiary": "rgb(132 103 0)",
854
768
  "tertiaryForeground": "rgb(255 255 255)",
855
- "tertiaryStrong": "rgb(132 103 0)",
856
- "tertiaryStrongForeground": "rgb(255 255 255)",
857
769
  "text": "rgb(20 29 35)",
858
770
  "textSecondary": "rgb(61 72 81)",
859
771
  "textTertiary": "rgb(109 120 131)",
@@ -885,14 +797,10 @@ exports[`theme.colors snapshot for all presets (catches unintended palette shift
885
797
  "primarySubtleForeground": "rgb(154 240 255)",
886
798
  "secondary": "rgb(243 74 143)",
887
799
  "secondaryForeground": "rgb(0 0 0)",
888
- "secondaryStrong": "rgb(213 49 120)",
889
- "secondaryStrongForeground": "rgb(255 255 255)",
890
800
  "shadow": "rgba(0, 0, 0, 0.3)",
891
801
  "success": "rgb(16 185 129)",
892
802
  "tertiary": "rgb(253 144 0)",
893
803
  "tertiaryForeground": "rgb(0 0 0)",
894
- "tertiaryStrong": "rgb(174 97 0)",
895
- "tertiaryStrongForeground": "rgb(255 255 255)",
896
804
  "text": "rgb(215 229 232)",
897
805
  "textSecondary": "rgb(184 202 205)",
898
806
  "textTertiary": "rgb(131 148 151)",
@@ -924,14 +832,10 @@ exports[`theme.colors snapshot for all presets (catches unintended palette shift
924
832
  "primarySubtleForeground": "rgb(0 79 88)",
925
833
  "secondary": "rgb(199 36 110)",
926
834
  "secondaryForeground": "rgb(255 255 255)",
927
- "secondaryStrong": "rgb(199 36 110)",
928
- "secondaryStrongForeground": "rgb(255 255 255)",
929
835
  "shadow": "rgba(0, 0, 0, 0.1)",
930
836
  "success": "rgb(0 122 83)",
931
837
  "tertiary": "rgb(160 89 0)",
932
838
  "tertiaryForeground": "rgb(255 255 255)",
933
- "tertiaryStrong": "rgb(160 89 0)",
934
- "tertiaryStrongForeground": "rgb(255 255 255)",
935
839
  "text": "rgb(17 29 32)",
936
840
  "textSecondary": "rgb(57 73 77)",
937
841
  "textTertiary": "rgb(105 122 125)",
@@ -963,14 +867,10 @@ exports[`theme.colors snapshot for all presets (catches unintended palette shift
963
867
  "primarySubtleForeground": "rgb(255 223 154)",
964
868
  "secondary": "rgb(0 186 255)",
965
869
  "secondaryForeground": "rgb(0 0 0)",
966
- "secondaryStrong": "rgb(0 125 173)",
967
- "secondaryStrongForeground": "rgb(255 255 255)",
968
870
  "shadow": "rgba(0, 0, 0, 0.3)",
969
871
  "success": "rgb(16 185 129)",
970
872
  "tertiary": "rgb(149 115 255)",
971
873
  "tertiaryForeground": "rgb(0 0 0)",
972
- "tertiaryStrong": "rgb(127 81 255)",
973
- "tertiaryStrongForeground": "rgb(255 255 255)",
974
874
  "text": "rgb(238 225 202)",
975
875
  "textSecondary": "rgb(211 197 170)",
976
876
  "textTertiary": "rgb(156 143 119)",
@@ -1002,14 +902,10 @@ exports[`theme.colors snapshot for all presets (catches unintended palette shift
1002
902
  "primarySubtleForeground": "rgb(90 67 0)",
1003
903
  "secondary": "rgb(0 114 158)",
1004
904
  "secondaryForeground": "rgb(255 255 255)",
1005
- "secondaryStrong": "rgb(0 114 158)",
1006
- "secondaryStrongForeground": "rgb(255 255 255)",
1007
905
  "shadow": "rgba(0, 0, 0, 0.1)",
1008
906
  "success": "rgb(0 122 83)",
1009
907
  "tertiary": "rgb(117 66 250)",
1010
908
  "tertiaryForeground": "rgb(255 255 255)",
1011
- "tertiaryStrong": "rgb(117 66 250)",
1012
- "tertiaryStrongForeground": "rgb(255 255 255)",
1013
909
  "text": "rgb(33 27 13)",
1014
910
  "textSecondary": "rgb(79 70 49)",
1015
911
  "textTertiary": "rgb(130 118 95)",
@@ -43,12 +43,6 @@ function getAndroidColors(): ThemeColors | null {
43
43
  secondaryForeground: c(d.onSecondary),
44
44
  tertiary: c(d.tertiary),
45
45
  tertiaryForeground: c(d.onTertiary),
46
- // Adaptive palettes come from the OS, which has no peak-tone accent to
47
- // deepen, so the solid-button member is the accent itself.
48
- secondaryStrong: c(d.secondary),
49
- secondaryStrongForeground: c(d.onSecondary),
50
- tertiaryStrong: c(d.tertiary),
51
- tertiaryStrongForeground: c(d.onTertiary),
52
46
  tint: c(d.primary),
53
47
  icon: c(d.onSurfaceVariant),
54
48
  iconActive: c(d.primary),
@@ -94,10 +88,6 @@ function getIOSColors(): ThemeColors | null {
94
88
  secondaryForeground: '#FFFFFF',
95
89
  tertiary: c(i.systemTeal),
96
90
  tertiaryForeground: '#FFFFFF',
97
- secondaryStrong: c(i.systemPurple),
98
- secondaryStrongForeground: '#FFFFFF',
99
- tertiaryStrong: c(i.systemTeal),
100
- tertiaryStrongForeground: '#FFFFFF',
101
91
  tint: c(i.systemBlue),
102
92
  icon: c(i.secondaryLabel),
103
93
  iconActive: c(i.systemBlue),
@@ -79,10 +79,6 @@ export function buildColorsFromSeed(
79
79
  secondaryForeground: g('secondary-foreground'),
80
80
  tertiary: g('tertiary'),
81
81
  tertiaryForeground: g('tertiary-foreground'),
82
- secondaryStrong: g('secondary-strong'),
83
- secondaryStrongForeground: g('secondary-strong-foreground'),
84
- tertiaryStrong: g('tertiary-strong'),
85
- tertiaryStrongForeground: g('tertiary-strong-foreground'),
86
82
 
87
83
  tint: g('primary'),
88
84
  icon: g('muted-foreground'),
@@ -78,10 +78,6 @@ function buildColorsFromPreset(
78
78
  secondaryForeground: g('secondary-foreground'),
79
79
  tertiary: g('tertiary'),
80
80
  tertiaryForeground: g('tertiary-foreground'),
81
- secondaryStrong: g('secondary-strong'),
82
- secondaryStrongForeground: g('secondary-strong-foreground'),
83
- tertiaryStrong: g('tertiary-strong'),
84
- tertiaryStrongForeground: g('tertiary-strong-foreground'),
85
81
 
86
82
  tint: g('primary'),
87
83
  icon: g('muted-foreground'),
@@ -115,18 +115,6 @@ const ACCENT_CHROMA = 80;
115
115
  const TEXT_TONE = { light: 40, dark: 80 } as const;
116
116
  const TEXT_CHROMA = 60;
117
117
 
118
- /**
119
- * The tone a `-strong` accent sits at: deep enough to carry a WHITE label.
120
- *
121
- * `--tertiary` is the vivid accent — a tile, a chip, a block of colour — and it
122
- * sits at its hue's peak tone so a lime reads as lime. A solid BUTTON is a
123
- * different job: it wants the same hue with white on it, which needs tone <= 49.
124
- * One token cannot do both, exactly as `--primary` could not be both the fill
125
- * and the legible text accent. Capping `--tertiary` itself to win the label back
126
- * dulls every other use of it, so the button gets its own member instead.
127
- */
128
- const STRONG_TONE = 49;
129
-
130
118
  /** The `-subtle` tint is mixed from a BRIGHT tone at low alpha, never a dark one at high alpha. */
131
119
  const SUBTLE_SOURCE_TONE = 60;
132
120
  const SUBTLE_ALPHA = { light: 0.13, dark: 0.24 } as const;
@@ -330,12 +318,6 @@ export function buildPolicyTokens(
330
318
  vividPalette.tone(SUBTLE_SOURCE_TONE),
331
319
  isDark ? SUBTLE_ALPHA.dark : SUBTLE_ALPHA.light,
332
320
  );
333
- // The solid-button member: same hue, deep enough for a white label in both
334
- // modes. In light it lands on the ordinary fill tone, so a button that uses
335
- // it there is identical to one that used the accent.
336
- const strong = fillPair(fillPalette, isDark ? STRONG_TONE : LIGHT_FILL_TONE);
337
- tokens[`--${role}-strong`] = strong.fill;
338
- tokens[`--${role}-strong-foreground`] = strong.foreground;
339
321
  }
340
322
 
341
323
  // Categorical chart ramp: five hues spread evenly from the seed at one tone.
@@ -61,12 +61,8 @@ export const CANONICAL_TOKENS = [
61
61
  'primary-subtle',
62
62
  'secondary-text',
63
63
  'secondary-subtle',
64
- 'secondary-strong',
65
- 'secondary-strong-foreground',
66
64
  'tertiary-text',
67
65
  'tertiary-subtle',
68
- 'tertiary-strong',
69
- 'tertiary-strong-foreground',
70
66
 
71
67
  // --- semantic status, themed per mode ---
72
68
  // Replaces four frozen hexes that all FAILED AA under white text (warning at
@@ -25,15 +25,6 @@ export interface ThemeColors {
25
25
  /** The M3 tertiary accent, completing the primary/secondary/tertiary trio. */
26
26
  tertiary: string;
27
27
  tertiaryForeground: string;
28
- /**
29
- * The solid-BUTTON member of each accent: the same hue, deep enough to carry a
30
- * white label. The accent itself sits at its hue's peak tone, where nothing but
31
- * black survives — fine for a tile or a chip, wrong for a FAB.
32
- */
33
- secondaryStrong: string;
34
- secondaryStrongForeground: string;
35
- tertiaryStrong: string;
36
- tertiaryStrongForeground: string;
37
28
 
38
29
  tint: string;
39
30
  icon: string;