color manual fixing
This commit is contained in:
@@ -13,14 +13,14 @@
|
||||
</div>
|
||||
@endif
|
||||
<div>
|
||||
<div class="text-2xl font-bold text-text">{{ $value }}</div>
|
||||
<div class="text-sm text-text/70">{{ $label }}</div>
|
||||
<div class="text-2xl font-bold text-body">{{ $value }}</div>
|
||||
<div class="text-sm text-body/70">{{ $label }}</div>
|
||||
@if($trend !== null)
|
||||
@php
|
||||
$trendClass = match(true) {
|
||||
$trend > 0 => 'text-success',
|
||||
$trend < 0 => 'text-danger',
|
||||
default => 'text-text/50',
|
||||
default => 'text-body/50',
|
||||
};
|
||||
$trendPrefix = $trend > 0 ? '+' : '';
|
||||
@endphp
|
||||
|
||||
Reference in New Issue
Block a user