refactor: Update UI components to TailAdmin theme

- Changed badge, button, card, dropdown, input, modal, select, table, tabs, toggle, and tooltip components to align with the TailAdmin design system.
- Updated class names and styles for consistency across components.
- Enhanced accessibility and responsiveness in various components.
- Improved hover and focus states for better user experience.
This commit is contained in:
2025-12-17 12:07:54 -05:00
parent 5004408751
commit 7a089f53e2
15 changed files with 184 additions and 180 deletions

View File

@@ -1,5 +1,5 @@
{{--
Table Data Cell Component - shadcn-style
Table Data Cell Component - TailAdmin style
--}}
@props([
@@ -20,11 +20,11 @@
<td
{{ $attributes->class([
'p-4 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]',
'px-5 py-4 text-theme-sm text-gray-700 dark:text-gray-300',
$alignClass,
'whitespace-nowrap' => $nowrap,
'text-muted-foreground' => $muted,
'font-medium' => $strong,
'text-gray-500 dark:text-gray-400' => $muted,
'font-medium text-gray-800 dark:text-white/90' => $strong,
]) }}
>
{{ $slot }}