Refactor modal close behavior and improve styling

- Changed modal close event from `@click.away` to `@click.self` for better control over closing modals.
- Updated various modal button styles for consistency and improved accessibility.
- Adjusted transition durations for modal animations to enhance user experience.
- Added aria-labels to close buttons for better screen reader support.
This commit is contained in:
2026-02-23 20:02:41 -05:00
parent f394483daa
commit af62a16354
45 changed files with 393 additions and 4700 deletions

View File

@@ -66,7 +66,7 @@
'warning' => 'text-yellow-600 dark:text-yellow-400',
'danger' => 'text-error',
'info' => 'text-info',
'muted' => 'text-secondary dark:text-gray-400',
'muted' => 'text-secondary',
];
$bgClasses = [
@@ -74,7 +74,7 @@
'warning' => 'bg-warning/15',
'danger' => 'bg-error/10',
'info' => 'bg-info/10',
'muted' => 'bg-neutral/20 dark:bg-gray-700',
'muted' => 'bg-neutral/20',
];
$dotClasses = [