将字体改为本地系统字体栈,而不去加载外网文件,防止首次加载慢

This commit is contained in:
sophie committed 2026-04-14 10:11:35 +08:00
1 parent 8ecc6def48
commit deb94b757c
1 file changed
+2 -4
+2 -4
View File
@@ -1,6 +1,4 @@
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;
@@ -22,7 +20,7 @@
}
html {
font-family: 'Manrope', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
font-family: 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', 'Helvetica Neue', Arial, system-ui, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background-color: var(--bg-page);
@@ -48,7 +46,7 @@
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Space Grotesk', 'Manrope', sans-serif;
font-family: 'PingFang SC', 'Microsoft YaHei', 'Segoe UI Semibold', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
@apply tracking-tight font-semibold text-slate-900;
}