mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-10-26 13:00:31 +00:00
Actions日志字体与GitHub相同
This commit is contained in:
1
.github/release.md
vendored
1
.github/release.md
vendored
@@ -5,4 +5,5 @@
|
||||
- 微调菜单项按钮样式
|
||||
- Actions 工作流日志页面与浏览器同宽
|
||||
- Actions 工作流日志页面样式优化
|
||||
- Actions 日志字体同步
|
||||
- 全局激活颜色和悬停颜色优化
|
||||
@@ -2,16 +2,13 @@
|
||||
|
||||
尽量保持与 GitHub Dark 相同样式的 Gitea 主题
|
||||
|
||||
主题说明:
|
||||
|
||||
添加了短暂的过渡动画优化体验(与 Github clone 下拉列表动画一致)
|
||||
### 主题说明
|
||||
|
||||
添加了短暂的过渡动画优化体验(与 GitHub Code 克隆列表动画一致)
|
||||
|
||||
UI 默认字体 [Maple Hand](https://github.com/subframe7536/maple-font/tree/other-resources/cn-resource/maple-hand) & [VictorMono Nerd Font](https://github.com/ryanoasis/nerd-fonts/releases/download/v3.3.0/VictorMono.zip) (优先匹配 `Maple Hand`, 需要系统包含相应字体, 否则使用默认字体)
|
||||
|
||||
Actions 日志默认字体 `VictorMono Nerd Font` 优先
|
||||
|
||||
> Victor Mono 相比其他等宽字体更为紧凑, 可以减少换行
|
||||
|
||||
## 安装
|
||||
|
||||
1. 在发布页下载最新的 `theme-github.css` 放入 `gitea/public/assets/css` 目录下
|
||||
|
||||
@@ -91,7 +91,7 @@
|
||||
}
|
||||
|
||||
.job-log-line {
|
||||
color: var(--color-text);
|
||||
color: #f0f6fc;
|
||||
|
||||
&:hover {
|
||||
color: #fff;
|
||||
|
||||
@@ -4,8 +4,7 @@
|
||||
}
|
||||
|
||||
.job-step-logs {
|
||||
font-family: 'VictorMono NF', 'VictorMono Nerd Font', 'Maple Hand' !important;
|
||||
font-weight: 500;
|
||||
font-family: 'ui-monospace', 'SFMono-Regular', 'SF Mono', 'Menlo', 'Consolas', 'Liberation Mono', 'monospace', 'Maple Hand' !important;
|
||||
}
|
||||
|
||||
.repository {
|
||||
|
||||
Reference in New Issue
Block a user