mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-27 12:54:42 +00:00
Make code actions/autocomplete match contextMenu style
This commit is contained in:
parent
fc770c6ea5
commit
a87d9d3578
1 changed files with 4 additions and 5 deletions
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue