diff --git a/app/Models/Traits/HasKd.php b/app/Models/Traits/HasKd.php index 61eaea67..de88b82c 100644 --- a/app/Models/Traits/HasKd.php +++ b/app/Models/Traits/HasKd.php @@ -21,14 +21,14 @@ public function getKdaAttribute(float $value): string public function getKdColor(): string { return $this->kd >= 1 - ? 'has-background-success-light' - : 'has-background-danger-light'; + ? 'has-background-success-soft' + : 'has-background-danger-soft'; } public function getKdaColor(): string { return $this->kda >= 1 - ? 'has-background-success-light' - : 'has-background-danger-light'; + ? 'has-background-success-soft' + : 'has-background-danger-soft'; } } diff --git a/app/Models/Traits/HasPerformance.php b/app/Models/Traits/HasPerformance.php index 39481a0c..e0737f72 100644 --- a/app/Models/Traits/HasPerformance.php +++ b/app/Models/Traits/HasPerformance.php @@ -13,9 +13,9 @@ public function getExpectedKillsColor(): string } return match (true) { - $this->kills > $this->expected_kills => 'has-background-success-light', - $this->kills < $this->expected_kills => 'has-background-danger-light', - $this->kills === $this->expected_kills => 'has-background-primary-light', + $this->kills > $this->expected_kills => 'has-background-success-soft', + $this->kills < $this->expected_kills => 'has-background-danger-soft', + $this->kills === $this->expected_kills => 'has-background-primary-soft', default => '' }; } @@ -27,9 +27,9 @@ public function getExpectedDeathsColor(): string } return match (true) { - $this->deaths > $this->expected_deaths => 'has-background-danger-light', - $this->deaths < $this->expected_deaths => 'has-background-success-light', - $this->deaths === $this->expected_deaths => 'has-background-primary-light', + $this->deaths > $this->expected_deaths => 'has-background-danger-soft', + $this->deaths < $this->expected_deaths => 'has-background-success-soft', + $this->deaths === $this->expected_deaths => 'has-background-primary-soft', default => '' }; } diff --git a/app/Models/Traits/HasScoring.php b/app/Models/Traits/HasScoring.php index 878e0e82..07c30807 100644 --- a/app/Models/Traits/HasScoring.php +++ b/app/Models/Traits/HasScoring.php @@ -21,15 +21,15 @@ public function getFormattedScoreAttribute(): string public function getVictoryColor(): string { if ($this->outcome->is(Outcome::WIN())) { - return 'has-background-success-light'; + return 'has-background-success-soft'; } if ($this->outcome->is(Outcome::LOSS())) { - return 'has-background-warning-light'; + return 'has-background-warning-soft'; } if ($this->outcome->is(Outcome::LEFT())) { - return 'has-background-danger-light'; + return 'has-background-danger-soft'; } return ''; diff --git a/resources/views/livewire/game-custom-history-table.blade.php b/resources/views/livewire/game-custom-history-table.blade.php index a12db202..63c7bb26 100644 --- a/resources/views/livewire/game-custom-history-table.blade.php +++ b/resources/views/livewire/game-custom-history-table.blade.php @@ -59,7 +59,7 @@