@@ -412,7 +412,6 @@ export const prMerge = css`
412412 .repository .view .issue .comment-list .timeline-item .pull-merge-box {
413413 // 头像
414414 .timeline-avatar {
415- color : ${ themeVars . color . white } !important ;
416415 border-radius : 9999px ;
417416 width : 40px ;
418417 height : 40px ;
@@ -423,34 +422,67 @@ export const prMerge = css`
423422 width : 24px ;
424423 height : 24px ;
425424 }
426- // 可以合并
427- & .green {
428- background- color: ${ themeVars . github . bgColor . success . emphasis } ;
425+ // PR 界面的 PR 操作评论
426+ & .text {
427+ color : ${ themeVars . color . white } !important ;
429428 border-radius : ${ otherThemeVars . border . radius } ;
430- // 操作评论边框色
429+ // 操作评论边框
431430 + .content > .ui .attached .segment {
432- border-left-color : ${ themeVars . github . bgColor . success . emphasis } ;
433- border-right-color : ${ themeVars . github . bgColor . success . emphasis } ;
434- & : first-child {
435- border-top-color : ${ themeVars . github . bgColor . success . emphasis } ;
431+ border-width : 1.5px ;
432+ }
433+ & .grey {
434+ background-color : ${ themeVars . color . text . light . num1 } ;
435+ }
436+ & .green {
437+ background-color : ${ themeVars . github . bgColor . success . emphasis } ;
438+ + .content > .ui .attached .segment {
439+ border-left-color : ${ themeVars . github . bgColor . success . emphasis } ;
440+ border-right-color : ${ themeVars . github . bgColor . success . emphasis } ;
441+ & : first-child {
442+ border-top-color : ${ themeVars . github . bgColor . success . emphasis } ;
443+ }
444+ & : last-child {
445+ border-bottom-color : ${ themeVars . github . bgColor . success . emphasis } ;
446+ }
436447 }
437- & : last-child {
438- border-bottom-color : ${ themeVars . github . bgColor . success . emphasis } ;
448+ }
449+ & .purple {
450+ background-color : ${ themeVars . github . bgColor . done . emphasis } ;
451+ + .content > .ui .attached .segment {
452+ border-left-color : ${ themeVars . github . bgColor . done . emphasis } ;
453+ border-right-color : ${ themeVars . github . bgColor . done . emphasis } ;
454+ & : first-child {
455+ border-top-color : ${ themeVars . github . bgColor . done . emphasis } ;
456+ }
457+ & : last-child {
458+ border-bottom-color : ${ themeVars . github . bgColor . done . emphasis } ;
459+ }
439460 }
440461 }
441- }
442- // 已合并
443- & .purple {
444- background-color : ${ themeVars . github . bgColor . done . emphasis } ;
445- border-radius : ${ otherThemeVars . border . radius } ;
446- + .content > .ui .attached .segment {
447- border-left-color : ${ themeVars . github . bgColor . done . emphasis } ;
448- border-right-color : ${ themeVars . github . bgColor . done . emphasis } ;
449- & : first-child {
450- border-top-color : ${ themeVars . github . bgColor . done . emphasis } ;
462+ & .yellow {
463+ background-color : ${ themeVars . github . bgColor . attention . emphasis } ;
464+ + .content > .ui .attached .segment {
465+ border-left-color : ${ themeVars . github . bgColor . attention . emphasis } ;
466+ border-right-color : ${ themeVars . github . bgColor . attention . emphasis } ;
467+ & : first-child {
468+ border-top-color : ${ themeVars . github . bgColor . attention . emphasis } ;
469+ }
470+ & : last-child {
471+ border-bottom-color : ${ themeVars . github . bgColor . attention . emphasis } ;
472+ }
451473 }
452- & : last-child {
453- border-bottom-color : ${ themeVars . github . bgColor . done . emphasis } ;
474+ }
475+ & .red {
476+ background-color : ${ themeVars . github . bgColor . danger . emphasis } ;
477+ + .content > .ui .attached .segment {
478+ border-left-color : ${ themeVars . github . bgColor . danger . emphasis } ;
479+ border-right-color : ${ themeVars . github . bgColor . danger . emphasis } ;
480+ & : first-child {
481+ border-top-color : ${ themeVars . github . bgColor . danger . emphasis } ;
482+ }
483+ & : last-child {
484+ border-bottom-color : ${ themeVars . github . bgColor . danger . emphasis } ;
485+ }
454486 }
455487 }
456488 }
0 commit comments