优化 PR 中的合并提交按钮颜色

This commit is contained in:
lutinglt
2025-07-11 22:06:58 +08:00
parent 9804a4e5c6
commit 1c05717011
2 changed files with 13 additions and 8 deletions

5
.github/release.md vendored
View File

@@ -4,9 +4,6 @@
## 🎈 Perf ## 🎈 Perf
- 优化提交中 Action 状态标签的位置 - 优化 PR 中的合并提交按钮颜色
- 优化按钮和菜单下的图标颜色
- 优化仓库发布中的分支选择按钮样式
- 优化向上弹窗的菜单动画
## 🐞 Fix ## 🐞 Fix

View File

@@ -22,12 +22,20 @@ 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 { // 主色调按钮保持白色
.ui.primary.buttons .button svg {
color: ${themeVars.color.text.self};
}
.ui.primary {
&.button,
// 按钮组, PR 里的压缩合并按钮
&.buttons .button {
${primaryStyle} ${primaryStyle}
&:hover { &:hover {
${primaryHoverStyle} ${primaryHoverStyle}
} }
} }
}
// 主色调基本按钮和普通按钮一样 // 主色调基本按钮和普通按钮一样
// 作者的关注按钮 // 作者的关注按钮
.ui.basic.primary.button { .ui.basic.primary.button {