feat: make highlight be a little more bold
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
d76518edf6
commit
445a628ff5
@ -154,7 +154,10 @@ impl RenderGraph for MovementGraph {
|
||||
lines
|
||||
.push(Line::raw(format!("- {}", item.name)).style(Style::new().bold()));
|
||||
} else {
|
||||
lines.push(Line::raw(format!("- {}", item.name)));
|
||||
lines.push(
|
||||
Line::raw(format!("- {}", item.name))
|
||||
.patch_style(Style::new().dark_gray()),
|
||||
);
|
||||
}
|
||||
|
||||
lines.push("".into());
|
||||
@ -167,7 +170,9 @@ impl RenderGraph for MovementGraph {
|
||||
}
|
||||
}
|
||||
_ => {
|
||||
lines.push(Line::raw(format!("- {}", item.name)));
|
||||
lines.push(
|
||||
Line::raw(format!("- {}", item.name)).patch_style(Style::new().dark_gray()),
|
||||
);
|
||||
|
||||
lines.push("".into());
|
||||
|
||||
@ -200,7 +205,10 @@ impl RenderGraph for MovementGraph {
|
||||
if rest.is_empty() {
|
||||
line.push(Span::raw(format!("- {}", item.name)).style(Style::new().bold()));
|
||||
} else {
|
||||
line.push(Span::raw(format!("- {}", item.name)));
|
||||
line.push(
|
||||
Span::raw(format!("- {}", item.name))
|
||||
.patch_style(Style::new().dark_gray()),
|
||||
);
|
||||
}
|
||||
|
||||
lines.push(line);
|
||||
@ -214,7 +222,9 @@ impl RenderGraph for MovementGraph {
|
||||
}
|
||||
}
|
||||
_ => {
|
||||
lines.push(vec![Span::raw(format!("- {}", item.name))]);
|
||||
lines
|
||||
.push(vec![Span::raw(format!("- {}", item.name))
|
||||
.patch_style(Style::new().dark_gray())]);
|
||||
|
||||
lines.push(vec!["".into()]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user