@sigx/zero-daisyui 0.2.0-beta.4 → 0.2.0-beta.5

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.
@@ -25,6 +25,7 @@
25
25
  width: calc(var(--size-selector) * 6);
26
26
  height: calc(var(--size-selector) * 6);
27
27
  padding: var(--checkbox-pad);
28
+ border: var(--border) solid var(--checkbox-accent);
28
29
  border-radius: var(--radius-selector);
29
30
  color: var(--checkbox-on-accent);
30
31
  box-shadow: 0 1px var(--depth-shade) inset, 0 0 #0000 inset, 0 0 #0000;
@@ -78,7 +79,7 @@
78
79
  height: 100%;
79
80
  opacity: 0;
80
81
  rotate: 45deg;
81
- background-color: currentColor;
82
+ background-color: var(--checkbox-on-accent);
82
83
  clip-path: polygon(20% 100%, 20% 80%, 50% 80%, 50% 80%, 70% 80%, 70% 100%);
83
84
  box-shadow: 0 3px 0 0 var(--depth-sheen) inset;
84
85
  font-size: 1rem;
@@ -39,6 +39,7 @@
39
39
  width: calc(var(--size-selector) * 6);
40
40
  height: calc(var(--size-selector) * 6);
41
41
  padding: var(--radio-pad);
42
+ border: var(--border) solid var(--radio-accent);
42
43
  border-radius: 9999px;
43
44
  color: var(--radio-accent);
44
45
  background-color: var(--color-base-100);
@@ -67,7 +68,7 @@
67
68
  }
68
69
 
69
70
  .zx-radio-group__item-control.zx-s-checked {
70
- border-color: currentColor;
71
+ border-color: var(--radio-accent);
71
72
  animation: var(--duration-fast) var(--ease-standard) zero-daisy-radio;
72
73
  }
73
74
 
@@ -88,7 +89,7 @@
88
89
  }
89
90
 
90
91
  .zx-radio-group__item-indicator.zx-s-checked {
91
- background-color: currentColor;
92
+ background-color: var(--radio-accent);
92
93
  box-shadow: 0 -1px var(--depth-shade) inset, 0 8px 0 -4px var(--depth-sheen) inset, 0 1px var(--depth-shade);
93
94
  }
94
95
 
@@ -21,6 +21,7 @@
21
21
  cursor: pointer;
22
22
  position: relative;
23
23
  transition: background var(--duration-normal) var(--ease-standard), color var(--duration-normal) var(--ease-standard);
24
+ --tab-active-ink: var(--color-base-content);
24
25
  }
25
26
 
26
27
  .zx-root .zx-tabs__tab {
@@ -85,6 +86,26 @@
85
86
  --tab-px: var(--space-2xl);
86
87
  }
87
88
 
89
+ .zx-root .zx-tabs__tab.zx-a-color-primary {
90
+ --tab-active-ink: #3f2bcb;
91
+ }
92
+
93
+ .zx-root.zx-theme-dark .zx-tabs__tab.zx-a-color-primary {
94
+ --tab-active-ink: #6567ff;
95
+ }
96
+
97
+ .zx-root.zx-theme-dim .zx-tabs__tab.zx-a-color-primary {
98
+ --tab-active-ink: #a0e791;
99
+ }
100
+
101
+ .zx-root.zx-theme-nord .zx-tabs__tab.zx-a-color-primary {
102
+ --tab-active-ink: #5c7da6;
103
+ }
104
+
105
+ .zx-root.zx-theme-sunset .zx-tabs__tab.zx-a-color-primary {
106
+ --tab-active-ink: #fb8a62;
107
+ }
108
+
88
109
  .zx-root .zx-tabs__tab.zx-a-color-primary.zx-s-active {
89
110
  color: #3f2bcb;
90
111
  }
@@ -105,6 +126,26 @@
105
126
  color: #fb8a62;
106
127
  }
107
128
 
129
+ .zx-root .zx-tabs__tab.zx-a-color-secondary {
130
+ --tab-active-ink: #ad316f;
131
+ }
132
+
133
+ .zx-root.zx-theme-dark .zx-tabs__tab.zx-a-color-secondary {
134
+ --tab-active-ink: #fa7cb6;
135
+ }
136
+
137
+ .zx-root.zx-theme-dim .zx-tabs__tab.zx-a-color-secondary {
138
+ --tab-active-ink: #ed9984;
139
+ }
140
+
141
+ .zx-root.zx-theme-nord .zx-tabs__tab.zx-a-color-secondary {
142
+ --tab-active-ink: #677e98;
143
+ }
144
+
145
+ .zx-root.zx-theme-sunset .zx-tabs__tab.zx-a-color-secondary {
146
+ --tab-active-ink: #e68aac;
147
+ }
148
+
108
149
  .zx-root .zx-tabs__tab.zx-a-color-secondary.zx-s-active {
109
150
  color: #ad316f;
110
151
  }
@@ -125,6 +166,26 @@
125
166
  color: #e68aac;
126
167
  }
127
168
 
169
+ .zx-root .zx-tabs__tab.zx-a-color-accent {
170
+ --tab-active-ink: #2b786d;
171
+ }
172
+
173
+ .zx-root.zx-theme-dark .zx-tabs__tab.zx-a-color-accent {
174
+ --tab-active-ink: #93e5d9;
175
+ }
176
+
177
+ .zx-root.zx-theme-dim .zx-tabs__tab.zx-a-color-accent {
178
+ --tab-active-ink: #bfade1;
179
+ }
180
+
181
+ .zx-root.zx-theme-nord .zx-tabs__tab.zx-a-color-accent {
182
+ --tab-active-ink: #5e7d8c;
183
+ }
184
+
185
+ .zx-root.zx-theme-sunset .zx-tabs__tab.zx-a-color-accent {
186
+ --tab-active-ink: #ab9fe8;
187
+ }
188
+
128
189
  .zx-root .zx-tabs__tab.zx-a-color-accent.zx-s-active {
129
190
  color: #2b786d;
130
191
  }
@@ -145,6 +206,26 @@
145
206
  color: #ab9fe8;
146
207
  }
147
208
 
209
+ .zx-root .zx-tabs__tab.zx-a-color-neutral {
210
+ --tab-active-ink: #121214;
211
+ }
212
+
213
+ .zx-root.zx-theme-dark .zx-tabs__tab.zx-a-color-neutral {
214
+ --tab-active-ink: #878e92;
215
+ }
216
+
217
+ .zx-root.zx-theme-dim .zx-tabs__tab.zx-a-color-neutral {
218
+ --tab-active-ink: #71828c;
219
+ }
220
+
221
+ .zx-root.zx-theme-nord .zx-tabs__tab.zx-a-color-neutral {
222
+ --tab-active-ink: #3a4150;
223
+ }
224
+
225
+ .zx-root.zx-theme-sunset .zx-tabs__tab.zx-a-color-neutral {
226
+ --tab-active-ink: #667a8a;
227
+ }
228
+
148
229
  .zx-root .zx-tabs__tab.zx-a-color-neutral.zx-s-active {
149
230
  color: #121214;
150
231
  }
@@ -165,6 +246,26 @@
165
246
  color: #667a8a;
166
247
  }
167
248
 
249
+ .zx-root .zx-tabs__tab.zx-a-color-info {
250
+ --tab-active-ink: #2685b3;
251
+ }
252
+
253
+ .zx-root.zx-theme-dark .zx-tabs__tab.zx-a-color-info {
254
+ --tab-active-ink: #70ceff;
255
+ }
256
+
257
+ .zx-root.zx-theme-dim .zx-tabs__tab.zx-a-color-info {
258
+ --tab-active-ink: #6ce2f3;
259
+ }
260
+
261
+ .zx-root.zx-theme-nord .zx-tabs__tab.zx-a-color-info {
262
+ --tab-active-ink: #89728a;
263
+ }
264
+
265
+ .zx-root.zx-theme-sunset .zx-tabs__tab.zx-a-color-info {
266
+ --tab-active-ink: #91d4e3;
267
+ }
268
+
168
269
  .zx-root .zx-tabs__tab.zx-a-color-info.zx-s-active {
169
270
  color: #2685b3;
170
271
  }
@@ -185,6 +286,26 @@
185
286
  color: #91d4e3;
186
287
  }
187
288
 
289
+ .zx-root .zx-tabs__tab.zx-a-color-success {
290
+ --tab-active-ink: #2a7858;
291
+ }
292
+
293
+ .zx-root.zx-theme-dark .zx-tabs__tab.zx-a-color-success {
294
+ --tab-active-ink: #92e5c2;
295
+ }
296
+
297
+ .zx-root.zx-theme-dim .zx-tabs__tab.zx-a-color-success {
298
+ --tab-active-ink: #8ee0c9;
299
+ }
300
+
301
+ .zx-root.zx-theme-nord .zx-tabs__tab.zx-a-color-success {
302
+ --tab-active-ink: #6b7d6a;
303
+ }
304
+
305
+ .zx-root.zx-theme-sunset .zx-tabs__tab.zx-a-color-success {
306
+ --tab-active-ink: #a6cebe;
307
+ }
308
+
188
309
  .zx-root .zx-tabs__tab.zx-a-color-success.zx-s-active {
189
310
  color: #2a7858;
190
311
  }
@@ -205,6 +326,26 @@
205
326
  color: #a6cebe;
206
327
  }
207
328
 
329
+ .zx-root .zx-tabs__tab.zx-a-color-warning {
330
+ --tab-active-ink: #755a2b;
331
+ }
332
+
333
+ .zx-root.zx-theme-dark .zx-tabs__tab.zx-a-color-warning {
334
+ --tab-active-ink: #f5ddac;
335
+ }
336
+
337
+ .zx-root.zx-theme-dim .zx-tabs__tab.zx-a-color-warning {
338
+ --tab-active-ink: #cecfa6;
339
+ }
340
+
341
+ .zx-root.zx-theme-nord .zx-tabs__tab.zx-a-color-warning {
342
+ --tab-active-ink: #7d7463;
343
+ }
344
+
345
+ .zx-root.zx-theme-sunset .zx-tabs__tab.zx-a-color-warning {
346
+ --tab-active-ink: #c5c1b7;
347
+ }
348
+
208
349
  .zx-root .zx-tabs__tab.zx-a-color-warning.zx-s-active {
209
350
  color: #755a2b;
210
351
  }
@@ -225,6 +366,26 @@
225
366
  color: #c5c1b7;
226
367
  }
227
368
 
369
+ .zx-root .zx-tabs__tab.zx-a-color-error {
370
+ --tab-active-ink: #d9576d;
371
+ }
372
+
373
+ .zx-root.zx-theme-dark .zx-tabs__tab.zx-a-color-error {
374
+ --tab-active-ink: #ff7d90;
375
+ }
376
+
377
+ .zx-root.zx-theme-dim .zx-tabs__tab.zx-a-color-error {
378
+ --tab-active-ink: #f5b3a4;
379
+ }
380
+
381
+ .zx-root.zx-theme-nord .zx-tabs__tab.zx-a-color-error {
382
+ --tab-active-ink: #a85b64;
383
+ }
384
+
385
+ .zx-root.zx-theme-sunset .zx-tabs__tab.zx-a-color-error {
386
+ --tab-active-ink: #f2bbc0;
387
+ }
388
+
228
389
  .zx-root .zx-tabs__tab.zx-a-color-error.zx-s-active {
229
390
  color: #d9576d;
230
391
  }
@@ -251,7 +412,7 @@
251
412
  }
252
413
 
253
414
  .zx-tabs__tab.zx-a-variant-border.zx-s-active {
254
- border-bottom-color: currentColor;
415
+ border-bottom-color: var(--tab-active-ink);
255
416
  }
256
417
 
257
418
  .zx-tabs__tab.zx-a-variant-lift {
@@ -462,6 +462,7 @@
462
462
  cursor: pointer;
463
463
  position: relative;
464
464
  transition: background var(--duration-normal) var(--ease-standard), color var(--duration-normal) var(--ease-standard);
465
+ --tab-active-ink: var(--color-base-content);
465
466
  }
466
467
 
467
468
  .zx-root .zx-tabs__tab {
@@ -526,6 +527,26 @@
526
527
  --tab-px: var(--space-2xl);
527
528
  }
528
529
 
530
+ .zx-root .zx-tabs__tab.zx-a-color-primary {
531
+ --tab-active-ink: #3f2bcb;
532
+ }
533
+
534
+ .zx-root.zx-theme-dark .zx-tabs__tab.zx-a-color-primary {
535
+ --tab-active-ink: #6567ff;
536
+ }
537
+
538
+ .zx-root.zx-theme-dim .zx-tabs__tab.zx-a-color-primary {
539
+ --tab-active-ink: #a0e791;
540
+ }
541
+
542
+ .zx-root.zx-theme-nord .zx-tabs__tab.zx-a-color-primary {
543
+ --tab-active-ink: #5c7da6;
544
+ }
545
+
546
+ .zx-root.zx-theme-sunset .zx-tabs__tab.zx-a-color-primary {
547
+ --tab-active-ink: #fb8a62;
548
+ }
549
+
529
550
  .zx-root .zx-tabs__tab.zx-a-color-primary.zx-s-active {
530
551
  color: #3f2bcb;
531
552
  }
@@ -546,6 +567,26 @@
546
567
  color: #fb8a62;
547
568
  }
548
569
 
570
+ .zx-root .zx-tabs__tab.zx-a-color-secondary {
571
+ --tab-active-ink: #ad316f;
572
+ }
573
+
574
+ .zx-root.zx-theme-dark .zx-tabs__tab.zx-a-color-secondary {
575
+ --tab-active-ink: #fa7cb6;
576
+ }
577
+
578
+ .zx-root.zx-theme-dim .zx-tabs__tab.zx-a-color-secondary {
579
+ --tab-active-ink: #ed9984;
580
+ }
581
+
582
+ .zx-root.zx-theme-nord .zx-tabs__tab.zx-a-color-secondary {
583
+ --tab-active-ink: #677e98;
584
+ }
585
+
586
+ .zx-root.zx-theme-sunset .zx-tabs__tab.zx-a-color-secondary {
587
+ --tab-active-ink: #e68aac;
588
+ }
589
+
549
590
  .zx-root .zx-tabs__tab.zx-a-color-secondary.zx-s-active {
550
591
  color: #ad316f;
551
592
  }
@@ -566,6 +607,26 @@
566
607
  color: #e68aac;
567
608
  }
568
609
 
610
+ .zx-root .zx-tabs__tab.zx-a-color-accent {
611
+ --tab-active-ink: #2b786d;
612
+ }
613
+
614
+ .zx-root.zx-theme-dark .zx-tabs__tab.zx-a-color-accent {
615
+ --tab-active-ink: #93e5d9;
616
+ }
617
+
618
+ .zx-root.zx-theme-dim .zx-tabs__tab.zx-a-color-accent {
619
+ --tab-active-ink: #bfade1;
620
+ }
621
+
622
+ .zx-root.zx-theme-nord .zx-tabs__tab.zx-a-color-accent {
623
+ --tab-active-ink: #5e7d8c;
624
+ }
625
+
626
+ .zx-root.zx-theme-sunset .zx-tabs__tab.zx-a-color-accent {
627
+ --tab-active-ink: #ab9fe8;
628
+ }
629
+
569
630
  .zx-root .zx-tabs__tab.zx-a-color-accent.zx-s-active {
570
631
  color: #2b786d;
571
632
  }
@@ -586,6 +647,26 @@
586
647
  color: #ab9fe8;
587
648
  }
588
649
 
650
+ .zx-root .zx-tabs__tab.zx-a-color-neutral {
651
+ --tab-active-ink: #121214;
652
+ }
653
+
654
+ .zx-root.zx-theme-dark .zx-tabs__tab.zx-a-color-neutral {
655
+ --tab-active-ink: #878e92;
656
+ }
657
+
658
+ .zx-root.zx-theme-dim .zx-tabs__tab.zx-a-color-neutral {
659
+ --tab-active-ink: #71828c;
660
+ }
661
+
662
+ .zx-root.zx-theme-nord .zx-tabs__tab.zx-a-color-neutral {
663
+ --tab-active-ink: #3a4150;
664
+ }
665
+
666
+ .zx-root.zx-theme-sunset .zx-tabs__tab.zx-a-color-neutral {
667
+ --tab-active-ink: #667a8a;
668
+ }
669
+
589
670
  .zx-root .zx-tabs__tab.zx-a-color-neutral.zx-s-active {
590
671
  color: #121214;
591
672
  }
@@ -606,6 +687,26 @@
606
687
  color: #667a8a;
607
688
  }
608
689
 
690
+ .zx-root .zx-tabs__tab.zx-a-color-info {
691
+ --tab-active-ink: #2685b3;
692
+ }
693
+
694
+ .zx-root.zx-theme-dark .zx-tabs__tab.zx-a-color-info {
695
+ --tab-active-ink: #70ceff;
696
+ }
697
+
698
+ .zx-root.zx-theme-dim .zx-tabs__tab.zx-a-color-info {
699
+ --tab-active-ink: #6ce2f3;
700
+ }
701
+
702
+ .zx-root.zx-theme-nord .zx-tabs__tab.zx-a-color-info {
703
+ --tab-active-ink: #89728a;
704
+ }
705
+
706
+ .zx-root.zx-theme-sunset .zx-tabs__tab.zx-a-color-info {
707
+ --tab-active-ink: #91d4e3;
708
+ }
709
+
609
710
  .zx-root .zx-tabs__tab.zx-a-color-info.zx-s-active {
610
711
  color: #2685b3;
611
712
  }
@@ -626,6 +727,26 @@
626
727
  color: #91d4e3;
627
728
  }
628
729
 
730
+ .zx-root .zx-tabs__tab.zx-a-color-success {
731
+ --tab-active-ink: #2a7858;
732
+ }
733
+
734
+ .zx-root.zx-theme-dark .zx-tabs__tab.zx-a-color-success {
735
+ --tab-active-ink: #92e5c2;
736
+ }
737
+
738
+ .zx-root.zx-theme-dim .zx-tabs__tab.zx-a-color-success {
739
+ --tab-active-ink: #8ee0c9;
740
+ }
741
+
742
+ .zx-root.zx-theme-nord .zx-tabs__tab.zx-a-color-success {
743
+ --tab-active-ink: #6b7d6a;
744
+ }
745
+
746
+ .zx-root.zx-theme-sunset .zx-tabs__tab.zx-a-color-success {
747
+ --tab-active-ink: #a6cebe;
748
+ }
749
+
629
750
  .zx-root .zx-tabs__tab.zx-a-color-success.zx-s-active {
630
751
  color: #2a7858;
631
752
  }
@@ -646,6 +767,26 @@
646
767
  color: #a6cebe;
647
768
  }
648
769
 
770
+ .zx-root .zx-tabs__tab.zx-a-color-warning {
771
+ --tab-active-ink: #755a2b;
772
+ }
773
+
774
+ .zx-root.zx-theme-dark .zx-tabs__tab.zx-a-color-warning {
775
+ --tab-active-ink: #f5ddac;
776
+ }
777
+
778
+ .zx-root.zx-theme-dim .zx-tabs__tab.zx-a-color-warning {
779
+ --tab-active-ink: #cecfa6;
780
+ }
781
+
782
+ .zx-root.zx-theme-nord .zx-tabs__tab.zx-a-color-warning {
783
+ --tab-active-ink: #7d7463;
784
+ }
785
+
786
+ .zx-root.zx-theme-sunset .zx-tabs__tab.zx-a-color-warning {
787
+ --tab-active-ink: #c5c1b7;
788
+ }
789
+
649
790
  .zx-root .zx-tabs__tab.zx-a-color-warning.zx-s-active {
650
791
  color: #755a2b;
651
792
  }
@@ -666,6 +807,26 @@
666
807
  color: #c5c1b7;
667
808
  }
668
809
 
810
+ .zx-root .zx-tabs__tab.zx-a-color-error {
811
+ --tab-active-ink: #d9576d;
812
+ }
813
+
814
+ .zx-root.zx-theme-dark .zx-tabs__tab.zx-a-color-error {
815
+ --tab-active-ink: #ff7d90;
816
+ }
817
+
818
+ .zx-root.zx-theme-dim .zx-tabs__tab.zx-a-color-error {
819
+ --tab-active-ink: #f5b3a4;
820
+ }
821
+
822
+ .zx-root.zx-theme-nord .zx-tabs__tab.zx-a-color-error {
823
+ --tab-active-ink: #a85b64;
824
+ }
825
+
826
+ .zx-root.zx-theme-sunset .zx-tabs__tab.zx-a-color-error {
827
+ --tab-active-ink: #f2bbc0;
828
+ }
829
+
669
830
  .zx-root .zx-tabs__tab.zx-a-color-error.zx-s-active {
670
831
  color: #d9576d;
671
832
  }
@@ -692,7 +853,7 @@
692
853
  }
693
854
 
694
855
  .zx-tabs__tab.zx-a-variant-border.zx-s-active {
695
- border-bottom-color: currentColor;
856
+ border-bottom-color: var(--tab-active-ink);
696
857
  }
697
858
 
698
859
  .zx-tabs__tab.zx-a-variant-lift {
@@ -2373,6 +2534,7 @@
2373
2534
  width: calc(var(--size-selector) * 6);
2374
2535
  height: calc(var(--size-selector) * 6);
2375
2536
  padding: var(--checkbox-pad);
2537
+ border: var(--border) solid var(--checkbox-accent);
2376
2538
  border-radius: var(--radius-selector);
2377
2539
  color: var(--checkbox-on-accent);
2378
2540
  box-shadow: 0 1px var(--depth-shade) inset, 0 0 #0000 inset, 0 0 #0000;
@@ -2426,7 +2588,7 @@
2426
2588
  height: 100%;
2427
2589
  opacity: 0;
2428
2590
  rotate: 45deg;
2429
- background-color: currentColor;
2591
+ background-color: var(--checkbox-on-accent);
2430
2592
  clip-path: polygon(20% 100%, 20% 80%, 50% 80%, 50% 80%, 70% 80%, 70% 100%);
2431
2593
  box-shadow: 0 3px 0 0 var(--depth-sheen) inset;
2432
2594
  font-size: 1rem;
@@ -2572,6 +2734,7 @@
2572
2734
  width: calc(var(--size-selector) * 6);
2573
2735
  height: calc(var(--size-selector) * 6);
2574
2736
  padding: var(--radio-pad);
2737
+ border: var(--border) solid var(--radio-accent);
2575
2738
  border-radius: 9999px;
2576
2739
  color: var(--radio-accent);
2577
2740
  background-color: var(--color-base-100);
@@ -2600,7 +2763,7 @@
2600
2763
  }
2601
2764
 
2602
2765
  .zx-radio-group__item-control.zx-s-checked {
2603
- border-color: currentColor;
2766
+ border-color: var(--radio-accent);
2604
2767
  animation: var(--duration-fast) var(--ease-standard) zero-daisy-radio;
2605
2768
  }
2606
2769
 
@@ -2621,7 +2784,7 @@
2621
2784
  }
2622
2785
 
2623
2786
  .zx-radio-group__item-indicator.zx-s-checked {
2624
- background-color: currentColor;
2787
+ background-color: var(--radio-accent);
2625
2788
  box-shadow: 0 -1px var(--depth-shade) inset, 0 8px 0 -4px var(--depth-sheen) inset, 0 1px var(--depth-shade);
2626
2789
  }
2627
2790
 
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://signalxjs.github.io/zero/schemas/lynx-manifest.schema.json",
3
3
  "manifestVersion": 1,
4
- "zeroVersion": "0.2.0-beta.4",
4
+ "zeroVersion": "0.2.0-beta.5",
5
5
  "name": "daisyui",
6
6
  "themes": [
7
7
  {
@@ -1803,6 +1803,6 @@
1803
1803
  "classGrammarVersion": 1,
1804
1804
  "capabilities": {
1805
1805
  "translated": 60,
1806
- "dropped": 227
1806
+ "dropped": 225
1807
1807
  }
1808
1808
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://signalxjs.github.io/zero/schemas/ds-manifest.schema.json",
3
3
  "manifestVersion": 1,
4
- "zeroVersion": "0.2.0-beta.4",
4
+ "zeroVersion": "0.2.0-beta.5",
5
5
  "name": "daisyui",
6
6
  "themes": [
7
7
  {
@@ -1 +1 @@
1
- {"version":3,"file":"recipes.d.ts","sourceRoot":"","sources":["../src/recipes.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAwB,WAAW,EAAY,MAAM,gBAAgB,CAAC;AAuLl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,EAAE,WAgGlB,CAAC;AAEF,2EAA2E;AAC3E,eAAO,MAAM,cAAc,EAAE,WA+G5B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,IAAI,EAAE,WAmElB,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,MAAM,EAAE,WAsDpB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,WAAW,EAAE,WAoEzB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,UAAU,EAAE,WAyHxB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,KAAK,EAAE,WA2InB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,MAAM,EAAE,WAkEpB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,KAAK,EAAE,WAgGnB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,WAmIxB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,QAAQ,EAAE,WA8ItB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,IAAI,EAAE,WA8ElB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,SAAS,EAAE,WA+CvB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,IAAI,EAAE,WAmGlB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,WAAW,EAahC,CAAC"}
package/dist/recipes.js CHANGED
@@ -436,18 +436,33 @@ export const tabs = {
436
436
  defaultVariants: { size: 'md', variant: 'border' },
437
437
  targets: {
438
438
  lynx: {
439
+ parts: {
440
+ // The default active ink — base-content, exactly what the
441
+ // shared `states.active.color` paints. One class, so any
442
+ // color-axis definition below (host + two classes, baked per
443
+ // theme) wins on specificity.
444
+ tab: { base: { '--tab-active-ink': 'var(--color-base-content)' } },
445
+ },
439
446
  variants: {
447
+ // `currentColor` never resolves on lynx (measured on device
448
+ // on both platforms, signalxjs/lynx#1079 — the underline was
449
+ // transparent everywhere), so the color axis restates its
450
+ // active ink as a plain custom property. `roleInk` reads
451
+ // theme colors through color-mix(), which the emitter bakes
452
+ // once per theme — the same per-color/per-theme literal the
453
+ // active `color:` rules already land as.
454
+ color: Object.fromEntries(ROLES.map((c) => [c, { tab: { base: { '--tab-active-ink': roleInk(c) } } }])),
440
455
  variant: {
441
456
  // The underline is a ::before on the web, which lynx
442
457
  // drops — redrawn as a real bottom border on the tab
443
458
  // itself (transparent at rest so activation never moves
444
- // the row). `currentColor` keeps it following the color
445
- // axis ink, the same mechanism switch's shared border
446
- // already relies on for lynx.
459
+ // the row). The active ink rides `--tab-active-ink`
460
+ // above — a plain var() chain, device-proven — instead
461
+ // of `currentColor`, which lynx never resolves.
447
462
  border: {
448
463
  tab: {
449
464
  base: { borderBottom: '3px solid transparent' },
450
- states: { active: { borderBottomColor: 'currentColor' } },
465
+ states: { active: { borderBottomColor: 'var(--tab-active-ink)' } },
451
466
  },
452
467
  },
453
468
  // `min()` does not exist on lynx (signalxjs/lynx#1066) and
@@ -1427,6 +1442,29 @@ export const checkbox = {
1427
1442
  // control and its text. Declared rather than left implicit so the
1428
1443
  // delegation reads as a decision.
1429
1444
  skipStates: { root: ['focus-visible'] },
1445
+ // `currentColor` never resolves on lynx (measured on device on both
1446
+ // platforms, signalxjs/lynx#1079), so the tick shipped invisible and the
1447
+ // ring's color-mix-over-currentColor fallback dropped the whole border.
1448
+ // Both restated with the named accents the web spellings resolve to —
1449
+ // plain var() chains, the switch's device-proven #380 mechanism.
1450
+ targets: {
1451
+ lynx: {
1452
+ parts: {
1453
+ control: {
1454
+ // The web fallback (`color-mix(in oklab, … currentColor …)`)
1455
+ // exists for consumers that unset the accent; this package
1456
+ // always defines it, so the plain accent IS the ring.
1457
+ base: { border: 'var(--border) solid var(--checkbox-accent)' },
1458
+ },
1459
+ indicator: {
1460
+ // The tick's fill: the control's `color:` names
1461
+ // `--checkbox-on-accent`, and `currentColor` was that
1462
+ // ink by inheritance — spend it directly.
1463
+ base: { backgroundColor: 'var(--checkbox-on-accent)' },
1464
+ },
1465
+ },
1466
+ },
1467
+ },
1430
1468
  };
1431
1469
  // --------------------------------------------------------------------------
1432
1470
  // 3. radioGroup — replace the whole export
@@ -1542,6 +1580,25 @@ export const radioGroup = {
1542
1580
  // wraps it. Declared rather than left implicit so the delegation reads
1543
1581
  // as a decision.
1544
1582
  skipStates: { item: ['focus-visible'] },
1583
+ // `currentColor` never resolves on lynx (measured on device on both
1584
+ // platforms, signalxjs/lynx#1079), so the checked ring and dot shipped
1585
+ // invisible, and the unchecked ring's color-mix-over-currentColor
1586
+ // fallback dropped the whole border. All three restated with the accent
1587
+ // the control's own `color:` names — plain var() chains, the switch's
1588
+ // device-proven #380 mechanism.
1589
+ targets: {
1590
+ lynx: {
1591
+ parts: {
1592
+ 'item-control': {
1593
+ base: { border: 'var(--border) solid var(--radio-accent)' },
1594
+ states: { checked: { borderColor: 'var(--radio-accent)' } },
1595
+ },
1596
+ 'item-indicator': {
1597
+ states: { checked: { backgroundColor: 'var(--radio-accent)' } },
1598
+ },
1599
+ },
1600
+ },
1601
+ },
1545
1602
  };
1546
1603
  // --------------------------------------------------------------------------
1547
1604
  // 4. progress — replace the whole export (only the two radius lines move)