Compare commits

...

5 Commits

Author SHA1 Message Date
lutinglt
32d0274b56 star history 2025-11-09 23:14:30 +08:00
lutinglt
74c98fbd5d update 2025-11-09 23:07:23 +08:00
lutinglt
d6567618d9 update readme 2025-11-09 23:04:29 +08:00
lutinglt
0cc4f61984 update readme 2025-11-09 22:59:42 +08:00
lutinglt
fd20862833 add --color-logo 2025-11-09 22:15:45 +08:00
4 changed files with 37 additions and 8 deletions

View File

@@ -2,14 +2,15 @@
##### More aligned with GitHub style
- Optimize global line height
- Optimize the workflow log page style
- Optimize repository header name style
- Optimize organization detail page style
- Optimize global line height.
- Optimize the workflow log page style.
- Optimize repository header name style.
- Optimize organization detail page style.
### 🐞 Fix
- Fix the problem of missing background color and width when there is a unicode character in the diff
- Fix the disabled operation button interval in the code preview interface
- Fix fixed height when scrolling through step titles on workflow detail pages
- Fix packages details page style
- Fix the problem of missing background color and width when there is a unicode character in the diff.
- Fix the disabled operation button interval in the code preview interface.
- Fix fixed height when scrolling through step titles on workflow detail pages.
- Fix packages details page style.
- Fix the color of missing icons and text on the homepage when not logged in.

View File

@@ -169,3 +169,28 @@ 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`
## Star History
<a href="https://www.star-history.com/#lutinglt/gitea-github-theme&type=date&legend=top-left">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=lutinglt/gitea-github-theme&type=date&theme=dark&legend=top-left" />
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=lutinglt/gitea-github-theme&type=date&legend=top-left" />
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=lutinglt/gitea-github-theme&type=date&legend=top-left" />
</picture>
</a>
## Downloads History
<img src="https://img.shields.io/github/downloads/lutinglt/gitea-github-theme/v1.25.1/total?style=for-the-badge&labelColor=25292e&color=238636">
<img src="https://img.shields.io/github/downloads/lutinglt/gitea-github-theme/v1.25.0/total?style=for-the-badge&labelColor=25292e&color=238636">
<img src="https://img.shields.io/github/downloads/lutinglt/gitea-github-theme/v1.24.7/total?style=for-the-badge&labelColor=25292e&color=238636">
<img src="https://img.shields.io/github/downloads/lutinglt/gitea-github-theme/v1.24.6/total?style=for-the-badge&labelColor=25292e&color=238636">
<img src="https://img.shields.io/github/downloads/lutinglt/gitea-github-theme/v1.24.5/total?style=for-the-badge&labelColor=25292e&color=238636">
<img src="https://img.shields.io/github/downloads/lutinglt/gitea-github-theme/v1.24.2.2507091544/total?style=for-the-badge&labelColor=25292e&color=238636">
<img src="https://img.shields.io/github/downloads/lutinglt/gitea-github-theme/v1.24.0.2506101804/total?style=for-the-badge&labelColor=25292e&color=238636">
<img src="https://img.shields.io/github/downloads/lutinglt/gitea-github-theme/v1.23.3-20250211-1920/total?style=for-the-badge&labelColor=25292e&color=238636">
<img src="https://img.shields.io/github/downloads/lutinglt/gitea-github-theme/v1.23.1-20250114-1113/total?style=for-the-badge&labelColor=25292e&color=238636">
<img src="https://img.shields.io/github/downloads/lutinglt/gitea-github-theme/v1.22.6-20241228-0008/total?style=for-the-badge&labelColor=25292e&color=238636">
<img src="https://img.shields.io/github/downloads/lutinglt/gitea-github-theme/v1.22.6-20241219-1422/total?style=for-the-badge&labelColor=25292e&color=238636">
<img src="https://img.shields.io/github/downloads/lutinglt/gitea-github-theme/1.21.0/total?style=for-the-badge&labelColor=25292e&color=238636">

View File

@@ -132,6 +132,7 @@ export function github2ThemeColor(githubColor: GithubColor): ThemeColor {
};
const other: Other = {
logo: themeVars.color.primary.self,
body: githubColor.bgColor.default,
box: {
header: githubColor.bgColor.muted,

View File

@@ -8,6 +8,8 @@ export const otherAuto = {
};
export const other = {
/** 未登录时的介绍首页的 SVG 和链接文字颜色 */
logo: null,
/** 主要背景色 */
body: null,
/** 页面底部状态栏背景色 */