diff --git a/.vitepress/theme/font/NotoSansMono-Regular.ttf b/.vitepress/theme/font/NotoSansMono-Regular.ttf deleted file mode 100644 index b7615d8..0000000 Binary files a/.vitepress/theme/font/NotoSansMono-Regular.ttf and /dev/null differ diff --git a/.vitepress/theme/font/NotoSansSC-Bold.otf b/.vitepress/theme/font/NotoSansSC-Bold.otf deleted file mode 100644 index 172eb67..0000000 Binary files a/.vitepress/theme/font/NotoSansSC-Bold.otf and /dev/null differ diff --git a/.vitepress/theme/font/NotoSansSC-Regular.otf b/.vitepress/theme/font/NotoSansSC-Regular.otf deleted file mode 100644 index d350ffa..0000000 Binary files a/.vitepress/theme/font/NotoSansSC-Regular.otf and /dev/null differ diff --git a/.vitepress/theme/style.css b/.vitepress/theme/style.css index 8f67acb..551d6c2 100644 --- a/.vitepress/theme/style.css +++ b/.vitepress/theme/style.css @@ -21,6 +21,15 @@ color: var(--vp-c-brand-lighter); } +/** + * 这个版本可能有 bug,build 后字体变不了还为 consolas 可能是我自己配的有问题 可能是这个版本拉了 总之就加个临时的 + * -------------------------------------------------------------------------- */ +code { + font-family: 'Noto Sans Mono', sans-serif, monospace, consolas !important; + font-weight: 400 !important; + font-size: 14px !important; +} + :root { --vp-c-brand: #0dadc4; --vp-c-brand-light: #1A9CED;