Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions src/Report/Html/Colors.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,22 +38,22 @@
public static function default(): self
{
return new self(
'#dff0d8',
'#2d4431',
'#c3e3b5',
'#3c6051',
'#99cb84',
'#3d5c4e',
'#28a745',
'#1f8135',
'#fcf8e3',
'#3e3408',
'#ffc107',
'#c19406',
'#f2dede',
'#42221e',
'#dc3545',
'#a62633',
'#d6e6f2',
'#1e3550',
'#b3d1e8',
'#2d4f6e',
'#8cb4d5',
'#2a4a6b',
'#1a73b4',
'#1560a0',
'#fdf0d5',
'#3d3010',
'#e5a100',
'#b88a00',
'#fad4c0',
'#4a2a10',
'#d45500',
'#b54400',
'var(--bs-gray-200)',
'var(--bs-gray-800)',
);
Expand Down
32 changes: 16 additions & 16 deletions tests/tests/Report/Html/ColorsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,22 @@ public function testCanBeCreatedFromDefaults(): void
{
$colors = Colors::default();

$this->assertSame('#dff0d8', $colors->successLow());
$this->assertSame('#2d4431', $colors->successLowDark());
$this->assertSame('#c3e3b5', $colors->successMedium());
$this->assertSame('#3c6051', $colors->successMediumDark());
$this->assertSame('#99cb84', $colors->successHigh());
$this->assertSame('#3d5c4e', $colors->successHighDark());
$this->assertSame('#28a745', $colors->successBar());
$this->assertSame('#1f8135', $colors->successBarDark());
$this->assertSame('#fcf8e3', $colors->warning());
$this->assertSame('#3e3408', $colors->warningDark());
$this->assertSame('#ffc107', $colors->warningBar());
$this->assertSame('#c19406', $colors->warningBarDark());
$this->assertSame('#f2dede', $colors->danger());
$this->assertSame('#42221e', $colors->dangerDark());
$this->assertSame('#dc3545', $colors->dangerBar());
$this->assertSame('#a62633', $colors->dangerBarDark());
$this->assertSame('#d6e6f2', $colors->successLow());
$this->assertSame('#1e3550', $colors->successLowDark());
$this->assertSame('#b3d1e8', $colors->successMedium());
$this->assertSame('#2d4f6e', $colors->successMediumDark());
$this->assertSame('#8cb4d5', $colors->successHigh());
$this->assertSame('#2a4a6b', $colors->successHighDark());
$this->assertSame('#1a73b4', $colors->successBar());
$this->assertSame('#1560a0', $colors->successBarDark());
$this->assertSame('#fdf0d5', $colors->warning());
$this->assertSame('#3d3010', $colors->warningDark());
$this->assertSame('#e5a100', $colors->warningBar());
$this->assertSame('#b88a00', $colors->warningBarDark());
$this->assertSame('#fad4c0', $colors->danger());
$this->assertSame('#4a2a10', $colors->dangerDark());
$this->assertSame('#d45500', $colors->dangerBar());
$this->assertSame('#b54400', $colors->dangerBarDark());
$this->assertSame('var(--bs-gray-200)', $colors->breadcrumbs());
$this->assertSame('var(--bs-gray-800)', $colors->breadcrumbsDark());
}
Expand Down
Loading