@department-of-veterans-affairs/css-library 0.19.0 → 0.20.0-rc1

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 (66) hide show
  1. package/dist/fonts/merriweather-bold-webfont.eot +0 -0
  2. package/dist/fonts/merriweather-bold-webfont.ttf +0 -0
  3. package/dist/fonts/merriweather-bold-webfont.woff +0 -0
  4. package/dist/fonts/merriweather-bold-webfont.woff2 +0 -0
  5. package/dist/fonts/merriweather-italic-webfont.eot +0 -0
  6. package/dist/fonts/merriweather-italic-webfont.ttf +0 -0
  7. package/dist/fonts/merriweather-italic-webfont.woff +0 -0
  8. package/dist/fonts/merriweather-italic-webfont.woff2 +0 -0
  9. package/dist/fonts/merriweather-light-webfont.eot +0 -0
  10. package/dist/fonts/merriweather-light-webfont.ttf +0 -0
  11. package/dist/fonts/merriweather-light-webfont.woff +0 -0
  12. package/dist/fonts/merriweather-light-webfont.woff2 +0 -0
  13. package/dist/fonts/merriweather-regular-webfont.eot +0 -0
  14. package/dist/fonts/merriweather-regular-webfont.ttf +0 -0
  15. package/dist/fonts/merriweather-regular-webfont.woff +0 -0
  16. package/dist/fonts/merriweather-regular-webfont.woff2 +0 -0
  17. package/dist/fonts/sourcesanspro-bold-webfont.eot +0 -0
  18. package/dist/fonts/sourcesanspro-bold-webfont.ttf +0 -0
  19. package/dist/fonts/sourcesanspro-bold-webfont.woff +0 -0
  20. package/dist/fonts/sourcesanspro-bold-webfont.woff2 +0 -0
  21. package/dist/fonts/sourcesanspro-italic-webfont.eot +0 -0
  22. package/dist/fonts/sourcesanspro-italic-webfont.ttf +0 -0
  23. package/dist/fonts/sourcesanspro-italic-webfont.woff +0 -0
  24. package/dist/fonts/sourcesanspro-italic-webfont.woff2 +0 -0
  25. package/dist/fonts/sourcesanspro-light-webfont.eot +0 -0
  26. package/dist/fonts/sourcesanspro-light-webfont.ttf +0 -0
  27. package/dist/fonts/sourcesanspro-light-webfont.woff +0 -0
  28. package/dist/fonts/sourcesanspro-light-webfont.woff2 +0 -0
  29. package/dist/fonts/sourcesanspro-regular-webfont.eot +0 -0
  30. package/dist/fonts/sourcesanspro-regular-webfont.ttf +0 -0
  31. package/dist/fonts/sourcesanspro-regular-webfont.woff +0 -0
  32. package/dist/fonts/sourcesanspro-regular-webfont.woff2 +0 -0
  33. package/dist/img/angle-arrow-down-primary-hover.png +0 -0
  34. package/dist/img/angle-arrow-down-primary-hover.svg +1 -0
  35. package/dist/img/angle-arrow-down-primary.png +0 -0
  36. package/dist/img/angle-arrow-down-primary.svg +1 -0
  37. package/dist/img/angle-arrow-up-primary-hover.png +0 -0
  38. package/dist/img/angle-arrow-up-primary-hover.svg +1 -0
  39. package/dist/img/angle-arrow-up-primary.png +0 -0
  40. package/dist/img/angle-arrow-up-primary.svg +1 -0
  41. package/dist/img/close.png +0 -0
  42. package/dist/img/correct8.png +0 -0
  43. package/dist/img/correct8.svg +0 -0
  44. package/dist/img/correct9.png +0 -0
  45. package/dist/img/correct9.svg +1 -0
  46. package/dist/img/error.png +0 -0
  47. package/dist/img/error.svg +0 -0
  48. package/dist/img/info.png +0 -0
  49. package/dist/img/info.svg +0 -0
  50. package/dist/img/success.png +0 -0
  51. package/dist/img/success.svg +0 -0
  52. package/dist/img/warning.png +0 -0
  53. package/dist/img/warning.svg +0 -0
  54. package/dist/stylesheets/base/va.css +1 -1
  55. package/dist/stylesheets/core.css +56 -52
  56. package/dist/stylesheets/elements/labels.css +1592 -0
  57. package/dist/stylesheets/formation-overrides/core/fonts.css +12 -8
  58. package/dist/stylesheets/formation-overrides/elements/inputs.css +6 -6
  59. package/dist/stylesheets/formation-overrides/elements/typography.css +8 -8
  60. package/dist/stylesheets/modules/m-alert.css +5 -5
  61. package/dist/stylesheets/modules/m-external-link.css +1 -1
  62. package/dist/stylesheets/modules/m-eyebrow.css +10 -0
  63. package/dist/stylesheets/shame.css +2 -2
  64. package/dist/tokens/css/variables.css +1 -1
  65. package/dist/tokens/scss/variables.scss +1 -1
  66. package/package.json +2 -2
@@ -0,0 +1,1592 @@
1
+ /*
2
+ * * * * * ==============================
3
+ * * * * * ==============================
4
+ * * * * * ==============================
5
+ * * * * * ==============================
6
+ ========================================
7
+ ========================================
8
+ ========================================
9
+ ----------------------------------------
10
+ GENERAL SETTINGS
11
+ ----------------------------------------
12
+ Read more about settings and
13
+ USWDS style tokens in the documentation:
14
+ https://designsystem.digital.gov/design-tokens
15
+ ----------------------------------------
16
+ */
17
+ /*
18
+ ----------------------------------------
19
+ Image path
20
+ ----------------------------------------
21
+ Relative image file path
22
+ ----------------------------------------
23
+ */
24
+ /*
25
+ ----------------------------------------
26
+ Show compile warnings
27
+ ----------------------------------------
28
+ Show Sass warnings when functions and
29
+ mixins use non-standard tokens.
30
+ AND
31
+ Show updates and notifications.
32
+ ----------------------------------------
33
+ */
34
+ /*
35
+ ----------------------------------------
36
+ Namespace
37
+ ----------------------------------------
38
+ */
39
+ /*
40
+ ----------------------------------------
41
+ Prefix separator
42
+ ----------------------------------------
43
+ Set the character the separates
44
+ responsive and state prefixes from the
45
+ main class name.
46
+ The default (":") needs to be preceded
47
+ by two backslashes to be properly
48
+ escaped.
49
+ ----------------------------------------
50
+ */
51
+ /*
52
+ ----------------------------------------
53
+ Layout grid
54
+ ----------------------------------------
55
+ Should the layout grid classes output
56
+ with !important
57
+ ----------------------------------------
58
+ */
59
+ /*
60
+ ----------------------------------------
61
+ Border box sizing
62
+ ----------------------------------------
63
+ When set to true, sets the box-sizing
64
+ property of all site elements to
65
+ `border-box`.
66
+ ----------------------------------------
67
+ */
68
+ /*
69
+ ----------------------------------------
70
+ Focus styles
71
+ ----------------------------------------
72
+ */
73
+ /*
74
+ ----------------------------------------
75
+ Icons
76
+ ----------------------------------------
77
+ */
78
+ /*
79
+ * * * * * ==============================
80
+ * * * * * ==============================
81
+ * * * * * ==============================
82
+ * * * * * ==============================
83
+ ========================================
84
+ ========================================
85
+ ========================================
86
+ ----------------------------------------
87
+ TYPOGRAPHY SETTINGS
88
+ ----------------------------------------
89
+ Read more about settings and
90
+ USWDS typography tokens in the documentation:
91
+ https://designsystem.digital.gov/design-tokens/typesetting/overview/
92
+ ----------------------------------------
93
+ */
94
+ /*
95
+ ----------------------------------------
96
+ Root font size
97
+ ----------------------------------------
98
+ Setting $theme-respect-user-font-size to
99
+ true sets the root font size to 100% and
100
+ uses ems for media queries
101
+ ----------------------------------------
102
+ $theme-root-font-size only applies when
103
+ $theme-respect-user-font-size is set to
104
+ false.
105
+
106
+ This will set the root font size
107
+ as a specific px value and use px values
108
+ for media queries.
109
+
110
+ Accepts true or false
111
+ ----------------------------------------
112
+ */
113
+ /*
114
+ ----------------------------------------
115
+ Global styles
116
+ ----------------------------------------
117
+ Adds basic styling for the following
118
+ unclassed elements:
119
+
120
+ - paragraph: paragraph text
121
+ - link: links
122
+ - content: paragraph text, links,
123
+ headings, lists, and tables
124
+ ----------------------------------------
125
+ */
126
+ /*
127
+ ----------------------------------------
128
+ Broswer compatibility mode
129
+ ----------------------------------------
130
+ When true, outputs woff and ttf font
131
+ formats in addition to woff2
132
+ ----------------------------------------
133
+ */
134
+ /*
135
+ ----------------------------------------
136
+ Font path
137
+ ----------------------------------------
138
+ Relative font file path
139
+ ----------------------------------------
140
+ */
141
+ /*
142
+ ----------------------------------------
143
+ Custom typeface tokens
144
+ ----------------------------------------
145
+ Add a new custom typeface token if
146
+ your project uses a typeface not already
147
+ defined by USWDS.
148
+ ----------------------------------------
149
+ USWDS defines the following tokens
150
+ by default:
151
+ ----------------------------------------
152
+ 'georgia'
153
+ 'helvetica'
154
+ 'merriweather'
155
+ 'open-sans'
156
+ 'public-sans'
157
+ 'roboto-mono'
158
+ 'source-sans-pro'
159
+ 'system'
160
+ 'tahoma'
161
+ 'verdana'
162
+ ----------------------------------------
163
+ Add as many new tokens as you have
164
+ custom typefaces. Reference your new
165
+ token(s) in the type-based font settings
166
+ using the quoted name of the token.
167
+
168
+ For example:
169
+
170
+ $theme-font-type-cond: 'example-font-token';
171
+
172
+ display-name:
173
+ The display name of your font
174
+
175
+ cap-height:
176
+ The height of a 500px `N` in Sketch
177
+ ----------------------------------------
178
+ You should change `example-[style]-token`
179
+ names to something more descriptive.
180
+ ----------------------------------------
181
+ */
182
+ /*
183
+ ----------------------------------------
184
+ Type-based font settings
185
+ ----------------------------------------
186
+ Set the type-based tokens for your
187
+ project from the following tokens,
188
+ or from any new font tokens you added in
189
+ $theme-typeface-tokens.
190
+ ----------------------------------------
191
+ 'georgia'
192
+ 'helvetica'
193
+ 'merriweather'
194
+ 'open-sans'
195
+ 'public-sans'
196
+ 'roboto-mono'
197
+ 'source-sans-pro'
198
+ 'system'
199
+ 'tahoma'
200
+ 'verdana'
201
+ ----------------------------------------
202
+ */
203
+ /*
204
+ ----------------------------------------
205
+ Custom font stacks
206
+ ----------------------------------------
207
+ Add custom font stacks to any of the
208
+ type-based fonts. Any USWDS typeface
209
+ token already has a default stack.
210
+
211
+ Custom stacks don't need to include the
212
+ font's display name. It will
213
+ automatically appear at the start of
214
+ the stack.
215
+ ----------------------------------------
216
+ Example:
217
+ $theme-font-type-sans: 'source-sans-pro';
218
+ $theme-font-sans-custom-stack: "Helvetica Neue", Helvetica, Arial, sans;
219
+
220
+ Output:
221
+ font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;
222
+ ----------------------------------------
223
+ */
224
+ /*
225
+ ----------------------------------------
226
+ Add any custom font source files
227
+ ----------------------------------------
228
+ If you want USWDS to generate additional
229
+ @font-face declarations, add your font
230
+ data below, following the example that
231
+ follows.
232
+ ----------------------------------------
233
+ USWDS automatically generates @font-face
234
+ declarations for the following
235
+
236
+ 'merriweather'
237
+ 'public-sans'
238
+ 'roboto-mono'
239
+ 'source-sans-pro'
240
+
241
+ These typefaces not require custom
242
+ source files.
243
+ ----------------------------------------
244
+ EXAMPLE
245
+
246
+ - dir:
247
+ Directory relative to $theme-font-path
248
+ - This directory should include fonts saved as
249
+ .woff2
250
+ ExampleSerif-Normal.woff2
251
+
252
+ $theme-font-serif-custom-src: (
253
+ dir: 'custom/example-serif',
254
+ roman: (
255
+ 100: false,
256
+ 200: false,
257
+ 300: 'ExampleSerif-Light',
258
+ 400: 'ExampleSerif-Normal',
259
+ 500: false,
260
+ 600: false,
261
+ 700: 'ExampleSerif-Bold',
262
+ 800: false,
263
+ 900: false,
264
+ ),
265
+ italic: (
266
+ 100: false,
267
+ 200: false,
268
+ 300: 'ExampleSerif-LightItalic',
269
+ 400: 'ExampleSerif-Italic',
270
+ 500: false,
271
+ 600: false,
272
+ 700: 'ExampleSerif-BoldItalic',
273
+ 800: false,
274
+ 900: false,
275
+ ),
276
+ );
277
+ ----------------------------------------
278
+ */
279
+ /*
280
+ ----------------------------------------
281
+ Role-based font settings
282
+ ----------------------------------------
283
+ Set the role-based tokens for your
284
+ project from the following font-type
285
+ tokens.
286
+ ----------------------------------------
287
+ 'cond'
288
+ 'icon'
289
+ 'lang'
290
+ 'mono'
291
+ 'sans'
292
+ 'serif'
293
+ ----------------------------------------
294
+ */
295
+ /*
296
+ ----------------------------------------
297
+ Type scale
298
+ ----------------------------------------
299
+ Define your project's type scale using
300
+ values from the USWDS system type scale
301
+
302
+ 1-20
303
+ ----------------------------------------
304
+ */
305
+ /*
306
+ ----------------------------------------
307
+ Font weights
308
+ ----------------------------------------
309
+ Assign weights 100-900
310
+ Or use `false` for unneeded weights.
311
+ ----------------------------------------
312
+ */
313
+ /*
314
+ ----------------------------------------
315
+ General typography settings
316
+ ----------------------------------------
317
+ Type scale tokens
318
+ ----------------------------------------
319
+ micro: 10px
320
+ 1: 12px
321
+ 2: 13px
322
+ 3: 14px
323
+ 4: 15px
324
+ 5: 16px
325
+ 6: 17px
326
+ 7: 18px
327
+ 8: 20px
328
+ 9: 22px
329
+ 10: 24px
330
+ 11: 28px
331
+ 12: 32px
332
+ 13: 36px
333
+ 14: 40px
334
+ 15: 48px
335
+ 16: 56px
336
+ 17: 64px
337
+ 18: 80px
338
+ 19: 120px
339
+ 20: 140px
340
+ ----------------------------------------
341
+ Line height tokens
342
+ ----------------------------------------
343
+ 1: 1
344
+ 2: 1.15
345
+ 3: 1.35
346
+ 4: 1.5
347
+ 5: 1.62
348
+ 6: 1.75
349
+ ----------------------------------------
350
+ Font role tokens
351
+ ----------------------------------------
352
+ 'ui'
353
+ 'heading'
354
+ 'body'
355
+ 'code'
356
+ 'alt'
357
+ ----------------------------------------
358
+ Measure (max-width) tokens
359
+ ----------------------------------------
360
+ 1: 44ex
361
+ 2: 60ex
362
+ 3: 64ex
363
+ 4: 68ex
364
+ 5: 74ex
365
+ 6: 88ex
366
+ none: none
367
+ ----------------------------------------
368
+ */
369
+ /*
370
+ * * * * * ==============================
371
+ * * * * * ==============================
372
+ * * * * * ==============================
373
+ * * * * * ==============================
374
+ ========================================
375
+ ========================================
376
+ ========================================
377
+ ----------------------------------------
378
+ COLOR SETTINGS
379
+ ----------------------------------------
380
+ Read more about settings and
381
+ USWDS color tokens in the documentation:
382
+ https://designsystem.digital.gov/design-tokens/color
383
+ ----------------------------------------
384
+ */
385
+ /*
386
+ ----------------------------------------
387
+ Theme palette colors
388
+ ----------------------------------------
389
+ */
390
+ /*
391
+ ----------------------------------------
392
+ State palette colors
393
+ ----------------------------------------
394
+ */
395
+ /*
396
+ ----------------------------------------
397
+ General colors
398
+ ----------------------------------------
399
+ */
400
+ /*
401
+ * * * * * ==============================
402
+ * * * * * ==============================
403
+ * * * * * ==============================
404
+ * * * * * ==============================
405
+ ========================================
406
+ ========================================
407
+ ========================================
408
+ ----------------------------------------
409
+ COMPONENT SETTINGS
410
+ ----------------------------------------
411
+ Read more about settings and
412
+ USWDS style tokens in the documentation:
413
+ https://designsystem.digital.gov/design-tokens
414
+ ----------------------------------------
415
+ */
416
+ /*
417
+ * * * * * ==============================
418
+ * * * * * ==============================
419
+ * * * * * ==============================
420
+ * * * * * ==============================
421
+ ========================================
422
+ ========================================
423
+ ========================================
424
+ ----------------------------------------
425
+ SPACING SETTINGS
426
+ ----------------------------------------
427
+ Read more about settings and
428
+ USWDS spacing units tokens in the
429
+ documentation:
430
+ https://designsystem.digital.gov/design-tokens/spacing-units
431
+ ----------------------------------------
432
+ */
433
+ /*
434
+ ----------------------------------------
435
+ Border radius
436
+ ----------------------------------------
437
+ 2px 2px
438
+ 0.5 4px
439
+ 1 8px
440
+ 1.5 12px
441
+ 2 16px
442
+ 2.5 20px
443
+ 3 24px
444
+ 4 32px
445
+ 5 40px
446
+ 6 48px
447
+ 7 56px
448
+ 8 64px
449
+ 9 72px
450
+ ----------------------------------------
451
+ */
452
+ /*
453
+ ----------------------------------------
454
+ Column gap
455
+ ----------------------------------------
456
+ 2px 2px
457
+ 0.5 4px
458
+ 1 8px
459
+ 2 16px
460
+ 3 24px
461
+ 4 32px
462
+ 5 40px
463
+ 6 48px
464
+ ----------------------------------------
465
+ */
466
+ /*
467
+ ----------------------------------------
468
+ Grid container max-width
469
+ ----------------------------------------
470
+ mobile
471
+ mobile-lg
472
+ tablet
473
+ tablet-lg
474
+ desktop
475
+ desktop-lg
476
+ widescreen
477
+ ----------------------------------------
478
+ */
479
+ /*
480
+ ----------------------------------------
481
+ Site
482
+ ----------------------------------------
483
+ */
484
+ /*
485
+ * * * * * ==============================
486
+ * * * * * ==============================
487
+ * * * * * ==============================
488
+ * * * * * ==============================
489
+ ========================================
490
+ ========================================
491
+ ========================================
492
+ ----------------------------------------
493
+ UTILITIES SETTINGS
494
+ ----------------------------------------
495
+ Read more about settings and
496
+ USWDS utilities in the documentation:
497
+ https://designsystem.digital.gov/utilities
498
+ ----------------------------------------
499
+ */
500
+ /*
501
+ ----------------------------------------
502
+ map-collect()
503
+ ----------------------------------------
504
+ Collect multiple maps into a single
505
+ large map
506
+ source: https://gist.github.com/bigglesrocks/d75091700f8f2be5abfe
507
+ ----------------------------------------
508
+ */
509
+ /*
510
+ ----------------------------------------
511
+ Utility breakpoints
512
+ ----------------------------------------
513
+ Which breakpoints does your project
514
+ need? Select as `true` any breakpoint
515
+ used by utilities or layout grid
516
+ ----------------------------------------
517
+ */
518
+ /*
519
+ ----------------------------------------
520
+ Global colors
521
+ ----------------------------------------
522
+ The following palettes will be added to
523
+ - background-color
524
+ - border-color
525
+ - color
526
+ - text-decoration-color
527
+ ----------------------------------------
528
+ */
529
+ /*
530
+ ----------------------------------------
531
+ Settings
532
+ ----------------------------------------
533
+ */
534
+ /*
535
+ ----------------------------------------
536
+ Values
537
+ ----------------------------------------
538
+ */
539
+ /*
540
+ ----------------------------------------
541
+ color()
542
+ ----------------------------------------
543
+ Derive a color from a color shortcode
544
+ ----------------------------------------
545
+ */
546
+ /*
547
+ ----------------------------------------
548
+ append-important()
549
+ ----------------------------------------
550
+ Append `!important` to a list
551
+ ----------------------------------------
552
+ */
553
+ /*
554
+ ----------------------------------------
555
+ get-last()
556
+ ----------------------------------------
557
+ Return the last item of a list,
558
+ Return null if the value is null
559
+ ----------------------------------------
560
+ */
561
+ /*
562
+ ----------------------------------------
563
+ de-list()
564
+ ----------------------------------------
565
+ Transform a one-element list or arglist
566
+ into that single element.
567
+ ----------------------------------------
568
+ (1) => 1
569
+ ((1)) => (1)
570
+ ----------------------------------------
571
+ */
572
+ /*
573
+ ----------------------------------------
574
+ error-not-token()
575
+ ----------------------------------------
576
+ Returns a common not-a-token error.
577
+ ----------------------------------------
578
+ */
579
+ /*
580
+ ----------------------------------------
581
+ uswds-error()
582
+ ----------------------------------------
583
+ Allow the system to pass an error as text
584
+ to test error states in unit testing
585
+ ----------------------------------------
586
+ */
587
+ /*
588
+ ----------------------------------------
589
+ get-default()
590
+ ----------------------------------------
591
+ Returns the default value from a map
592
+ of project defaults
593
+ get-default("bg-color")
594
+ > $theme-body-background-color
595
+ ----------------------------------------
596
+ */
597
+ /*
598
+ ----------------------------------------
599
+ has-important()
600
+ ----------------------------------------
601
+ Check to see if `!important` is
602
+ being passed in a mixin's props
603
+ ----------------------------------------
604
+ */
605
+ /*
606
+ ----------------------------------------
607
+ map-deep-get()
608
+ ----------------------------------------
609
+ @author Hugo Giraudel
610
+ @access public
611
+ @param {Map} $map - Map
612
+ @param {Arglist} $keys - Key chain
613
+ @return {*} - Desired value
614
+ ----------------------------------------
615
+ */
616
+ /*
617
+ ----------------------------------------
618
+ multi-cat()
619
+ ----------------------------------------
620
+ Concatenate two lists
621
+ ----------------------------------------
622
+ */
623
+ /*
624
+ ----------------------------------------
625
+ remove()
626
+ ----------------------------------------
627
+ Remove a value from a list
628
+ ----------------------------------------
629
+ */
630
+ /*
631
+ ----------------------------------------
632
+ smart-quote()
633
+ ----------------------------------------
634
+ Quotes strings
635
+ Inspects `px`, `xs`, and `xl` numbers
636
+ Leaves bools as is
637
+ ----------------------------------------
638
+ */
639
+ /*
640
+ ----------------------------------------
641
+ str-replace()
642
+ ----------------------------------------
643
+ Replace any substring with another
644
+ string
645
+ ----------------------------------------
646
+ */
647
+ /*
648
+ ----------------------------------------
649
+ str-split()
650
+ ----------------------------------------
651
+ Split a string at a given separator
652
+ and convert into a list of substrings
653
+ ----------------------------------------
654
+ */
655
+ /*
656
+ ----------------------------------------
657
+ strip-unit()
658
+ ----------------------------------------
659
+ Remove the unit of a length
660
+ @author Hugo Giraudel
661
+ @param {Number} $number - Number to remove unit from
662
+ @return {Number} - Unitless number
663
+ ----------------------------------------
664
+ */
665
+ /*
666
+ ----------------------------------------
667
+ base-to-map()
668
+ @TODO: Deprecate and delete
669
+ ----------------------------------------
670
+ Convert a single base to a USWDS
671
+ value map.
672
+
673
+ Candidate for deprecation if we remove
674
+ isReadable
675
+ ----------------------------------------
676
+ */
677
+ /*
678
+ ----------------------------------------
679
+ to-number()
680
+ ----------------------------------------
681
+ Casts a string into a number
682
+ ----------------------------------------
683
+ @param {String | Number} $value - Value to be parsed
684
+ @return {Number}
685
+ ----------------------------------------
686
+ */
687
+ /*
688
+ ----------------------------------------
689
+ unpack()
690
+ ----------------------------------------
691
+ Create lists of single items from lists
692
+ of lists.
693
+ ----------------------------------------
694
+ (1, (2.1, 2.2), 3) -->
695
+ (1, 2.1, 2.2, 3)
696
+ ----------------------------------------
697
+ */
698
+ /*
699
+ ----------------------------------------
700
+ color()
701
+ ----------------------------------------
702
+ Derive a color from a color shortcode
703
+ ----------------------------------------
704
+ */
705
+ /*
706
+ ----------------------------------------
707
+ color()
708
+ ----------------------------------------
709
+ Derive a color from a color shortcode
710
+ ----------------------------------------
711
+ */
712
+ /*
713
+ ----------------------------------------
714
+ get-system-color()
715
+ ----------------------------------------
716
+ Derive a system color from its
717
+ family, value, and vivid or a passed
718
+ variable that is, itself, a list
719
+ ----------------------------------------
720
+ */
721
+ /*
722
+ ----------------------------------------
723
+ color()
724
+ ----------------------------------------
725
+ Derive a color from a color shortcode
726
+ ----------------------------------------
727
+ */
728
+ /*
729
+ ----------------------------------------
730
+ color()
731
+ ----------------------------------------
732
+ Derive a color from a color shortcode
733
+ ----------------------------------------
734
+ */
735
+ /*
736
+ ----------------------------------------
737
+ color()
738
+ ----------------------------------------
739
+ Derive a color from a color shortcode
740
+ ----------------------------------------
741
+ */
742
+ /*
743
+ ----------------------------------------
744
+ set-theme-color()
745
+ ----------------------------------------
746
+ Derive a color from a system color token
747
+ or a hex value
748
+ ----------------------------------------
749
+ */
750
+ /*
751
+ ----------------------------------------
752
+ px-to-rem()
753
+ ----------------------------------------
754
+ Converts a value in px to a value in rem
755
+ ----------------------------------------
756
+ */
757
+ /*
758
+ ----------------------------------------
759
+ rem-to-user-em()
760
+ ----------------------------------------
761
+ Converts a value in rem to a value in
762
+ [user-settings] em for use in media
763
+ queries
764
+ ----------------------------------------
765
+ */
766
+ /*
767
+ ----------------------------------------
768
+ px-to-user-em()
769
+ ----------------------------------------
770
+ Converts a value in px to a value in em
771
+ ----------------------------------------
772
+ */
773
+ /*
774
+ ----------------------------------------
775
+ rem-to-px()
776
+ ----------------------------------------
777
+ Converts a value in rem to a value in px
778
+ ----------------------------------------
779
+ */
780
+ /*
781
+ ----------------------------------------
782
+ spacing-multiple()
783
+ ----------------------------------------
784
+ Converts a spacing unit multiple into
785
+ the desired final units (currently rem)
786
+ ----------------------------------------
787
+ */
788
+ /*
789
+ ----------------------------------------
790
+ units()
791
+ ----------------------------------------
792
+ Converts a spacing unit into
793
+ the desired final units (currently rem)
794
+ ----------------------------------------
795
+ */
796
+ /*
797
+ ----------------------------------------
798
+ number-to-token()
799
+ ----------------------------------------
800
+ Converts an integer or numeric value
801
+ into a system value
802
+
803
+ Ex: 0.5 --> '05'
804
+ -1px --> 'neg-1px'
805
+ ----------------------------------------
806
+ */
807
+ /*
808
+ ----------------------------------------
809
+ Project fonts
810
+ ----------------------------------------
811
+ Collects font settings in a map for
812
+ looping.
813
+ ----------------------------------------
814
+ */
815
+ /*
816
+ ----------------------------------------
817
+ Luminance ranges
818
+ ----------------------------------------
819
+ */
820
+ /*
821
+ ----------------------------------------
822
+ ns()
823
+ ----------------------------------------
824
+ Add a namesspace of $type if that
825
+ namespace is set to output
826
+ ----------------------------------------
827
+ */
828
+ /*
829
+ ----------------------------------------
830
+ Line height
831
+ ----------------------------------------
832
+ */
833
+ /*
834
+ ----------------------------------------
835
+ Measure
836
+ ----------------------------------------
837
+ */
838
+ /*
839
+ ----------------------------------------
840
+ cap-height()
841
+ ----------------------------------------
842
+ Get the cap height of a valid typeface
843
+ ----------------------------------------
844
+ */
845
+ /*
846
+ ----------------------------------------
847
+ validate-typeface-token()
848
+ ----------------------------------------
849
+ Check to see if a typeface-token exists.
850
+ Throw an error if a passed token does
851
+ not exist in the typeface-token map.
852
+ ----------------------------------------
853
+ */
854
+ /*
855
+ ----------------------------------------
856
+ convert-to-font-type()
857
+ ----------------------------------------
858
+ Converts a font-role token into a
859
+ font-type token. Leaves font-type tokens
860
+ unchanged.
861
+ ----------------------------------------
862
+ */
863
+ /*
864
+ ----------------------------------------
865
+ font-sources()
866
+ ----------------------------------------
867
+ Outputs a list of font sources used in
868
+ a @font-face declaration.
869
+
870
+ $theme-font-browser-compatibility: true - output woff2, woff, ttf
871
+ $theme-font-browser-compatibility: false - output woff2
872
+
873
+ @param stem: string - [font path]/[custom-src.dir]/[custom-src.[style].[weight]]
874
+ @output: string
875
+
876
+ filetypes must be one of the filetypes set in variables/$project-font-face-filetypes (woff, woff2, ttf)
877
+ ----------------------------------------
878
+ */
879
+ /*
880
+ ----------------------------------------
881
+ get-font-stack()
882
+ ----------------------------------------
883
+ Get a font stack from a style- or
884
+ role-based font token.
885
+ ----------------------------------------
886
+ */
887
+ /*
888
+ ----------------------------------------
889
+ get-typeface-token()
890
+ ----------------------------------------
891
+ Get a typeface token from a font-type or
892
+ font-role token.
893
+ ----------------------------------------
894
+ */
895
+ /*
896
+ ----------------------------------------
897
+ normalize-type-scale()
898
+ ----------------------------------------
899
+ Normalizes a specific face's optical size
900
+ to a set target
901
+ ----------------------------------------
902
+ */
903
+ /*
904
+ ----------------------------------------
905
+ system-type-scale()
906
+ ----------------------------------------
907
+ Get a value from the system type scale
908
+ ----------------------------------------
909
+ */
910
+ /*
911
+ ----------------------------------------
912
+ Easing
913
+ ----------------------------------------
914
+ */
915
+ /* deprecated.scss
916
+ ---
917
+ Occasionally the design system will deprecate
918
+ old variables or functionality. If we replace
919
+ the old functionality with something new, this is a
920
+ place to connect the old functionality to the
921
+ new functionality, in the service of better
922
+ continuity and backwards compatibility within a
923
+ major release cycle.
924
+
925
+ Note the USWDS version where we deprecated the
926
+ old functionality in a comment.
927
+
928
+ Be sure to update notifications.scss.
929
+
930
+ This file should started fresh at each
931
+ major version.
932
+ */
933
+ /*
934
+ ----------------------------------------
935
+ advanced-color()
936
+ ----------------------------------------
937
+ Derive a color from a color triplet:
938
+ [family], [grade], [variant]
939
+ ----------------------------------------
940
+ */
941
+ /*
942
+ ----------------------------------------
943
+ calculate-grade()
944
+ ----------------------------------------
945
+ Derive the grade equivalent any color,
946
+ even non-token colors
947
+ ----------------------------------------
948
+ */
949
+ /*
950
+ ----------------------------------------
951
+ color-token-assignment()
952
+ ----------------------------------------
953
+ Get the system token equivalent of any
954
+ theme color token
955
+ ----------------------------------------
956
+ */
957
+ /*
958
+ ----------------------------------------
959
+ is-system-color-token()
960
+ ----------------------------------------
961
+ Return whether a token is a system
962
+ color token
963
+ ----------------------------------------
964
+ */
965
+ /*
966
+ ----------------------------------------
967
+ is-theme-color-token()
968
+ ----------------------------------------
969
+ Return whether a token is a theme
970
+ color token
971
+ ----------------------------------------
972
+ */
973
+ /*
974
+ ----------------------------------------
975
+ color-token-family()
976
+ ----------------------------------------
977
+ Returns the family of a color token.
978
+ Returns: color-family
979
+ color-token-family("accent-warm-vivid")
980
+ > "accent-warm"
981
+ color-token-family("red-50v")
982
+ > "red"
983
+ color-token-variant(("red", 50, "vivid"))
984
+ > "red"
985
+ ----------------------------------------
986
+ */
987
+ /*
988
+ ----------------------------------------
989
+ decompose()
990
+ ----------------------------------------
991
+ Convert a color token into into a list
992
+ of form [family], [grade], [variant]
993
+ Vivid variants return "vivid" as the
994
+ variant.
995
+ If neither grade nor variant exists,
996
+ returns 'null'
997
+ ----------------------------------------
998
+ */
999
+ /*
1000
+ ----------------------------------------
1001
+ color-token-family()
1002
+ ----------------------------------------
1003
+ Returns the family of a color token.
1004
+ Returns: color-family
1005
+ color-token-family("accent-warm-vivid")
1006
+ > "accent-warm"
1007
+ color-token-family("red-50v")
1008
+ > "red"
1009
+ color-token-variant(("red", 50, "vivid"))
1010
+ > "red"
1011
+ ----------------------------------------
1012
+ */
1013
+ /*
1014
+ ----------------------------------------
1015
+ color-token-grade()
1016
+ ----------------------------------------
1017
+ Returns the grade of a USWDS color token.
1018
+ Returns: color-grade
1019
+ color-token-grade("accent-warm")
1020
+ > "root"
1021
+ color-token-grade("accent-warm-vivid")
1022
+ > "root"
1023
+ color-token-grade("accent-warm-darker")
1024
+ > "darker"
1025
+ color-token-grade("red-50v")
1026
+ > 50
1027
+ color-token-variant(("red", 50, "vivid"))
1028
+ > 50
1029
+ ----------------------------------------
1030
+ */
1031
+ /*
1032
+ ----------------------------------------
1033
+ color-token-family()
1034
+ ----------------------------------------
1035
+ Returns the family of a color token.
1036
+ Returns: color-family
1037
+ color-token-family("accent-warm-vivid")
1038
+ > "accent-warm"
1039
+ color-token-family("red-50v")
1040
+ > "red"
1041
+ color-token-variant(("red", 50, "vivid"))
1042
+ > "red"
1043
+ ----------------------------------------
1044
+ */
1045
+ /*
1046
+ ----------------------------------------
1047
+ is-color-token()
1048
+ ----------------------------------------
1049
+ Returns whether a given string is a
1050
+ USWDS color token.
1051
+ ----------------------------------------
1052
+ */
1053
+ /*
1054
+ ----------------------------------------
1055
+ pow()
1056
+ ----------------------------------------
1057
+ Raises a unitless number to the power
1058
+ of another unitless number
1059
+ Includes helper functions
1060
+ ----------------------------------------
1061
+ */
1062
+ /*
1063
+ ----------------------------------------
1064
+ Helper functions
1065
+ ----------------------------------------
1066
+ */
1067
+ /* factorial()
1068
+ ----------------------------------------
1069
+ */
1070
+ /* summation()
1071
+ ----------------------------------------
1072
+ */
1073
+ /* exp-maclaurin()
1074
+ ----------------------------------------
1075
+ */
1076
+ /* ln()
1077
+ ----------------------------------------
1078
+ */
1079
+ /*
1080
+ ----------------------------------------
1081
+ color-token-type()
1082
+ ----------------------------------------
1083
+ Returns the type of a color token.
1084
+ Returns: "system" | "theme"
1085
+ ----------------------------------------
1086
+ */
1087
+ /*
1088
+ ----------------------------------------
1089
+ color-token-variant()
1090
+ ----------------------------------------
1091
+ Returns the variant of color token.
1092
+ Returns: "vivid" | false
1093
+ color-token-variant("accent-warm")
1094
+ > false
1095
+ color-token-variant("accent-warm-vivid")
1096
+ > "vivid"
1097
+ color-token-variant("red-50v")
1098
+ > "vivid"
1099
+ color-token-variant(("red", 50, "vivid"))
1100
+ > "vivid"
1101
+ ----------------------------------------
1102
+ */
1103
+ /*
1104
+ ----------------------------------------
1105
+ magic-number()
1106
+ ----------------------------------------
1107
+ Returns the magic number of two color
1108
+ grades. Takes numbers or color tokens.
1109
+ magic-number(50, 10)
1110
+ return: 40
1111
+ magic-number("red-50", "red-10")
1112
+ return: 40
1113
+ ----------------------------------------
1114
+ */
1115
+ /*
1116
+ ----------------------------------------
1117
+ is-accessible-magic-number()
1118
+ ----------------------------------------
1119
+ Returns whether two grades achieve
1120
+ specified target color contrast
1121
+ Returns: true | false
1122
+ is-accessible-magic-number(10, 50, "AA")
1123
+ > false
1124
+ is-accessible-magic-number(10, 60, "AA")
1125
+ > true
1126
+ ----------------------------------------
1127
+ */
1128
+ /*
1129
+ ----------------------------------------
1130
+ wcag-magic-number()
1131
+ ----------------------------------------
1132
+ Returns the magic number of a specific
1133
+ wcag grade:
1134
+ "AA"
1135
+ "AA-Large"
1136
+ "AAA"
1137
+ wcag-magic-number("AA")
1138
+ > 50
1139
+ ----------------------------------------
1140
+ */
1141
+ /*
1142
+ ----------------------------------------
1143
+ get-link-tokens-from-bg()
1144
+ ----------------------------------------
1145
+ Get accessible link colors for a given
1146
+ background color
1147
+ returns: link-token, hover-token
1148
+ get-link-tokens-from-bg(
1149
+ "black",
1150
+ "red-60",
1151
+ "red-10",
1152
+ "AA")
1153
+ > "red-10", "red-5"
1154
+ get-link-tokens-from-bg(
1155
+ "black",
1156
+ "red-60v",
1157
+ "red-10v",
1158
+ "AA-large")
1159
+ > "red-60v", "red-50v"
1160
+ get-link-tokens-from-bg(
1161
+ "black",
1162
+ "red-5v",
1163
+ "red-60v",
1164
+ "AA")
1165
+ > "red-5v", "white"
1166
+ get-link-tokens-from-bg(
1167
+ "black",
1168
+ "white",
1169
+ "red-60v",
1170
+ "AA")
1171
+ > "white", "white"
1172
+ ----------------------------------------
1173
+ */
1174
+ /*
1175
+ ----------------------------------------
1176
+ next-token()
1177
+ ----------------------------------------
1178
+ Returns next "darker" or "lighter" color
1179
+ token of the same token type and variant.
1180
+ Returns: color-token | false
1181
+ next-token("accent-warm", "lighter")
1182
+ > "accent-warm-light"
1183
+ next-token("gray-10", "lighter")
1184
+ > "gray-5"
1185
+ next-token("gray-5", "lighter")
1186
+ > "white"
1187
+ next-token("white", "lighter")
1188
+ > false
1189
+ next-token("red-50v", "darker")
1190
+ > "red-60v"
1191
+ next-token("red-50", "darker")
1192
+ > "red-60"
1193
+ next-token("red-80v", "darker")
1194
+ > "red-90"
1195
+ next-token("red-90", "darker")
1196
+ > "black"
1197
+ next-token("white", "darker")
1198
+ > "gray-5"
1199
+ next-token("black", "lighter")
1200
+ > "gray-90"
1201
+ ----------------------------------------
1202
+ */
1203
+ /*
1204
+ ----------------------------------------
1205
+ test-colors()
1206
+ ----------------------------------------
1207
+ Check to see if all system colors
1208
+ fall between the proper relative
1209
+ luminance range for their grade.
1210
+ Has a couple quirks, as the luminance()
1211
+ function returns slightly different
1212
+ results than expected.
1213
+ ----------------------------------------
1214
+ */
1215
+ /*
1216
+ ----------------------------------------
1217
+ columns()
1218
+ ----------------------------------------
1219
+ outputs a grid-col number based on
1220
+ the number of desired columns in the
1221
+ 12-column grid
1222
+
1223
+ Ex: columns(2) --> 6
1224
+ grid-col(columns(2))
1225
+ ----------------------------------------
1226
+ */
1227
+ /*
1228
+ ----------------------------------------
1229
+ USWDS Properties
1230
+ ----------------------------------------
1231
+ */
1232
+ /*
1233
+ ----------------------------------------
1234
+ get-uswds-value()
1235
+ ----------------------------------------
1236
+ Finds and outputs a value from the
1237
+ USWDS standard values.
1238
+
1239
+ Used to build other standard utility
1240
+ functions and mixins.
1241
+ ----------------------------------------
1242
+ */
1243
+ /*
1244
+ ----------------------------------------
1245
+ get-standard-values()
1246
+ ----------------------------------------
1247
+ Gets a map of USWDS standard values
1248
+ for a property
1249
+ ----------------------------------------
1250
+ */
1251
+ /*
1252
+ ----------------------------------------
1253
+ border-radius()
1254
+ ----------------------------------------
1255
+ Get a border-radius from the system
1256
+ border-radii
1257
+ ----------------------------------------
1258
+ */
1259
+ /*
1260
+ ----------------------------------------
1261
+ font-weight()
1262
+ fw()
1263
+ ----------------------------------------
1264
+ Get a font-weight value from the
1265
+ system font-weight
1266
+ ----------------------------------------
1267
+ */
1268
+ /*
1269
+ ----------------------------------------
1270
+ feature()
1271
+ ----------------------------------------
1272
+ Gets a valid USWDS font feature setting
1273
+ ----------------------------------------
1274
+ */
1275
+ /*
1276
+ ----------------------------------------
1277
+ flex()
1278
+ ----------------------------------------
1279
+ Gets a valid USWDS flex value
1280
+ ----------------------------------------
1281
+ */
1282
+ /*
1283
+ ----------------------------------------
1284
+ font-family()
1285
+ family()
1286
+ ----------------------------------------
1287
+ Get a font-family stack from a
1288
+ role-based or type-based font family
1289
+ ----------------------------------------
1290
+ */
1291
+ /*
1292
+ ----------------------------------------
1293
+ letter-spacing()
1294
+ ls()
1295
+ ----------------------------------------
1296
+ Get a letter-spacing value from the
1297
+ system letter-spacing
1298
+ ----------------------------------------
1299
+ */
1300
+ /*
1301
+ ----------------------------------------
1302
+ measure()
1303
+ ----------------------------------------
1304
+ Gets a valid USWDS reading line length
1305
+ ----------------------------------------
1306
+ */
1307
+ /*
1308
+ ----------------------------------------
1309
+ opacity()
1310
+ ----------------------------------------
1311
+ Get an opacity from the system
1312
+ opacities
1313
+ ----------------------------------------
1314
+ */
1315
+ /*
1316
+ ----------------------------------------
1317
+ order()
1318
+ ----------------------------------------
1319
+ Get an order value from the
1320
+ system orders
1321
+ ----------------------------------------
1322
+ */
1323
+ /*
1324
+ ----------------------------------------
1325
+ radius()
1326
+ ----------------------------------------
1327
+ Get a border-radius value from the
1328
+ system letter-spacing
1329
+ ----------------------------------------
1330
+ */
1331
+ /*
1332
+ ----------------------------------------
1333
+ font-size()
1334
+ ----------------------------------------
1335
+ Get type scale value from a [family] and
1336
+ [scale]
1337
+ ----------------------------------------
1338
+ */
1339
+ /*
1340
+ ----------------------------------------
1341
+ z-index()
1342
+ z()
1343
+ ----------------------------------------
1344
+ Get a z-index value from the
1345
+ system z-index
1346
+ ----------------------------------------
1347
+ */
1348
+ /*
1349
+ ----------------------------------------
1350
+ utility-font()
1351
+ ----------------------------------------
1352
+ Get a normalized font-size in rem from
1353
+ a family and a type size in either
1354
+ system scale or project scale
1355
+ ----------------------------------------
1356
+ Not the public-facing function.
1357
+ Used for building the utilities and
1358
+ withholds certain errors.
1359
+ ----------------------------------------
1360
+ */
1361
+ /*
1362
+ ----------------------------------------
1363
+ family()
1364
+ ----------------------------------------
1365
+ Get a font-family stack
1366
+ ----------------------------------------
1367
+ */
1368
+ /*
1369
+ ----------------------------------------
1370
+ size()
1371
+ ----------------------------------------
1372
+ Get a normalized font-size in rem from
1373
+ a family and a type size in either
1374
+ system scale or project scale
1375
+ ----------------------------------------
1376
+ */
1377
+ /*
1378
+ ----------------------------------------
1379
+ font()
1380
+ ----------------------------------------
1381
+ Get a font-family stack
1382
+ AND
1383
+ Get a normalized font-size in rem from
1384
+ a family and a type size in either
1385
+ system scale or project scale
1386
+ ----------------------------------------
1387
+ */
1388
+ /*
1389
+ ----------------------------------------
1390
+ typeset()
1391
+ ----------------------------------------
1392
+ Sets:
1393
+ - family
1394
+ - size
1395
+ - line-height
1396
+ ----------------------------------------
1397
+ */
1398
+ /* stylelint-disable max-nesting-depth */
1399
+ /*
1400
+ ----------------------------------------
1401
+ @render-pseudoclass
1402
+ ----------------------------------------
1403
+ Build a pseucoclass utiliy from values
1404
+ calculated in the @render-utilities-in
1405
+ loop
1406
+ ----------------------------------------
1407
+ */
1408
+ /*
1409
+ ----------------------------------------
1410
+ @render-utility
1411
+ ----------------------------------------
1412
+ Build a utility from values calculated
1413
+ in the @render-utilities-in loop
1414
+ ----------------------------------------
1415
+ TODO: Determine the proper use of
1416
+ unquote() in the following. Changed to
1417
+ account for a 'interpolation near
1418
+ operators will be simplified in a
1419
+ future version of Sass' warning.
1420
+ ----------------------------------------
1421
+ */
1422
+ /*
1423
+ ----------------------------------------
1424
+ @render-utilities-in
1425
+ ----------------------------------------
1426
+ The master loop that sets the building
1427
+ blocks of utilities from the values
1428
+ in individual rule settings and loops
1429
+ through all possible variants
1430
+ ----------------------------------------
1431
+ */
1432
+ /* stylelint-enable */
1433
+ /* notifications.scss
1434
+ ---
1435
+ Adds a notification at the top of each USWDS
1436
+ compile. Use this file for important notifications
1437
+ and updates to the design system.
1438
+
1439
+ This file should started fresh at each
1440
+ major version.
1441
+
1442
+ */
1443
+ /* prettier-ignore */
1444
+ /* prettier-ignore */
1445
+ /* stylelint-disable */
1446
+ @font-face {
1447
+ font-family: "Roboto Mono Web";
1448
+ font-style: normal;
1449
+ font-weight: 300;
1450
+ font-display: fallback;
1451
+ src: url(../fonts/roboto-mono/roboto-mono-v5-latin-300.woff2) format("woff2");
1452
+ }
1453
+ @font-face {
1454
+ font-family: "Roboto Mono Web";
1455
+ font-style: normal;
1456
+ font-weight: 400;
1457
+ font-display: fallback;
1458
+ src: url(../fonts/roboto-mono/roboto-mono-v5-latin-regular.woff2) format("woff2");
1459
+ }
1460
+ @font-face {
1461
+ font-family: "Roboto Mono Web";
1462
+ font-style: normal;
1463
+ font-weight: 700;
1464
+ font-display: fallback;
1465
+ src: url(../fonts/roboto-mono/roboto-mono-v5-latin-700.woff2) format("woff2");
1466
+ }
1467
+ @font-face {
1468
+ font-family: "Roboto Mono Web";
1469
+ font-style: italic;
1470
+ font-weight: 300;
1471
+ font-display: fallback;
1472
+ src: url(../fonts/roboto-mono/roboto-mono-v5-latin-300italic.woff2) format("woff2");
1473
+ }
1474
+ @font-face {
1475
+ font-family: "Roboto Mono Web";
1476
+ font-style: italic;
1477
+ font-weight: 400;
1478
+ font-display: fallback;
1479
+ src: url(../fonts/roboto-mono/roboto-mono-v5-latin-italic.woff2) format("woff2");
1480
+ }
1481
+ @font-face {
1482
+ font-family: "Roboto Mono Web";
1483
+ font-style: italic;
1484
+ font-weight: 700;
1485
+ font-display: fallback;
1486
+ src: url(../fonts/roboto-mono/roboto-mono-v5-latin-700italic.woff2) format("woff2");
1487
+ }
1488
+ @font-face {
1489
+ font-family: "Source Sans Pro Web";
1490
+ font-style: normal;
1491
+ font-weight: 300;
1492
+ font-display: fallback;
1493
+ src: url(../fonts/source-sans-pro/sourcesanspro-light-webfont.woff2) format("woff2");
1494
+ }
1495
+ @font-face {
1496
+ font-family: "Source Sans Pro Web";
1497
+ font-style: normal;
1498
+ font-weight: 400;
1499
+ font-display: fallback;
1500
+ src: url(../fonts/source-sans-pro/sourcesanspro-regular-webfont.woff2) format("woff2");
1501
+ }
1502
+ @font-face {
1503
+ font-family: "Source Sans Pro Web";
1504
+ font-style: normal;
1505
+ font-weight: 700;
1506
+ font-display: fallback;
1507
+ src: url(../fonts/source-sans-pro/sourcesanspro-bold-webfont.woff2) format("woff2");
1508
+ }
1509
+ @font-face {
1510
+ font-family: "Source Sans Pro Web";
1511
+ font-style: italic;
1512
+ font-weight: 300;
1513
+ font-display: fallback;
1514
+ src: url(../fonts/source-sans-pro/sourcesanspro-lightitalic-webfont.woff2) format("woff2");
1515
+ }
1516
+ @font-face {
1517
+ font-family: "Source Sans Pro Web";
1518
+ font-style: italic;
1519
+ font-weight: 400;
1520
+ font-display: fallback;
1521
+ src: url(../fonts/source-sans-pro/sourcesanspro-italic-webfont.woff2) format("woff2");
1522
+ }
1523
+ @font-face {
1524
+ font-family: "Source Sans Pro Web";
1525
+ font-style: italic;
1526
+ font-weight: 700;
1527
+ font-display: fallback;
1528
+ src: url(../fonts/source-sans-pro/sourcesanspro-bolditalic-webfont.woff2) format("woff2");
1529
+ }
1530
+ @font-face {
1531
+ font-family: "Merriweather Web";
1532
+ font-style: normal;
1533
+ font-weight: 300;
1534
+ font-display: fallback;
1535
+ src: url(../fonts/merriweather/Latin-Merriweather-Light.woff2) format("woff2");
1536
+ }
1537
+ @font-face {
1538
+ font-family: "Merriweather Web";
1539
+ font-style: normal;
1540
+ font-weight: 400;
1541
+ font-display: fallback;
1542
+ src: url(../fonts/merriweather/Latin-Merriweather-Regular.woff2) format("woff2");
1543
+ }
1544
+ @font-face {
1545
+ font-family: "Merriweather Web";
1546
+ font-style: normal;
1547
+ font-weight: 700;
1548
+ font-display: fallback;
1549
+ src: url(../fonts/merriweather/Latin-Merriweather-Bold.woff2) format("woff2");
1550
+ }
1551
+ @font-face {
1552
+ font-family: "Merriweather Web";
1553
+ font-style: italic;
1554
+ font-weight: 300;
1555
+ font-display: fallback;
1556
+ src: url(../fonts/merriweather/Latin-Merriweather-LightItalic.woff2) format("woff2");
1557
+ }
1558
+ @font-face {
1559
+ font-family: "Merriweather Web";
1560
+ font-style: italic;
1561
+ font-weight: 400;
1562
+ font-display: fallback;
1563
+ src: url(../fonts/merriweather/Latin-Merriweather-Italic.woff2) format("woff2");
1564
+ }
1565
+ @font-face {
1566
+ font-family: "Merriweather Web";
1567
+ font-style: italic;
1568
+ font-weight: 700;
1569
+ font-display: fallback;
1570
+ src: url(../fonts/merriweather/Latin-Merriweather-BoldItalic.woff2) format("woff2");
1571
+ }
1572
+ /* stylelint-enable */
1573
+ .usa-label {
1574
+ font-family: Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;
1575
+ font-size: 1.06rem;
1576
+ line-height: 1.3;
1577
+ display: block;
1578
+ font-weight: normal;
1579
+ margin-top: 1.5rem;
1580
+ max-width: 30rem;
1581
+ }
1582
+
1583
+ .usa-label--error {
1584
+ font-weight: 700;
1585
+ margin-top: 0;
1586
+ }
1587
+
1588
+ .usa-label--required {
1589
+ color: #b50909;
1590
+ }
1591
+
1592
+ /*# sourceMappingURL=labels.css.map */