perf(前端): 移除 Google Fonts 改用系统字体栈
- 删除 Google Fonts @import,解决国内访问阻塞问题 - 使用 system-ui 优先的系统字体栈 - 添加中文字体支持(苹方、冬青黑、微软雅黑) - 移除 Inter 字体专用的 font-feature-settings 此改动可显著提升国内用户的页面加载速度,避免因 Google Fonts 被墙导致的渲染阻塞问题。 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
|
||||
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
@@ -11,7 +9,6 @@
|
||||
|
||||
html {
|
||||
@apply scroll-smooth antialiased;
|
||||
font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
Reference in New Issue
Block a user