Skip to content

Commit

Permalink
feat: add support for Activity Bar badges (warn, err)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertrossmann committed Oct 4, 2024
1 parent 6e8437b commit b2346b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/generators/mkui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,10 @@ function mkui({ ui, code }: MKUIParams): UIColourPalette {
'activityBarTop.activeBackground': ui.background.panel.hex(),
'activityBarBadge.background': ui.accent.hex(),
'activityBarBadge.foreground': ui.text.contrast.hex(),
'activityErrorBadge.background': ui.problems.error.hex(),
'activityErrorBadge.foreground': ui.text.contrast.hex(),
'activityWarningBadge.background': ui.problems.warning.hex(),
'activityWarningBadge.foreground': ui.text.contrast.hex(),
// TODO(vscode): implement panelTitle.activeBackground colour contribution
// 'activityBar.activeBackground': ui.background.code.hex(),

Expand Down

0 comments on commit b2346b1

Please sign in to comment.