Skip to content

Commit

Permalink
fix: Correct color contrast for status bar item
Browse files Browse the repository at this point in the history
  • Loading branch information
KamiKillertO committed Nov 12, 2024
1 parent d08fe3e commit f443a98
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ class ColorizeContext {
? 'Colorize is activated for this file'
: 'Colorize is not activated for this file';
this.statusBar.text = `${icon} Colorize`;
this.statusBar.backgroundColor = new ThemeColor(
'statusBarItem.errorBackground',
);
this.statusBar.color = new ThemeColor('statusBarItem.errorForeground');
this.statusBar.tooltip = hoverMessage;
this.statusBar.show();
}
Expand Down

0 comments on commit f443a98

Please sign in to comment.