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