Skip to content

Commit 3c88545

Browse files
committed
fix: resolve GitHub Pages build warnings
- Add CalSans-SemiBold.woff2 font (306KB) - Remove Inter TTF @font-face rules (use system font fallback) - Move uno.config.ts to docs/ root to fix config path warning
1 parent cd1507c commit 3c88545

3 files changed

Lines changed: 1482 additions & 32 deletions

File tree

docs/.vitepress/theme/style.css

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -295,38 +295,7 @@
295295
Layer: Fonts
296296
============================================ */
297297
@layer fonts {
298-
/* Inter - Primary UI Font */
299-
@font-face {
300-
font-family: 'Inter';
301-
src: url('/fonts/Inter-Regular.ttf') format('truetype');
302-
font-weight: 400;
303-
font-style: normal;
304-
font-display: swap;
305-
}
306-
307-
@font-face {
308-
font-family: 'Inter';
309-
src: url('/fonts/Inter-Medium.ttf') format('truetype');
310-
font-weight: 500;
311-
font-style: normal;
312-
font-display: swap;
313-
}
314-
315-
@font-face {
316-
font-family: 'Inter';
317-
src: url('/fonts/Inter-SemiBold.ttf') format('truetype');
318-
font-weight: 600;
319-
font-style: normal;
320-
font-display: swap;
321-
}
322-
323-
@font-face {
324-
font-family: 'Inter';
325-
src: url('/fonts/Inter-Bold.ttf') format('truetype');
326-
font-weight: 700;
327-
font-style: normal;
328-
font-display: swap;
329-
}
298+
/* Inter - 使用系统字体回退 (Inter TTF 文件未包含在仓库中) */
330299

331300
/* Cal Sans - Display Font */
332301
@font-face {

0 commit comments

Comments
 (0)