From 6ddc5057a457cb393026bed69715fc8cafed6c6a Mon Sep 17 00:00:00 2001 From: lutinglt Date: Sat, 25 Oct 2025 15:25:19 +0800 Subject: [PATCH] update readme --- README.md | 8 ++++---- README_EN.md | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 7c74d94..16ed678 100644 --- a/README.md +++ b/README.md @@ -48,10 +48,6 @@ Gitea 理论上小版本号变更不会修改前端布局, 所以主题的小版 3. 重启 Gitea 4. 在设置中查看主题 -> [!IMPORTANT] -> -> 自动颜色主题需要亮色和暗色的主题文件 - 例: 主题文件名为 `theme-github-dark.css`,则添加 `github-dark` 到 `THEMES` 末尾 `gitea/conf/app.ini` 例: @@ -64,6 +60,10 @@ THEMES = gitea-auto, gitea-light, gitea-dark, github-auto, github-light, github- 详细请查看 Gitea 文档 [Gitea docs](https://docs.gitea.com/next/administration/customizing-gitea#customizing-the-look-of-gitea) +> [!IMPORTANT] +> +> 自动颜色主题需要亮色和暗色的主题文件 + ## 截图 ### 基本主题 diff --git a/README_EN.md b/README_EN.md index 8469635..57fffd2 100644 --- a/README_EN.md +++ b/README_EN.md @@ -54,10 +54,6 @@ accepted. 3. Restart Gitea 4. Check the theme in the settings -> [!IMPORTANT] -> -> Automatic color theme requires both light and dark theme files. - Example: If the theme filename is `theme-github-dark.css`, add `github-dark` to the end of `THEMES` Example `gitea/conf/app.ini`: @@ -70,6 +66,10 @@ THEMES = gitea-auto, gitea-light, gitea-dark, github-auto, github-light, github- For details, please refer to the Gitea documentation [Gitea docs](https://docs.gitea.com/next/administration/customizing-gitea#customizing-the-look-of-gitea) +> [!IMPORTANT] +> +> Automatic color theme requires both light and dark theme files. + ## Screenshots ### Basic Themes