@department-of-veterans-affairs/css-library 0.17.0 → 0.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/stylesheets/base/fonts.css +0 -1578
- package/dist/stylesheets/base/headings.css +1 -1
- package/dist/stylesheets/base/utils.css +1 -1
- package/dist/stylesheets/core.css +140 -1584
- package/dist/stylesheets/formation-overrides/elements/buttons.css +1 -1
- package/dist/stylesheets/formation-overrides/elements/inputs.css +1 -1
- package/dist/stylesheets/formation-overrides/elements/typography.css +2 -2
- package/dist/stylesheets/modules/m-emergency-banner.css +1 -1
- package/dist/stylesheets/modules/m-maintenance-banner.css +1 -1
- package/dist/stylesheets/modules/m-megamenu.css +2 -2
- package/dist/stylesheets/shame.css +1 -1
- package/dist/stylesheets/utilities.css +1 -1
- package/dist/tokens/css/variables.css +54 -116
- package/dist/tokens/json/variables.json +877 -1663
- package/dist/tokens/scss/variables.scss +54 -116
- package/package.json +1 -1
|
@@ -1443,6 +1443,134 @@ through all possible variants
|
|
|
1443
1443
|
*/
|
|
1444
1444
|
/* prettier-ignore */
|
|
1445
1445
|
/* prettier-ignore */
|
|
1446
|
+
/* stylelint-disable */
|
|
1447
|
+
@font-face {
|
|
1448
|
+
font-family: "Roboto Mono Web";
|
|
1449
|
+
font-style: normal;
|
|
1450
|
+
font-weight: 300;
|
|
1451
|
+
font-display: fallback;
|
|
1452
|
+
src: url(~@uswds/uswds/fonts/roboto-mono/roboto-mono-v5-latin-300.woff2) format("woff2");
|
|
1453
|
+
}
|
|
1454
|
+
@font-face {
|
|
1455
|
+
font-family: "Roboto Mono Web";
|
|
1456
|
+
font-style: normal;
|
|
1457
|
+
font-weight: 400;
|
|
1458
|
+
font-display: fallback;
|
|
1459
|
+
src: url(~@uswds/uswds/fonts/roboto-mono/roboto-mono-v5-latin-regular.woff2) format("woff2");
|
|
1460
|
+
}
|
|
1461
|
+
@font-face {
|
|
1462
|
+
font-family: "Roboto Mono Web";
|
|
1463
|
+
font-style: normal;
|
|
1464
|
+
font-weight: 700;
|
|
1465
|
+
font-display: fallback;
|
|
1466
|
+
src: url(~@uswds/uswds/fonts/roboto-mono/roboto-mono-v5-latin-700.woff2) format("woff2");
|
|
1467
|
+
}
|
|
1468
|
+
@font-face {
|
|
1469
|
+
font-family: "Roboto Mono Web";
|
|
1470
|
+
font-style: italic;
|
|
1471
|
+
font-weight: 300;
|
|
1472
|
+
font-display: fallback;
|
|
1473
|
+
src: url(~@uswds/uswds/fonts/roboto-mono/roboto-mono-v5-latin-300italic.woff2) format("woff2");
|
|
1474
|
+
}
|
|
1475
|
+
@font-face {
|
|
1476
|
+
font-family: "Roboto Mono Web";
|
|
1477
|
+
font-style: italic;
|
|
1478
|
+
font-weight: 400;
|
|
1479
|
+
font-display: fallback;
|
|
1480
|
+
src: url(~@uswds/uswds/fonts/roboto-mono/roboto-mono-v5-latin-italic.woff2) format("woff2");
|
|
1481
|
+
}
|
|
1482
|
+
@font-face {
|
|
1483
|
+
font-family: "Roboto Mono Web";
|
|
1484
|
+
font-style: italic;
|
|
1485
|
+
font-weight: 700;
|
|
1486
|
+
font-display: fallback;
|
|
1487
|
+
src: url(~@uswds/uswds/fonts/roboto-mono/roboto-mono-v5-latin-700italic.woff2) format("woff2");
|
|
1488
|
+
}
|
|
1489
|
+
@font-face {
|
|
1490
|
+
font-family: "Source Sans Pro Web";
|
|
1491
|
+
font-style: normal;
|
|
1492
|
+
font-weight: 300;
|
|
1493
|
+
font-display: fallback;
|
|
1494
|
+
src: url(~@uswds/uswds/fonts/source-sans-pro/sourcesanspro-light-webfont.woff2) format("woff2");
|
|
1495
|
+
}
|
|
1496
|
+
@font-face {
|
|
1497
|
+
font-family: "Source Sans Pro Web";
|
|
1498
|
+
font-style: normal;
|
|
1499
|
+
font-weight: 400;
|
|
1500
|
+
font-display: fallback;
|
|
1501
|
+
src: url(~@uswds/uswds/fonts/source-sans-pro/sourcesanspro-regular-webfont.woff2) format("woff2");
|
|
1502
|
+
}
|
|
1503
|
+
@font-face {
|
|
1504
|
+
font-family: "Source Sans Pro Web";
|
|
1505
|
+
font-style: normal;
|
|
1506
|
+
font-weight: 700;
|
|
1507
|
+
font-display: fallback;
|
|
1508
|
+
src: url(~@uswds/uswds/fonts/source-sans-pro/sourcesanspro-bold-webfont.woff2) format("woff2");
|
|
1509
|
+
}
|
|
1510
|
+
@font-face {
|
|
1511
|
+
font-family: "Source Sans Pro Web";
|
|
1512
|
+
font-style: italic;
|
|
1513
|
+
font-weight: 300;
|
|
1514
|
+
font-display: fallback;
|
|
1515
|
+
src: url(~@uswds/uswds/fonts/source-sans-pro/sourcesanspro-lightitalic-webfont.woff2) format("woff2");
|
|
1516
|
+
}
|
|
1517
|
+
@font-face {
|
|
1518
|
+
font-family: "Source Sans Pro Web";
|
|
1519
|
+
font-style: italic;
|
|
1520
|
+
font-weight: 400;
|
|
1521
|
+
font-display: fallback;
|
|
1522
|
+
src: url(~@uswds/uswds/fonts/source-sans-pro/sourcesanspro-italic-webfont.woff2) format("woff2");
|
|
1523
|
+
}
|
|
1524
|
+
@font-face {
|
|
1525
|
+
font-family: "Source Sans Pro Web";
|
|
1526
|
+
font-style: italic;
|
|
1527
|
+
font-weight: 700;
|
|
1528
|
+
font-display: fallback;
|
|
1529
|
+
src: url(~@uswds/uswds/fonts/source-sans-pro/sourcesanspro-bolditalic-webfont.woff2) format("woff2");
|
|
1530
|
+
}
|
|
1531
|
+
@font-face {
|
|
1532
|
+
font-family: "Merriweather Web";
|
|
1533
|
+
font-style: normal;
|
|
1534
|
+
font-weight: 300;
|
|
1535
|
+
font-display: fallback;
|
|
1536
|
+
src: url(~@uswds/uswds/fonts/merriweather/Latin-Merriweather-Light.woff2) format("woff2");
|
|
1537
|
+
}
|
|
1538
|
+
@font-face {
|
|
1539
|
+
font-family: "Merriweather Web";
|
|
1540
|
+
font-style: normal;
|
|
1541
|
+
font-weight: 400;
|
|
1542
|
+
font-display: fallback;
|
|
1543
|
+
src: url(~@uswds/uswds/fonts/merriweather/Latin-Merriweather-Regular.woff2) format("woff2");
|
|
1544
|
+
}
|
|
1545
|
+
@font-face {
|
|
1546
|
+
font-family: "Merriweather Web";
|
|
1547
|
+
font-style: normal;
|
|
1548
|
+
font-weight: 700;
|
|
1549
|
+
font-display: fallback;
|
|
1550
|
+
src: url(~@uswds/uswds/fonts/merriweather/Latin-Merriweather-Bold.woff2) format("woff2");
|
|
1551
|
+
}
|
|
1552
|
+
@font-face {
|
|
1553
|
+
font-family: "Merriweather Web";
|
|
1554
|
+
font-style: italic;
|
|
1555
|
+
font-weight: 300;
|
|
1556
|
+
font-display: fallback;
|
|
1557
|
+
src: url(~@uswds/uswds/fonts/merriweather/Latin-Merriweather-LightItalic.woff2) format("woff2");
|
|
1558
|
+
}
|
|
1559
|
+
@font-face {
|
|
1560
|
+
font-family: "Merriweather Web";
|
|
1561
|
+
font-style: italic;
|
|
1562
|
+
font-weight: 400;
|
|
1563
|
+
font-display: fallback;
|
|
1564
|
+
src: url(~@uswds/uswds/fonts/merriweather/Latin-Merriweather-Italic.woff2) format("woff2");
|
|
1565
|
+
}
|
|
1566
|
+
@font-face {
|
|
1567
|
+
font-family: "Merriweather Web";
|
|
1568
|
+
font-style: italic;
|
|
1569
|
+
font-weight: 700;
|
|
1570
|
+
font-display: fallback;
|
|
1571
|
+
src: url(~@uswds/uswds/fonts/merriweather/Latin-Merriweather-BoldItalic.woff2) format("woff2");
|
|
1572
|
+
}
|
|
1573
|
+
/* stylelint-enable */
|
|
1446
1574
|
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
|
1447
1575
|
/* Document
|
|
1448
1576
|
========================================================================== */
|
|
@@ -1810,1578 +1938,6 @@ template {
|
|
|
1810
1938
|
padding: 0 0.390625rem 0.78125rem;
|
|
1811
1939
|
}
|
|
1812
1940
|
|
|
1813
|
-
/*
|
|
1814
|
-
* * * * * ==============================
|
|
1815
|
-
* * * * * ==============================
|
|
1816
|
-
* * * * * ==============================
|
|
1817
|
-
* * * * * ==============================
|
|
1818
|
-
========================================
|
|
1819
|
-
========================================
|
|
1820
|
-
========================================
|
|
1821
|
-
----------------------------------------
|
|
1822
|
-
GENERAL SETTINGS
|
|
1823
|
-
----------------------------------------
|
|
1824
|
-
Read more about settings and
|
|
1825
|
-
USWDS style tokens in the documentation:
|
|
1826
|
-
https://designsystem.digital.gov/design-tokens
|
|
1827
|
-
----------------------------------------
|
|
1828
|
-
*/
|
|
1829
|
-
/*
|
|
1830
|
-
----------------------------------------
|
|
1831
|
-
Image path
|
|
1832
|
-
----------------------------------------
|
|
1833
|
-
Relative image file path
|
|
1834
|
-
----------------------------------------
|
|
1835
|
-
*/
|
|
1836
|
-
/*
|
|
1837
|
-
----------------------------------------
|
|
1838
|
-
Show compile warnings
|
|
1839
|
-
----------------------------------------
|
|
1840
|
-
Show Sass warnings when functions and
|
|
1841
|
-
mixins use non-standard tokens.
|
|
1842
|
-
AND
|
|
1843
|
-
Show updates and notifications.
|
|
1844
|
-
----------------------------------------
|
|
1845
|
-
*/
|
|
1846
|
-
/*
|
|
1847
|
-
----------------------------------------
|
|
1848
|
-
Namespace
|
|
1849
|
-
----------------------------------------
|
|
1850
|
-
*/
|
|
1851
|
-
/*
|
|
1852
|
-
----------------------------------------
|
|
1853
|
-
Prefix separator
|
|
1854
|
-
----------------------------------------
|
|
1855
|
-
Set the character the separates
|
|
1856
|
-
responsive and state prefixes from the
|
|
1857
|
-
main class name.
|
|
1858
|
-
The default (":") needs to be preceded
|
|
1859
|
-
by two backslashes to be properly
|
|
1860
|
-
escaped.
|
|
1861
|
-
----------------------------------------
|
|
1862
|
-
*/
|
|
1863
|
-
/*
|
|
1864
|
-
----------------------------------------
|
|
1865
|
-
Layout grid
|
|
1866
|
-
----------------------------------------
|
|
1867
|
-
Should the layout grid classes output
|
|
1868
|
-
with !important
|
|
1869
|
-
----------------------------------------
|
|
1870
|
-
*/
|
|
1871
|
-
/*
|
|
1872
|
-
----------------------------------------
|
|
1873
|
-
Border box sizing
|
|
1874
|
-
----------------------------------------
|
|
1875
|
-
When set to true, sets the box-sizing
|
|
1876
|
-
property of all site elements to
|
|
1877
|
-
`border-box`.
|
|
1878
|
-
----------------------------------------
|
|
1879
|
-
*/
|
|
1880
|
-
/*
|
|
1881
|
-
----------------------------------------
|
|
1882
|
-
Focus styles
|
|
1883
|
-
----------------------------------------
|
|
1884
|
-
*/
|
|
1885
|
-
/*
|
|
1886
|
-
----------------------------------------
|
|
1887
|
-
Icons
|
|
1888
|
-
----------------------------------------
|
|
1889
|
-
*/
|
|
1890
|
-
/*
|
|
1891
|
-
* * * * * ==============================
|
|
1892
|
-
* * * * * ==============================
|
|
1893
|
-
* * * * * ==============================
|
|
1894
|
-
* * * * * ==============================
|
|
1895
|
-
========================================
|
|
1896
|
-
========================================
|
|
1897
|
-
========================================
|
|
1898
|
-
----------------------------------------
|
|
1899
|
-
TYPOGRAPHY SETTINGS
|
|
1900
|
-
----------------------------------------
|
|
1901
|
-
Read more about settings and
|
|
1902
|
-
USWDS typography tokens in the documentation:
|
|
1903
|
-
https://designsystem.digital.gov/design-tokens/typesetting/overview/
|
|
1904
|
-
----------------------------------------
|
|
1905
|
-
*/
|
|
1906
|
-
/*
|
|
1907
|
-
----------------------------------------
|
|
1908
|
-
Root font size
|
|
1909
|
-
----------------------------------------
|
|
1910
|
-
Setting $theme-respect-user-font-size to
|
|
1911
|
-
true sets the root font size to 100% and
|
|
1912
|
-
uses ems for media queries
|
|
1913
|
-
----------------------------------------
|
|
1914
|
-
$theme-root-font-size only applies when
|
|
1915
|
-
$theme-respect-user-font-size is set to
|
|
1916
|
-
false.
|
|
1917
|
-
|
|
1918
|
-
This will set the root font size
|
|
1919
|
-
as a specific px value and use px values
|
|
1920
|
-
for media queries.
|
|
1921
|
-
|
|
1922
|
-
Accepts true or false
|
|
1923
|
-
----------------------------------------
|
|
1924
|
-
*/
|
|
1925
|
-
/*
|
|
1926
|
-
----------------------------------------
|
|
1927
|
-
Global styles
|
|
1928
|
-
----------------------------------------
|
|
1929
|
-
Adds basic styling for the following
|
|
1930
|
-
unclassed elements:
|
|
1931
|
-
|
|
1932
|
-
- paragraph: paragraph text
|
|
1933
|
-
- link: links
|
|
1934
|
-
- content: paragraph text, links,
|
|
1935
|
-
headings, lists, and tables
|
|
1936
|
-
----------------------------------------
|
|
1937
|
-
*/
|
|
1938
|
-
/*
|
|
1939
|
-
----------------------------------------
|
|
1940
|
-
Broswer compatibility mode
|
|
1941
|
-
----------------------------------------
|
|
1942
|
-
When true, outputs woff and ttf font
|
|
1943
|
-
formats in addition to woff2
|
|
1944
|
-
----------------------------------------
|
|
1945
|
-
*/
|
|
1946
|
-
/*
|
|
1947
|
-
----------------------------------------
|
|
1948
|
-
Font path
|
|
1949
|
-
----------------------------------------
|
|
1950
|
-
Relative font file path
|
|
1951
|
-
----------------------------------------
|
|
1952
|
-
*/
|
|
1953
|
-
/*
|
|
1954
|
-
----------------------------------------
|
|
1955
|
-
Custom typeface tokens
|
|
1956
|
-
----------------------------------------
|
|
1957
|
-
Add a new custom typeface token if
|
|
1958
|
-
your project uses a typeface not already
|
|
1959
|
-
defined by USWDS.
|
|
1960
|
-
----------------------------------------
|
|
1961
|
-
USWDS defines the following tokens
|
|
1962
|
-
by default:
|
|
1963
|
-
----------------------------------------
|
|
1964
|
-
'georgia'
|
|
1965
|
-
'helvetica'
|
|
1966
|
-
'merriweather'
|
|
1967
|
-
'open-sans'
|
|
1968
|
-
'public-sans'
|
|
1969
|
-
'roboto-mono'
|
|
1970
|
-
'source-sans-pro'
|
|
1971
|
-
'system'
|
|
1972
|
-
'tahoma'
|
|
1973
|
-
'verdana'
|
|
1974
|
-
----------------------------------------
|
|
1975
|
-
Add as many new tokens as you have
|
|
1976
|
-
custom typefaces. Reference your new
|
|
1977
|
-
token(s) in the type-based font settings
|
|
1978
|
-
using the quoted name of the token.
|
|
1979
|
-
|
|
1980
|
-
For example:
|
|
1981
|
-
|
|
1982
|
-
$theme-font-type-cond: 'example-font-token';
|
|
1983
|
-
|
|
1984
|
-
display-name:
|
|
1985
|
-
The display name of your font
|
|
1986
|
-
|
|
1987
|
-
cap-height:
|
|
1988
|
-
The height of a 500px `N` in Sketch
|
|
1989
|
-
----------------------------------------
|
|
1990
|
-
You should change `example-[style]-token`
|
|
1991
|
-
names to something more descriptive.
|
|
1992
|
-
----------------------------------------
|
|
1993
|
-
*/
|
|
1994
|
-
/*
|
|
1995
|
-
----------------------------------------
|
|
1996
|
-
Type-based font settings
|
|
1997
|
-
----------------------------------------
|
|
1998
|
-
Set the type-based tokens for your
|
|
1999
|
-
project from the following tokens,
|
|
2000
|
-
or from any new font tokens you added in
|
|
2001
|
-
$theme-typeface-tokens.
|
|
2002
|
-
----------------------------------------
|
|
2003
|
-
'georgia'
|
|
2004
|
-
'helvetica'
|
|
2005
|
-
'merriweather'
|
|
2006
|
-
'open-sans'
|
|
2007
|
-
'public-sans'
|
|
2008
|
-
'roboto-mono'
|
|
2009
|
-
'source-sans-pro'
|
|
2010
|
-
'system'
|
|
2011
|
-
'tahoma'
|
|
2012
|
-
'verdana'
|
|
2013
|
-
----------------------------------------
|
|
2014
|
-
*/
|
|
2015
|
-
/*
|
|
2016
|
-
----------------------------------------
|
|
2017
|
-
Custom font stacks
|
|
2018
|
-
----------------------------------------
|
|
2019
|
-
Add custom font stacks to any of the
|
|
2020
|
-
type-based fonts. Any USWDS typeface
|
|
2021
|
-
token already has a default stack.
|
|
2022
|
-
|
|
2023
|
-
Custom stacks don't need to include the
|
|
2024
|
-
font's display name. It will
|
|
2025
|
-
automatically appear at the start of
|
|
2026
|
-
the stack.
|
|
2027
|
-
----------------------------------------
|
|
2028
|
-
Example:
|
|
2029
|
-
$theme-font-type-sans: 'source-sans-pro';
|
|
2030
|
-
$theme-font-sans-custom-stack: "Helvetica Neue", Helvetica, Arial, sans;
|
|
2031
|
-
|
|
2032
|
-
Output:
|
|
2033
|
-
font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;
|
|
2034
|
-
----------------------------------------
|
|
2035
|
-
*/
|
|
2036
|
-
/*
|
|
2037
|
-
----------------------------------------
|
|
2038
|
-
Add any custom font source files
|
|
2039
|
-
----------------------------------------
|
|
2040
|
-
If you want USWDS to generate additional
|
|
2041
|
-
@font-face declarations, add your font
|
|
2042
|
-
data below, following the example that
|
|
2043
|
-
follows.
|
|
2044
|
-
----------------------------------------
|
|
2045
|
-
USWDS automatically generates @font-face
|
|
2046
|
-
declarations for the following
|
|
2047
|
-
|
|
2048
|
-
'merriweather'
|
|
2049
|
-
'public-sans'
|
|
2050
|
-
'roboto-mono'
|
|
2051
|
-
'source-sans-pro'
|
|
2052
|
-
|
|
2053
|
-
These typefaces not require custom
|
|
2054
|
-
source files.
|
|
2055
|
-
----------------------------------------
|
|
2056
|
-
EXAMPLE
|
|
2057
|
-
|
|
2058
|
-
- dir:
|
|
2059
|
-
Directory relative to $theme-font-path
|
|
2060
|
-
- This directory should include fonts saved as
|
|
2061
|
-
.woff2
|
|
2062
|
-
ExampleSerif-Normal.woff2
|
|
2063
|
-
|
|
2064
|
-
$theme-font-serif-custom-src: (
|
|
2065
|
-
dir: 'custom/example-serif',
|
|
2066
|
-
roman: (
|
|
2067
|
-
100: false,
|
|
2068
|
-
200: false,
|
|
2069
|
-
300: 'ExampleSerif-Light',
|
|
2070
|
-
400: 'ExampleSerif-Normal',
|
|
2071
|
-
500: false,
|
|
2072
|
-
600: false,
|
|
2073
|
-
700: 'ExampleSerif-Bold',
|
|
2074
|
-
800: false,
|
|
2075
|
-
900: false,
|
|
2076
|
-
),
|
|
2077
|
-
italic: (
|
|
2078
|
-
100: false,
|
|
2079
|
-
200: false,
|
|
2080
|
-
300: 'ExampleSerif-LightItalic',
|
|
2081
|
-
400: 'ExampleSerif-Italic',
|
|
2082
|
-
500: false,
|
|
2083
|
-
600: false,
|
|
2084
|
-
700: 'ExampleSerif-BoldItalic',
|
|
2085
|
-
800: false,
|
|
2086
|
-
900: false,
|
|
2087
|
-
),
|
|
2088
|
-
);
|
|
2089
|
-
----------------------------------------
|
|
2090
|
-
*/
|
|
2091
|
-
/*
|
|
2092
|
-
----------------------------------------
|
|
2093
|
-
Role-based font settings
|
|
2094
|
-
----------------------------------------
|
|
2095
|
-
Set the role-based tokens for your
|
|
2096
|
-
project from the following font-type
|
|
2097
|
-
tokens.
|
|
2098
|
-
----------------------------------------
|
|
2099
|
-
'cond'
|
|
2100
|
-
'icon'
|
|
2101
|
-
'lang'
|
|
2102
|
-
'mono'
|
|
2103
|
-
'sans'
|
|
2104
|
-
'serif'
|
|
2105
|
-
----------------------------------------
|
|
2106
|
-
*/
|
|
2107
|
-
/*
|
|
2108
|
-
----------------------------------------
|
|
2109
|
-
Type scale
|
|
2110
|
-
----------------------------------------
|
|
2111
|
-
Define your project's type scale using
|
|
2112
|
-
values from the USWDS system type scale
|
|
2113
|
-
|
|
2114
|
-
1-20
|
|
2115
|
-
----------------------------------------
|
|
2116
|
-
*/
|
|
2117
|
-
/*
|
|
2118
|
-
----------------------------------------
|
|
2119
|
-
Font weights
|
|
2120
|
-
----------------------------------------
|
|
2121
|
-
Assign weights 100-900
|
|
2122
|
-
Or use `false` for unneeded weights.
|
|
2123
|
-
----------------------------------------
|
|
2124
|
-
*/
|
|
2125
|
-
/*
|
|
2126
|
-
----------------------------------------
|
|
2127
|
-
General typography settings
|
|
2128
|
-
----------------------------------------
|
|
2129
|
-
Type scale tokens
|
|
2130
|
-
----------------------------------------
|
|
2131
|
-
micro: 10px
|
|
2132
|
-
1: 12px
|
|
2133
|
-
2: 13px
|
|
2134
|
-
3: 14px
|
|
2135
|
-
4: 15px
|
|
2136
|
-
5: 16px
|
|
2137
|
-
6: 17px
|
|
2138
|
-
7: 18px
|
|
2139
|
-
8: 20px
|
|
2140
|
-
9: 22px
|
|
2141
|
-
10: 24px
|
|
2142
|
-
11: 28px
|
|
2143
|
-
12: 32px
|
|
2144
|
-
13: 36px
|
|
2145
|
-
14: 40px
|
|
2146
|
-
15: 48px
|
|
2147
|
-
16: 56px
|
|
2148
|
-
17: 64px
|
|
2149
|
-
18: 80px
|
|
2150
|
-
19: 120px
|
|
2151
|
-
20: 140px
|
|
2152
|
-
----------------------------------------
|
|
2153
|
-
Line height tokens
|
|
2154
|
-
----------------------------------------
|
|
2155
|
-
1: 1
|
|
2156
|
-
2: 1.15
|
|
2157
|
-
3: 1.35
|
|
2158
|
-
4: 1.5
|
|
2159
|
-
5: 1.62
|
|
2160
|
-
6: 1.75
|
|
2161
|
-
----------------------------------------
|
|
2162
|
-
Font role tokens
|
|
2163
|
-
----------------------------------------
|
|
2164
|
-
'ui'
|
|
2165
|
-
'heading'
|
|
2166
|
-
'body'
|
|
2167
|
-
'code'
|
|
2168
|
-
'alt'
|
|
2169
|
-
----------------------------------------
|
|
2170
|
-
Measure (max-width) tokens
|
|
2171
|
-
----------------------------------------
|
|
2172
|
-
1: 44ex
|
|
2173
|
-
2: 60ex
|
|
2174
|
-
3: 64ex
|
|
2175
|
-
4: 68ex
|
|
2176
|
-
5: 74ex
|
|
2177
|
-
6: 88ex
|
|
2178
|
-
none: none
|
|
2179
|
-
----------------------------------------
|
|
2180
|
-
*/
|
|
2181
|
-
/*
|
|
2182
|
-
* * * * * ==============================
|
|
2183
|
-
* * * * * ==============================
|
|
2184
|
-
* * * * * ==============================
|
|
2185
|
-
* * * * * ==============================
|
|
2186
|
-
========================================
|
|
2187
|
-
========================================
|
|
2188
|
-
========================================
|
|
2189
|
-
----------------------------------------
|
|
2190
|
-
COLOR SETTINGS
|
|
2191
|
-
----------------------------------------
|
|
2192
|
-
Read more about settings and
|
|
2193
|
-
USWDS color tokens in the documentation:
|
|
2194
|
-
https://designsystem.digital.gov/design-tokens/color
|
|
2195
|
-
----------------------------------------
|
|
2196
|
-
*/
|
|
2197
|
-
/*
|
|
2198
|
-
----------------------------------------
|
|
2199
|
-
Theme palette colors
|
|
2200
|
-
----------------------------------------
|
|
2201
|
-
*/
|
|
2202
|
-
/*
|
|
2203
|
-
----------------------------------------
|
|
2204
|
-
State palette colors
|
|
2205
|
-
----------------------------------------
|
|
2206
|
-
*/
|
|
2207
|
-
/*
|
|
2208
|
-
----------------------------------------
|
|
2209
|
-
General colors
|
|
2210
|
-
----------------------------------------
|
|
2211
|
-
*/
|
|
2212
|
-
/*
|
|
2213
|
-
* * * * * ==============================
|
|
2214
|
-
* * * * * ==============================
|
|
2215
|
-
* * * * * ==============================
|
|
2216
|
-
* * * * * ==============================
|
|
2217
|
-
========================================
|
|
2218
|
-
========================================
|
|
2219
|
-
========================================
|
|
2220
|
-
----------------------------------------
|
|
2221
|
-
COMPONENT SETTINGS
|
|
2222
|
-
----------------------------------------
|
|
2223
|
-
Read more about settings and
|
|
2224
|
-
USWDS style tokens in the documentation:
|
|
2225
|
-
https://designsystem.digital.gov/design-tokens
|
|
2226
|
-
----------------------------------------
|
|
2227
|
-
*/
|
|
2228
|
-
/*
|
|
2229
|
-
* * * * * ==============================
|
|
2230
|
-
* * * * * ==============================
|
|
2231
|
-
* * * * * ==============================
|
|
2232
|
-
* * * * * ==============================
|
|
2233
|
-
========================================
|
|
2234
|
-
========================================
|
|
2235
|
-
========================================
|
|
2236
|
-
----------------------------------------
|
|
2237
|
-
SPACING SETTINGS
|
|
2238
|
-
----------------------------------------
|
|
2239
|
-
Read more about settings and
|
|
2240
|
-
USWDS spacing units tokens in the
|
|
2241
|
-
documentation:
|
|
2242
|
-
https://designsystem.digital.gov/design-tokens/spacing-units
|
|
2243
|
-
----------------------------------------
|
|
2244
|
-
*/
|
|
2245
|
-
/*
|
|
2246
|
-
----------------------------------------
|
|
2247
|
-
Border radius
|
|
2248
|
-
----------------------------------------
|
|
2249
|
-
2px 2px
|
|
2250
|
-
0.5 4px
|
|
2251
|
-
1 8px
|
|
2252
|
-
1.5 12px
|
|
2253
|
-
2 16px
|
|
2254
|
-
2.5 20px
|
|
2255
|
-
3 24px
|
|
2256
|
-
4 32px
|
|
2257
|
-
5 40px
|
|
2258
|
-
6 48px
|
|
2259
|
-
7 56px
|
|
2260
|
-
8 64px
|
|
2261
|
-
9 72px
|
|
2262
|
-
----------------------------------------
|
|
2263
|
-
*/
|
|
2264
|
-
/*
|
|
2265
|
-
----------------------------------------
|
|
2266
|
-
Column gap
|
|
2267
|
-
----------------------------------------
|
|
2268
|
-
2px 2px
|
|
2269
|
-
0.5 4px
|
|
2270
|
-
1 8px
|
|
2271
|
-
2 16px
|
|
2272
|
-
3 24px
|
|
2273
|
-
4 32px
|
|
2274
|
-
5 40px
|
|
2275
|
-
6 48px
|
|
2276
|
-
----------------------------------------
|
|
2277
|
-
*/
|
|
2278
|
-
/*
|
|
2279
|
-
----------------------------------------
|
|
2280
|
-
Grid container max-width
|
|
2281
|
-
----------------------------------------
|
|
2282
|
-
mobile
|
|
2283
|
-
mobile-lg
|
|
2284
|
-
tablet
|
|
2285
|
-
tablet-lg
|
|
2286
|
-
desktop
|
|
2287
|
-
desktop-lg
|
|
2288
|
-
widescreen
|
|
2289
|
-
----------------------------------------
|
|
2290
|
-
*/
|
|
2291
|
-
/*
|
|
2292
|
-
----------------------------------------
|
|
2293
|
-
Site
|
|
2294
|
-
----------------------------------------
|
|
2295
|
-
*/
|
|
2296
|
-
/*
|
|
2297
|
-
* * * * * ==============================
|
|
2298
|
-
* * * * * ==============================
|
|
2299
|
-
* * * * * ==============================
|
|
2300
|
-
* * * * * ==============================
|
|
2301
|
-
========================================
|
|
2302
|
-
========================================
|
|
2303
|
-
========================================
|
|
2304
|
-
----------------------------------------
|
|
2305
|
-
UTILITIES SETTINGS
|
|
2306
|
-
----------------------------------------
|
|
2307
|
-
Read more about settings and
|
|
2308
|
-
USWDS utilities in the documentation:
|
|
2309
|
-
https://designsystem.digital.gov/utilities
|
|
2310
|
-
----------------------------------------
|
|
2311
|
-
*/
|
|
2312
|
-
/*
|
|
2313
|
-
----------------------------------------
|
|
2314
|
-
map-collect()
|
|
2315
|
-
----------------------------------------
|
|
2316
|
-
Collect multiple maps into a single
|
|
2317
|
-
large map
|
|
2318
|
-
source: https://gist.github.com/bigglesrocks/d75091700f8f2be5abfe
|
|
2319
|
-
----------------------------------------
|
|
2320
|
-
*/
|
|
2321
|
-
/*
|
|
2322
|
-
----------------------------------------
|
|
2323
|
-
Utility breakpoints
|
|
2324
|
-
----------------------------------------
|
|
2325
|
-
Which breakpoints does your project
|
|
2326
|
-
need? Select as `true` any breakpoint
|
|
2327
|
-
used by utilities or layout grid
|
|
2328
|
-
----------------------------------------
|
|
2329
|
-
*/
|
|
2330
|
-
/*
|
|
2331
|
-
----------------------------------------
|
|
2332
|
-
Global colors
|
|
2333
|
-
----------------------------------------
|
|
2334
|
-
The following palettes will be added to
|
|
2335
|
-
- background-color
|
|
2336
|
-
- border-color
|
|
2337
|
-
- color
|
|
2338
|
-
- text-decoration-color
|
|
2339
|
-
----------------------------------------
|
|
2340
|
-
*/
|
|
2341
|
-
/*
|
|
2342
|
-
----------------------------------------
|
|
2343
|
-
Settings
|
|
2344
|
-
----------------------------------------
|
|
2345
|
-
*/
|
|
2346
|
-
/*
|
|
2347
|
-
----------------------------------------
|
|
2348
|
-
Values
|
|
2349
|
-
----------------------------------------
|
|
2350
|
-
*/
|
|
2351
|
-
/*
|
|
2352
|
-
----------------------------------------
|
|
2353
|
-
color()
|
|
2354
|
-
----------------------------------------
|
|
2355
|
-
Derive a color from a color shortcode
|
|
2356
|
-
----------------------------------------
|
|
2357
|
-
*/
|
|
2358
|
-
/*
|
|
2359
|
-
----------------------------------------
|
|
2360
|
-
append-important()
|
|
2361
|
-
----------------------------------------
|
|
2362
|
-
Append `!important` to a list
|
|
2363
|
-
----------------------------------------
|
|
2364
|
-
*/
|
|
2365
|
-
/*
|
|
2366
|
-
----------------------------------------
|
|
2367
|
-
get-last()
|
|
2368
|
-
----------------------------------------
|
|
2369
|
-
Return the last item of a list,
|
|
2370
|
-
Return null if the value is null
|
|
2371
|
-
----------------------------------------
|
|
2372
|
-
*/
|
|
2373
|
-
/*
|
|
2374
|
-
----------------------------------------
|
|
2375
|
-
de-list()
|
|
2376
|
-
----------------------------------------
|
|
2377
|
-
Transform a one-element list or arglist
|
|
2378
|
-
into that single element.
|
|
2379
|
-
----------------------------------------
|
|
2380
|
-
(1) => 1
|
|
2381
|
-
((1)) => (1)
|
|
2382
|
-
----------------------------------------
|
|
2383
|
-
*/
|
|
2384
|
-
/*
|
|
2385
|
-
----------------------------------------
|
|
2386
|
-
error-not-token()
|
|
2387
|
-
----------------------------------------
|
|
2388
|
-
Returns a common not-a-token error.
|
|
2389
|
-
----------------------------------------
|
|
2390
|
-
*/
|
|
2391
|
-
/*
|
|
2392
|
-
----------------------------------------
|
|
2393
|
-
uswds-error()
|
|
2394
|
-
----------------------------------------
|
|
2395
|
-
Allow the system to pass an error as text
|
|
2396
|
-
to test error states in unit testing
|
|
2397
|
-
----------------------------------------
|
|
2398
|
-
*/
|
|
2399
|
-
/*
|
|
2400
|
-
----------------------------------------
|
|
2401
|
-
get-default()
|
|
2402
|
-
----------------------------------------
|
|
2403
|
-
Returns the default value from a map
|
|
2404
|
-
of project defaults
|
|
2405
|
-
get-default("bg-color")
|
|
2406
|
-
> $theme-body-background-color
|
|
2407
|
-
----------------------------------------
|
|
2408
|
-
*/
|
|
2409
|
-
/*
|
|
2410
|
-
----------------------------------------
|
|
2411
|
-
has-important()
|
|
2412
|
-
----------------------------------------
|
|
2413
|
-
Check to see if `!important` is
|
|
2414
|
-
being passed in a mixin's props
|
|
2415
|
-
----------------------------------------
|
|
2416
|
-
*/
|
|
2417
|
-
/*
|
|
2418
|
-
----------------------------------------
|
|
2419
|
-
map-deep-get()
|
|
2420
|
-
----------------------------------------
|
|
2421
|
-
@author Hugo Giraudel
|
|
2422
|
-
@access public
|
|
2423
|
-
@param {Map} $map - Map
|
|
2424
|
-
@param {Arglist} $keys - Key chain
|
|
2425
|
-
@return {*} - Desired value
|
|
2426
|
-
----------------------------------------
|
|
2427
|
-
*/
|
|
2428
|
-
/*
|
|
2429
|
-
----------------------------------------
|
|
2430
|
-
multi-cat()
|
|
2431
|
-
----------------------------------------
|
|
2432
|
-
Concatenate two lists
|
|
2433
|
-
----------------------------------------
|
|
2434
|
-
*/
|
|
2435
|
-
/*
|
|
2436
|
-
----------------------------------------
|
|
2437
|
-
remove()
|
|
2438
|
-
----------------------------------------
|
|
2439
|
-
Remove a value from a list
|
|
2440
|
-
----------------------------------------
|
|
2441
|
-
*/
|
|
2442
|
-
/*
|
|
2443
|
-
----------------------------------------
|
|
2444
|
-
smart-quote()
|
|
2445
|
-
----------------------------------------
|
|
2446
|
-
Quotes strings
|
|
2447
|
-
Inspects `px`, `xs`, and `xl` numbers
|
|
2448
|
-
Leaves bools as is
|
|
2449
|
-
----------------------------------------
|
|
2450
|
-
*/
|
|
2451
|
-
/*
|
|
2452
|
-
----------------------------------------
|
|
2453
|
-
str-replace()
|
|
2454
|
-
----------------------------------------
|
|
2455
|
-
Replace any substring with another
|
|
2456
|
-
string
|
|
2457
|
-
----------------------------------------
|
|
2458
|
-
*/
|
|
2459
|
-
/*
|
|
2460
|
-
----------------------------------------
|
|
2461
|
-
str-split()
|
|
2462
|
-
----------------------------------------
|
|
2463
|
-
Split a string at a given separator
|
|
2464
|
-
and convert into a list of substrings
|
|
2465
|
-
----------------------------------------
|
|
2466
|
-
*/
|
|
2467
|
-
/*
|
|
2468
|
-
----------------------------------------
|
|
2469
|
-
strip-unit()
|
|
2470
|
-
----------------------------------------
|
|
2471
|
-
Remove the unit of a length
|
|
2472
|
-
@author Hugo Giraudel
|
|
2473
|
-
@param {Number} $number - Number to remove unit from
|
|
2474
|
-
@return {Number} - Unitless number
|
|
2475
|
-
----------------------------------------
|
|
2476
|
-
*/
|
|
2477
|
-
/*
|
|
2478
|
-
----------------------------------------
|
|
2479
|
-
base-to-map()
|
|
2480
|
-
@TODO: Deprecate and delete
|
|
2481
|
-
----------------------------------------
|
|
2482
|
-
Convert a single base to a USWDS
|
|
2483
|
-
value map.
|
|
2484
|
-
|
|
2485
|
-
Candidate for deprecation if we remove
|
|
2486
|
-
isReadable
|
|
2487
|
-
----------------------------------------
|
|
2488
|
-
*/
|
|
2489
|
-
/*
|
|
2490
|
-
----------------------------------------
|
|
2491
|
-
to-number()
|
|
2492
|
-
----------------------------------------
|
|
2493
|
-
Casts a string into a number
|
|
2494
|
-
----------------------------------------
|
|
2495
|
-
@param {String | Number} $value - Value to be parsed
|
|
2496
|
-
@return {Number}
|
|
2497
|
-
----------------------------------------
|
|
2498
|
-
*/
|
|
2499
|
-
/*
|
|
2500
|
-
----------------------------------------
|
|
2501
|
-
unpack()
|
|
2502
|
-
----------------------------------------
|
|
2503
|
-
Create lists of single items from lists
|
|
2504
|
-
of lists.
|
|
2505
|
-
----------------------------------------
|
|
2506
|
-
(1, (2.1, 2.2), 3) -->
|
|
2507
|
-
(1, 2.1, 2.2, 3)
|
|
2508
|
-
----------------------------------------
|
|
2509
|
-
*/
|
|
2510
|
-
/*
|
|
2511
|
-
----------------------------------------
|
|
2512
|
-
color()
|
|
2513
|
-
----------------------------------------
|
|
2514
|
-
Derive a color from a color shortcode
|
|
2515
|
-
----------------------------------------
|
|
2516
|
-
*/
|
|
2517
|
-
/*
|
|
2518
|
-
----------------------------------------
|
|
2519
|
-
color()
|
|
2520
|
-
----------------------------------------
|
|
2521
|
-
Derive a color from a color shortcode
|
|
2522
|
-
----------------------------------------
|
|
2523
|
-
*/
|
|
2524
|
-
/*
|
|
2525
|
-
----------------------------------------
|
|
2526
|
-
get-system-color()
|
|
2527
|
-
----------------------------------------
|
|
2528
|
-
Derive a system color from its
|
|
2529
|
-
family, value, and vivid or a passed
|
|
2530
|
-
variable that is, itself, a list
|
|
2531
|
-
----------------------------------------
|
|
2532
|
-
*/
|
|
2533
|
-
/*
|
|
2534
|
-
----------------------------------------
|
|
2535
|
-
color()
|
|
2536
|
-
----------------------------------------
|
|
2537
|
-
Derive a color from a color shortcode
|
|
2538
|
-
----------------------------------------
|
|
2539
|
-
*/
|
|
2540
|
-
/*
|
|
2541
|
-
----------------------------------------
|
|
2542
|
-
color()
|
|
2543
|
-
----------------------------------------
|
|
2544
|
-
Derive a color from a color shortcode
|
|
2545
|
-
----------------------------------------
|
|
2546
|
-
*/
|
|
2547
|
-
/*
|
|
2548
|
-
----------------------------------------
|
|
2549
|
-
color()
|
|
2550
|
-
----------------------------------------
|
|
2551
|
-
Derive a color from a color shortcode
|
|
2552
|
-
----------------------------------------
|
|
2553
|
-
*/
|
|
2554
|
-
/*
|
|
2555
|
-
----------------------------------------
|
|
2556
|
-
set-theme-color()
|
|
2557
|
-
----------------------------------------
|
|
2558
|
-
Derive a color from a system color token
|
|
2559
|
-
or a hex value
|
|
2560
|
-
----------------------------------------
|
|
2561
|
-
*/
|
|
2562
|
-
/*
|
|
2563
|
-
----------------------------------------
|
|
2564
|
-
px-to-rem()
|
|
2565
|
-
----------------------------------------
|
|
2566
|
-
Converts a value in px to a value in rem
|
|
2567
|
-
----------------------------------------
|
|
2568
|
-
*/
|
|
2569
|
-
/*
|
|
2570
|
-
----------------------------------------
|
|
2571
|
-
rem-to-user-em()
|
|
2572
|
-
----------------------------------------
|
|
2573
|
-
Converts a value in rem to a value in
|
|
2574
|
-
[user-settings] em for use in media
|
|
2575
|
-
queries
|
|
2576
|
-
----------------------------------------
|
|
2577
|
-
*/
|
|
2578
|
-
/*
|
|
2579
|
-
----------------------------------------
|
|
2580
|
-
px-to-user-em()
|
|
2581
|
-
----------------------------------------
|
|
2582
|
-
Converts a value in px to a value in em
|
|
2583
|
-
----------------------------------------
|
|
2584
|
-
*/
|
|
2585
|
-
/*
|
|
2586
|
-
----------------------------------------
|
|
2587
|
-
rem-to-px()
|
|
2588
|
-
----------------------------------------
|
|
2589
|
-
Converts a value in rem to a value in px
|
|
2590
|
-
----------------------------------------
|
|
2591
|
-
*/
|
|
2592
|
-
/*
|
|
2593
|
-
----------------------------------------
|
|
2594
|
-
spacing-multiple()
|
|
2595
|
-
----------------------------------------
|
|
2596
|
-
Converts a spacing unit multiple into
|
|
2597
|
-
the desired final units (currently rem)
|
|
2598
|
-
----------------------------------------
|
|
2599
|
-
*/
|
|
2600
|
-
/*
|
|
2601
|
-
----------------------------------------
|
|
2602
|
-
units()
|
|
2603
|
-
----------------------------------------
|
|
2604
|
-
Converts a spacing unit into
|
|
2605
|
-
the desired final units (currently rem)
|
|
2606
|
-
----------------------------------------
|
|
2607
|
-
*/
|
|
2608
|
-
/*
|
|
2609
|
-
----------------------------------------
|
|
2610
|
-
number-to-token()
|
|
2611
|
-
----------------------------------------
|
|
2612
|
-
Converts an integer or numeric value
|
|
2613
|
-
into a system value
|
|
2614
|
-
|
|
2615
|
-
Ex: 0.5 --> '05'
|
|
2616
|
-
-1px --> 'neg-1px'
|
|
2617
|
-
----------------------------------------
|
|
2618
|
-
*/
|
|
2619
|
-
/*
|
|
2620
|
-
----------------------------------------
|
|
2621
|
-
Project fonts
|
|
2622
|
-
----------------------------------------
|
|
2623
|
-
Collects font settings in a map for
|
|
2624
|
-
looping.
|
|
2625
|
-
----------------------------------------
|
|
2626
|
-
*/
|
|
2627
|
-
/*
|
|
2628
|
-
----------------------------------------
|
|
2629
|
-
Luminance ranges
|
|
2630
|
-
----------------------------------------
|
|
2631
|
-
*/
|
|
2632
|
-
/*
|
|
2633
|
-
----------------------------------------
|
|
2634
|
-
ns()
|
|
2635
|
-
----------------------------------------
|
|
2636
|
-
Add a namesspace of $type if that
|
|
2637
|
-
namespace is set to output
|
|
2638
|
-
----------------------------------------
|
|
2639
|
-
*/
|
|
2640
|
-
/*
|
|
2641
|
-
----------------------------------------
|
|
2642
|
-
Line height
|
|
2643
|
-
----------------------------------------
|
|
2644
|
-
*/
|
|
2645
|
-
/*
|
|
2646
|
-
----------------------------------------
|
|
2647
|
-
Measure
|
|
2648
|
-
----------------------------------------
|
|
2649
|
-
*/
|
|
2650
|
-
/*
|
|
2651
|
-
----------------------------------------
|
|
2652
|
-
cap-height()
|
|
2653
|
-
----------------------------------------
|
|
2654
|
-
Get the cap height of a valid typeface
|
|
2655
|
-
----------------------------------------
|
|
2656
|
-
*/
|
|
2657
|
-
/*
|
|
2658
|
-
----------------------------------------
|
|
2659
|
-
validate-typeface-token()
|
|
2660
|
-
----------------------------------------
|
|
2661
|
-
Check to see if a typeface-token exists.
|
|
2662
|
-
Throw an error if a passed token does
|
|
2663
|
-
not exist in the typeface-token map.
|
|
2664
|
-
----------------------------------------
|
|
2665
|
-
*/
|
|
2666
|
-
/*
|
|
2667
|
-
----------------------------------------
|
|
2668
|
-
convert-to-font-type()
|
|
2669
|
-
----------------------------------------
|
|
2670
|
-
Converts a font-role token into a
|
|
2671
|
-
font-type token. Leaves font-type tokens
|
|
2672
|
-
unchanged.
|
|
2673
|
-
----------------------------------------
|
|
2674
|
-
*/
|
|
2675
|
-
/*
|
|
2676
|
-
----------------------------------------
|
|
2677
|
-
font-sources()
|
|
2678
|
-
----------------------------------------
|
|
2679
|
-
Outputs a list of font sources used in
|
|
2680
|
-
a @font-face declaration.
|
|
2681
|
-
|
|
2682
|
-
$theme-font-browser-compatibility: true - output woff2, woff, ttf
|
|
2683
|
-
$theme-font-browser-compatibility: false - output woff2
|
|
2684
|
-
|
|
2685
|
-
@param stem: string - [font path]/[custom-src.dir]/[custom-src.[style].[weight]]
|
|
2686
|
-
@output: string
|
|
2687
|
-
|
|
2688
|
-
filetypes must be one of the filetypes set in variables/$project-font-face-filetypes (woff, woff2, ttf)
|
|
2689
|
-
----------------------------------------
|
|
2690
|
-
*/
|
|
2691
|
-
/*
|
|
2692
|
-
----------------------------------------
|
|
2693
|
-
get-font-stack()
|
|
2694
|
-
----------------------------------------
|
|
2695
|
-
Get a font stack from a style- or
|
|
2696
|
-
role-based font token.
|
|
2697
|
-
----------------------------------------
|
|
2698
|
-
*/
|
|
2699
|
-
/*
|
|
2700
|
-
----------------------------------------
|
|
2701
|
-
get-typeface-token()
|
|
2702
|
-
----------------------------------------
|
|
2703
|
-
Get a typeface token from a font-type or
|
|
2704
|
-
font-role token.
|
|
2705
|
-
----------------------------------------
|
|
2706
|
-
*/
|
|
2707
|
-
/*
|
|
2708
|
-
----------------------------------------
|
|
2709
|
-
normalize-type-scale()
|
|
2710
|
-
----------------------------------------
|
|
2711
|
-
Normalizes a specific face's optical size
|
|
2712
|
-
to a set target
|
|
2713
|
-
----------------------------------------
|
|
2714
|
-
*/
|
|
2715
|
-
/*
|
|
2716
|
-
----------------------------------------
|
|
2717
|
-
system-type-scale()
|
|
2718
|
-
----------------------------------------
|
|
2719
|
-
Get a value from the system type scale
|
|
2720
|
-
----------------------------------------
|
|
2721
|
-
*/
|
|
2722
|
-
/*
|
|
2723
|
-
----------------------------------------
|
|
2724
|
-
Easing
|
|
2725
|
-
----------------------------------------
|
|
2726
|
-
*/
|
|
2727
|
-
/* deprecated.scss
|
|
2728
|
-
---
|
|
2729
|
-
Occasionally the design system will deprecate
|
|
2730
|
-
old variables or functionality. If we replace
|
|
2731
|
-
the old functionality with something new, this is a
|
|
2732
|
-
place to connect the old functionality to the
|
|
2733
|
-
new functionality, in the service of better
|
|
2734
|
-
continuity and backwards compatibility within a
|
|
2735
|
-
major release cycle.
|
|
2736
|
-
|
|
2737
|
-
Note the USWDS version where we deprecated the
|
|
2738
|
-
old functionality in a comment.
|
|
2739
|
-
|
|
2740
|
-
Be sure to update notifications.scss.
|
|
2741
|
-
|
|
2742
|
-
This file should started fresh at each
|
|
2743
|
-
major version.
|
|
2744
|
-
*/
|
|
2745
|
-
/*
|
|
2746
|
-
----------------------------------------
|
|
2747
|
-
advanced-color()
|
|
2748
|
-
----------------------------------------
|
|
2749
|
-
Derive a color from a color triplet:
|
|
2750
|
-
[family], [grade], [variant]
|
|
2751
|
-
----------------------------------------
|
|
2752
|
-
*/
|
|
2753
|
-
/*
|
|
2754
|
-
----------------------------------------
|
|
2755
|
-
calculate-grade()
|
|
2756
|
-
----------------------------------------
|
|
2757
|
-
Derive the grade equivalent any color,
|
|
2758
|
-
even non-token colors
|
|
2759
|
-
----------------------------------------
|
|
2760
|
-
*/
|
|
2761
|
-
/*
|
|
2762
|
-
----------------------------------------
|
|
2763
|
-
color-token-assignment()
|
|
2764
|
-
----------------------------------------
|
|
2765
|
-
Get the system token equivalent of any
|
|
2766
|
-
theme color token
|
|
2767
|
-
----------------------------------------
|
|
2768
|
-
*/
|
|
2769
|
-
/*
|
|
2770
|
-
----------------------------------------
|
|
2771
|
-
is-system-color-token()
|
|
2772
|
-
----------------------------------------
|
|
2773
|
-
Return whether a token is a system
|
|
2774
|
-
color token
|
|
2775
|
-
----------------------------------------
|
|
2776
|
-
*/
|
|
2777
|
-
/*
|
|
2778
|
-
----------------------------------------
|
|
2779
|
-
is-theme-color-token()
|
|
2780
|
-
----------------------------------------
|
|
2781
|
-
Return whether a token is a theme
|
|
2782
|
-
color token
|
|
2783
|
-
----------------------------------------
|
|
2784
|
-
*/
|
|
2785
|
-
/*
|
|
2786
|
-
----------------------------------------
|
|
2787
|
-
color-token-family()
|
|
2788
|
-
----------------------------------------
|
|
2789
|
-
Returns the family of a color token.
|
|
2790
|
-
Returns: color-family
|
|
2791
|
-
color-token-family("accent-warm-vivid")
|
|
2792
|
-
> "accent-warm"
|
|
2793
|
-
color-token-family("red-50v")
|
|
2794
|
-
> "red"
|
|
2795
|
-
color-token-variant(("red", 50, "vivid"))
|
|
2796
|
-
> "red"
|
|
2797
|
-
----------------------------------------
|
|
2798
|
-
*/
|
|
2799
|
-
/*
|
|
2800
|
-
----------------------------------------
|
|
2801
|
-
decompose()
|
|
2802
|
-
----------------------------------------
|
|
2803
|
-
Convert a color token into into a list
|
|
2804
|
-
of form [family], [grade], [variant]
|
|
2805
|
-
Vivid variants return "vivid" as the
|
|
2806
|
-
variant.
|
|
2807
|
-
If neither grade nor variant exists,
|
|
2808
|
-
returns 'null'
|
|
2809
|
-
----------------------------------------
|
|
2810
|
-
*/
|
|
2811
|
-
/*
|
|
2812
|
-
----------------------------------------
|
|
2813
|
-
color-token-family()
|
|
2814
|
-
----------------------------------------
|
|
2815
|
-
Returns the family of a color token.
|
|
2816
|
-
Returns: color-family
|
|
2817
|
-
color-token-family("accent-warm-vivid")
|
|
2818
|
-
> "accent-warm"
|
|
2819
|
-
color-token-family("red-50v")
|
|
2820
|
-
> "red"
|
|
2821
|
-
color-token-variant(("red", 50, "vivid"))
|
|
2822
|
-
> "red"
|
|
2823
|
-
----------------------------------------
|
|
2824
|
-
*/
|
|
2825
|
-
/*
|
|
2826
|
-
----------------------------------------
|
|
2827
|
-
color-token-grade()
|
|
2828
|
-
----------------------------------------
|
|
2829
|
-
Returns the grade of a USWDS color token.
|
|
2830
|
-
Returns: color-grade
|
|
2831
|
-
color-token-grade("accent-warm")
|
|
2832
|
-
> "root"
|
|
2833
|
-
color-token-grade("accent-warm-vivid")
|
|
2834
|
-
> "root"
|
|
2835
|
-
color-token-grade("accent-warm-darker")
|
|
2836
|
-
> "darker"
|
|
2837
|
-
color-token-grade("red-50v")
|
|
2838
|
-
> 50
|
|
2839
|
-
color-token-variant(("red", 50, "vivid"))
|
|
2840
|
-
> 50
|
|
2841
|
-
----------------------------------------
|
|
2842
|
-
*/
|
|
2843
|
-
/*
|
|
2844
|
-
----------------------------------------
|
|
2845
|
-
color-token-family()
|
|
2846
|
-
----------------------------------------
|
|
2847
|
-
Returns the family of a color token.
|
|
2848
|
-
Returns: color-family
|
|
2849
|
-
color-token-family("accent-warm-vivid")
|
|
2850
|
-
> "accent-warm"
|
|
2851
|
-
color-token-family("red-50v")
|
|
2852
|
-
> "red"
|
|
2853
|
-
color-token-variant(("red", 50, "vivid"))
|
|
2854
|
-
> "red"
|
|
2855
|
-
----------------------------------------
|
|
2856
|
-
*/
|
|
2857
|
-
/*
|
|
2858
|
-
----------------------------------------
|
|
2859
|
-
is-color-token()
|
|
2860
|
-
----------------------------------------
|
|
2861
|
-
Returns whether a given string is a
|
|
2862
|
-
USWDS color token.
|
|
2863
|
-
----------------------------------------
|
|
2864
|
-
*/
|
|
2865
|
-
/*
|
|
2866
|
-
----------------------------------------
|
|
2867
|
-
pow()
|
|
2868
|
-
----------------------------------------
|
|
2869
|
-
Raises a unitless number to the power
|
|
2870
|
-
of another unitless number
|
|
2871
|
-
Includes helper functions
|
|
2872
|
-
----------------------------------------
|
|
2873
|
-
*/
|
|
2874
|
-
/*
|
|
2875
|
-
----------------------------------------
|
|
2876
|
-
Helper functions
|
|
2877
|
-
----------------------------------------
|
|
2878
|
-
*/
|
|
2879
|
-
/* factorial()
|
|
2880
|
-
----------------------------------------
|
|
2881
|
-
*/
|
|
2882
|
-
/* summation()
|
|
2883
|
-
----------------------------------------
|
|
2884
|
-
*/
|
|
2885
|
-
/* exp-maclaurin()
|
|
2886
|
-
----------------------------------------
|
|
2887
|
-
*/
|
|
2888
|
-
/* ln()
|
|
2889
|
-
----------------------------------------
|
|
2890
|
-
*/
|
|
2891
|
-
/*
|
|
2892
|
-
----------------------------------------
|
|
2893
|
-
color-token-type()
|
|
2894
|
-
----------------------------------------
|
|
2895
|
-
Returns the type of a color token.
|
|
2896
|
-
Returns: "system" | "theme"
|
|
2897
|
-
----------------------------------------
|
|
2898
|
-
*/
|
|
2899
|
-
/*
|
|
2900
|
-
----------------------------------------
|
|
2901
|
-
color-token-variant()
|
|
2902
|
-
----------------------------------------
|
|
2903
|
-
Returns the variant of color token.
|
|
2904
|
-
Returns: "vivid" | false
|
|
2905
|
-
color-token-variant("accent-warm")
|
|
2906
|
-
> false
|
|
2907
|
-
color-token-variant("accent-warm-vivid")
|
|
2908
|
-
> "vivid"
|
|
2909
|
-
color-token-variant("red-50v")
|
|
2910
|
-
> "vivid"
|
|
2911
|
-
color-token-variant(("red", 50, "vivid"))
|
|
2912
|
-
> "vivid"
|
|
2913
|
-
----------------------------------------
|
|
2914
|
-
*/
|
|
2915
|
-
/*
|
|
2916
|
-
----------------------------------------
|
|
2917
|
-
magic-number()
|
|
2918
|
-
----------------------------------------
|
|
2919
|
-
Returns the magic number of two color
|
|
2920
|
-
grades. Takes numbers or color tokens.
|
|
2921
|
-
magic-number(50, 10)
|
|
2922
|
-
return: 40
|
|
2923
|
-
magic-number("red-50", "red-10")
|
|
2924
|
-
return: 40
|
|
2925
|
-
----------------------------------------
|
|
2926
|
-
*/
|
|
2927
|
-
/*
|
|
2928
|
-
----------------------------------------
|
|
2929
|
-
is-accessible-magic-number()
|
|
2930
|
-
----------------------------------------
|
|
2931
|
-
Returns whether two grades achieve
|
|
2932
|
-
specified target color contrast
|
|
2933
|
-
Returns: true | false
|
|
2934
|
-
is-accessible-magic-number(10, 50, "AA")
|
|
2935
|
-
> false
|
|
2936
|
-
is-accessible-magic-number(10, 60, "AA")
|
|
2937
|
-
> true
|
|
2938
|
-
----------------------------------------
|
|
2939
|
-
*/
|
|
2940
|
-
/*
|
|
2941
|
-
----------------------------------------
|
|
2942
|
-
wcag-magic-number()
|
|
2943
|
-
----------------------------------------
|
|
2944
|
-
Returns the magic number of a specific
|
|
2945
|
-
wcag grade:
|
|
2946
|
-
"AA"
|
|
2947
|
-
"AA-Large"
|
|
2948
|
-
"AAA"
|
|
2949
|
-
wcag-magic-number("AA")
|
|
2950
|
-
> 50
|
|
2951
|
-
----------------------------------------
|
|
2952
|
-
*/
|
|
2953
|
-
/*
|
|
2954
|
-
----------------------------------------
|
|
2955
|
-
get-link-tokens-from-bg()
|
|
2956
|
-
----------------------------------------
|
|
2957
|
-
Get accessible link colors for a given
|
|
2958
|
-
background color
|
|
2959
|
-
returns: link-token, hover-token
|
|
2960
|
-
get-link-tokens-from-bg(
|
|
2961
|
-
"black",
|
|
2962
|
-
"red-60",
|
|
2963
|
-
"red-10",
|
|
2964
|
-
"AA")
|
|
2965
|
-
> "red-10", "red-5"
|
|
2966
|
-
get-link-tokens-from-bg(
|
|
2967
|
-
"black",
|
|
2968
|
-
"red-60v",
|
|
2969
|
-
"red-10v",
|
|
2970
|
-
"AA-large")
|
|
2971
|
-
> "red-60v", "red-50v"
|
|
2972
|
-
get-link-tokens-from-bg(
|
|
2973
|
-
"black",
|
|
2974
|
-
"red-5v",
|
|
2975
|
-
"red-60v",
|
|
2976
|
-
"AA")
|
|
2977
|
-
> "red-5v", "white"
|
|
2978
|
-
get-link-tokens-from-bg(
|
|
2979
|
-
"black",
|
|
2980
|
-
"white",
|
|
2981
|
-
"red-60v",
|
|
2982
|
-
"AA")
|
|
2983
|
-
> "white", "white"
|
|
2984
|
-
----------------------------------------
|
|
2985
|
-
*/
|
|
2986
|
-
/*
|
|
2987
|
-
----------------------------------------
|
|
2988
|
-
next-token()
|
|
2989
|
-
----------------------------------------
|
|
2990
|
-
Returns next "darker" or "lighter" color
|
|
2991
|
-
token of the same token type and variant.
|
|
2992
|
-
Returns: color-token | false
|
|
2993
|
-
next-token("accent-warm", "lighter")
|
|
2994
|
-
> "accent-warm-light"
|
|
2995
|
-
next-token("gray-10", "lighter")
|
|
2996
|
-
> "gray-5"
|
|
2997
|
-
next-token("gray-5", "lighter")
|
|
2998
|
-
> "white"
|
|
2999
|
-
next-token("white", "lighter")
|
|
3000
|
-
> false
|
|
3001
|
-
next-token("red-50v", "darker")
|
|
3002
|
-
> "red-60v"
|
|
3003
|
-
next-token("red-50", "darker")
|
|
3004
|
-
> "red-60"
|
|
3005
|
-
next-token("red-80v", "darker")
|
|
3006
|
-
> "red-90"
|
|
3007
|
-
next-token("red-90", "darker")
|
|
3008
|
-
> "black"
|
|
3009
|
-
next-token("white", "darker")
|
|
3010
|
-
> "gray-5"
|
|
3011
|
-
next-token("black", "lighter")
|
|
3012
|
-
> "gray-90"
|
|
3013
|
-
----------------------------------------
|
|
3014
|
-
*/
|
|
3015
|
-
/*
|
|
3016
|
-
----------------------------------------
|
|
3017
|
-
test-colors()
|
|
3018
|
-
----------------------------------------
|
|
3019
|
-
Check to see if all system colors
|
|
3020
|
-
fall between the proper relative
|
|
3021
|
-
luminance range for their grade.
|
|
3022
|
-
Has a couple quirks, as the luminance()
|
|
3023
|
-
function returns slightly different
|
|
3024
|
-
results than expected.
|
|
3025
|
-
----------------------------------------
|
|
3026
|
-
*/
|
|
3027
|
-
/*
|
|
3028
|
-
----------------------------------------
|
|
3029
|
-
columns()
|
|
3030
|
-
----------------------------------------
|
|
3031
|
-
outputs a grid-col number based on
|
|
3032
|
-
the number of desired columns in the
|
|
3033
|
-
12-column grid
|
|
3034
|
-
|
|
3035
|
-
Ex: columns(2) --> 6
|
|
3036
|
-
grid-col(columns(2))
|
|
3037
|
-
----------------------------------------
|
|
3038
|
-
*/
|
|
3039
|
-
/*
|
|
3040
|
-
----------------------------------------
|
|
3041
|
-
USWDS Properties
|
|
3042
|
-
----------------------------------------
|
|
3043
|
-
*/
|
|
3044
|
-
/*
|
|
3045
|
-
----------------------------------------
|
|
3046
|
-
get-uswds-value()
|
|
3047
|
-
----------------------------------------
|
|
3048
|
-
Finds and outputs a value from the
|
|
3049
|
-
USWDS standard values.
|
|
3050
|
-
|
|
3051
|
-
Used to build other standard utility
|
|
3052
|
-
functions and mixins.
|
|
3053
|
-
----------------------------------------
|
|
3054
|
-
*/
|
|
3055
|
-
/*
|
|
3056
|
-
----------------------------------------
|
|
3057
|
-
get-standard-values()
|
|
3058
|
-
----------------------------------------
|
|
3059
|
-
Gets a map of USWDS standard values
|
|
3060
|
-
for a property
|
|
3061
|
-
----------------------------------------
|
|
3062
|
-
*/
|
|
3063
|
-
/*
|
|
3064
|
-
----------------------------------------
|
|
3065
|
-
border-radius()
|
|
3066
|
-
----------------------------------------
|
|
3067
|
-
Get a border-radius from the system
|
|
3068
|
-
border-radii
|
|
3069
|
-
----------------------------------------
|
|
3070
|
-
*/
|
|
3071
|
-
/*
|
|
3072
|
-
----------------------------------------
|
|
3073
|
-
font-weight()
|
|
3074
|
-
fw()
|
|
3075
|
-
----------------------------------------
|
|
3076
|
-
Get a font-weight value from the
|
|
3077
|
-
system font-weight
|
|
3078
|
-
----------------------------------------
|
|
3079
|
-
*/
|
|
3080
|
-
/*
|
|
3081
|
-
----------------------------------------
|
|
3082
|
-
feature()
|
|
3083
|
-
----------------------------------------
|
|
3084
|
-
Gets a valid USWDS font feature setting
|
|
3085
|
-
----------------------------------------
|
|
3086
|
-
*/
|
|
3087
|
-
/*
|
|
3088
|
-
----------------------------------------
|
|
3089
|
-
flex()
|
|
3090
|
-
----------------------------------------
|
|
3091
|
-
Gets a valid USWDS flex value
|
|
3092
|
-
----------------------------------------
|
|
3093
|
-
*/
|
|
3094
|
-
/*
|
|
3095
|
-
----------------------------------------
|
|
3096
|
-
font-family()
|
|
3097
|
-
family()
|
|
3098
|
-
----------------------------------------
|
|
3099
|
-
Get a font-family stack from a
|
|
3100
|
-
role-based or type-based font family
|
|
3101
|
-
----------------------------------------
|
|
3102
|
-
*/
|
|
3103
|
-
/*
|
|
3104
|
-
----------------------------------------
|
|
3105
|
-
letter-spacing()
|
|
3106
|
-
ls()
|
|
3107
|
-
----------------------------------------
|
|
3108
|
-
Get a letter-spacing value from the
|
|
3109
|
-
system letter-spacing
|
|
3110
|
-
----------------------------------------
|
|
3111
|
-
*/
|
|
3112
|
-
/*
|
|
3113
|
-
----------------------------------------
|
|
3114
|
-
measure()
|
|
3115
|
-
----------------------------------------
|
|
3116
|
-
Gets a valid USWDS reading line length
|
|
3117
|
-
----------------------------------------
|
|
3118
|
-
*/
|
|
3119
|
-
/*
|
|
3120
|
-
----------------------------------------
|
|
3121
|
-
opacity()
|
|
3122
|
-
----------------------------------------
|
|
3123
|
-
Get an opacity from the system
|
|
3124
|
-
opacities
|
|
3125
|
-
----------------------------------------
|
|
3126
|
-
*/
|
|
3127
|
-
/*
|
|
3128
|
-
----------------------------------------
|
|
3129
|
-
order()
|
|
3130
|
-
----------------------------------------
|
|
3131
|
-
Get an order value from the
|
|
3132
|
-
system orders
|
|
3133
|
-
----------------------------------------
|
|
3134
|
-
*/
|
|
3135
|
-
/*
|
|
3136
|
-
----------------------------------------
|
|
3137
|
-
radius()
|
|
3138
|
-
----------------------------------------
|
|
3139
|
-
Get a border-radius value from the
|
|
3140
|
-
system letter-spacing
|
|
3141
|
-
----------------------------------------
|
|
3142
|
-
*/
|
|
3143
|
-
/*
|
|
3144
|
-
----------------------------------------
|
|
3145
|
-
font-size()
|
|
3146
|
-
----------------------------------------
|
|
3147
|
-
Get type scale value from a [family] and
|
|
3148
|
-
[scale]
|
|
3149
|
-
----------------------------------------
|
|
3150
|
-
*/
|
|
3151
|
-
/*
|
|
3152
|
-
----------------------------------------
|
|
3153
|
-
z-index()
|
|
3154
|
-
z()
|
|
3155
|
-
----------------------------------------
|
|
3156
|
-
Get a z-index value from the
|
|
3157
|
-
system z-index
|
|
3158
|
-
----------------------------------------
|
|
3159
|
-
*/
|
|
3160
|
-
/*
|
|
3161
|
-
----------------------------------------
|
|
3162
|
-
utility-font()
|
|
3163
|
-
----------------------------------------
|
|
3164
|
-
Get a normalized font-size in rem from
|
|
3165
|
-
a family and a type size in either
|
|
3166
|
-
system scale or project scale
|
|
3167
|
-
----------------------------------------
|
|
3168
|
-
Not the public-facing function.
|
|
3169
|
-
Used for building the utilities and
|
|
3170
|
-
withholds certain errors.
|
|
3171
|
-
----------------------------------------
|
|
3172
|
-
*/
|
|
3173
|
-
/*
|
|
3174
|
-
----------------------------------------
|
|
3175
|
-
family()
|
|
3176
|
-
----------------------------------------
|
|
3177
|
-
Get a font-family stack
|
|
3178
|
-
----------------------------------------
|
|
3179
|
-
*/
|
|
3180
|
-
/*
|
|
3181
|
-
----------------------------------------
|
|
3182
|
-
size()
|
|
3183
|
-
----------------------------------------
|
|
3184
|
-
Get a normalized font-size in rem from
|
|
3185
|
-
a family and a type size in either
|
|
3186
|
-
system scale or project scale
|
|
3187
|
-
----------------------------------------
|
|
3188
|
-
*/
|
|
3189
|
-
/*
|
|
3190
|
-
----------------------------------------
|
|
3191
|
-
font()
|
|
3192
|
-
----------------------------------------
|
|
3193
|
-
Get a font-family stack
|
|
3194
|
-
AND
|
|
3195
|
-
Get a normalized font-size in rem from
|
|
3196
|
-
a family and a type size in either
|
|
3197
|
-
system scale or project scale
|
|
3198
|
-
----------------------------------------
|
|
3199
|
-
*/
|
|
3200
|
-
/*
|
|
3201
|
-
----------------------------------------
|
|
3202
|
-
typeset()
|
|
3203
|
-
----------------------------------------
|
|
3204
|
-
Sets:
|
|
3205
|
-
- family
|
|
3206
|
-
- size
|
|
3207
|
-
- line-height
|
|
3208
|
-
----------------------------------------
|
|
3209
|
-
*/
|
|
3210
|
-
/* stylelint-disable max-nesting-depth */
|
|
3211
|
-
/*
|
|
3212
|
-
----------------------------------------
|
|
3213
|
-
@render-pseudoclass
|
|
3214
|
-
----------------------------------------
|
|
3215
|
-
Build a pseucoclass utiliy from values
|
|
3216
|
-
calculated in the @render-utilities-in
|
|
3217
|
-
loop
|
|
3218
|
-
----------------------------------------
|
|
3219
|
-
*/
|
|
3220
|
-
/*
|
|
3221
|
-
----------------------------------------
|
|
3222
|
-
@render-utility
|
|
3223
|
-
----------------------------------------
|
|
3224
|
-
Build a utility from values calculated
|
|
3225
|
-
in the @render-utilities-in loop
|
|
3226
|
-
----------------------------------------
|
|
3227
|
-
TODO: Determine the proper use of
|
|
3228
|
-
unquote() in the following. Changed to
|
|
3229
|
-
account for a 'interpolation near
|
|
3230
|
-
operators will be simplified in a
|
|
3231
|
-
future version of Sass' warning.
|
|
3232
|
-
----------------------------------------
|
|
3233
|
-
*/
|
|
3234
|
-
/*
|
|
3235
|
-
----------------------------------------
|
|
3236
|
-
@render-utilities-in
|
|
3237
|
-
----------------------------------------
|
|
3238
|
-
The master loop that sets the building
|
|
3239
|
-
blocks of utilities from the values
|
|
3240
|
-
in individual rule settings and loops
|
|
3241
|
-
through all possible variants
|
|
3242
|
-
----------------------------------------
|
|
3243
|
-
*/
|
|
3244
|
-
/* stylelint-enable */
|
|
3245
|
-
/* notifications.scss
|
|
3246
|
-
---
|
|
3247
|
-
Adds a notification at the top of each USWDS
|
|
3248
|
-
compile. Use this file for important notifications
|
|
3249
|
-
and updates to the design system.
|
|
3250
|
-
|
|
3251
|
-
This file should started fresh at each
|
|
3252
|
-
major version.
|
|
3253
|
-
|
|
3254
|
-
*/
|
|
3255
|
-
/* prettier-ignore */
|
|
3256
|
-
/* prettier-ignore */
|
|
3257
|
-
/* stylelint-disable */
|
|
3258
|
-
@font-face {
|
|
3259
|
-
font-family: "Roboto Mono Web";
|
|
3260
|
-
font-style: normal;
|
|
3261
|
-
font-weight: 300;
|
|
3262
|
-
font-display: fallback;
|
|
3263
|
-
src: url(~@uswds/uswds/fonts/roboto-mono/roboto-mono-v5-latin-300.woff2) format("woff2");
|
|
3264
|
-
}
|
|
3265
|
-
@font-face {
|
|
3266
|
-
font-family: "Roboto Mono Web";
|
|
3267
|
-
font-style: normal;
|
|
3268
|
-
font-weight: 400;
|
|
3269
|
-
font-display: fallback;
|
|
3270
|
-
src: url(~@uswds/uswds/fonts/roboto-mono/roboto-mono-v5-latin-regular.woff2) format("woff2");
|
|
3271
|
-
}
|
|
3272
|
-
@font-face {
|
|
3273
|
-
font-family: "Roboto Mono Web";
|
|
3274
|
-
font-style: normal;
|
|
3275
|
-
font-weight: 700;
|
|
3276
|
-
font-display: fallback;
|
|
3277
|
-
src: url(~@uswds/uswds/fonts/roboto-mono/roboto-mono-v5-latin-700.woff2) format("woff2");
|
|
3278
|
-
}
|
|
3279
|
-
@font-face {
|
|
3280
|
-
font-family: "Roboto Mono Web";
|
|
3281
|
-
font-style: italic;
|
|
3282
|
-
font-weight: 300;
|
|
3283
|
-
font-display: fallback;
|
|
3284
|
-
src: url(~@uswds/uswds/fonts/roboto-mono/roboto-mono-v5-latin-300italic.woff2) format("woff2");
|
|
3285
|
-
}
|
|
3286
|
-
@font-face {
|
|
3287
|
-
font-family: "Roboto Mono Web";
|
|
3288
|
-
font-style: italic;
|
|
3289
|
-
font-weight: 400;
|
|
3290
|
-
font-display: fallback;
|
|
3291
|
-
src: url(~@uswds/uswds/fonts/roboto-mono/roboto-mono-v5-latin-italic.woff2) format("woff2");
|
|
3292
|
-
}
|
|
3293
|
-
@font-face {
|
|
3294
|
-
font-family: "Roboto Mono Web";
|
|
3295
|
-
font-style: italic;
|
|
3296
|
-
font-weight: 700;
|
|
3297
|
-
font-display: fallback;
|
|
3298
|
-
src: url(~@uswds/uswds/fonts/roboto-mono/roboto-mono-v5-latin-700italic.woff2) format("woff2");
|
|
3299
|
-
}
|
|
3300
|
-
@font-face {
|
|
3301
|
-
font-family: "Source Sans Pro Web";
|
|
3302
|
-
font-style: normal;
|
|
3303
|
-
font-weight: 300;
|
|
3304
|
-
font-display: fallback;
|
|
3305
|
-
src: url(~@uswds/uswds/fonts/source-sans-pro/sourcesanspro-light-webfont.woff2) format("woff2");
|
|
3306
|
-
}
|
|
3307
|
-
@font-face {
|
|
3308
|
-
font-family: "Source Sans Pro Web";
|
|
3309
|
-
font-style: normal;
|
|
3310
|
-
font-weight: 400;
|
|
3311
|
-
font-display: fallback;
|
|
3312
|
-
src: url(~@uswds/uswds/fonts/source-sans-pro/sourcesanspro-regular-webfont.woff2) format("woff2");
|
|
3313
|
-
}
|
|
3314
|
-
@font-face {
|
|
3315
|
-
font-family: "Source Sans Pro Web";
|
|
3316
|
-
font-style: normal;
|
|
3317
|
-
font-weight: 700;
|
|
3318
|
-
font-display: fallback;
|
|
3319
|
-
src: url(~@uswds/uswds/fonts/source-sans-pro/sourcesanspro-bold-webfont.woff2) format("woff2");
|
|
3320
|
-
}
|
|
3321
|
-
@font-face {
|
|
3322
|
-
font-family: "Source Sans Pro Web";
|
|
3323
|
-
font-style: italic;
|
|
3324
|
-
font-weight: 300;
|
|
3325
|
-
font-display: fallback;
|
|
3326
|
-
src: url(~@uswds/uswds/fonts/source-sans-pro/sourcesanspro-lightitalic-webfont.woff2) format("woff2");
|
|
3327
|
-
}
|
|
3328
|
-
@font-face {
|
|
3329
|
-
font-family: "Source Sans Pro Web";
|
|
3330
|
-
font-style: italic;
|
|
3331
|
-
font-weight: 400;
|
|
3332
|
-
font-display: fallback;
|
|
3333
|
-
src: url(~@uswds/uswds/fonts/source-sans-pro/sourcesanspro-italic-webfont.woff2) format("woff2");
|
|
3334
|
-
}
|
|
3335
|
-
@font-face {
|
|
3336
|
-
font-family: "Source Sans Pro Web";
|
|
3337
|
-
font-style: italic;
|
|
3338
|
-
font-weight: 700;
|
|
3339
|
-
font-display: fallback;
|
|
3340
|
-
src: url(~@uswds/uswds/fonts/source-sans-pro/sourcesanspro-bolditalic-webfont.woff2) format("woff2");
|
|
3341
|
-
}
|
|
3342
|
-
@font-face {
|
|
3343
|
-
font-family: "Merriweather Web";
|
|
3344
|
-
font-style: normal;
|
|
3345
|
-
font-weight: 300;
|
|
3346
|
-
font-display: fallback;
|
|
3347
|
-
src: url(~@uswds/uswds/fonts/merriweather/Latin-Merriweather-Light.woff2) format("woff2");
|
|
3348
|
-
}
|
|
3349
|
-
@font-face {
|
|
3350
|
-
font-family: "Merriweather Web";
|
|
3351
|
-
font-style: normal;
|
|
3352
|
-
font-weight: 400;
|
|
3353
|
-
font-display: fallback;
|
|
3354
|
-
src: url(~@uswds/uswds/fonts/merriweather/Latin-Merriweather-Regular.woff2) format("woff2");
|
|
3355
|
-
}
|
|
3356
|
-
@font-face {
|
|
3357
|
-
font-family: "Merriweather Web";
|
|
3358
|
-
font-style: normal;
|
|
3359
|
-
font-weight: 700;
|
|
3360
|
-
font-display: fallback;
|
|
3361
|
-
src: url(~@uswds/uswds/fonts/merriweather/Latin-Merriweather-Bold.woff2) format("woff2");
|
|
3362
|
-
}
|
|
3363
|
-
@font-face {
|
|
3364
|
-
font-family: "Merriweather Web";
|
|
3365
|
-
font-style: italic;
|
|
3366
|
-
font-weight: 300;
|
|
3367
|
-
font-display: fallback;
|
|
3368
|
-
src: url(~@uswds/uswds/fonts/merriweather/Latin-Merriweather-LightItalic.woff2) format("woff2");
|
|
3369
|
-
}
|
|
3370
|
-
@font-face {
|
|
3371
|
-
font-family: "Merriweather Web";
|
|
3372
|
-
font-style: italic;
|
|
3373
|
-
font-weight: 400;
|
|
3374
|
-
font-display: fallback;
|
|
3375
|
-
src: url(~@uswds/uswds/fonts/merriweather/Latin-Merriweather-Italic.woff2) format("woff2");
|
|
3376
|
-
}
|
|
3377
|
-
@font-face {
|
|
3378
|
-
font-family: "Merriweather Web";
|
|
3379
|
-
font-style: italic;
|
|
3380
|
-
font-weight: 700;
|
|
3381
|
-
font-display: fallback;
|
|
3382
|
-
src: url(~@uswds/uswds/fonts/merriweather/Latin-Merriweather-BoldItalic.woff2) format("woff2");
|
|
3383
|
-
}
|
|
3384
|
-
/* stylelint-enable */
|
|
3385
1941
|
/* latin */
|
|
3386
1942
|
@font-face {
|
|
3387
1943
|
font-family: "Bitter";
|
|
@@ -3535,7 +2091,7 @@ through all possible variants
|
|
|
3535
2091
|
font-weight: 400;
|
|
3536
2092
|
line-height: 1.5;
|
|
3537
2093
|
text-transform: uppercase;
|
|
3538
|
-
font-family: "Source Sans Pro Web", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
2094
|
+
font-family: "Source Sans Pro Web", "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
3539
2095
|
}
|
|
3540
2096
|
|
|
3541
2097
|
/*
|
|
@@ -3729,7 +2285,7 @@ button,
|
|
|
3729
2285
|
color: #ffffff;
|
|
3730
2286
|
cursor: pointer;
|
|
3731
2287
|
display: inline-block;
|
|
3732
|
-
font-family: "Source Sans Pro Web", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
2288
|
+
font-family: "Source Sans Pro Web", "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
3733
2289
|
font-size: 16px;
|
|
3734
2290
|
font-weight: 700;
|
|
3735
2291
|
line-height: 1;
|
|
@@ -4410,7 +2966,7 @@ legend {
|
|
|
4410
2966
|
|
|
4411
2967
|
.usa-form-hint {
|
|
4412
2968
|
color: #757575;
|
|
4413
|
-
font-family: "Source Sans Pro Web", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
2969
|
+
font-family: "Source Sans Pro Web", "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
4414
2970
|
margin-bottom: 0;
|
|
4415
2971
|
}
|
|
4416
2972
|
|
|
@@ -4851,7 +3407,7 @@ caption {
|
|
|
4851
3407
|
***THIS IS USWDS v1***
|
|
4852
3408
|
*/
|
|
4853
3409
|
html {
|
|
4854
|
-
font-family: "Source Sans Pro Web", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
3410
|
+
font-family: "Source Sans Pro Web", "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
4855
3411
|
font-size: 100%;
|
|
4856
3412
|
}
|
|
4857
3413
|
|
|
@@ -5015,7 +3571,7 @@ dfn {
|
|
|
5015
3571
|
.usa-sans a,
|
|
5016
3572
|
.usa-sans li,
|
|
5017
3573
|
.usa-sans span {
|
|
5018
|
-
font-family: "Source Sans Pro Web", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
3574
|
+
font-family: "Source Sans Pro Web", "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
5019
3575
|
}
|
|
5020
3576
|
.usa-sans a {
|
|
5021
3577
|
border-bottom: none;
|
|
@@ -5189,7 +3745,7 @@ dfn {
|
|
|
5189
3745
|
.usa-accordion > ul > li,
|
|
5190
3746
|
.usa-accordion-bordered > ul > li {
|
|
5191
3747
|
background-color: #f0f0f0;
|
|
5192
|
-
font-family: "Source Sans Pro Web", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
3748
|
+
font-family: "Source Sans Pro Web", "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
5193
3749
|
list-style: none;
|
|
5194
3750
|
margin-bottom: 0.3125rem;
|
|
5195
3751
|
width: 100%;
|
|
@@ -5213,7 +3769,7 @@ dfn {
|
|
|
5213
3769
|
color: #212121;
|
|
5214
3770
|
cursor: pointer;
|
|
5215
3771
|
display: inline-block;
|
|
5216
|
-
font-family: "Source Sans Pro Web", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
3772
|
+
font-family: "Source Sans Pro Web", "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
5217
3773
|
font-weight: 700;
|
|
5218
3774
|
margin: 0;
|
|
5219
3775
|
padding: 0.9375rem 3.4375rem 0.9375rem 1.25rem;
|
|
@@ -5252,7 +3808,7 @@ dfn {
|
|
|
5252
3808
|
.usa-accordion > li,
|
|
5253
3809
|
.usa-accordion-bordered > li {
|
|
5254
3810
|
background-color: #f0f0f0;
|
|
5255
|
-
font-family: "Source Sans Pro Web", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
3811
|
+
font-family: "Source Sans Pro Web", "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
5256
3812
|
list-style: none;
|
|
5257
3813
|
margin-bottom: 0.3125rem;
|
|
5258
3814
|
width: 100%;
|
|
@@ -5301,7 +3857,7 @@ dfn {
|
|
|
5301
3857
|
color: #212121;
|
|
5302
3858
|
cursor: pointer;
|
|
5303
3859
|
display: inline-block;
|
|
5304
|
-
font-family: "Source Sans Pro Web", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
3860
|
+
font-family: "Source Sans Pro Web", "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
5305
3861
|
font-weight: 700;
|
|
5306
3862
|
margin: 0;
|
|
5307
3863
|
padding: 0.9375rem 3.4375rem 0.9375rem 1.25rem;
|
|
@@ -5392,7 +3948,7 @@ dfn {
|
|
|
5392
3948
|
}
|
|
5393
3949
|
|
|
5394
3950
|
.usa-alert-text {
|
|
5395
|
-
font-family: "Source Sans Pro Web", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
3951
|
+
font-family: "Source Sans Pro Web", "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
5396
3952
|
margin-bottom: 0;
|
|
5397
3953
|
margin-top: 0;
|
|
5398
3954
|
}
|
|
@@ -5804,7 +4360,7 @@ fieldset {
|
|
|
5804
4360
|
|
|
5805
4361
|
.usa-form-note {
|
|
5806
4362
|
float: right;
|
|
5807
|
-
font-family: "Source Sans Pro Web", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
4363
|
+
font-family: "Source Sans Pro Web", "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
5808
4364
|
font-size: 0.9375rem;
|
|
5809
4365
|
margin: 0 0 scale(1.5rem);
|
|
5810
4366
|
}
|
|
@@ -5952,7 +4508,7 @@ fieldset {
|
|
|
5952
4508
|
border: none;
|
|
5953
4509
|
color: #212121;
|
|
5954
4510
|
display: block;
|
|
5955
|
-
font-family: "Source Sans Pro Web", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
4511
|
+
font-family: "Source Sans Pro Web", "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
5956
4512
|
line-height: 1.3;
|
|
5957
4513
|
padding: 0.53125rem 0.625rem 0.53125rem 0.5859375rem;
|
|
5958
4514
|
text-decoration: none;
|