mirror of
https://github.com/Tyriar/vscode-theme-generator.git
synced 2025-12-06 17:15:43 -08:00
Improve list focus/highlight
This commit is contained in:
@@ -108,13 +108,14 @@ export class VscodeThemeGenerator implements IThemeGenerator {
|
||||
// list.activeSelectionBackground: List/Tree background color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.
|
||||
theme.colors['list.activeSelectionBackground'] = addAlpha(colorSet.base.color1, 0.5);
|
||||
// list.activeSelectionForeground: List/Tree foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.
|
||||
theme.colors['list.activeSelectionForeground'] = contrast(theme.colors['list.activeSelectionBackground']);
|
||||
theme.colors['list.activeSelectionForeground'] = '#FFFFFF';
|
||||
// list.dropBackground: List/Tree drag and drop background when moving items around using the mouse.
|
||||
theme.colors['list.dropBackground'] = addAlpha(colorSet.base.color1, 0.5);
|
||||
// list.focusBackground: List/Tree background color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.
|
||||
theme.colors['list.focusBackground'] = addAlpha(colorSet.base.color1, 0.5);
|
||||
theme.colors['list.focusForeground'] = contrast(theme.colors['list.focusBackground']);
|
||||
theme.colors['list.focusForeground'] = '#FFFFFF';
|
||||
// list.highlightForeground: List/Tree foreground color of the match highlights when searching inside the list/tree.
|
||||
theme.colors['list.highlightForeground'] = colorSet.base.color1;
|
||||
// list.hoverBackground: List/Tree background when hovering over items using the mouse.
|
||||
theme.colors['list.hoverBackground'] = addAlpha('#FFFFFF', 0.1);
|
||||
// list.inactiveSelectionBackground: List/Tree background color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.
|
||||
|
||||
Reference in New Issue
Block a user