Map suggestion colors from Zed1 themes (#3835)

This PR maps the suggestions colors from the Zed1 themes to the Zed2
themes.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-01-02 12:08:29 -05:00 committed by GitHub
parent 0f33775a91
commit 853192b059
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 40 additions and 0 deletions

View file

@ -83,6 +83,7 @@ impl Zed1ThemeConverter {
warning: convert(diagnostic_summary.icon_color_warning),
error: convert(diagnostic_summary.icon_color_error),
hint: editor.hint.color.map(zed1_color_to_hsla),
predictive: editor.suggestion.color.map(zed1_color_to_hsla),
..Default::default()
})
}