Compare commits

...

3 Commits

Author SHA1 Message Date
lutinglt
5d7a1c53d5 update README 2025-09-14 19:24:57 +08:00
lutinglt
4632170948 update README 2025-09-14 19:22:55 +08:00
lutinglt
cd99934334 优化创建标签菜单的菜单项的样式 2025-09-14 19:12:34 +08:00
4 changed files with 21 additions and 16 deletions

2
.github/release.md vendored
View File

@@ -2,7 +2,7 @@
##### 更符合 GitHub 风格
- 优化创建仓库标签管理菜单项的样式
- 优化创建标签菜单的菜单项的样式
### 🐞 Fix

View File

@@ -5,6 +5,11 @@
# Gitea GitHub Theme
> [!TIP]
>
> 推荐搭配 Catppuccin 文件图标浏览器插件一起使用更佳
> [web-file-explorer-icons](https://github.com/catppuccin/web-file-explorer-icons)
## 版本号说明
主题版本号与 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` 末尾
`gitea/conf/app.ini` 例:

View File

@@ -5,6 +5,11 @@
# Gitea GitHub Theme
> [!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
The theme version number is kept consistent with the Gitea version number
@@ -33,11 +38,6 @@ accepted.
>
> 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 `gitea/conf/app.ini`:

View File

@@ -192,11 +192,16 @@ export const selectionDropdown = css`
border-top-left-radius: ${otherThemeVars.border.radius} !important;
border-top-right-radius: ${otherThemeVars.border.radius} !important;
}
// 针对创建仓库的工单标签菜单中的标签换行和颜色
.ui.search.selection.dropdown > .menu > .item {
flex-wrap: wrap;
> i {
color: ${themeVars.color.text.light.num1};
// 工单标签菜单中的标签换行和颜色
// 标签页面的标签选择框
.page-content.repository.labels .ui.selection.dropdown.active,
// 创建仓库页面的标签选择框
.ui.search.selection.dropdown {
> .menu > .item {
flex-wrap: wrap;
> i {
color: ${themeVars.color.text.light.num1};
}
}
}
`;