mirror of
https://github.com/Mail-0/Zero.git
synced 2026-07-01 08:16:28 +00:00
# Enhanced Toast Component UI and Functionality
## Description
This PR enhances the toast component's UI and functionality by:
1. Renaming `CustomToaster` to `Toaster` for better semantic clarity
2. Adding a loading icon using Lucide's `Loader2` component with animation
3. Improving toast styling with better padding, rounded corners, and proper dark mode support
5. Refining the action button styling with proper flex layout and gap spacing
## Type of Change
- [x] 🎨 UI/UX improvement
## Areas Affected
- [x] User Interface/Experience
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Added a loading icon to the loading toast notification for improved user feedback.
- Updated the "Undo" action in persistent toast notifications to include an icon for better visual clarity.
- **Style**
- Refreshed toast notification styles, including updated colors, padding, and button layouts for a more polished appearance and improved dark mode support.
- **Refactor**
- Renamed the toast component for consistency across the app.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->