Skip to content

Commit c06d8e3

Browse files
committed
Use the existing purple color
1 parent eae3f0d commit c06d8e3

4 files changed

Lines changed: 6 additions & 10 deletions

File tree

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3426,8 +3426,8 @@
34263426
{
34273427
"id": "issues.closed",
34283428
"defaults": {
3429-
"dark": "#cb2431",
3430-
"light": "#cb2431",
3429+
"dark": "pullRequests.merged",
3430+
"light": "pullRequests.merged",
34313431
"highContrast": "editor.foreground",
34323432
"highContrastLight": "editor.foreground"
34333433
},
@@ -3466,8 +3466,8 @@
34663466
{
34673467
"id": "pullRequests.closed",
34683468
"defaults": {
3469-
"dark": "issues.closed",
3470-
"light": "issues.closed",
3469+
"dark": "#cb2431",
3470+
"light": "#cb2431",
34713471
"highContrast": "editor.background",
34723472
"highContrastLight": "editor.background"
34733473
},

src/github/markdownUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function getIconMarkdown(issue: IssueModel) {
3838
return `<span style="color:#22863a;">$(issues)</span>`;
3939
}
4040
case GithubItemStateEnum.Closed: {
41-
return `<span style="color:#6f42c1;">$(issue-closed)</span>`;
41+
return `<span style="color:#8957e5;">$(issue-closed)</span>`;
4242
}
4343
}
4444
}

webviews/components/header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ export function getStatus(state: GithubItemStateEnum, isDraft: boolean, isIssue:
326326
return isDraft ? { text: 'Draft', color: 'draft', icon: prDraftIcon } : { text: 'Open', color: 'open', icon: open };
327327
} else {
328328
// Use different colors for closed issues vs closed PRs
329-
const closedColor = isIssue ? 'issue-closed' : 'closed';
329+
const closedColor = isIssue ? 'merged' : 'closed';
330330
return { text: 'Closed', color: closedColor, icon: closed };
331331
}
332332
}

webviews/editorWebview/index.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -603,10 +603,6 @@ small-button {
603603
background-color: var(--vscode-pullRequests-closed);
604604
}
605605

606-
.status-badge-issue-closed {
607-
background-color: var(--vscode-pullRequests-merged);
608-
}
609-
610606
.status-badge-draft {
611607
background-color: var(--vscode-pullRequests-draft);
612608
}

0 commit comments

Comments
 (0)