refactor: update card component styling for improved consistency and alignment

This commit is contained in:
2025-12-17 14:51:49 -05:00
parent c495fd8244
commit cd5f9a4cd6

View File

@@ -17,9 +17,9 @@
])
@php
$cardClasses = 'bg-background-secondary rounded-xl border border-neutral/20 shadow-sm transition-all duration-200';
$cardClasses = 'bg-white dark:bg-gray-900 rounded-xl border border-gray-200 dark:border-gray-800 shadow-sm transition-all duration-200';
if ($href || $clickable) {
$cardClasses .= ' hover:shadow-md hover:border-primary/30 cursor-pointer';
$cardClasses .= ' hover:shadow-md hover:border-gray-300 dark:hover:border-gray-700 cursor-pointer';
}
$paddingClasses = $compact ? 'p-4' : 'p-5';