π Laravel Toaster Magic v1.4 β Gradient Effects, Color Mode Fix & Asset Updates
This release brings exciting visual improvements with Gradient Effects, fixes for Color Mode, and reorganizes the asset directory structure for better maintainability and package publishing.
β What's New / Fixed:
-
π New Feature: Gradient Effects
- Enable
gradient_enable
in the config to add smooth gradient backgrounds to all toast notifications. - Works in combination with color mode for visually appealing and modern toast designs.
- Enable
-
π¨ Fixed Color Mode
- Resolved issues where
color_mode
did not apply the correct colors for some toast types (success
,error
,warning
,info
). - Ensures consistent visual feedback across all toast messages.
- Resolved issues where
-
π Asset Directory Updates
- Moved and reorganized package assets for better structure and easier publishing.
- Improves compatibility with Laravelβs
artisan vendor:publish
workflow.
-
π§Ή Other Improvements
- Minor code optimizations and cleanup to enhance stability and maintainability.
β Upgrade Guide:
- Update the package:
composer update devrabiul/laravel-toaster-magic
- (Optional) Clear config cache:
php artisan config:clear
- Enable gradient and color mode in your config file:
// config/laravel-toaster-magic.php
return [
'options' => [
'gradient_enable' => true,
'color_mode' => true,
// other options...
],
'livewire_enabled' => true,
'livewire_version' => 'v3',
];
- Publish updated assets if necessary:
php artisan vendor:publish --provider="Devrabiul\ToastMagic\ToastMagicServiceProvider"
β Special Thanks
Thanks to all contributors and community members for helping! β€οΈ
Happy Toasting! πβ¨