Style inlay hints (#3806)

This PR styles the inlay hints after the changes to the themes.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2023-12-22 23:06:30 -05:00 committed by GitHub
parent e5148b4a1b
commit 698460ea89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 41 additions and 4 deletions

View file

@ -71,6 +71,7 @@ impl Zed1ThemeConverter {
Some(zed1_color_to_hsla(color))
}
let editor = &self.theme.editor;
let diff_style = &self.theme.editor.diff;
let diagnostic_summary = &self.theme.workspace.status_bar.diagnostic_summary;
@ -81,6 +82,7 @@ impl Zed1ThemeConverter {
success: convert(diagnostic_summary.icon_color_ok),
warning: convert(diagnostic_summary.icon_color_warning),
error: convert(diagnostic_summary.icon_color_error),
hint: editor.hint.color.map(zed1_color_to_hsla),
..Default::default()
})
}