Skip to content

Commit

Permalink
feat: adopt colours for error-like status bar items
Browse files Browse the repository at this point in the history
These status bar items can be seen for example in the [GitHub Actions](https://marketplace.visualstudio.com/items?itemName=cschleiden.vscode-github-actions) extension with a pinned (and failing) Actions workflow.
  • Loading branch information
robertrossmann committed Mar 10, 2021
1 parent d1328b8 commit 6ca6a95
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/generators/mkui.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -453,12 +453,11 @@ function mkui({ ui, code }) {
: ui.background.panel.mix(ui.background.drop, 0.4).hex(),
'66',
].join(''),
'statusBarItem.errorBackground': ui.problems.error.hex(),
'statusBarItem.errorForeground': ui.text.complimentary.hex(),
// 'statusBarItem.prominentForeground': '#FF0000',
// 'statusBarItem.prominentBackground': '#FF0000',
// 'statusBarItem.prominentHoverBackground': '#FF0000',
// TODO: Implement once something actually uses this so we can test it
// 'statusBarItem.errorBackground': ui.problems.error.hex(),
// 'statusBarItem.errorForeground': ui.text.complimentary.hex(),

/**
* Title Bar Colours
Expand Down

0 comments on commit 6ca6a95

Please sign in to comment.