mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-10-26 13:00:31 +00:00
update readme
This commit is contained in:
@@ -48,10 +48,6 @@ Gitea 理论上小版本号变更不会修改前端布局, 所以主题的小版
|
|||||||
3. 重启 Gitea
|
3. 重启 Gitea
|
||||||
4. 在设置中查看主题
|
4. 在设置中查看主题
|
||||||
|
|
||||||
> [!IMPORTANT]
|
|
||||||
>
|
|
||||||
> 自动颜色主题需要亮色和暗色的主题文件
|
|
||||||
|
|
||||||
例: 主题文件名为 `theme-github-dark.css`,则添加 `github-dark` 到 `THEMES` 末尾
|
例: 主题文件名为 `theme-github-dark.css`,则添加 `github-dark` 到 `THEMES` 末尾
|
||||||
|
|
||||||
`gitea/conf/app.ini` 例:
|
`gitea/conf/app.ini` 例:
|
||||||
@@ -64,6 +60,10 @@ THEMES = gitea-auto, gitea-light, gitea-dark, github-auto, github-light, github-
|
|||||||
详细请查看 Gitea 文档
|
详细请查看 Gitea 文档
|
||||||
[Gitea docs](https://docs.gitea.com/next/administration/customizing-gitea#customizing-the-look-of-gitea)
|
[Gitea docs](https://docs.gitea.com/next/administration/customizing-gitea#customizing-the-look-of-gitea)
|
||||||
|
|
||||||
|
> [!IMPORTANT]
|
||||||
|
>
|
||||||
|
> 自动颜色主题需要亮色和暗色的主题文件
|
||||||
|
|
||||||
## 截图
|
## 截图
|
||||||
|
|
||||||
### 基本主题
|
### 基本主题
|
||||||
|
|||||||
@@ -54,10 +54,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.
|
|
||||||
|
|
||||||
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`:
|
||||||
@@ -70,6 +66,10 @@ THEMES = gitea-auto, gitea-light, gitea-dark, github-auto, github-light, github-
|
|||||||
For details, please refer to the Gitea documentation
|
For details, please refer to the Gitea documentation
|
||||||
[Gitea docs](https://docs.gitea.com/next/administration/customizing-gitea#customizing-the-look-of-gitea)
|
[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
|
## Screenshots
|
||||||
|
|
||||||
### Basic Themes
|
### Basic Themes
|
||||||
|
|||||||
Reference in New Issue
Block a user