Skip to content

Commit

Permalink
feat: overhaul GitLens colour contributions
Browse files Browse the repository at this point in the history
  • Loading branch information
robertrossmann committed Mar 29, 2021
1 parent eafdc70 commit fa1d200
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion packages/generators/mkui.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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',

Expand Down

0 comments on commit fa1d200

Please sign in to comment.