redone 12.3

This commit is contained in:
Naser Mansour
2026-01-04 02:04:03 +02:00
parent 1796bdb51e
commit 204c73646d
17 changed files with 139 additions and 99 deletions
+3 -3
View File
@@ -5,7 +5,7 @@
])
@php
$classes = 'bg-off-white rounded-lg p-6';
$classes = 'bg-card rounded-lg p-6';
// Variant-based shadow (default uses custom shadow from specs: 0 2px 8px rgba(0,0,0,0.1))
$classes .= match($variant) {
@@ -18,9 +18,9 @@
$classes .= ' hover:shadow-card-hover hover:-translate-y-0.5 transition-all duration-200 cursor-pointer';
}
// Light Olive highlight border (uses border-s for RTL support)
// Gold Light highlight border (uses border-s for RTL support)
if ($highlight) {
$classes .= ' border-s-4 border-accent';
$classes .= ' border-s-4 border-cta-light';
}
@endphp
@@ -8,8 +8,8 @@
<x-ui.card>
<div class="flex items-center gap-4">
@if($icon)
<div class="p-3 bg-accent/10 rounded-lg">
<flux:icon :name="$icon" class="w-6 h-6 text-primary" />
<div class="p-3 bg-cta-light/20 rounded-lg">
<flux:icon :name="$icon" class="w-6 h-6 text-cta" />
</div>
@endif
<div>