|
1 | 1 | /* Nunito and Inter lacks combining diacritics, so these will fall through
|
2 | 2 | to the next font. Helevetica's diacritics sometimes do not combine
|
3 | 3 | nicely (on OSX, at least) and result in a huge horizontal mess.
|
4 |
| - Arial empirically gets it right, hence prioritising Arial here. |
5 |
| - We also include STIXGeneral explicitly to support a wider range |
6 |
| - of combining diacritics (Chrome fails without it, as per |
7 |
| - https://bugs.chromium.org/p/chromium/issues/detail?id=1328898). |
8 |
| - We should never actively *prefer* STIXGeneral over the default font though, |
9 |
| - since it looks pretty rough and implements some non-LGC scripts only |
10 |
| - partially, making, for example, Japanese text look patchy and sad. */ |
| 4 | + Arial empirically gets it right, hence prioritising Arial here. */ |
11 | 5 | /* We fall through to Twemoji for emoji rather than falling through
|
12 | 6 | to native Emoji fonts (if any) to ensure cross-browser consistency */
|
13 | 7 | /* Noto Color Emoji contains digits, in fixed-width, therefore causing
|
14 | 8 | digits in flowed text to stand out.
|
15 | 9 | TODO: Consider putting all emoji fonts to the end rather than the front. */
|
16 |
| -$font-family: "Inter", "Twemoji", "Apple Color Emoji", "Segoe UI Emoji", "Arial", "Helvetica", sans-serif, "STIXGeneral", |
| 10 | +$font-family: "Inter", "Twemoji", "Apple Color Emoji", "Segoe UI Emoji", "Arial", "Helvetica", sans-serif, |
17 | 11 | "Noto Color Emoji";
|
18 | 12 |
|
19 | 13 | $monospace-font-family: "Inconsolata", "Twemoji", "Apple Color Emoji", "Segoe UI Emoji", "Courier", monospace,
|
20 |
| - "STIXGeneral", "Noto Color Emoji"; |
| 14 | + "Noto Color Emoji"; |
21 | 15 |
|
22 | 16 | /* Colors from Figma Compound https://www.figma.com/file/X4XTH9iS2KGJ2wFKDqkyed/Compound?node-id=559%3A120 */
|
23 | 17 | /* ******************** */
|
|
0 commit comments