From 7b91e84204ea3493eb1f4f58363e6d6f8cb0ce30 Mon Sep 17 00:00:00 2001 From: Tony Lea Date: Fri, 16 Feb 2024 12:12:25 -0500 Subject: [PATCH] Adding some customizations to the toast component. This will now look better on dark mode --- stubs/class/resources/views/livewire/toast.blade.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stubs/class/resources/views/livewire/toast.blade.php b/stubs/class/resources/views/livewire/toast.blade.php index 2e6d681..16ef648 100644 --- a/stubs/class/resources/views/livewire/toast.blade.php +++ b/stubs/class/resources/views/livewire/toast.blade.php @@ -389,7 +389,7 @@ class="fixed block w-full group z-[99] sm:max-w-xs" deleteToastWithId(toast.id) }, 300); }, 5); - }, 4000); + }, 5000); " @mouseover="toastHovered=true" @mouseout="toastHovered=false" @@ -409,11 +409,11 @@ class="relative flex flex-col items-start shadow-[0_5px_15px_-3px_rgb(0_0_0_/_0. -

+

+ class="mt-1.5 text-xs leading-tight opacity-70 dark:text-white/80" x-text="toast.description">