Eric Amodio пре 3 година
родитељ
комит
e378c14f49
3 измењених фајлова са 22 додато и 20 уклоњено
  1. +18
    -18
      package.json
  2. +2
    -0
      src/constants.ts
  3. +2
    -2
      src/git/models/issue.ts

+ 18
- 18
package.json Прегледај датотеку

@ -3230,6 +3230,24 @@
}
},
{
"id": "gitlens.openAutolinkedIssueIconColor",
"defaults": {
"dark": "#3fb950",
"light": "#1a7f37",
"highContrast": "#68ff79"
},
"description": "Specifies the icon color of open issues in the GitLens views"
},
{
"id": "gitlens.closedAutolinkedIssueIconColor",
"defaults": {
"dark": "#a371f7",
"light": "#8250df",
"highContrast": "#8945ff"
},
"description": "Specifies the icon color of closed issues in the GitLens views"
},
{
"id": "gitlens.closedPullRequestIconColor",
"description": "Specifies the icon color of closed pull requests in the GitLens views",
"defaults": {
@ -3399,24 +3417,6 @@
"dark": "#c74e39",
"highContrast": "#c74e39"
}
},
{
"id": "gitlens.autolinkedIssueOpenIconColor",
"defaults": {
"dark": "#22863a",
"light": "#22863a",
"highContrast": "editor.foreground"
},
"description": "Specifies the icon color indicating that an issue is open"
},
{
"id": "gitlens.autolinkedIssueClosedIconColor",
"defaults": {
"dark": "#cb2431",
"light": "#cb2431",
"highContrast": "editor.foreground"
},
"description": "Specifies the icon color indicating that an issue is closed"
}
],
"commands": [

+ 2
- 0
src/constants.ts Прегледај датотеку

@ -79,7 +79,9 @@ export const enum Colors {
TrailingLineForegroundColor = 'gitlens.trailingLineForegroundColor',
LineHighlightBackgroundColor = 'gitlens.lineHighlightBackgroundColor',
LineHighlightOverviewRulerColor = 'gitlens.lineHighlightOverviewRulerColor',
ClosedAutolinkedIssueIconColor = 'gitlens.closedAutolinkedIssueIconColor',
ClosedPullRequestIconColor = 'gitlens.closedPullRequestIconColor',
OpenAutolinkedIssueIconColor = 'gitlens.openAutolinkedIssueIconColor',
OpenPullRequestIconColor = 'gitlens.openPullRequestIconColor',
MergedPullRequestIconColor = 'gitlens.mergedPullRequestIconColor',
UnpushlishedChangesIconColor = 'gitlens.unpushlishedChangesIconColor',

+ 2
- 2
src/git/models/issue.ts Прегледај датотеку

@ -51,8 +51,8 @@ export namespace IssueOrPullRequest {
}
if (issue.closed) {
return new ThemeIcon('pass', new ThemeColor(Colors.MergedPullRequestIconColor));
return new ThemeIcon('pass', new ThemeColor(Colors.ClosedAutolinkedIssueIconColor));
}
return new ThemeIcon('issues', new ThemeColor(Colors.OpenPullRequestIconColor));
return new ThemeIcon('issues', new ThemeColor(Colors.OpenAutolinkedIssueIconColor));
}
}

Loading…
Откажи
Сачувај