mirror of
https://github.com/Afilmory/afilmory
synced 2026-04-24 23:05:05 +00:00
feat: enhance Sonner component with toast functionality
- Imported `toast` from 'sonner' to enable toast notifications. - Updated styles for the toast icon to improve visual consistency and responsiveness. Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
@@ -34,7 +34,8 @@ const toastStyles = {
|
||||
flex-1 min-w-0
|
||||
`,
|
||||
icon: tw`
|
||||
flex-shrink-0 mt-0.5 size-5
|
||||
shrink-0 mt-0.5 size-5
|
||||
relative
|
||||
[li[data-type="success"]_&]:text-green
|
||||
[li[data-type="error"]_&]:text-red
|
||||
[li[data-type="warning"]_&]:text-orange
|
||||
|
||||
Reference in New Issue
Block a user