12
12
* and it's better to rely on the browser's built-in obliquing behaviour.
13
13
*/
14
14
15
+ // Grab the other fonts from the current theme, so we can override to Inter
16
+ // in custom fonts if needed.
17
+ @import " ../../light/css/_fonts.scss" ;
18
+
19
+ // Nunito as the default, for old time's sake on legacy themes.
15
20
/* the 'src' links are relative to the bundle.css, which is in a subdirectory.
16
21
*/
17
22
@font-face {
32
37
font-weight : 700 ;
33
38
src : url (' $(res)/fonts/Nunito/Nunito-Bold.ttf' ) format (' truetype' );
34
39
}
35
-
36
- /* latin-ext */
37
- @font-face {
38
- font-family : ' Inconsolata' ;
39
- font-style : normal ;
40
- font-weight : 400 ;
41
- src : local (' Inconsolata Regular' ), local (' Inconsolata-Regular' ), url (' $(res)/fonts/Inconsolata/QldKNThLqRwH-OJ1UHjlKGlX5qhExfHwNJU.woff2' ) format (' woff2' );
42
- unicode-range : U+ 0100 - 024F, U+ 0259 , U+ 1E00 - 1EFF, U+ 2020 , U+ 20 A0- 20AB, U+ 20 AD- 20CF, U+ 2113 , U+ 2 C60- 2C7F, U+ A720- A7FF;
43
- }
44
- /* latin */
45
- @font-face {
46
- font-family : ' Inconsolata' ;
47
- font-style : normal ;
48
- font-weight : 400 ;
49
- font-display : swap ;
50
- src : local (' Inconsolata Regular' ), local (' Inconsolata-Regular' ), url (' $(res)/fonts/Inconsolata/QldKNThLqRwH-OJ1UHjlKGlZ5qhExfHw.woff2' ) format (' woff2' );
51
- unicode-range : U+ 0000 - 00FF, U+ 0131 , U+ 0152 - 0153, U+ 02 BB- 02BC, U+ 02 C6, U+ 02 DA, U+ 02 DC, U+ 2000 - 206F, U+ 2074 , U+ 20 AC, U+ 2122 , U+ 2191 , U+ 2193 , U+ 2212 , U+ 2215 , U+ FEFF, U+ FFFD;
52
- }
53
- /* latin-ext */
54
- @font-face {
55
- font-family : ' Inconsolata' ;
56
- font-style : normal ;
57
- font-weight : 700 ;
58
- font-display : swap ;
59
- src : local (' Inconsolata Bold' ), local (' Inconsolata-Bold' ), url (' $(res)/fonts/Inconsolata/QldXNThLqRwH-OJ1UHjlKGHiw71n5_zaDpwm80E.woff2' ) format (' woff2' );
60
- unicode-range : U+ 0100 - 024F, U+ 0259 , U+ 1E00 - 1EFF, U+ 2020 , U+ 20 A0- 20AB, U+ 20 AD- 20CF, U+ 2113 , U+ 2 C60- 2C7F, U+ A720- A7FF;
61
- }
62
- /* latin */
63
- @font-face {
64
- font-family : ' Inconsolata' ;
65
- font-style : normal ;
66
- font-weight : 700 ;
67
- font-display : swap ;
68
- src : local (' Inconsolata Bold' ), local (' Inconsolata-Bold' ), url (' $(res)/fonts/Inconsolata/QldXNThLqRwH-OJ1UHjlKGHiw71p5_zaDpwm.woff2' ) format (' woff2' );
69
- unicode-range : U+ 0000 - 00FF, U+ 0131 , U+ 0152 - 0153, U+ 02 BB- 02BC, U+ 02 C6, U+ 02 DA, U+ 02 DC, U+ 2000 - 206F, U+ 2074 , U+ 20 AC, U+ 2122 , U+ 2191 , U+ 2193 , U+ 2212 , U+ 2215 , U+ FEFF, U+ FFFD;
70
- }
71
-
72
- /* a COLR/CPAL version of Twemoji used for consistent cross-browser emoji
73
- * taken from https://github.com/mozilla/twemoji-colr
74
- * using the fix from https://github.com/mozilla/twemoji-colr/issues/50 to
75
- * work on macOS
76
- */
77
- /*
78
- // except we now load it dynamically via FontManager to handle browsers
79
- // which can't render COLR/CPAL still
80
- @font-face {
81
- font-family: "Twemoji Mozilla";
82
- src: url('$(res)/fonts/Twemoji_Mozilla/TwemojiMozilla.woff2') format('woff2');
83
- }
84
- */
0 commit comments