mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-11 04:36:24 +00:00
Put rounded corners around autocomplete and give it some padding
This commit is contained in:
parent
d56e721fab
commit
71ef052c06
1 changed files with 7 additions and 2 deletions
|
@ -316,10 +316,15 @@ message.highlight_text.color = "$text.3.color"
|
|||
|
||||
[editor.autocomplete]
|
||||
background = "$surface.2"
|
||||
border = { width = 1, color = "$border.1" }
|
||||
item.padding = 2
|
||||
border = { width = 2, color = "$border.1" }
|
||||
corner_radius = 6
|
||||
padding = 6
|
||||
match_highlight = { color = "$editor.syntax.keyword.color", weight = "$editor.syntax.keyword.weight" }
|
||||
|
||||
[editor.autocomplete.item]
|
||||
padding = { left = 6, right = 6, top = 2, bottom = 2 }
|
||||
corner_radius = 6
|
||||
|
||||
[editor.autocomplete.selected_item]
|
||||
extends = "$editor.autocomplete.item"
|
||||
background = "$state.selected"
|
||||
|
|
Loading…
Reference in a new issue