Skip to content

Commit

Permalink
Fix command palette CSS
Browse files Browse the repository at this point in the history
Theia changed their CSS variables in
eclipse-theia/theia#6722.
This change adapts the variable names for the command palette.
  • Loading branch information
planger committed Jan 20, 2020
1 parent 451db44 commit 115a83c
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions css/command-palette.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,30 @@
********************************************************************************/

.command-palette {
box-shadow: var(--theia-border-width) var(--theia-border-width) var(--theia-border-color0);
background-color: var(--theia-layout-color0);
box-shadow: var(--theia-border-width) var(--theia-border-width) var(--theia-widget-shadow);
background-color: var(--theia-titleBar-activeBackground);
}

.command-palette input {
border-color: var(--theia-panelInput-border);
background: var(--theia-input-background);
color: var(--theia-input-foreground);
}

.command-palette input:hover {
color: var(--theia-button-hoverBackground);
}

.command-palette-suggestions {
background-color: inherit;
background-color: var(--theia-titleBar-activeBackground);
}

.command-palette-suggestions>div:hover:not(.group) {
background: var(--theia-layout-color2);
background: var(--theia-editorHoverWidget-background);
}

.command-palette-suggestions>div.selected {
background: var(--theia-accent-color4);
background: var(--theia-menubar-selectionBackground);
}

.command-palette .loading {
Expand Down

0 comments on commit 115a83c

Please sign in to comment.