From fa1d200e778332501e212dbe693d2bc01ba82e11 Mon Sep 17 00:00:00 2001 From: Robert Rossmann Date: Mon, 29 Mar 2021 10:05:00 +0200 Subject: [PATCH] feat: overhaul GitLens colour contributions --- packages/generators/mkui.mjs | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/packages/generators/mkui.mjs b/packages/generators/mkui.mjs index d82ea7c..012f9dc 100644 --- a/packages/generators/mkui.mjs +++ b/packages/generators/mkui.mjs @@ -691,11 +691,29 @@ function mkui({ ui, code }) { /** * GitLens */ - 'gitlens.gutterForegroundColor': `${ui.text.primary.hex()}66`, + 'gitlens.gutterForegroundColor': ui.text.secondary.hex(), 'gitlens.gutterBackgroundColor': ui.background.code.hex(), 'gitlens.gutterUncommittedForegroundColor': ui.scm.untracked.hex(), 'gitlens.lineHighlightBackgroundColor': `${ui.scm.added.hex()}22`, 'gitlens.lineHighlightOverviewRulerColor': `${ui.scm.added.hex()}22`, + 'gitlens.closedPullRequestIconColor': ui.icon.foreground.hex(), + 'gitlens.openPullRequestIconColor': ui.icon.foreground.hex(), + 'gitlens.mergedPullRequestIconColor': ui.icon.foreground.hex(), + 'gitlens.unpushlishedChangesIconColor': ui.icon.foreground.hex(), + 'gitlens.unpublishedCommitIconColor': ui.icon.foreground.hex(), + 'gitlens.unpulledChangesIconColor': ui.icon.foreground.hex(), + 'gitlens.decorations.addedForegroundColor': ui.scm.added.hex(), + 'gitlens.decorations.copiedForegroundColor': ui.scm.modified.hex(), + 'gitlens.decorations.deletedForegroundColor': ui.scm.deleted.hex(), + 'gitlens.decorations.ignoredForegroundColor': ui.scm.ignored.hex(), + 'gitlens.decorations.modifiedForegroundColor': ui.scm.modified.hex(), + 'gitlens.decorations.untrackedForegroundColor': ui.scm.untracked.hex(), + 'gitlens.decorations.renamedForegroundColor': ui.scm.modified.hex(), + 'gitlens.decorations.branchAheadForegroundColor': ui.scm.conflicts.incoming.hex(), + 'gitlens.decorations.branchBehindForegroundColor': ui.scm.conflicts.current.hex(), + 'gitlens.decorations.branchDivergedForegroundColor': ui.scm.conflicting.hex(), + 'gitlens.decorations.branchUpToDateForegroundColor': ui.text.primary.hex(), + 'gitlens.decorations.branchUnpublishedForegroundColor': ui.scm.untracked.hex(), // 'gitlens.trailingLineBackgroundColor': '#FF0000', // 'gitlens.trailingLineForegroundColor': '#FF0000',