diff --git a/source/github-issue-link-status.js b/source/github-issue-link-status.js index 749f198..f6cccec 100644 --- a/source/github-issue-link-status.js +++ b/source/github-issue-link-status.js @@ -9,13 +9,13 @@ const endpoint = location.hostname === 'github.com' const issueUrlRegex = /^[/]([^/]+[/][^/]+)[/](issues|pull)[/](\d+)([/]|$)/; const stateColorMap = { pullrequest: { - open: ['text-green', 'color-text-success', 'color-fg-success'], - closed: ['text-red', 'color-text-danger', 'color-fg-danger'], - merged: ['text-purple', 'color-purple-5', 'color-fg-done'], + open: 'color-fg-success', + closed: 'color-fg-danger', + merged: 'color-fg-done', }, issue: { - open: ['text-green', 'color-text-success', 'color-fg-success'], - closed: ['text-purple', 'color-purple-5', 'color-fg-done'], + open: 'color-fg-success', + closed: 'color-fg-done', }, }; @@ -27,7 +27,7 @@ function getIcon(state, type, isDraft = false) { } if (iconName === 'draftpullrequest') { - return icons.draftpullrequest.replace('