mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-10-26 04:40:31 +00:00
Compare commits
5 Commits
558f75de42
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6ddc5057a4 | ||
|
|
ceb0fd0b0c | ||
|
|
c766a16b08 | ||
|
|
77faa2ce63 | ||
|
|
4267c98dbe |
25
CHANGELOG.md
25
CHANGELOG.md
@@ -1,24 +1,13 @@
|
||||
### 🌈 Style
|
||||
|
||||
- 优化顶部和二级导航栏的样式和颜色
|
||||
|
||||
##### 更符合 GitHub 风格
|
||||
|
||||
- 修复并同步工单或 PR 详细页面下的标签菜单样式 #19
|
||||
- 统一仓库/用户/组织列表无搜索结果时的样式 #20
|
||||
- 同步页脚样式
|
||||
- 优化下拉菜单的样式
|
||||
- 优化创建标签菜单的菜单项的样式
|
||||
- 同步亮色和柔和暗色主题下的菜单颜色
|
||||
- 同步工作流运行页面的运行时间字体样式和重新运行按钮样式
|
||||
- VSCode 和 VSCodium 图标添加颜色
|
||||
|
||||
### 🐞 Fix
|
||||
|
||||
- 修复 Wiki 页面搜索项目没有正确隐藏的问题 #15
|
||||
- 修复后台账户管理排序菜单项的宽度问题
|
||||
- 修复合并提交中的主色调按钮组阴影问题
|
||||
- 修复仓库页面下二级导航栏下划线过粗的问题
|
||||
- 修复仪表板切换用户按钮菜单下无创建组织按钮时的菜单圆角问题
|
||||
- 修复导航栏工单/PR等仪表板下筛选等菜单的子项的间距问题
|
||||
- 修复手机下仪表板二级导航栏用户菜单按钮没有居中的问题
|
||||
## 📃 English
|
||||
|
||||
### 🌈 Style
|
||||
|
||||
##### More aligned with GitHub style
|
||||
|
||||
### 🐞 Fix
|
||||
|
||||
22
README.md
22
README.md
@@ -1,12 +1,20 @@
|
||||
<h1 align="center">Gitea GitHub Theme</h1>
|
||||
<h1 align="center">
|
||||
<p>Gitea GitHub Theme</p>
|
||||
<img src="https://img.shields.io/github/issues-raw/lutinglt/gitea-github-theme?style=for-the-badge&labelColor=25292e&color=1a7f37">
|
||||
<img src="https://img.shields.io/github/issues-closed-raw/lutinglt/gitea-github-theme?style=for-the-badge&labelColor=25292e&color=8250df">
|
||||
<img src="https://img.shields.io/github/downloads/lutinglt/gitea-github-theme/total?style=for-the-badge&labelColor=25292e&color=1f6feb">
|
||||
<img src="https://img.shields.io/github/downloads/lutinglt/gitea-github-theme/latest/total?style=for-the-badge&labelColor=25292e&color=238636">
|
||||
</h1>
|
||||
|
||||
<div align="center">
|
||||
|
||||
中文 • [English](README_EN.md)
|
||||
|
||||
不仅仅是在颜色上, 在样式细节上也追求 GitHub 风格的 Gitea 主题.
|
||||
|
||||
</div>
|
||||
|
||||
不仅仅是在颜色上, 在样式细节上也追求 GitHub 风格的 Gitea 主题.
|
||||

|
||||
|
||||
> [!TIP]
|
||||
>
|
||||
@@ -40,10 +48,6 @@ Gitea 理论上小版本号变更不会修改前端布局, 所以主题的小版
|
||||
3. 重启 Gitea
|
||||
4. 在设置中查看主题
|
||||
|
||||
> [!IMPORTANT]
|
||||
>
|
||||
> 自动颜色主题需要亮色和暗色的主题文件
|
||||
|
||||
例: 主题文件名为 `theme-github-dark.css`,则添加 `github-dark` 到 `THEMES` 末尾
|
||||
|
||||
`gitea/conf/app.ini` 例:
|
||||
@@ -56,9 +60,11 @@ 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]
|
||||
>
|
||||
> 自动颜色主题需要亮色和暗色的主题文件
|
||||
|
||||

|
||||
## 截图
|
||||
|
||||
### 基本主题
|
||||
|
||||
|
||||
33
README_EN.md
33
README_EN.md
@@ -1,12 +1,20 @@
|
||||
<h1 align="center">Gitea GitHub Theme</h1>
|
||||
<h1 align="center">
|
||||
<p>Gitea GitHub Theme</p>
|
||||
<img src="https://img.shields.io/github/issues-raw/lutinglt/gitea-github-theme?style=for-the-badge&labelColor=25292e&color=1a7f37">
|
||||
<img src="https://img.shields.io/github/issues-closed-raw/lutinglt/gitea-github-theme?style=for-the-badge&labelColor=25292e&color=8250df">
|
||||
<img src="https://img.shields.io/github/downloads/lutinglt/gitea-github-theme/total?style=for-the-badge&labelColor=25292e&color=1f6feb">
|
||||
<img src="https://img.shields.io/github/downloads/lutinglt/gitea-github-theme/latest/total?style=for-the-badge&labelColor=25292e&color=238636">
|
||||
</h1>
|
||||
|
||||
<div align="center">
|
||||
|
||||
English • [中文](README.md)
|
||||
|
||||
A Gitea theme that pursues GitHub style not only in colors but also in styling details.
|
||||
|
||||
</div>
|
||||
|
||||
A Gitea theme that pursues GitHub style not only in colors but also in styling details.
|
||||

|
||||
|
||||
> [!TIP]
|
||||
>
|
||||
@@ -31,9 +39,12 @@ accepted.
|
||||
|
||||
### Theme Version Release Rules
|
||||
|
||||
- When Gitea releases a minor version, if there are changes in the theme, a new theme version with the same minor version as Gitea will be released
|
||||
- When Gitea releases a major version, if there are changes in the theme, a theme version `1.old_major_version.latest` will be released and the old version will no longer be maintained
|
||||
- The pre-release version for major version adaptation is `1.major_version.rc`, and when there are no obvious bugs, a theme version with the same major version as Gitea will be released
|
||||
- When Gitea releases a minor version, if there are changes in the theme, a new theme version with the same minor
|
||||
version as Gitea will be released
|
||||
- When Gitea releases a major version, if there are changes in the theme, a theme version `1.old_major_version.latest`
|
||||
will be released and the old version will no longer be maintained
|
||||
- The pre-release version for major version adaptation is `1.major_version.rc`, and when there are no obvious bugs, a
|
||||
theme version with the same major version as Gitea will be released
|
||||
|
||||
## Installation
|
||||
|
||||
@@ -43,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`:
|
||||
@@ -59,9 +66,11 @@ 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)
|
||||
|
||||
## Screenshots
|
||||
> [!IMPORTANT]
|
||||
>
|
||||
> Automatic color theme requires both light and dark theme files.
|
||||
|
||||

|
||||
## Screenshots
|
||||
|
||||
### Basic Themes
|
||||
|
||||
@@ -161,4 +170,4 @@ npm run build
|
||||
```
|
||||
|
||||
After compilation, theme files will be generated in the `dist` directory. You can place the theme files into the
|
||||
`gitea/public/assets/css` directory, then add the theme name to the end of `THEMES` in `gitea/conf/app.ini`
|
||||
`gitea/public/assets/css` directory, then add the theme name to the end of `THEMES` in `gitea/conf/app.ini`
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "gitea-github-theme",
|
||||
"version": "1.24.7",
|
||||
"version": "1.24.8",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite build --mode dev",
|
||||
|
||||
Reference in New Issue
Block a user