Skip to content

Commit

Permalink
fix: update the hover style for list (#476)
Browse files Browse the repository at this point in the history
  • Loading branch information
mortalYoung authored Oct 21, 2021
1 parent 33558b3 commit 35e66fd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/components/list/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@

&:hover {
background-color: var(--list-hoverBackground);
color: var(--list-hoverForeground);
opacity: 0.8;
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/tree/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ $treenode-height: 22px;
user-select: none;

&:not(#{$tree}__treenode--active):hover {
color: var(--list-hoverForeground);
background-color: var(--list-hoverBackground);
}

&:focus {
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/theme-defaults/themes/dark_defaults.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"list.activeSelectionBackground": "#094771",
"list.dropBackground": "#383B3D",
"list.focusOutline": "#007FD4",
"list.hoverForeground": "#2A2D2E",
"list.hoverBackground": "#2A2D2E",
"list.inactiveSelectionBackground": "#37373D",
"menu.background": "#252526",
"menu.foreground": "#CCCCCC",
Expand Down

0 comments on commit 35e66fd

Please sign in to comment.