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:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user