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