From a87d9d3578c20fa4b571d71a223ffe7f923b24ce Mon Sep 17 00:00:00 2001 From: Nate Butler Date: Mon, 10 Oct 2022 17:35:12 -0400 Subject: [PATCH] Make code actions/autocomplete match contextMenu style --- styles/src/styleTree/editor.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/styles/src/styleTree/editor.ts b/styles/src/styleTree/editor.ts index 430d366b71..923c8719ff 100644 --- a/styles/src/styleTree/editor.ts +++ b/styles/src/styleTree/editor.ts @@ -1,7 +1,6 @@ import { fontWeights } from "../common"; import { ColorScheme, - Elevation, Layer, StyleSets, } from "../themes/common/colorScheme"; @@ -173,23 +172,23 @@ export default function editor(colorScheme: ColorScheme) { colorScheme.players[7], ], autocomplete: { - background: background(elevation.above.top), + background: background(elevation.bottom), cornerRadius: 8, padding: 4, margin: { left: -14, }, - border: border(elevation.above.top), + border: border(elevation.bottom), shadow: elevation.above.shadow, matchHighlight: elevation.above.ramps.blue(0.5).hex(), item: autocompleteItem, hoveredItem: { ...autocompleteItem, - background: background(elevation.above.top, "hovered"), + background: background(elevation.bottom, "hovered"), }, selectedItem: { ...autocompleteItem, - background: withOpacity(background(elevation.above.top, "active"), 0.2), + background: background(elevation.bottom, "active"), }, }, diagnosticHeader: {