@splendidlabz/styles 4.0.0 → 4.1.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.
- package/package.json +3 -3
- package/src/components/astro/fancylist.css +12 -6
- package/src/components/css/card.css +78 -37
- package/src/components/css/hero-heading.css +2 -1
- package/src/components/css/prose.css +8 -5
- package/src/components/svelte/accordion.css +18 -1
- package/src/components/svelte/modal.css +1 -1
- package/src/components/svelte/popover.css +1 -1
- package/src/effects/{fancy-box.css → fancybox.css} +3 -4
- package/src/effects/index.css +1 -1
- package/src/form/input.css +1 -0
- package/src/generic/anchors-and-buttons.css +4 -0
- package/src/layouts/macro/grid.css +43 -13
- package/src/layouts/micro/divider.css +4 -3
- package/src/layouts/micro/index.css +1 -0
- package/src/layouts/micro/inner-spacing.css +39 -0
- package/src/layouts/micro/micro.css +2 -0
- package/src/layouts/position/edge.css +64 -34
- package/src/tools/index.css +1 -1
- package/src/tools/pigment.css +56 -72
- package/src/tools/scaffolds.css +119 -0
- package/src/tools/transitions.css +18 -2
- package/src/type/index.css +1 -0
- package/src/type/text-relative.css +53 -0
- package/src/variables/font.css +29 -0
- package/src/variables/radius.css +40 -40
- package/src/variables/variables.css +0 -2
- package/dist/no-tw/layouts.css +0 -1278
- package/dist/no-tw/styles.css +0 -2018
- package/dist/styles.css +0 -1383
- package/src/tools/border.css +0 -59
|
@@ -6,8 +6,6 @@
|
|
|
6
6
|
/* prettier-ignore */
|
|
7
7
|
@utility edge-scaffold {
|
|
8
8
|
transform: translateX(var(--_tx, 0%)) translateY(var(--_ty, 0%));
|
|
9
|
-
:where(.stack) > & { box-sizing: content-box; }
|
|
10
|
-
:where(.relative > &) { position: absolute; }
|
|
11
9
|
}
|
|
12
10
|
|
|
13
11
|
/*********************
|
|
@@ -17,69 +15,85 @@
|
|
|
17
15
|
/* Top */
|
|
18
16
|
@utility stack-edge-top {
|
|
19
17
|
place-self: start center;
|
|
18
|
+
box-sizing: content-box;
|
|
20
19
|
}
|
|
21
20
|
|
|
22
21
|
@utility stack-edge-topleft {
|
|
23
22
|
place-self: start start;
|
|
23
|
+
box-sizing: content-box;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
@utility stack-edge-topright {
|
|
27
27
|
place-self: start end;
|
|
28
|
+
box-sizing: content-box;
|
|
28
29
|
}
|
|
29
30
|
|
|
30
31
|
@utility stack-edge-topfull {
|
|
31
32
|
place-self: start stretch;
|
|
33
|
+
box-sizing: content-box;
|
|
32
34
|
}
|
|
33
35
|
|
|
34
36
|
/* Bottom */
|
|
35
37
|
@utility stack-edge-bottom {
|
|
36
38
|
place-self: end center;
|
|
39
|
+
box-sizing: content-box;
|
|
37
40
|
}
|
|
38
41
|
|
|
39
42
|
@utility stack-edge-bottomleft {
|
|
40
43
|
place-self: end start;
|
|
44
|
+
box-sizing: content-box;
|
|
41
45
|
}
|
|
42
46
|
|
|
43
47
|
@utility stack-edge-bottomright {
|
|
44
48
|
place-self: end end;
|
|
49
|
+
box-sizing: content-box;
|
|
45
50
|
}
|
|
46
51
|
|
|
47
52
|
@utility stack-edge-bottomfull {
|
|
48
53
|
place-self: end stretch;
|
|
54
|
+
box-sizing: content-box;
|
|
49
55
|
}
|
|
50
56
|
|
|
51
57
|
/* Left */
|
|
52
58
|
@utility stack-edge-left {
|
|
53
59
|
place-self: center start;
|
|
60
|
+
box-sizing: content-box;
|
|
54
61
|
}
|
|
55
62
|
|
|
56
63
|
@utility stack-edge-lefttop {
|
|
57
64
|
place-self: start start;
|
|
65
|
+
box-sizing: content-box;
|
|
58
66
|
}
|
|
59
67
|
|
|
60
68
|
@utility stack-edge-leftbottom {
|
|
61
69
|
place-self: end start;
|
|
70
|
+
box-sizing: content-box;
|
|
62
71
|
}
|
|
63
72
|
|
|
64
73
|
@utility stack-edge-leftfull {
|
|
65
74
|
place-self: stretch start;
|
|
75
|
+
box-sizing: content-box;
|
|
66
76
|
}
|
|
67
77
|
|
|
68
78
|
/* Right */
|
|
69
79
|
@utility stack-edge-right {
|
|
70
80
|
place-self: center end;
|
|
81
|
+
box-sizing: content-box;
|
|
71
82
|
}
|
|
72
83
|
|
|
73
84
|
@utility stack-edge-righttop {
|
|
74
85
|
place-self: start end;
|
|
86
|
+
box-sizing: content-box;
|
|
75
87
|
}
|
|
76
88
|
|
|
77
89
|
@utility stack-edge-rightbottom {
|
|
78
90
|
place-self: end end;
|
|
91
|
+
box-sizing: content-box;
|
|
79
92
|
}
|
|
80
93
|
|
|
81
94
|
@utility stack-edge-rightfull {
|
|
82
95
|
place-self: stretch end;
|
|
96
|
+
box-sizing: content-box;
|
|
83
97
|
}
|
|
84
98
|
|
|
85
99
|
/*********************
|
|
@@ -88,6 +102,7 @@
|
|
|
88
102
|
|
|
89
103
|
/* Top */
|
|
90
104
|
@utility relative-edge-top {
|
|
105
|
+
position: absolute;
|
|
91
106
|
inset-block-start: 0;
|
|
92
107
|
inset-inline: 0;
|
|
93
108
|
width: fit-content;
|
|
@@ -95,22 +110,26 @@
|
|
|
95
110
|
}
|
|
96
111
|
|
|
97
112
|
@utility relative-edge-topleft {
|
|
113
|
+
position: absolute;
|
|
98
114
|
inset-block-start: 0;
|
|
99
115
|
inset-inline-start: 0;
|
|
100
116
|
}
|
|
101
117
|
|
|
102
118
|
@utility relative-edge-topright {
|
|
119
|
+
position: absolute;
|
|
103
120
|
inset-block-start: 0;
|
|
104
121
|
inset-inline-end: 0;
|
|
105
122
|
}
|
|
106
123
|
|
|
107
124
|
@utility relative-edge-topfull {
|
|
125
|
+
position: absolute;
|
|
108
126
|
inset-block-start: 0;
|
|
109
127
|
inset-inline: 0;
|
|
110
128
|
}
|
|
111
129
|
|
|
112
130
|
/* Bottom */
|
|
113
131
|
@utility relative-edge-bottom {
|
|
132
|
+
position: absolute;
|
|
114
133
|
inset-block-end: 0;
|
|
115
134
|
inset-inline: 0;
|
|
116
135
|
width: fit-content;
|
|
@@ -118,22 +137,26 @@
|
|
|
118
137
|
}
|
|
119
138
|
|
|
120
139
|
@utility relative-edge-bottomfull {
|
|
140
|
+
position: absolute;
|
|
121
141
|
inset-block-end: 0;
|
|
122
142
|
inset-inline: 0;
|
|
123
143
|
}
|
|
124
144
|
|
|
125
145
|
@utility relative-edge-bottomleft {
|
|
146
|
+
position: absolute;
|
|
126
147
|
inset-block-end: 0;
|
|
127
148
|
inset-inline-start: 0;
|
|
128
149
|
}
|
|
129
150
|
|
|
130
151
|
@utility relative-edge-bottomright {
|
|
152
|
+
position: absolute;
|
|
131
153
|
inset-block-end: 0;
|
|
132
154
|
inset-inline-end: 0;
|
|
133
155
|
}
|
|
134
156
|
|
|
135
157
|
/* Left */
|
|
136
158
|
@utility relative-edge-left {
|
|
159
|
+
position: absolute;
|
|
137
160
|
inset-block: 0;
|
|
138
161
|
inset-inline-start: 0;
|
|
139
162
|
height: fit-content;
|
|
@@ -141,22 +164,26 @@
|
|
|
141
164
|
}
|
|
142
165
|
|
|
143
166
|
@utility relative-edge-lefttop {
|
|
167
|
+
position: absolute;
|
|
144
168
|
inset-block-start: 0;
|
|
145
169
|
inset-inline-start: 0;
|
|
146
170
|
}
|
|
147
171
|
|
|
148
172
|
@utility relative-edge-leftbottom {
|
|
173
|
+
position: absolute;
|
|
149
174
|
inset-block-end: 0;
|
|
150
175
|
inset-inline-start: 0;
|
|
151
176
|
}
|
|
152
177
|
|
|
153
178
|
@utility relative-edge-leftfull {
|
|
179
|
+
position: absolute;
|
|
154
180
|
inset-block: 0;
|
|
155
181
|
inset-inline-start: 0;
|
|
156
182
|
}
|
|
157
183
|
|
|
158
184
|
/* Right */
|
|
159
185
|
@utility relative-edge-right {
|
|
186
|
+
position: absolute;
|
|
160
187
|
inset-block: 0;
|
|
161
188
|
inset-inline-end: 0;
|
|
162
189
|
height: fit-content;
|
|
@@ -164,16 +191,19 @@
|
|
|
164
191
|
}
|
|
165
192
|
|
|
166
193
|
@utility relative-edge-righttop {
|
|
194
|
+
position: absolute;
|
|
167
195
|
inset-block-start: 0;
|
|
168
196
|
inset-inline-end: 0;
|
|
169
197
|
}
|
|
170
198
|
|
|
171
199
|
@utility relative-edge-rightbottom {
|
|
200
|
+
position: absolute;
|
|
172
201
|
inset-block-end: 0;
|
|
173
202
|
inset-inline-end: 0;
|
|
174
203
|
}
|
|
175
204
|
|
|
176
205
|
@utility relative-edge-rightfull {
|
|
206
|
+
position: absolute;
|
|
177
207
|
inset-block: 0;
|
|
178
208
|
inset-inline-end: 0;
|
|
179
209
|
}
|
|
@@ -362,11 +392,11 @@
|
|
|
362
392
|
@apply edge-scaffold;
|
|
363
393
|
@apply edge-adjust-top;
|
|
364
394
|
|
|
365
|
-
:where(.stack)
|
|
395
|
+
:where(.stack) & {
|
|
366
396
|
@apply stack-edge-top;
|
|
367
397
|
}
|
|
368
398
|
|
|
369
|
-
:where(.relative)
|
|
399
|
+
:where(.relative) & {
|
|
370
400
|
@apply relative-edge-top;
|
|
371
401
|
}
|
|
372
402
|
}
|
|
@@ -376,11 +406,11 @@
|
|
|
376
406
|
@apply edge-scaffold;
|
|
377
407
|
@apply edge-adjust-topleft;
|
|
378
408
|
|
|
379
|
-
:where(.stack)
|
|
409
|
+
:where(.stack) & {
|
|
380
410
|
@apply stack-edge-topleft;
|
|
381
411
|
}
|
|
382
412
|
|
|
383
|
-
:where(.relative)
|
|
413
|
+
:where(.relative) & {
|
|
384
414
|
@apply relative-edge-topleft;
|
|
385
415
|
}
|
|
386
416
|
}
|
|
@@ -390,11 +420,11 @@
|
|
|
390
420
|
@apply edge-scaffold;
|
|
391
421
|
@apply edge-adjust-topright;
|
|
392
422
|
|
|
393
|
-
:where(.stack)
|
|
423
|
+
:where(.stack) & {
|
|
394
424
|
@apply stack-edge-topright;
|
|
395
425
|
}
|
|
396
426
|
|
|
397
|
-
:where(.relative)
|
|
427
|
+
:where(.relative) & {
|
|
398
428
|
@apply relative-edge-topright;
|
|
399
429
|
}
|
|
400
430
|
}
|
|
@@ -404,11 +434,11 @@
|
|
|
404
434
|
@apply edge-scaffold;
|
|
405
435
|
@apply edge-adjust-top;
|
|
406
436
|
|
|
407
|
-
:where(.stack)
|
|
437
|
+
:where(.stack) & {
|
|
408
438
|
@apply stack-edge-topfull;
|
|
409
439
|
}
|
|
410
440
|
|
|
411
|
-
:where(.relative)
|
|
441
|
+
:where(.relative) & {
|
|
412
442
|
@apply relative-edge-topfull;
|
|
413
443
|
}
|
|
414
444
|
}
|
|
@@ -419,11 +449,11 @@
|
|
|
419
449
|
@apply edge-scaffold;
|
|
420
450
|
@apply edge-adjust-bottom;
|
|
421
451
|
|
|
422
|
-
:where(.stack)
|
|
452
|
+
:where(.stack) & {
|
|
423
453
|
@apply stack-edge-bottom;
|
|
424
454
|
}
|
|
425
455
|
|
|
426
|
-
:where(.relative)
|
|
456
|
+
:where(.relative) & {
|
|
427
457
|
@apply relative-edge-bottom;
|
|
428
458
|
}
|
|
429
459
|
}
|
|
@@ -433,11 +463,11 @@
|
|
|
433
463
|
@apply edge-scaffold;
|
|
434
464
|
@apply edge-adjust-bottomleft;
|
|
435
465
|
|
|
436
|
-
:where(.stack)
|
|
466
|
+
:where(.stack) & {
|
|
437
467
|
@apply stack-edge-bottomleft;
|
|
438
468
|
}
|
|
439
469
|
|
|
440
|
-
:where(.relative)
|
|
470
|
+
:where(.relative) & {
|
|
441
471
|
@apply relative-edge-bottomleft;
|
|
442
472
|
}
|
|
443
473
|
}
|
|
@@ -447,11 +477,11 @@
|
|
|
447
477
|
@apply edge-scaffold;
|
|
448
478
|
@apply edge-adjust-bottomright;
|
|
449
479
|
|
|
450
|
-
:where(.stack)
|
|
480
|
+
:where(.stack) & {
|
|
451
481
|
@apply stack-edge-bottomright;
|
|
452
482
|
}
|
|
453
483
|
|
|
454
|
-
:where(.relative)
|
|
484
|
+
:where(.relative) & {
|
|
455
485
|
@apply relative-edge-bottomright;
|
|
456
486
|
}
|
|
457
487
|
}
|
|
@@ -461,11 +491,11 @@
|
|
|
461
491
|
@apply edge-scaffold;
|
|
462
492
|
@apply edge-adjust-bottom;
|
|
463
493
|
|
|
464
|
-
:where(.stack)
|
|
494
|
+
:where(.stack) & {
|
|
465
495
|
@apply stack-edge-bottomfull;
|
|
466
496
|
}
|
|
467
497
|
|
|
468
|
-
:where(.relative)
|
|
498
|
+
:where(.relative) & {
|
|
469
499
|
@apply relative-edge-bottomfull;
|
|
470
500
|
}
|
|
471
501
|
}
|
|
@@ -476,11 +506,11 @@
|
|
|
476
506
|
@apply edge-scaffold;
|
|
477
507
|
@apply edge-adjust-left;
|
|
478
508
|
|
|
479
|
-
:where(.stack)
|
|
509
|
+
:where(.stack) & {
|
|
480
510
|
@apply stack-edge-left;
|
|
481
511
|
}
|
|
482
512
|
|
|
483
|
-
:where(.relative)
|
|
513
|
+
:where(.relative) & {
|
|
484
514
|
@apply relative-edge-left;
|
|
485
515
|
}
|
|
486
516
|
}
|
|
@@ -490,11 +520,11 @@
|
|
|
490
520
|
@apply edge-scaffold;
|
|
491
521
|
@apply edge-adjust-lefttop;
|
|
492
522
|
|
|
493
|
-
:where(.stack)
|
|
523
|
+
:where(.stack) & {
|
|
494
524
|
@apply stack-edge-lefttop;
|
|
495
525
|
}
|
|
496
526
|
|
|
497
|
-
:where(.relative)
|
|
527
|
+
:where(.relative) & {
|
|
498
528
|
@apply relative-edge-lefttop;
|
|
499
529
|
}
|
|
500
530
|
}
|
|
@@ -504,11 +534,11 @@
|
|
|
504
534
|
@apply edge-scaffold;
|
|
505
535
|
@apply edge-adjust-leftbottom;
|
|
506
536
|
|
|
507
|
-
:where(.stack)
|
|
537
|
+
:where(.stack) & {
|
|
508
538
|
@apply stack-edge-leftbottom;
|
|
509
539
|
}
|
|
510
540
|
|
|
511
|
-
:where(.relative)
|
|
541
|
+
:where(.relative) & {
|
|
512
542
|
@apply relative-edge-leftbottom;
|
|
513
543
|
}
|
|
514
544
|
}
|
|
@@ -518,11 +548,11 @@
|
|
|
518
548
|
@apply edge-scaffold;
|
|
519
549
|
@apply edge-adjust-left;
|
|
520
550
|
|
|
521
|
-
:where(.stack)
|
|
551
|
+
:where(.stack) & {
|
|
522
552
|
@apply stack-edge-leftfull;
|
|
523
553
|
}
|
|
524
554
|
|
|
525
|
-
:where(.relative)
|
|
555
|
+
:where(.relative) & {
|
|
526
556
|
@apply relative-edge-leftfull;
|
|
527
557
|
}
|
|
528
558
|
}
|
|
@@ -533,11 +563,11 @@
|
|
|
533
563
|
@apply edge-scaffold;
|
|
534
564
|
@apply edge-adjust-right;
|
|
535
565
|
|
|
536
|
-
:where(.stack)
|
|
566
|
+
:where(.stack) & {
|
|
537
567
|
@apply stack-edge-right;
|
|
538
568
|
}
|
|
539
569
|
|
|
540
|
-
:where(.relative)
|
|
570
|
+
:where(.relative) & {
|
|
541
571
|
@apply relative-edge-right;
|
|
542
572
|
}
|
|
543
573
|
}
|
|
@@ -547,11 +577,11 @@
|
|
|
547
577
|
@apply edge-scaffold;
|
|
548
578
|
@apply edge-adjust-righttop;
|
|
549
579
|
|
|
550
|
-
:where(.stack)
|
|
580
|
+
:where(.stack) & {
|
|
551
581
|
@apply stack-edge-righttop;
|
|
552
582
|
}
|
|
553
583
|
|
|
554
|
-
:where(.relative)
|
|
584
|
+
:where(.relative) & {
|
|
555
585
|
@apply relative-edge-righttop;
|
|
556
586
|
}
|
|
557
587
|
}
|
|
@@ -561,11 +591,11 @@
|
|
|
561
591
|
@apply edge-scaffold;
|
|
562
592
|
@apply edge-adjust-rightbottom;
|
|
563
593
|
|
|
564
|
-
:where(.stack)
|
|
594
|
+
:where(.stack) & {
|
|
565
595
|
@apply stack-edge-rightbottom;
|
|
566
596
|
}
|
|
567
597
|
|
|
568
|
-
:where(.relative)
|
|
598
|
+
:where(.relative) & {
|
|
569
599
|
@apply relative-edge-rightbottom;
|
|
570
600
|
}
|
|
571
601
|
}
|
|
@@ -575,11 +605,11 @@
|
|
|
575
605
|
@apply edge-scaffold;
|
|
576
606
|
@apply edge-adjust-right;
|
|
577
607
|
|
|
578
|
-
:where(.stack)
|
|
608
|
+
:where(.stack) & {
|
|
579
609
|
@apply stack-edge-rightfull;
|
|
580
610
|
}
|
|
581
611
|
|
|
582
|
-
:where(.relative)
|
|
612
|
+
:where(.relative) & {
|
|
583
613
|
@apply relative-edge-rightfull;
|
|
584
614
|
}
|
|
585
615
|
}
|
package/src/tools/index.css
CHANGED
package/src/tools/pigment.css
CHANGED
|
@@ -33,9 +33,12 @@ Usage with the Fill System
|
|
|
33
33
|
& {
|
|
34
34
|
@apply border-scaffold;
|
|
35
35
|
@apply transition-scaffold;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
--_bgc: var(--bg-color);
|
|
37
|
+
--_tc: var(--text-color, currentcolor);
|
|
38
|
+
--_bc: var(--border-color, currentcolor);
|
|
39
|
+
border-color: var(--_bc, currentcolor);
|
|
40
|
+
color: var(--_tc);
|
|
41
|
+
background-color: var(--_bgc);
|
|
39
42
|
}
|
|
40
43
|
}
|
|
41
44
|
|
|
@@ -43,99 +46,77 @@ Usage with the Fill System
|
|
|
43
46
|
& {
|
|
44
47
|
:where(svg path) {
|
|
45
48
|
@apply transition-scaffold;
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
); /* Fallback to text color */
|
|
49
|
+
--_fc: var(--fill-color, var(--text-color));
|
|
50
|
+
--_sc: var(--stroke-color, var(--text-color));
|
|
51
|
+
fill: var(--_fc);
|
|
52
|
+
stroke: var(--_sc);
|
|
51
53
|
}
|
|
52
54
|
}
|
|
53
55
|
}
|
|
54
56
|
|
|
55
57
|
@utility pigment-hover-scaffold {
|
|
56
58
|
&:hover {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
59
|
+
--_bgc: var(--bg-hover-color, var(--bg-color));
|
|
60
|
+
--_tc: var(--text-hover-color, var(--text-color));
|
|
61
|
+
--_bc: var(--border-hover-color, var(--border-color));
|
|
60
62
|
}
|
|
61
63
|
}
|
|
62
64
|
|
|
63
65
|
@utility pigment-hover-svg-scaffold {
|
|
64
66
|
&:hover {
|
|
65
|
-
:
|
|
66
|
-
fill
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
stroke
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
);
|
|
74
|
-
}
|
|
67
|
+
--_fc: var(
|
|
68
|
+
--fill-hover-color,
|
|
69
|
+
var(--text-hover-color, var(--fill-color, var(--text-color)))
|
|
70
|
+
);
|
|
71
|
+
--_sc: var(
|
|
72
|
+
--stroke-hover-color,
|
|
73
|
+
var(--text-hover-color, var(--stroke-color, var(--text-color)))
|
|
74
|
+
);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
@utility pigment-focus-scaffold {
|
|
79
79
|
&:focus {
|
|
80
|
-
|
|
80
|
+
--_bc: var(
|
|
81
81
|
--border-focus-color,
|
|
82
82
|
var(--border-hover-color, var(--border-color))
|
|
83
83
|
);
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
--bg-focus-color,
|
|
87
|
-
var(--bg-hover-color, var(--bg-color))
|
|
88
|
-
);
|
|
84
|
+
--_tc: var(--text-focus-color, var(--text-hover-color, var(--text-color)));
|
|
85
|
+
--_bgc: var(--bg-focus-color, var(--bg-hover-color, var(--bg-color)));
|
|
89
86
|
}
|
|
90
87
|
}
|
|
91
88
|
|
|
92
89
|
@utility pigment-focus-svg-scaffold {
|
|
93
90
|
&:focus {
|
|
94
|
-
:
|
|
95
|
-
fill
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
)
|
|
103
|
-
)
|
|
104
|
-
);
|
|
105
|
-
stroke: var(
|
|
106
|
-
--stroke-focus-color,
|
|
107
|
-
var(
|
|
108
|
-
--text-focus-color,
|
|
109
|
-
var(
|
|
110
|
-
--stroke-hover-color,
|
|
111
|
-
var(--text-hover-color, var(--stroke-color, var(--text-color)))
|
|
112
|
-
)
|
|
113
|
-
)
|
|
114
|
-
);
|
|
115
|
-
}
|
|
91
|
+
--_fc: var(
|
|
92
|
+
--fill-focus-color,
|
|
93
|
+
var(--text-focus-color, var(--fill-color, var(--text-color)))
|
|
94
|
+
);
|
|
95
|
+
--_sc: var(
|
|
96
|
+
--stroke-focus-color,
|
|
97
|
+
var(--text-focus-color, var(--stroke-color, var(--text-color)))
|
|
98
|
+
);
|
|
116
99
|
}
|
|
117
100
|
}
|
|
118
101
|
|
|
119
102
|
@utility pigment-active-scaffold {
|
|
120
103
|
&:active {
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
104
|
+
--_bc: var(--border-active-color, var(--border-color));
|
|
105
|
+
--_tc: var(--text-active-color, var(--text-color));
|
|
106
|
+
--_bgc: var(--bg-active-color, var(--bg-color));
|
|
124
107
|
}
|
|
125
108
|
}
|
|
126
109
|
|
|
127
110
|
@utility pigment-active-svg-scaffold {
|
|
128
111
|
&:active {
|
|
129
|
-
:
|
|
130
|
-
fill
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
stroke
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
);
|
|
138
|
-
}
|
|
112
|
+
--_fc: var(
|
|
113
|
+
--fill-active-color,
|
|
114
|
+
var(--text-active-color, var(--fill-color, var(--text-color)))
|
|
115
|
+
);
|
|
116
|
+
--_sc: var(
|
|
117
|
+
--stroke-active-color,
|
|
118
|
+
var(--text-active-color, var(--stroke-color, var(--text-color)))
|
|
119
|
+
);
|
|
139
120
|
}
|
|
140
121
|
}
|
|
141
122
|
|
|
@@ -144,10 +125,11 @@ Usage with the Fill System
|
|
|
144
125
|
&.checked,
|
|
145
126
|
&[aria-current],
|
|
146
127
|
&[aria-selected='true'],
|
|
128
|
+
&[aria-pressed='true'],
|
|
147
129
|
&[aria-expanded='true'] {
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
130
|
+
--_bc: var(--border-selected-color, var(--border-color));
|
|
131
|
+
--_tc: var(--text-selected-color, var(--text-color));
|
|
132
|
+
--_bgc: var(--bg-selected-color, var(--bg-color));
|
|
151
133
|
}
|
|
152
134
|
}
|
|
153
135
|
|
|
@@ -156,14 +138,16 @@ Usage with the Fill System
|
|
|
156
138
|
&.checked,
|
|
157
139
|
&[aria-current],
|
|
158
140
|
&[aria-selected='true'],
|
|
141
|
+
&[aria-pressed='true'],
|
|
159
142
|
&[aria-expanded='true'] {
|
|
160
|
-
:
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
143
|
+
--_fc: var(
|
|
144
|
+
--fill-selected-color,
|
|
145
|
+
var(--text-selected-color, var(--fill-color, var(--text-color)))
|
|
146
|
+
);
|
|
147
|
+
--_sc: var(
|
|
148
|
+
--stroke-selected-color,
|
|
149
|
+
var(--text-selected-color, var(--stroke-color, var(--text-color)))
|
|
150
|
+
);
|
|
167
151
|
}
|
|
168
152
|
}
|
|
169
153
|
|