mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-10-27 13:40:31 +00:00
优化 PR 中的合并提交按钮颜色
This commit is contained in:
5
.github/release.md
vendored
5
.github/release.md
vendored
@@ -4,9 +4,6 @@
|
|||||||
|
|
||||||
## 🎈 Perf
|
## 🎈 Perf
|
||||||
|
|
||||||
- 优化提交中 Action 状态标签的位置
|
- 优化 PR 中的合并提交按钮颜色
|
||||||
- 优化按钮和菜单下的图标颜色
|
|
||||||
- 优化仓库发布中的分支选择按钮样式
|
|
||||||
- 优化向上弹窗的菜单动画
|
|
||||||
|
|
||||||
## 🐞 Fix
|
## 🐞 Fix
|
||||||
|
|||||||
@@ -22,10 +22,18 @@ export const baseButton = css`
|
|||||||
.ui.button:not(.primary):not(.red) svg {
|
.ui.button:not(.primary):not(.red) svg {
|
||||||
color: ${themeVars.color.text.light.num1};
|
color: ${themeVars.color.text.light.num1};
|
||||||
}
|
}
|
||||||
.ui.primary.button {
|
// 主色调按钮保持白色
|
||||||
${primaryStyle}
|
.ui.primary.buttons .button svg {
|
||||||
&:hover {
|
color: ${themeVars.color.text.self};
|
||||||
${primaryHoverStyle}
|
}
|
||||||
|
.ui.primary {
|
||||||
|
&.button,
|
||||||
|
// 按钮组, PR 里的压缩合并按钮
|
||||||
|
&.buttons .button {
|
||||||
|
${primaryStyle}
|
||||||
|
&:hover {
|
||||||
|
${primaryHoverStyle}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 主色调基本按钮和普通按钮一样
|
// 主色调基本按钮和普通按钮一样
|
||||||
|
|||||||
Reference in New Issue
Block a user