Skip to content

Commit

Permalink
feat: use panel background colour for minimap
Browse files Browse the repository at this point in the history
Requires VS Code 1.43
  • Loading branch information
robertrossmann committed Mar 4, 2020
1 parent 65bc8d2 commit dca6802
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/generators/mkui.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -199,13 +199,16 @@ function mkui({ ui, code }) {
*
* The Minimap shows a minified version of the current file.
*/
'minimap.background': ui.background.panel.hex(),
'minimap.findMatchHighlight': `${ui.highlight.word.current.hex()}44`,
'minimap.selectionHighlight': `${ui.text.primary.hex()}AA`,
'minimap.errorHighlight': ui.problems.error.hex(),
'minimap.warningHighlight': ui.problems.warning.hex(),
'minimapGutter.addedBackground': ui.scm.added.hex(),
'minimapGutter.modifiedBackground': ui.scm.modified.hex(),
'minimapGutter.deletedBackground': ui.scm.deleted.hex(),
// 'minimapSlider.hoverBackground': '#ff0000',
// 'minimapSlider.background': '#ff0000',

/**
* Editor Groups & Tabs
Expand Down

0 comments on commit dca6802

Please sign in to comment.