Skip to content

Commit

Permalink
fix: 修复字体路径
Browse files Browse the repository at this point in the history
  • Loading branch information
Leetfs committed Oct 23, 2024
1 parent 6a6976f commit aa6c487
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/.vitepress/theme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -149,15 +149,15 @@

@font-face {
font-family: '霞鹜文楷';
src: url('../LXGWWenKai-Regular.ttf') format('truetype');
src: url('/LXGWWenKai-Regular.ttf') format('truetype');
}
@font-face {
font-family: '霞鹜文楷-等宽';
src: url('../LXGWWenKaiMono-Regular.ttf') format('truetype');
src: url('/LXGWWenKaiMono-Regular.ttf') format('truetype');
}
@font-face {
font-family: '霞鹜新晰黑';
src: url('../LXGWNeoXiHei.ttf') format('truetype');
src: url('/LXGWNeoXiHei.ttf') format('truetype');
}
:root {
--vp-font-family-base: var(--main-font, '霞鹜文楷');/* normal text font */
Expand Down

0 comments on commit aa6c487

Please sign in to comment.