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