Skip to content

Commit

Permalink
feat: add customisations for SCM history graph 😍
Browse files Browse the repository at this point in the history
  • Loading branch information
robertrossmann committed Sep 6, 2024
1 parent 48c4801 commit 266c69a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/generators/mkui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -792,6 +792,19 @@ function mkui({ ui, code }: MKUIParams): UIColourPalette {
// 'charts.foreground': ui.text.primary.hex(),
// 'charts.lines': ui.text.secondary.hex(),

/**
* SCM graph
*/
'scmGraph.historyItemGroupBase': ui.terminal.normal.green.hex(),
'scmGraph.historyItemGroupLocal': ui.terminal.bright.red.hex(),
'scmGraph.foreground1': ui.terminal.normal.yellow.hex(),
'scmGraph.foreground2': ui.terminal.normal.blue.hex(),
'scmGraph.foreground3': ui.terminal.normal.magenta.hex(),
'scmGraph.historyItemGroupRemote': ui.terminal.bright.blue.hex(),
// 'scmGraph.historyItemHoverAdditionsForeground': ui.scm.added.hex(),
// 'scmGraph.historyItemHoverDeletionsForeground': ui.scm.deleted.hex(),
// 'scmGraph.historyItemHoverLabelForeground': '#ff0000',

/**
* Testing UI
*/
Expand Down

0 comments on commit 266c69a

Please sign in to comment.