diff --git a/src/Console.php b/src/Console.php index 8e0278a..88eb99d 100644 --- a/src/Console.php +++ b/src/Console.php @@ -945,7 +945,7 @@ public function alertInfo( int $innerPad = 4, bool $newline = true, bool $return = false ): Console|string { - return $this->alert($message, Color::BOLD_BLACK, Color::BRIGHT_BLUE, $size, $align, $innerPad, $newline, $return); + return $this->alert($message, Color::BRIGHT_BOLD_WHITE, Color::BRIGHT_BLUE, $size, $align, $innerPad, $newline, $return); } /** diff --git a/tests/ConsoleTest.php b/tests/ConsoleTest.php index 5ff5ab1..7123b51 100644 --- a/tests/ConsoleTest.php +++ b/tests/ConsoleTest.php @@ -531,7 +531,7 @@ public function testAlertInfo() $console->alertInfo('Hello World'); $result = ob_get_clean(); - $this->assertTrue(str_contains($result, "\x1b[1;30m\x1b[104m Hello World \x1b[0m")); + $this->assertTrue(str_contains($result, "\x1b[1;97m\x1b[104m Hello World \x1b[0m")); } public function testAlertPrimary()