diff --git a/src/configs/package.rs b/src/configs/package.rs index 92417a29..fd1662e1 100644 --- a/src/configs/package.rs +++ b/src/configs/package.rs @@ -14,7 +14,7 @@ impl<'a> RootModuleConfig<'a> for PackageConfig<'a> { fn new() -> Self { PackageConfig { symbol: SegmentConfig::new("📦 "), - style: Color::Red.bold(), + style: Color::Fixed(208).bold(), disabled: false, } } diff --git a/src/configs/php.rs b/src/configs/php.rs index efe1f648..abec06bc 100644 --- a/src/configs/php.rs +++ b/src/configs/php.rs @@ -14,7 +14,7 @@ impl<'a> RootModuleConfig<'a> for PhpConfig<'a> { fn new() -> Self { PhpConfig { symbol: SegmentConfig::new("🐘 "), - style: Color::Red.bold(), + style: Color::Fixed(147).bold(), disabled: false, } } diff --git a/tests/testsuite/php.rs b/tests/testsuite/php.rs index 49759abd..f9836263 100644 --- a/tests/testsuite/php.rs +++ b/tests/testsuite/php.rs @@ -33,7 +33,7 @@ fn folder_with_composer_file() -> io::Result<()> { .output()?; let actual = String::from_utf8(output.stdout).unwrap(); - let expected = format!("via {} ", Color::Red.bold().paint("🐘 v7.3.8")); + let expected = format!("via {} ", Color::Fixed(147).bold().paint("🐘 v7.3.8")); assert_eq!(expected, actual); Ok(()) } @@ -50,7 +50,7 @@ fn folder_with_php_file() -> io::Result<()> { .output()?; let actual = String::from_utf8(output.stdout).unwrap(); - let expected = format!("via {} ", Color::Red.bold().paint("🐘 v7.3.8")); + let expected = format!("via {} ", Color::Fixed(147).bold().paint("🐘 v7.3.8")); assert_eq!(expected, actual); Ok(()) }