Skip to content

Commit bc96ec1

Browse files
committed
Actions日志字体与GitHub相同
1 parent 5329703 commit bc96ec1

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

.github/release.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55
- 微调菜单项按钮样式
66
- Actions 工作流日志页面与浏览器同宽
77
- Actions 工作流日志页面样式优化
8+
- Actions 日志字体同步
89
- 全局激活颜色和悬停颜色优化

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,12 @@
22

33
尽量保持与 GitHub Dark 相同样式的 Gitea 主题
44

5-
主题说明:
65

7-
添加了短暂的过渡动画优化体验(与 Github clone 下拉列表动画一致)
6+
### 主题说明
87

9-
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`, 需要系统包含相应字体, 否则使用默认字体)
10-
11-
Actions 日志默认字体 `VictorMono Nerd Font` 优先
8+
添加了短暂的过渡动画优化体验(与 GitHub Code 克隆列表动画一致)
129

13-
> Victor Mono 相比其他等宽字体更为紧凑, 可以减少换行
10+
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`, 需要系统包含相应字体, 否则使用默认字体)
1411

1512
## 安装
1613

src/actions.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
}
9292

9393
.job-log-line {
94-
color: var(--color-text);
94+
color: #f0f6fc;
9595

9696
&:hover {
9797
color: #fff;

src/root.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
}
55

66
.job-step-logs {
7-
font-family: 'VictorMono NF', 'VictorMono Nerd Font', 'Maple Hand' !important;
8-
font-weight: 500;
7+
font-family: 'ui-monospace', 'SFMono-Regular', 'SF Mono', 'Menlo', 'Consolas', 'Liberation Mono', 'monospace', 'Maple Hand' !important;
98
}
109

1110
.repository {

0 commit comments

Comments
 (0)