优化 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

View File

@@ -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}
}
}
}
// 主色调基本按钮和普通按钮一样