From 9bfe173f92abc5f88f86463a9a7dc18fd9ca6e6f Mon Sep 17 00:00:00 2001 From: snowy Date: Fri, 5 Apr 2024 20:07:33 +0800 Subject: [PATCH] fix: typo of `config.yaml` -> `config.yml` --- docs/.vuepress/config.ts | 2 +- docs/deployment/config.md | 2 +- liteyuki/resources/templates/css/fonts.css | 22 +++++++++++----------- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/.vuepress/config.ts b/docs/.vuepress/config.ts index 5f5c6887..cfef1b3d 100644 --- a/docs/.vuepress/config.ts +++ b/docs/.vuepress/config.ts @@ -20,7 +20,7 @@ export default defineUserConfig({ name: "viewport", content: "width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no", }, - ] + ], ], diff --git a/docs/deployment/config.md b/docs/deployment/config.md index a74ccc56..9626883e 100644 --- a/docs/deployment/config.md +++ b/docs/deployment/config.md @@ -10,7 +10,7 @@ tag: ### 轻雪配置项(Nonebot插件配置项也可以写在此,与dotenv格式不同,应为小写) -配置文件会在首次启动后生成,你可以在`config.yaml`中修改配置项后重启轻雪,绝大多数情况下,你只需要修改`superusers`和`nickname`。如果不确定字段的含义,请不要修改(部分在自动生成配置文件中未列出,需手动添加) +配置文件会在首次启动后生成,你可以在`config.yml`中修改配置项后重启轻雪,绝大多数情况下,你只需要修改`superusers`和`nickname`。如果不确定字段的含义,请不要修改(部分在自动生成配置文件中未列出,需手动添加) ```yaml # 生成文件的配置项 diff --git a/liteyuki/resources/templates/css/fonts.css b/liteyuki/resources/templates/css/fonts.css index 1bd87b99..a98b8e80 100644 --- a/liteyuki/resources/templates/css/fonts.css +++ b/liteyuki/resources/templates/css/fonts.css @@ -2,44 +2,44 @@ @font-face { font-family: 'MiSans'; - src: url('../fonts/MiSans/MiSans-Light.woff2') format('truetype'); + src: url('../fonts/MiSans/MiSans-Light.woff2') format('woff2'); font-weight: 200; } @font-face { font-family: 'MiSans'; - src: url('../fonts/MiSans/MiSans-Normal.woff2') format('truetype'); + src: url('../fonts/MiSans/MiSans-Normal.woff2') format('woff2'); font-weight: 400; } @font-face { font-family: 'MiSans'; - src: url('../fonts/MiSans/MiSans-Semibold.woff2') format('truetype'); + src: url('../fonts/MiSans/MiSans-Semibold.woff2') format('woff2'); font-weight: 500; } @font-face { font-family: 'MiSans'; - src: url('../fonts/MiSans/MiSans-Bold.woff2') format('truetype'); + src: url('../fonts/MiSans/MiSans-Bold.woff2') format('woff2'); font-weight: 700; } @font-face { font-family: 'MiSans'; - src: url('../fonts/MiSans/MiSans-Heavy.woff2') format('truetype'); + src: url('../fonts/MiSans/MiSans-Heavy.woff2') format('woff2'); font-weight: 900; } /*MapleMono*/ @font-face { font-family: 'MapleMono'; - src: url('../fonts/MapleMono/MapleMono-Light.woff2') format('truetype'); + src: url('../fonts/MapleMono/MapleMono-Light.woff2') format('woff2'); font-weight: 200; } @font-face { font-family: 'MapleMono'; - src: url('../fonts/MapleMono/MapleMono-LightItalic.woff2') format('truetype'); + src: url('../fonts/MapleMono/MapleMono-LightItalic.woff2') format('woff2'); font-weight: 200; font-style: italic; } @@ -47,26 +47,26 @@ @font-face { font-family: 'MapleMono'; - src: url('../fonts/MapleMono/MapleMono-Regular.woff2') format('truetype'); + src: url('../fonts/MapleMono/MapleMono-Regular.woff2') format('woff2'); font-weight: 400; } @font-face { font-family: 'MapleMono'; - src: url('../fonts/MapleMono/MapleMono-Italic.woff2') format('truetype'); + src: url('../fonts/MapleMono/MapleMono-Italic.woff2') format('woff2'); font-weight: 400; font-style: italic; } @font-face { font-family: 'MapleMono'; - src: url('../fonts/MapleMono/MapleMono-Bold.woff2') format('truetype'); + src: url('../fonts/MapleMono/MapleMono-Bold.woff2') format('woff2'); font-weight: 700; } @font-face { font-family: 'MapleMono'; - src: url('../fonts/MapleMono/MapleMono-BoldItalic.woff2') format('truetype'); + src: url('../fonts/MapleMono/MapleMono-BoldItalic.woff2') format('woff2'); font-weight: 700; font-style: italic; }