1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05: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:
Bartek Iwańczuk 2022-04-24 21:00:26 +02:00 committed by GitHub
parent e9041b9edc
commit 8107a79b39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)
}