Skip to content

Commit

Permalink
Update alertInfo colors
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksagona committed Dec 21, 2023
1 parent e64c633 commit 91672e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Console.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion tests/ConsoleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 91672e4

Please sign in to comment.