|
1 |
| -// XXX: check this? |
2 | 1 | /* Nunito lacks combining diacritics, so these will fall through
|
3 |
| - to the next font. Helevetica's diacritics however do not combine |
| 2 | + to the next font. Helevetica's diacritics sometimes do not combine |
4 | 3 | nicely (on OSX, at least) and result in a huge horizontal mess.
|
5 |
| - Arial empirically gets it right, hence prioritising Arial here. */ |
| 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) */ |
6 | 8 | /* We fall through to Twemoji for emoji rather than falling through
|
7 | 9 | to native Emoji fonts (if any) to ensure cross-browser consistency */
|
8 | 10 | /* Noto Color Emoji contains digits, in fixed-width, therefore causing
|
9 | 11 | digits in flowed text to stand out.
|
10 | 12 | TODO: Consider putting all emoji fonts to the end rather than the front. */
|
11 |
| -$font-family: 'Nunito', 'Twemoji', 'Apple Color Emoji', 'Segoe UI Emoji', 'Arial', 'Helvetica', sans-serif, 'Noto Color Emoji'; |
| 13 | +$font-family: 'Nunito', 'Twemoji', 'Apple Color Emoji', 'Segoe UI Emoji', 'STIXGeneral', 'Arial', 'Helvetica', sans-serif, 'Noto Color Emoji'; |
12 | 14 |
|
13 |
| -$monospace-font-family: 'Inconsolata', 'Twemoji', 'Apple Color Emoji', 'Segoe UI Emoji', 'Courier', monospace, 'Noto Color Emoji'; |
| 15 | +$monospace-font-family: 'Inconsolata', 'Twemoji', 'Apple Color Emoji', 'Segoe UI Emoji', 'STIXGeneral', 'Courier', monospace, 'Noto Color Emoji'; |
14 | 16 |
|
15 | 17 | // unified palette
|
16 | 18 | // try to use these colors when possible
|
|
0 commit comments