@@ -38,6 +38,13 @@ xmlns="http://www.w3.org/2000/svg" fill="black" height="18px">\
38
38
--code-block-border-radius : 6px ;
39
39
--impl-items-indent : 0.3em ;
40
40
--docblock-indent : 24px ;
41
+ --font-family : "Source Serif 4" , NanumBarunGothic, serif;
42
+ --font-family-code : "Source Code Pro" , monospace;
43
+ }
44
+
45
+ : root .sans-serif {
46
+ --font-family : "Fira Sans" , sans-serif;
47
+ --font-family-code : "Fira Mono" , monospace;
41
48
}
42
49
43
50
/* See FiraSans-LICENSE.txt for the Fira Sans license. */
@@ -49,6 +56,14 @@ xmlns="http://www.w3.org/2000/svg" fill="black" height="18px">\
49
56
url ("FiraSans-Regular-0fe48ade.woff2" ) format ("woff2" );
50
57
font-display : swap;
51
58
}
59
+ @font-face {
60
+ font-family : 'Fira Sans' ;
61
+ font-style : italic;
62
+ font-weight : 400 ;
63
+ src : local ('Fira Sans Italic' ),
64
+ url ("FiraSans-Italic-81dc35de.woff2" ) format ("woff2" );
65
+ font-display : swap;
66
+ }
52
67
@font-face {
53
68
font-family : 'Fira Sans' ;
54
69
font-style : normal;
@@ -57,6 +72,30 @@ xmlns="http://www.w3.org/2000/svg" fill="black" height="18px">\
57
72
url ("FiraSans-Medium-e1aa3f0a.woff2" ) format ("woff2" );
58
73
font-display : swap;
59
74
}
75
+ @font-face {
76
+ font-family : 'Fira Sans' ;
77
+ font-style : italic;
78
+ font-weight : 500 ;
79
+ src : local ('Fira Sans Medium Italic' ),
80
+ url ("FiraSans-MediumItalic-ccf7e434.woff2" ) format ("woff2" );
81
+ font-display : swap;
82
+ }
83
+ @font-face {
84
+ font-family : 'Fira Mono' ;
85
+ font-style : normal;
86
+ font-weight : 400 ;
87
+ src : local ('Fira Mono' ),
88
+ url ("FiraMono-Regular-87c26294.woff2" ) format ("woff2" );
89
+ font-display : swap;
90
+ }
91
+ @font-face {
92
+ font-family : 'Fira Mono' ;
93
+ font-style : normal;
94
+ font-weight : 500 ;
95
+ src : local ('Fira Mono Medium' ),
96
+ url ("FiraMono-Medium-86f75c8c.woff2" ) format ("woff2" );
97
+ font-display : swap;
98
+ }
60
99
61
100
/* See SourceSerif4-LICENSE.md for the Source Serif 4 license. */
62
101
@font-face {
@@ -75,6 +114,14 @@ xmlns="http://www.w3.org/2000/svg" fill="black" height="18px">\
75
114
url ("SourceSerif4-It-ca3b17ed.ttf.woff2" ) format ("woff2" );
76
115
font-display : swap;
77
116
}
117
+ @font-face {
118
+ font-family : 'Source Serif 4' ;
119
+ font-style : normal;
120
+ font-weight : 500 ;
121
+ src : local ('Source Serif 4 Semibold' ),
122
+ url ("SourceSerif4-Semibold-457a13ac.ttf.woff2" ) format ("woff2" );
123
+ font-display : swap;
124
+ }
78
125
@font-face {
79
126
font-family : 'Source Serif 4' ;
80
127
font-style : normal;
@@ -126,7 +173,7 @@ xmlns="http://www.w3.org/2000/svg" fill="black" height="18px">\
126
173
body {
127
174
/* Line spacing at least 1.5 per Web Content Accessibility Guidelines
128
175
https://www.w3.org/WAI/WCAG21/Understanding/visual-presentation.html */
129
- font : 1 rem/1.5 "Source Serif 4" , NanumBarunGothic , serif ;
176
+ font : 1 rem/1.5 var ( --font-family ) ;
130
177
margin : 0 ;
131
178
position : relative;
132
179
/* We use overflow-wrap: break-word for Safari, which doesn't recognize
@@ -380,7 +427,7 @@ details:not(.toggle) summary {
380
427
}
381
428
382
429
code , pre , .code-header , .type-signature {
383
- font-family : "Source Code Pro" , monospace ;
430
+ font-family : var ( --font-family-code ) ;
384
431
}
385
432
.docblock code , .item-table dd code {
386
433
border-radius : 3px ;
0 commit comments