Fix predictive text color (#3867)
This PR fixes the predictive text colors, which were no longer correct after #3842. Release Notes: - Fixed predictive text colors.
This commit is contained in:
parent
afeae56fab
commit
a4986c397d
10 changed files with 44 additions and 40 deletions
|
@ -117,7 +117,11 @@ impl Zed1ThemeConverter {
|
|||
.or(convert(lowest.accent.default.foreground)),
|
||||
hint_background: convert(lowest.accent.default.background),
|
||||
hint_border: convert(lowest.accent.default.border),
|
||||
predictive: convert(lowest.positive.default.foreground),
|
||||
predictive: editor
|
||||
.suggestion
|
||||
.color
|
||||
.map(zed1_color_to_hsla)
|
||||
.or(convert(lowest.positive.default.foreground)),
|
||||
predictive_background: convert(lowest.positive.default.background),
|
||||
predictive_border: convert(lowest.positive.default.border),
|
||||
conflict: convert(lowest.warning.default.foreground),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue