diff --git a/.github/release.md b/.github/release.md index 3128933..32fb576 100644 --- a/.github/release.md +++ b/.github/release.md @@ -4,9 +4,6 @@ ## 🎈 Perf -- 优化提交中 Action 状态标签的位置 -- 优化按钮和菜单下的图标颜色 -- 优化仓库发布中的分支选择按钮样式 -- 优化向上弹窗的菜单动画 +- 优化 PR 中的合并提交按钮颜色 ## 🐞 Fix diff --git a/styles/public/button.tsx b/styles/public/button.tsx index 98c9546..522659e 100644 --- a/styles/public/button.tsx +++ b/styles/public/button.tsx @@ -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} + } } } // 主色调基本按钮和普通按钮一样