From 4544218701de8bb0c298249f63ef48683e9c05e0 Mon Sep 17 00:00:00 2001 From: lutinglt Date: Wed, 16 Jul 2025 00:59:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=B2=E5=90=88=E5=B9=B6=E9=A2=9C=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- styles/components/issue.tsx | 36 +++++++++++++++++++++++++++--------- 1 file changed, 27 insertions(+), 9 deletions(-) diff --git a/styles/components/issue.tsx b/styles/components/issue.tsx index b0a1709..0a2b0fd 100644 --- a/styles/components/issue.tsx +++ b/styles/components/issue.tsx @@ -123,8 +123,7 @@ export const dropdown = css` export const prMerge = css` .repository.view.issue .comment-list .timeline-item.pull-merge-box { // 头像 - .timeline-avatar.green { - background-color: ${themeVars.github.bgColor.success.emphasis}; + .timeline-avatar { color: ${themeVars.color.text.self} !important; border-radius: ${otherThemeVars.border.radius}; width: 40px; @@ -136,14 +135,33 @@ export const prMerge = css` width: 24px; height: 24px; } - + .content > .ui.attached.segment { - border-left-color: ${themeVars.github.bgColor.success.emphasis}; - border-right-color: ${themeVars.github.bgColor.success.emphasis}; - &:first-child { - border-top-color: ${themeVars.github.bgColor.success.emphasis}; + // 可以合并 + &.green { + background-color: ${themeVars.github.bgColor.success.emphasis}; + // 操作评论边框色 + + .content > .ui.attached.segment { + border-left-color: ${themeVars.github.bgColor.success.emphasis}; + border-right-color: ${themeVars.github.bgColor.success.emphasis}; + &:first-child { + border-top-color: ${themeVars.github.bgColor.success.emphasis}; + } + &:last-child { + border-bottom-color: ${themeVars.github.bgColor.success.emphasis}; + } } - &:last-child { - border-bottom-color: ${themeVars.github.bgColor.success.emphasis}; + } + // 已合并 + &.purple { + background-color: ${themeVars.github.bgColor.done.emphasis}; + + .content > .ui.attached.segment { + border-left-color: ${themeVars.github.bgColor.done.emphasis}; + border-right-color: ${themeVars.github.bgColor.done.emphasis}; + &:first-child { + border-top-color: ${themeVars.github.bgColor.done.emphasis}; + } + &:last-child { + border-bottom-color: ${themeVars.github.bgColor.done.emphasis}; + } } } }