Do not display inlay hints as bold (#8283)
I think bold is the least fitting font weight for inlay hints, which should be subtle hints and not, well, bold. If someone feels strongly about this, I can revert, but only if we add the ability to change this per theme. Until then: beautiful, thin, subtle inlay hints! Release Notes: - Improved styling of inlay hints by not making them bold in the editor. 
This commit is contained in:
parent
522176d414
commit
ed3bb68206
2 changed files with 1 additions and 2 deletions
|
@ -482,7 +482,7 @@
|
|||
"hidden": "#998b78ff",
|
||||
"hidden.background": "#4c4642ff",
|
||||
"hidden.border": "#544c48ff",
|
||||
"hint": "#8c957dff",
|
||||
"hint": "#6a695bff",
|
||||
"hint.background": "#1e2321ff",
|
||||
"hint.border": "#303a36ff",
|
||||
"ignored": "#c5b597ff",
|
||||
|
|
|
@ -9784,7 +9784,6 @@ impl Render for Editor {
|
|||
status: cx.theme().status().clone(),
|
||||
inlays_style: HighlightStyle {
|
||||
color: Some(cx.theme().status().hint),
|
||||
font_weight: Some(FontWeight::BOLD),
|
||||
..HighlightStyle::default()
|
||||
},
|
||||
suggestions_style: HighlightStyle {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue