mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 04:51:22 +00:00
feat: change shade of "gray" color in eye-catchers (#14309)
This commit changes "gray" color for eye-catchers to use Ansi(245) color.
This commit is contained in:
parent
bf5eea0cc6
commit
37e534dac5
@ -114,7 +114,7 @@ pub fn bold<S: AsRef<str>>(s: S) -> impl fmt::Display {
|
||||
|
||||
pub fn gray<S: AsRef<str>>(s: S) -> impl fmt::Display {
|
||||
let mut style_spec = ColorSpec::new();
|
||||
style_spec.set_fg(Some(Ansi256(8)));
|
||||
style_spec.set_fg(Some(Ansi256(245)));
|
||||
style(s, style_spec)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user