update README

This commit is contained in:
lutinglt
2025-09-14 19:22:55 +08:00
parent cd99934334
commit 4632170948
2 changed files with 14 additions and 14 deletions

View File

@@ -5,6 +5,11 @@
# Gitea GitHub Theme # Gitea GitHub Theme
> [!TIP]
>
> 推荐搭配 Catppuccin 文件图标浏览器插件一起使用更佳
> [web-file-explorer-icons](https://github.com/catppuccin/web-file-explorer-icons)
## 版本号说明 ## 版本号说明
主题版本号与 Gitea 版本号保持一致 主题版本号与 Gitea 版本号保持一致
@@ -30,11 +35,6 @@ Gitea 理论上小版本号变更不会修改前端布局, 所以主题的小版
> >
> 自动颜色主题需要亮色和暗色的主题文件 > 自动颜色主题需要亮色和暗色的主题文件
> [!TIP]
>
> 推荐搭配 Catppuccin 文件图标浏览器插件一起使用更佳
> [github-file-explorer-icons](https://github.com/catppuccin/github-file-explorer-icons)
例: 主题文件名为 `theme-github-dark.css`,则添加 `github-dark``THEMES` 末尾 例: 主题文件名为 `theme-github-dark.css`,则添加 `github-dark``THEMES` 末尾
`gitea/conf/app.ini` 例: `gitea/conf/app.ini` 例:

View File

@@ -5,6 +5,15 @@
# Gitea GitHub Theme # Gitea GitHub Theme
> [!IMPORTANT]
>
> Automatic color theme requires both light and dark theme files.
> [!TIP]
>
> Recommend using Catppuccin file icon browser plugin together for better performance.
> [web-file-explorer-icons](https://github.com/catppuccin/web-file-explorer-icons)
## Version Number Explanation ## Version Number Explanation
The theme version number is kept consistent with the Gitea version number The theme version number is kept consistent with the Gitea version number
@@ -29,15 +38,6 @@ accepted.
3. Restart Gitea 3. Restart Gitea
4. Check the theme in the settings 4. Check the theme in the settings
> [!IMPORTANT]
>
> Automatic color theme requires both light and dark theme files.
> [!TIP]
>
> Recommend using Catppuccin file icon browser plugin together for better performance.
> [github-file-explorer-icons](https://github.com/catppuccin/github-file-explorer-icons)
Example: If the theme filename is `theme-github-dark.css`, add `github-dark` to the end of `THEMES` Example: If the theme filename is `theme-github-dark.css`, add `github-dark` to the end of `THEMES`
Example `gitea/conf/app.ini`: Example `gitea/conf/app.ini`: