Commit 85d97e1
committed
Stop asking Besley for tabular figures in the hero stats
Besley's `tnum` set is broken: the tabular zero is frozen at a 55-unit
advance on every weight while 1-9 track the weight axis (57 at 400, 59.5
at 600, 66 at 700+). The zero is the one digit that never gets heavier,
so at the hero's 800 it renders 17% narrower than its neighbours and
reads as if it had lost the bold — "13 930" with a thin final digit.
Ask for lining figures instead. Nothing is lost: these counts are static
markup, not a column that has to align digit-for-digit.
Set through font-feature-settings rather than font-variant-numeric
because _body.scss sets an inherited "onum"/"pnum" that outranks the
high-level property — the same reason _headings.scss spells out "lnum".
Bump to 2.9.7.1 parent 2e03ef2 commit 85d97e1
6 files changed
Lines changed: 20 additions & 9 deletions
File tree
- asset
- css
- sass/components/banner
- config
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
| 30 | + | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
388 | | - | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
389 | 399 | | |
390 | 400 | | |
391 | 401 | | |
| |||
444 | 454 | | |
445 | 455 | | |
446 | 456 | | |
447 | | - | |
| 457 | + | |
| 458 | + | |
448 | 459 | | |
449 | 460 | | |
450 | 461 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments