@spectrum-web-components/styles 0.36.0 → 0.37.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/core-global.css CHANGED
@@ -13,5 +13,5 @@ governing permissions and limitations under the License.
13
13
 
14
14
  :host,
15
15
  :root {
16
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
16
+ -webkit-tap-highlight-color: rgb(0 0 0 / 0%);
17
17
  }
@@ -13,5 +13,5 @@ governing permissions and limitations under the License.
13
13
 
14
14
  :host,
15
15
  :root {
16
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
16
+ -webkit-tap-highlight-color: rgb(0 0 0 / 0%);
17
17
  }
package/fonts.css CHANGED
@@ -13,24 +13,28 @@ governing permissions and limitations under the License.
13
13
  :host,
14
14
  :root {
15
15
  --spectrum-font-family-ar: myriad-arabic, adobe-clean, 'Source Sans Pro',
16
- -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu,
16
+ -apple-system, blinkmacsystemfont, 'Segoe UI', roboto, ubuntu,
17
17
  'Trebuchet MS', 'Lucida Grande', sans-serif;
18
18
  --spectrum-font-family-he: myriad-hebrew, adobe-clean, 'Source Sans Pro',
19
- -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu,
19
+ -apple-system, blinkmacsystemfont, 'Segoe UI', roboto, ubuntu,
20
20
  'Trebuchet MS', 'Lucida Grande', sans-serif;
21
21
  --spectrum-font-family: var(--spectrum-sans-font-family-stack);
22
22
  --spectrum-font-style: var(--spectrum-default-font-style);
23
23
  --spectrum-font-size: var(--spectrum-font-size-100);
24
+
24
25
  font-family: var(--spectrum-font-family);
25
26
  font-size: var(--spectrum-font-size);
26
27
  font-style: var(--spectrum-font-style);
27
28
  }
29
+
28
30
  .spectrum:lang(ar) {
29
31
  font-family: var(--spectrum-font-family-ar);
30
32
  }
33
+
31
34
  .spectrum:lang(he) {
32
35
  font-family: var(--spectrum-font-family-he);
33
36
  }
37
+
34
38
  .spectrum-Heading {
35
39
  --spectrum-heading-sans-serif-font-family: var(
36
40
  --spectrum-sans-font-family-stack
@@ -52,41 +56,50 @@ governing permissions and limitations under the License.
52
56
  }
53
57
  @media (forced-colors: active) {
54
58
  .spectrum-Heading {
55
- --highcontrast-heading-font-color: Text;
59
+ --highcontrast-heading-font-color: text;
56
60
  }
57
61
  }
62
+
58
63
  .spectrum-Heading--sizeXXS {
59
64
  --spectrum-heading-font-size: var(--spectrum-heading-size-xxs);
60
65
  --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-xxs);
61
66
  }
67
+
62
68
  .spectrum-Heading--sizeXS {
63
69
  --spectrum-heading-font-size: var(--spectrum-heading-size-xs);
64
70
  --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-xs);
65
71
  }
72
+
66
73
  .spectrum-Heading--sizeS {
67
74
  --spectrum-heading-font-size: var(--spectrum-heading-size-s);
68
75
  --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-s);
69
76
  }
77
+
70
78
  .spectrum-Heading--sizeM {
71
79
  --spectrum-heading-font-size: var(--spectrum-heading-size-m);
72
80
  --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-m);
73
81
  }
82
+
74
83
  .spectrum-Heading--sizeL {
75
84
  --spectrum-heading-font-size: var(--spectrum-heading-size-l);
76
85
  --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-l);
77
86
  }
87
+
78
88
  .spectrum-Heading--sizeXL {
79
89
  --spectrum-heading-font-size: var(--spectrum-heading-size-xl);
80
90
  --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-xl);
81
91
  }
92
+
82
93
  .spectrum-Heading--sizeXXL {
83
94
  --spectrum-heading-font-size: var(--spectrum-heading-size-xxl);
84
95
  --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-xxl);
85
96
  }
97
+
86
98
  .spectrum-Heading--sizeXXXL {
87
99
  --spectrum-heading-font-size: var(--spectrum-heading-size-xxxl);
88
100
  --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-xxxl);
89
101
  }
102
+
90
103
  .spectrum-Heading {
91
104
  color: var(
92
105
  --highcontrast-heading-font-color,
@@ -110,6 +123,7 @@ governing permissions and limitations under the License.
110
123
  var(--spectrum-heading-line-height)
111
124
  );
112
125
  }
126
+
113
127
  .spectrum-Heading .spectrum-Heading-strong,
114
128
  .spectrum-Heading strong {
115
129
  font-style: var(
@@ -121,6 +135,7 @@ governing permissions and limitations under the License.
121
135
  var(--spectrum-heading-sans-serif-strong-font-weight)
122
136
  );
123
137
  }
138
+
124
139
  .spectrum-Heading .spectrum-Heading-emphasized,
125
140
  .spectrum-Heading em {
126
141
  font-style: var(
@@ -132,6 +147,7 @@ governing permissions and limitations under the License.
132
147
  var(--spectrum-heading-sans-serif-emphasized-font-weight)
133
148
  );
134
149
  }
150
+
135
151
  .spectrum-Heading .spectrum-Heading-strong.spectrum-Heading-emphasized,
136
152
  .spectrum-Heading em strong,
137
153
  .spectrum-Heading strong em {
@@ -144,6 +160,7 @@ governing permissions and limitations under the License.
144
160
  var(--spectrum-heading-sans-serif-strong-emphasized-font-weight)
145
161
  );
146
162
  }
163
+
147
164
  .spectrum-Heading:lang(ja),
148
165
  .spectrum-Heading:lang(ko),
149
166
  .spectrum-Heading:lang(zh) {
@@ -172,6 +189,7 @@ governing permissions and limitations under the License.
172
189
  var(--spectrum-heading-cjk-line-height)
173
190
  );
174
191
  }
192
+
175
193
  .spectrum-Heading:lang(ja) .spectrum-Heading-emphasized,
176
194
  .spectrum-Heading:lang(ja) em,
177
195
  .spectrum-Heading:lang(ko) .spectrum-Heading-emphasized,
@@ -187,6 +205,7 @@ governing permissions and limitations under the License.
187
205
  var(--spectrum-heading-cjk-emphasized-font-weight)
188
206
  );
189
207
  }
208
+
190
209
  .spectrum-Heading:lang(ja) .spectrum-Heading-strong,
191
210
  .spectrum-Heading:lang(ja) strong,
192
211
  .spectrum-Heading:lang(ko) .spectrum-Heading-strong,
@@ -202,6 +221,7 @@ governing permissions and limitations under the License.
202
221
  var(--spectrum-heading-cjk-strong-font-weight)
203
222
  );
204
223
  }
224
+
205
225
  .spectrum-Heading:lang(ja) .spectrum-Heading-strong.spectrum-Heading-emphasized,
206
226
  .spectrum-Heading:lang(ja) em strong,
207
227
  .spectrum-Heading:lang(ja) strong em,
@@ -220,6 +240,7 @@ governing permissions and limitations under the License.
220
240
  var(--spectrum-heading-cjk-strong-emphasized-font-weight)
221
241
  );
222
242
  }
243
+
223
244
  .spectrum-Heading--heavy {
224
245
  font-style: var(
225
246
  --mod-heading-sans-serif-heavy-font-style,
@@ -230,6 +251,7 @@ governing permissions and limitations under the License.
230
251
  var(--spectrum-heading-sans-serif-heavy-font-weight)
231
252
  );
232
253
  }
254
+
233
255
  .spectrum-Heading--heavy .spectrum-Heading-strong,
234
256
  .spectrum-Heading--heavy strong {
235
257
  font-style: var(
@@ -241,6 +263,7 @@ governing permissions and limitations under the License.
241
263
  var(--spectrum-heading-sans-serif-heavy-strong-font-weight)
242
264
  );
243
265
  }
266
+
244
267
  .spectrum-Heading--heavy .spectrum-Heading-emphasized,
245
268
  .spectrum-Heading--heavy em {
246
269
  font-style: var(
@@ -252,6 +275,7 @@ governing permissions and limitations under the License.
252
275
  var(--spectrum-heading-sans-serif-heavy-emphasized-font-weight)
253
276
  );
254
277
  }
278
+
255
279
  .spectrum-Heading--heavy .spectrum-Heading-strong.spectrum-Heading-emphasized,
256
280
  .spectrum-Heading--heavy em strong,
257
281
  .spectrum-Heading--heavy strong em {
@@ -264,6 +288,7 @@ governing permissions and limitations under the License.
264
288
  var(--spectrum-heading-sans-serif-heavy-strong-emphasized-font-weight)
265
289
  );
266
290
  }
291
+
267
292
  .spectrum-Heading--heavy:lang(ja),
268
293
  .spectrum-Heading--heavy:lang(ko),
269
294
  .spectrum-Heading--heavy:lang(zh) {
@@ -276,6 +301,7 @@ governing permissions and limitations under the License.
276
301
  var(--spectrum-heading-cjk-heavy-font-weight)
277
302
  );
278
303
  }
304
+
279
305
  .spectrum-Heading--heavy:lang(ja) .spectrum-Heading-emphasized,
280
306
  .spectrum-Heading--heavy:lang(ja) em,
281
307
  .spectrum-Heading--heavy:lang(ko) .spectrum-Heading-emphasized,
@@ -291,6 +317,7 @@ governing permissions and limitations under the License.
291
317
  var(--spectrum-heading-cjk-heavy-emphasized-font-weight)
292
318
  );
293
319
  }
320
+
294
321
  .spectrum-Heading--heavy:lang(ja) .spectrum-Heading-strong,
295
322
  .spectrum-Heading--heavy:lang(ja) strong,
296
323
  .spectrum-Heading--heavy:lang(ko) .spectrum-Heading-strong,
@@ -306,6 +333,7 @@ governing permissions and limitations under the License.
306
333
  var(--spectrum-heading-cjk-heavy-strong-font-weight)
307
334
  );
308
335
  }
336
+
309
337
  .spectrum-Heading--heavy:lang(ja)
310
338
  .spectrum-Heading-strong.spectrum-Heading-emphasized,
311
339
  .spectrum-Heading--heavy:lang(ja) em strong,
@@ -327,6 +355,7 @@ governing permissions and limitations under the License.
327
355
  var(--spectrum-heading-cjk-heavy-strong-emphasized-font-weight)
328
356
  );
329
357
  }
358
+
330
359
  .spectrum-Heading--light {
331
360
  font-style: var(
332
361
  --mod-heading-sans-serif-light-font-style,
@@ -337,6 +366,7 @@ governing permissions and limitations under the License.
337
366
  var(--spectrum-heading-sans-serif-light-font-weight)
338
367
  );
339
368
  }
369
+
340
370
  .spectrum-Heading--light .spectrum-Heading-emphasized,
341
371
  .spectrum-Heading--light em {
342
372
  font-style: var(
@@ -348,6 +378,7 @@ governing permissions and limitations under the License.
348
378
  var(--spectrum-heading-sans-serif-light-emphasized-font-weight)
349
379
  );
350
380
  }
381
+
351
382
  .spectrum-Heading--light .spectrum-Heading-strong,
352
383
  .spectrum-Heading--light strong {
353
384
  font-style: var(
@@ -359,6 +390,7 @@ governing permissions and limitations under the License.
359
390
  var(--spectrum-heading-sans-serif-light-strong-font-weight)
360
391
  );
361
392
  }
393
+
362
394
  .spectrum-Heading--light .spectrum-Heading-strong.spectrum-Heading-emphasized,
363
395
  .spectrum-Heading--light em strong,
364
396
  .spectrum-Heading--light strong em {
@@ -371,6 +403,7 @@ governing permissions and limitations under the License.
371
403
  var(--spectrum-heading-sans-serif-light-strong-emphasized-font-weight)
372
404
  );
373
405
  }
406
+
374
407
  .spectrum-Heading--light:lang(ja),
375
408
  .spectrum-Heading--light:lang(ko),
376
409
  .spectrum-Heading--light:lang(zh) {
@@ -383,6 +416,7 @@ governing permissions and limitations under the License.
383
416
  var(--spectrum-heading-cjk-light-font-weight)
384
417
  );
385
418
  }
419
+
386
420
  .spectrum-Heading--light:lang(ja) .spectrum-Heading-strong,
387
421
  .spectrum-Heading--light:lang(ja) strong,
388
422
  .spectrum-Heading--light:lang(ko) .spectrum-Heading-strong,
@@ -398,6 +432,7 @@ governing permissions and limitations under the License.
398
432
  var(--spectrum-heading-cjk-light-strong-font-weight)
399
433
  );
400
434
  }
435
+
401
436
  .spectrum-Heading--light:lang(ja) .spectrum-Heading-emphasized,
402
437
  .spectrum-Heading--light:lang(ja) em,
403
438
  .spectrum-Heading--light:lang(ko) .spectrum-Heading-emphasized,
@@ -413,6 +448,7 @@ governing permissions and limitations under the License.
413
448
  var(--spectrum-heading-cjk-light-emphasized-font-weight)
414
449
  );
415
450
  }
451
+
416
452
  .spectrum-Heading--light:lang(ja)
417
453
  .spectrum-Heading-strong.spectrum-Heading-emphasized,
418
454
  .spectrum-Heading--light:lang(ja) em strong,
@@ -434,6 +470,7 @@ governing permissions and limitations under the License.
434
470
  var(--spectrum-heading-cjk-light-strong-emphasized-font-weight)
435
471
  );
436
472
  }
473
+
437
474
  .spectrum-Heading--serif {
438
475
  font-family: var(
439
476
  --mod-heading-serif-font-family,
@@ -448,6 +485,7 @@ governing permissions and limitations under the License.
448
485
  var(--spectrum-heading-serif-font-weight)
449
486
  );
450
487
  }
488
+
451
489
  .spectrum-Heading--serif .spectrum-Heading-emphasized,
452
490
  .spectrum-Heading--serif em {
453
491
  font-style: var(
@@ -459,6 +497,7 @@ governing permissions and limitations under the License.
459
497
  var(--spectrum-heading-serif-emphasized-font-weight)
460
498
  );
461
499
  }
500
+
462
501
  .spectrum-Heading--serif .spectrum-Heading-strong,
463
502
  .spectrum-Heading--serif strong {
464
503
  font-style: var(
@@ -470,6 +509,7 @@ governing permissions and limitations under the License.
470
509
  var(--spectrum-heading-serif-strong-font-weight)
471
510
  );
472
511
  }
512
+
473
513
  .spectrum-Heading--serif .spectrum-Heading-strong.spectrum-Heading-emphasized,
474
514
  .spectrum-Heading--serif em strong,
475
515
  .spectrum-Heading--serif strong em {
@@ -482,6 +522,7 @@ governing permissions and limitations under the License.
482
522
  var(--spectrum-heading-serif-strong-emphasized-font-weight)
483
523
  );
484
524
  }
525
+
485
526
  .spectrum-Heading--serif.spectrum-Heading--heavy {
486
527
  font-style: var(
487
528
  --mod-heading-serif-heavy-font-style,
@@ -492,6 +533,7 @@ governing permissions and limitations under the License.
492
533
  var(--spectrum-heading-serif-heavy-font-weight)
493
534
  );
494
535
  }
536
+
495
537
  .spectrum-Heading--serif.spectrum-Heading--heavy .spectrum-Heading-strong,
496
538
  .spectrum-Heading--serif.spectrum-Heading--heavy strong {
497
539
  font-style: var(
@@ -503,6 +545,7 @@ governing permissions and limitations under the License.
503
545
  var(--spectrum-heading-serif-heavy-strong-font-weight)
504
546
  );
505
547
  }
548
+
506
549
  .spectrum-Heading--serif.spectrum-Heading--heavy .spectrum-Heading-emphasized,
507
550
  .spectrum-Heading--serif.spectrum-Heading--heavy em {
508
551
  font-style: var(
@@ -514,6 +557,7 @@ governing permissions and limitations under the License.
514
557
  var(--spectrum-heading-serif-heavy-emphasized-font-weight)
515
558
  );
516
559
  }
560
+
517
561
  .spectrum-Heading--serif.spectrum-Heading--heavy
518
562
  .spectrum-Heading-strong.spectrum-Heading-emphasized,
519
563
  .spectrum-Heading--serif.spectrum-Heading--heavy em strong,
@@ -527,6 +571,7 @@ governing permissions and limitations under the License.
527
571
  var(--spectrum-heading-serif-heavy-strong-emphasized-font-weight)
528
572
  );
529
573
  }
574
+
530
575
  .spectrum-Heading--serif.spectrum-Heading--light {
531
576
  font-style: var(
532
577
  --mod-heading-serif-light-font-style,
@@ -537,6 +582,7 @@ governing permissions and limitations under the License.
537
582
  var(--spectrum-heading-serif-light-font-weight)
538
583
  );
539
584
  }
585
+
540
586
  .spectrum-Heading--serif.spectrum-Heading--light .spectrum-Heading-emphasized,
541
587
  .spectrum-Heading--serif.spectrum-Heading--light em {
542
588
  font-style: var(
@@ -548,6 +594,7 @@ governing permissions and limitations under the License.
548
594
  var(--spectrum-heading-serif-light-emphasized-font-weight)
549
595
  );
550
596
  }
597
+
551
598
  .spectrum-Heading--serif.spectrum-Heading--light .spectrum-Heading-strong,
552
599
  .spectrum-Heading--serif.spectrum-Heading--light strong {
553
600
  font-style: var(
@@ -559,6 +606,7 @@ governing permissions and limitations under the License.
559
606
  var(--spectrum-heading-serif-light-strong-font-weight)
560
607
  );
561
608
  }
609
+
562
610
  .spectrum-Heading--serif.spectrum-Heading--light
563
611
  .spectrum-Heading-strong.spectrum-Heading-emphasized,
564
612
  .spectrum-Heading--serif.spectrum-Heading--light em strong,
@@ -572,6 +620,7 @@ governing permissions and limitations under the License.
572
620
  var(--spectrum-heading-serif-light-strong-emphasized-font-weight)
573
621
  );
574
622
  }
623
+
575
624
  .spectrum-Typography .spectrum-Heading {
576
625
  margin-block-end: var(
577
626
  --mod-heading-margin-end,
@@ -582,6 +631,7 @@ governing permissions and limitations under the License.
582
631
  var(--spectrum-heading-margin-start)
583
632
  );
584
633
  }
634
+
585
635
  .spectrum-Body {
586
636
  --spectrum-body-sans-serif-font-family: var(
587
637
  --spectrum-sans-font-family-stack
@@ -597,30 +647,38 @@ governing permissions and limitations under the License.
597
647
  }
598
648
  @media (forced-colors: active) {
599
649
  .spectrum-body {
600
- --highcontrast-body-font-color: Text;
650
+ --highcontrast-body-font-color: text;
601
651
  }
602
652
  }
653
+
603
654
  .spectrum-Body--sizeXS {
604
655
  --spectrum-body-font-size: var(--spectrum-body-size-xs);
605
656
  }
657
+
606
658
  .spectrum-Body--sizeS {
607
659
  --spectrum-body-font-size: var(--spectrum-body-size-s);
608
660
  }
661
+
609
662
  .spectrum-Body--sizeM {
610
663
  --spectrum-body-font-size: var(--spectrum-body-size-m);
611
664
  }
665
+
612
666
  .spectrum-Body--sizeL {
613
667
  --spectrum-body-font-size: var(--spectrum-body-size-l);
614
668
  }
669
+
615
670
  .spectrum-Body--sizeXL {
616
671
  --spectrum-body-font-size: var(--spectrum-body-size-xl);
617
672
  }
673
+
618
674
  .spectrum-Body--sizeXXL {
619
675
  --spectrum-body-font-size: var(--spectrum-body-size-xxl);
620
676
  }
677
+
621
678
  .spectrum-Body--sizeXXXL {
622
679
  --spectrum-body-font-size: var(--spectrum-body-size-xxxl);
623
680
  }
681
+
624
682
  .spectrum-Body {
625
683
  color: var(
626
684
  --highcontrast-body-font-color,
@@ -641,6 +699,7 @@ governing permissions and limitations under the License.
641
699
  );
642
700
  line-height: var(--mod-body-line-height, var(--spectrum-body-line-height));
643
701
  }
702
+
644
703
  .spectrum-Body .spectrum-Body-strong,
645
704
  .spectrum-Body strong {
646
705
  font-style: var(
@@ -652,6 +711,7 @@ governing permissions and limitations under the License.
652
711
  var(--spectrum-body-sans-serif-strong-font-weight)
653
712
  );
654
713
  }
714
+
655
715
  .spectrum-Body .spectrum-Body-emphasized,
656
716
  .spectrum-Body em {
657
717
  font-style: var(
@@ -663,6 +723,7 @@ governing permissions and limitations under the License.
663
723
  var(--spectrum-body-sans-serif-emphasized-font-weight)
664
724
  );
665
725
  }
726
+
666
727
  .spectrum-Body .spectrum-Body-strong.spectrum-Body-emphasized,
667
728
  .spectrum-Body em strong,
668
729
  .spectrum-Body strong em {
@@ -675,6 +736,7 @@ governing permissions and limitations under the License.
675
736
  var(--spectrum-body-sans-serif-strong-emphasized-font-weight)
676
737
  );
677
738
  }
739
+
678
740
  .spectrum-Body:lang(ja),
679
741
  .spectrum-Body:lang(ko),
680
742
  .spectrum-Body:lang(zh) {
@@ -699,6 +761,7 @@ governing permissions and limitations under the License.
699
761
  var(--spectrum-body-cjk-line-height)
700
762
  );
701
763
  }
764
+
702
765
  .spectrum-Body:lang(ja) .spectrum-Body-strong,
703
766
  .spectrum-Body:lang(ja) strong,
704
767
  .spectrum-Body:lang(ko) .spectrum-Body-strong,
@@ -714,6 +777,7 @@ governing permissions and limitations under the License.
714
777
  var(--spectrum-body-cjk-strong-font-weight)
715
778
  );
716
779
  }
780
+
717
781
  .spectrum-Body:lang(ja) .spectrum-Body-emphasized,
718
782
  .spectrum-Body:lang(ja) em,
719
783
  .spectrum-Body:lang(ko) .spectrum-Body-emphasized,
@@ -729,6 +793,7 @@ governing permissions and limitations under the License.
729
793
  var(--spectrum-body-cjk-emphasized-font-weight)
730
794
  );
731
795
  }
796
+
732
797
  .spectrum-Body:lang(ja) .spectrum-Body-strong.spectrum-Body-emphasized,
733
798
  .spectrum-Body:lang(ja) em strong,
734
799
  .spectrum-Body:lang(ja) strong em,
@@ -747,6 +812,7 @@ governing permissions and limitations under the License.
747
812
  var(--spectrum-body-cjk-strong-emphasized-font-weight)
748
813
  );
749
814
  }
815
+
750
816
  .spectrum-Body--serif {
751
817
  font-family: var(
752
818
  --mod-body-serif-font-family,
@@ -761,6 +827,7 @@ governing permissions and limitations under the License.
761
827
  var(--spectrum-body-serif-font-weight)
762
828
  );
763
829
  }
830
+
764
831
  .spectrum-Body--serif .spectrum-Body-strong,
765
832
  .spectrum-Body--serif strong {
766
833
  font-style: var(
@@ -772,6 +839,7 @@ governing permissions and limitations under the License.
772
839
  var(--spectrum-body-serif-strong-font-weight)
773
840
  );
774
841
  }
842
+
775
843
  .spectrum-Body--serif .spectrum-Body-emphasized,
776
844
  .spectrum-Body--serif em {
777
845
  font-style: var(
@@ -783,6 +851,7 @@ governing permissions and limitations under the License.
783
851
  var(--spectrum-body-serif-emphasized-font-weight)
784
852
  );
785
853
  }
854
+
786
855
  .spectrum-Body--serif .spectrum-Body-strong.spectrum-Body-emphasized,
787
856
  .spectrum-Body--serif em strong,
788
857
  .spectrum-Body--serif strong em {
@@ -795,9 +864,11 @@ governing permissions and limitations under the License.
795
864
  var(--spectrum-body-serif-strong-emphasized-font-weight)
796
865
  );
797
866
  }
867
+
798
868
  .spectrum-Typography .spectrum-Body {
799
869
  margin-block-end: var(--mod-body-margin, var(--spectrum-body-margin));
800
870
  }
871
+
801
872
  .spectrum-Detail {
802
873
  --spectrum-detail-sans-serif-font-family: var(
803
874
  --spectrum-sans-font-family-stack
@@ -818,21 +889,26 @@ governing permissions and limitations under the License.
818
889
  }
819
890
  @media (forced-colors: active) {
820
891
  .spectrum-Detail {
821
- --highcontrast-detail-font-color: Text;
892
+ --highcontrast-detail-font-color: text;
822
893
  }
823
894
  }
895
+
824
896
  .spectrum-Detail--sizeS {
825
897
  --spectrum-detail-font-size: var(--spectrum-detail-size-s);
826
898
  }
899
+
827
900
  .spectrum-Detail--sizeM {
828
901
  --spectrum-detail-font-size: var(--spectrum-detail-size-m);
829
902
  }
903
+
830
904
  .spectrum-Detail--sizeL {
831
905
  --spectrum-detail-font-size: var(--spectrum-detail-size-l);
832
906
  }
907
+
833
908
  .spectrum-Detail--sizeXL {
834
909
  --spectrum-detail-font-size: var(--spectrum-detail-size-xl);
835
910
  }
911
+
836
912
  .spectrum-Detail {
837
913
  color: var(
838
914
  --highcontrast-detail-font-color,
@@ -861,6 +937,7 @@ governing permissions and limitations under the License.
861
937
  );
862
938
  text-transform: uppercase;
863
939
  }
940
+
864
941
  .spectrum-Detail .spectrum-Detail-strong,
865
942
  .spectrum-Detail strong {
866
943
  font-style: var(
@@ -872,6 +949,7 @@ governing permissions and limitations under the License.
872
949
  var(--spectrum-detail-sans-serif-strong-font-weight)
873
950
  );
874
951
  }
952
+
875
953
  .spectrum-Detail .spectrum-Detail-emphasized,
876
954
  .spectrum-Detail em {
877
955
  font-style: var(
@@ -883,6 +961,7 @@ governing permissions and limitations under the License.
883
961
  var(--spectrum-detail-sans-serif-emphasized-font-weight)
884
962
  );
885
963
  }
964
+
886
965
  .spectrum-Detail .spectrum-Detail-strong.spectrum-Detail-emphasized,
887
966
  .spectrum-Detail em strong,
888
967
  .spectrum-Detail strong em {
@@ -895,6 +974,7 @@ governing permissions and limitations under the License.
895
974
  var(--spectrum-detail-sans-serif-strong-emphasized-font-weight)
896
975
  );
897
976
  }
977
+
898
978
  .spectrum-Detail:lang(ja),
899
979
  .spectrum-Detail:lang(ko),
900
980
  .spectrum-Detail:lang(zh) {
@@ -915,6 +995,7 @@ governing permissions and limitations under the License.
915
995
  var(--spectrum-detail-cjk-line-height)
916
996
  );
917
997
  }
998
+
918
999
  .spectrum-Detail:lang(ja) .spectrum-Detail-strong,
919
1000
  .spectrum-Detail:lang(ja) strong,
920
1001
  .spectrum-Detail:lang(ko) .spectrum-Detail-strong,
@@ -930,6 +1011,7 @@ governing permissions and limitations under the License.
930
1011
  var(--spectrum-detail-cjk-strong-font-weight)
931
1012
  );
932
1013
  }
1014
+
933
1015
  .spectrum-Detail:lang(ja) .spectrum-Detail-emphasized,
934
1016
  .spectrum-Detail:lang(ja) em,
935
1017
  .spectrum-Detail:lang(ko) .spectrum-Detail-emphasized,
@@ -945,6 +1027,7 @@ governing permissions and limitations under the License.
945
1027
  var(--spectrum-detail-cjk-emphasized-font-weight)
946
1028
  );
947
1029
  }
1030
+
948
1031
  .spectrum-Detail:lang(ja) .spectrum-Detail-strong.spectrum-Detail-emphasized,
949
1032
  .spectrum-Detail:lang(ja) em strong,
950
1033
  .spectrum-Detail:lang(ja) strong em,
@@ -963,6 +1046,7 @@ governing permissions and limitations under the License.
963
1046
  var(--spectrum-detail-cjk-strong-emphasized-font-weight)
964
1047
  );
965
1048
  }
1049
+
966
1050
  .spectrum-Detail--serif {
967
1051
  font-family: var(
968
1052
  --mod-detail-serif-font-family,
@@ -977,6 +1061,7 @@ governing permissions and limitations under the License.
977
1061
  var(--spectrum-detail-serif-font-weight)
978
1062
  );
979
1063
  }
1064
+
980
1065
  .spectrum-Detail--serif .spectrum-Detail-strong,
981
1066
  .spectrum-Detail--serif strong {
982
1067
  font-style: var(
@@ -988,6 +1073,7 @@ governing permissions and limitations under the License.
988
1073
  var(--spectrum-detail-serif-strong-font-weight)
989
1074
  );
990
1075
  }
1076
+
991
1077
  .spectrum-Detail--serif .spectrum-Detail-emphasized,
992
1078
  .spectrum-Detail--serif em {
993
1079
  font-style: var(
@@ -999,6 +1085,7 @@ governing permissions and limitations under the License.
999
1085
  var(--spectrum-detail-serif-emphasized-font-weight)
1000
1086
  );
1001
1087
  }
1088
+
1002
1089
  .spectrum-Detail--serif .spectrum-Detail-strong.spectrum-Detail-emphasized,
1003
1090
  .spectrum-Detail--serif em strong,
1004
1091
  .spectrum-Detail--serif strong em {
@@ -1011,6 +1098,7 @@ governing permissions and limitations under the License.
1011
1098
  var(--spectrum-detail-serif-strong-emphasized-font-weight)
1012
1099
  );
1013
1100
  }
1101
+
1014
1102
  .spectrum-Detail--light {
1015
1103
  font-style: var(
1016
1104
  --mod-detail-sans-serif-light-font-style,
@@ -1021,6 +1109,7 @@ governing permissions and limitations under the License.
1021
1109
  var(--spectrum-detail-sans-serif-light-font-weight)
1022
1110
  );
1023
1111
  }
1112
+
1024
1113
  .spectrum-Detail--light .spectrum-Detail-strong,
1025
1114
  .spectrum-Detail--light strong {
1026
1115
  font-style: var(
@@ -1032,6 +1121,7 @@ governing permissions and limitations under the License.
1032
1121
  var(--spectrum-detail-sans-serif-light-strong-font-weight)
1033
1122
  );
1034
1123
  }
1124
+
1035
1125
  .spectrum-Detail--light .spectrum-Detail-emphasized,
1036
1126
  .spectrum-Detail--light em {
1037
1127
  font-style: var(
@@ -1043,6 +1133,7 @@ governing permissions and limitations under the License.
1043
1133
  var(--spectrum-detail-sans-serif-light-emphasized-font-weight)
1044
1134
  );
1045
1135
  }
1136
+
1046
1137
  .spectrum-Detail--light .spectrum-Detail-strong.spectrum-Body-emphasized,
1047
1138
  .spectrum-Detail--light em strong,
1048
1139
  .spectrum-Detail--light strong em {
@@ -1055,6 +1146,7 @@ governing permissions and limitations under the License.
1055
1146
  var(--spectrum-detail-sans-serif-light-strong-emphasized-font-weight)
1056
1147
  );
1057
1148
  }
1149
+
1058
1150
  .spectrum-Detail--light:lang(ja),
1059
1151
  .spectrum-Detail--light:lang(ko),
1060
1152
  .spectrum-Detail--light:lang(zh) {
@@ -1067,6 +1159,7 @@ governing permissions and limitations under the License.
1067
1159
  var(--spectrum-detail-cjk-light-font-weight)
1068
1160
  );
1069
1161
  }
1162
+
1070
1163
  .spectrum-Detail--light:lang(ja) .spectrum-Detail-strong,
1071
1164
  .spectrum-Detail--light:lang(ja) strong,
1072
1165
  .spectrum-Detail--light:lang(ko) .spectrum-Detail-strong,
@@ -1082,6 +1175,7 @@ governing permissions and limitations under the License.
1082
1175
  var(--spectrum-detail-cjk-light-strong-font-weight)
1083
1176
  );
1084
1177
  }
1178
+
1085
1179
  .spectrum-Detail--light:lang(ja) .spectrum-Detail-emphasized,
1086
1180
  .spectrum-Detail--light:lang(ja) em,
1087
1181
  .spectrum-Detail--light:lang(ko) .spectrum-Detail-emphasized,
@@ -1097,6 +1191,7 @@ governing permissions and limitations under the License.
1097
1191
  var(--spectrum-detail-cjk-light-emphasized-font-weight)
1098
1192
  );
1099
1193
  }
1194
+
1100
1195
  .spectrum-Detail--light:lang(ja)
1101
1196
  .spectrum-Detail-strong.spectrum-Detail-emphasized,
1102
1197
  .spectrum-Detail--light:lang(ko)
@@ -1112,6 +1207,7 @@ governing permissions and limitations under the License.
1112
1207
  var(--spectrum-detail-cjk-light-strong-emphasized-font-weight)
1113
1208
  );
1114
1209
  }
1210
+
1115
1211
  .spectrum-Detail--serif.spectrum-Detail--light {
1116
1212
  font-style: var(
1117
1213
  --mod-detail-serif-light-font-style,
@@ -1122,6 +1218,7 @@ governing permissions and limitations under the License.
1122
1218
  var(--spectrum-detail-serif-light-font-weight)
1123
1219
  );
1124
1220
  }
1221
+
1125
1222
  .spectrum-Detail--serif.spectrum-Detail--light .spectrum-Detail-strong,
1126
1223
  .spectrum-Detail--serif.spectrum-Detail--light strong {
1127
1224
  font-style: var(
@@ -1133,6 +1230,7 @@ governing permissions and limitations under the License.
1133
1230
  var(--spectrum-detail-serif-light-strong-font-weight)
1134
1231
  );
1135
1232
  }
1233
+
1136
1234
  .spectrum-Detail--serif.spectrum-Detail--light .spectrum-Detail-emphasized,
1137
1235
  .spectrum-Detail--serif.spectrum-Detail--light em {
1138
1236
  font-style: var(
@@ -1144,6 +1242,7 @@ governing permissions and limitations under the License.
1144
1242
  var(--spectrum-detail-serif-light-emphasized-font-weight)
1145
1243
  );
1146
1244
  }
1245
+
1147
1246
  .spectrum-Detail--serif.spectrum-Detail--light
1148
1247
  .spectrum-Detail-strong.spectrum-Body-emphasized,
1149
1248
  .spectrum-Detail--serif.spectrum-Detail--light em strong,
@@ -1157,6 +1256,7 @@ governing permissions and limitations under the License.
1157
1256
  var(--spectrum-detail-serif-light-strong-emphasized-font-weight)
1158
1257
  );
1159
1258
  }
1259
+
1160
1260
  .spectrum-Typography .spectrum-Detail {
1161
1261
  margin-block-end: var(
1162
1262
  --mod-detail-margin-end,
@@ -1167,6 +1267,7 @@ governing permissions and limitations under the License.
1167
1267
  var(--spectrum-detail-margin-start)
1168
1268
  );
1169
1269
  }
1270
+
1170
1271
  .spectrum-Code {
1171
1272
  --spectrum-code-font-family: var(--spectrum-code-font-family-stack);
1172
1273
  --spectrum-code-cjk-letter-spacing: var(--spectrum-cjk-letter-spacing);
@@ -1174,24 +1275,30 @@ governing permissions and limitations under the License.
1174
1275
  }
1175
1276
  @media (forced-colors: active) {
1176
1277
  .spectrum-Code {
1177
- --highcontrast-code-font-color: Text;
1278
+ --highcontrast-code-font-color: text;
1178
1279
  }
1179
1280
  }
1281
+
1180
1282
  .spectrum-Code--sizeXS {
1181
1283
  --spectrum-code-font-size: var(--spectrum-code-size-xs);
1182
1284
  }
1285
+
1183
1286
  .spectrum-Code--sizeS {
1184
1287
  --spectrum-code-font-size: var(--spectrum-code-size-s);
1185
1288
  }
1289
+
1186
1290
  .spectrum-Code--sizeM {
1187
1291
  --spectrum-code-font-size: var(--spectrum-code-size-m);
1188
1292
  }
1293
+
1189
1294
  .spectrum-Code--sizeL {
1190
1295
  --spectrum-code-font-size: var(--spectrum-code-size-l);
1191
1296
  }
1297
+
1192
1298
  .spectrum-Code--sizeXL {
1193
1299
  --spectrum-code-font-size: var(--spectrum-code-size-xl);
1194
1300
  }
1301
+
1195
1302
  .spectrum-Code {
1196
1303
  color: var(
1197
1304
  --highcontrast-code-font-color,
@@ -1203,6 +1310,7 @@ governing permissions and limitations under the License.
1203
1310
  font-weight: var(--mod-code-font-weight, var(--spectrum-code-font-weight));
1204
1311
  line-height: var(--mod-code-line-height, var(--spectrum-code-line-height));
1205
1312
  }
1313
+
1206
1314
  .spectrum-Code .spectrum-Code-strong,
1207
1315
  .spectrum-Code strong {
1208
1316
  font-style: var(
@@ -1214,6 +1322,7 @@ governing permissions and limitations under the License.
1214
1322
  var(--spectrum-code-strong-font-weight)
1215
1323
  );
1216
1324
  }
1325
+
1217
1326
  .spectrum-Code .spectrum-Code-emphasized,
1218
1327
  .spectrum-Code em {
1219
1328
  font-style: var(
@@ -1225,6 +1334,7 @@ governing permissions and limitations under the License.
1225
1334
  var(--spectrum-code-emphasized-font-weight)
1226
1335
  );
1227
1336
  }
1337
+
1228
1338
  .spectrum-Code .spectrum-Code-strong.spectrum-Code-emphasized,
1229
1339
  .spectrum-Code em strong,
1230
1340
  .spectrum-Code strong em {
@@ -1237,6 +1347,7 @@ governing permissions and limitations under the License.
1237
1347
  var(--spectrum-code-strong-emphasized-font-weight)
1238
1348
  );
1239
1349
  }
1350
+
1240
1351
  .spectrum-Code:lang(ja),
1241
1352
  .spectrum-Code:lang(ko),
1242
1353
  .spectrum-Code:lang(zh) {
@@ -1261,6 +1372,7 @@ governing permissions and limitations under the License.
1261
1372
  var(--spectrum-code-cjk-line-height)
1262
1373
  );
1263
1374
  }
1375
+
1264
1376
  .spectrum-Code:lang(ja) .spectrum-Code-strong,
1265
1377
  .spectrum-Code:lang(ja) strong,
1266
1378
  .spectrum-Code:lang(ko) .spectrum-Code-strong,
@@ -1276,6 +1388,7 @@ governing permissions and limitations under the License.
1276
1388
  var(--spectrum-code-cjk-strong-font-weight)
1277
1389
  );
1278
1390
  }
1391
+
1279
1392
  .spectrum-Code:lang(ja) .spectrum-Code-emphasized,
1280
1393
  .spectrum-Code:lang(ja) em,
1281
1394
  .spectrum-Code:lang(ko) .spectrum-Code-emphasized,
@@ -1291,6 +1404,7 @@ governing permissions and limitations under the License.
1291
1404
  var(--spectrum-code-cjk-emphasized-font-weight)
1292
1405
  );
1293
1406
  }
1407
+
1294
1408
  .spectrum-Code:lang(ja) .spectrum-Code-strong.spectrum-Code-emphasized,
1295
1409
  .spectrum-Code:lang(ja) em strong,
1296
1410
  .spectrum-Code:lang(ja) strong em,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/styles",
3
- "version": "0.36.0",
3
+ "version": "0.37.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -104,7 +104,7 @@
104
104
  "lit-html"
105
105
  ],
106
106
  "dependencies": {
107
- "@spectrum-web-components/base": "^0.36.0"
107
+ "@spectrum-web-components/base": "^0.37.0"
108
108
  },
109
109
  "devDependencies": {
110
110
  "@spectrum-css/commons": "^7.0.8",
@@ -118,5 +118,5 @@
118
118
  "./**/*.css"
119
119
  ],
120
120
  "style": "all-medium-lightest.css",
121
- "gitHead": "a532ff8a410abeefb54d9638a2316ae82570566e"
121
+ "gitHead": "d771f62f0d8063070af43283bb0fd5e3400bad06"
122
122
  }