Commit 0b95652
committed
字体优化
使用 fontTools 将 `NotoSansSC-VariableFont_wght.ttf` 转换为 7.4MB 的 WOFF2,并在 `extra.css` 中加入 `font-display: swap` 及权重范围声明,降低首屏阻塞风险并保留 TTF 作为回退。1 parent f5a08ff commit 0b95652
2 files changed
Lines changed: 6 additions & 2 deletions
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
0 commit comments