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": "#998b78ff",
|
||||||
"hidden.background": "#4c4642ff",
|
"hidden.background": "#4c4642ff",
|
||||||
"hidden.border": "#544c48ff",
|
"hidden.border": "#544c48ff",
|
||||||
"hint": "#8c957dff",
|
"hint": "#6a695bff",
|
||||||
"hint.background": "#1e2321ff",
|
"hint.background": "#1e2321ff",
|
||||||
"hint.border": "#303a36ff",
|
"hint.border": "#303a36ff",
|
||||||
"ignored": "#c5b597ff",
|
"ignored": "#c5b597ff",
|
||||||
|
|
|
@ -9784,7 +9784,6 @@ impl Render for Editor {
|
||||||
status: cx.theme().status().clone(),
|
status: cx.theme().status().clone(),
|
||||||
inlays_style: HighlightStyle {
|
inlays_style: HighlightStyle {
|
||||||
color: Some(cx.theme().status().hint),
|
color: Some(cx.theme().status().hint),
|
||||||
font_weight: Some(FontWeight::BOLD),
|
|
||||||
..HighlightStyle::default()
|
..HighlightStyle::default()
|
||||||
},
|
},
|
||||||
suggestions_style: HighlightStyle {
|
suggestions_style: HighlightStyle {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue