commit | 18183c0fc1d82a29f2ea9d81e0b93c3e920b3dc3 | [log] [tgz] |
---|---|---|
author | plainheart <yhen@all-my-life.cn> | Sat Jan 20 22:12:15 2024 +0800 |
committer | plainheart <yhen@all-my-life.cn> | Sat Jan 20 22:16:57 2024 +0800 |
tree | 0e3326c2a57913224a7f06faf80b0539056f6fd0 | |
parent | 76bd17f54e4aedfe6c88cfd2209914874335c3a1 [diff] |
set `font-display` to `swap`
diff --git a/_scss/main.scss b/_scss/main.scss index 47180c1..fbc04da 100644 --- a/_scss/main.scss +++ b/_scss/main.scss
@@ -22,6 +22,7 @@ font-family: 'Open Sans'; font-style: normal; font-weight: 400; + font-display: swap; src: url(font/OpenSans-Regular.ttf) format('truetype'); } @@ -29,6 +30,7 @@ font-family: 'Open Sans'; font-style: bold; font-weight: 800; + font-display: swap; src: url(font/OpenSans-Bold.ttf) format('truetype'); }