@@ -30,9 +30,10 @@ const toastVariants = cva(
3030 {
3131 variants : {
3232 variant : {
33- default : 'border bg-background text-foreground' ,
33+ default :
34+ 'border border-[#3bff89ff] bg-[#3bff89ff]/10 text-foreground hover:shadow-[0_0_15px_rgba(59,255,137,0.3)] shadow-[0_0_5px_rgba(59,255,137,0.2)]' ,
3435 destructive :
35- 'destructive group border-destructive bg-destructive text-destructive-foreground '
36+ 'destructive group border-red-500 bg-red-500/10 text-red-500 hover:shadow-[0_0_15px_rgba(239,68,68,0.3)] shadow-[0_0_5px_rgba(239,68,68,0.2)] '
3637 }
3738 } ,
3839 defaultVariants : {
@@ -63,7 +64,7 @@ const ToastAction = React.forwardRef<
6364 < ToastPrimitives . Action
6465 ref = { ref }
6566 className = { cn (
66- 'inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive' ,
67+ 'inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-[#3bff89ff]/20 focus:outline-none focus:ring-2 focus:ring-[#3bff89ff] focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive' ,
6768 className
6869 ) }
6970 { ...props }
@@ -78,7 +79,7 @@ const ToastClose = React.forwardRef<
7879 < ToastPrimitives . Close
7980 ref = { ref }
8081 className = { cn (
81- 'absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600' ,
82+ 'absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-[#3bff89ff] focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600' ,
8283 className
8384 ) }
8485 toast-close = ""
@@ -95,7 +96,7 @@ const ToastTitle = React.forwardRef<
9596> ( ( { className, ...props } , ref ) => (
9697 < ToastPrimitives . Title
9798 ref = { ref }
98- className = { cn ( 'text-sm font-semibold' , className ) }
99+ className = { cn ( 'text-sm font-semibold text-[#3bff89ff] ' , className ) }
99100 { ...props }
100101 />
101102) ) ;
@@ -107,7 +108,7 @@ const ToastDescription = React.forwardRef<
107108> ( ( { className, ...props } , ref ) => (
108109 < ToastPrimitives . Description
109110 ref = { ref }
110- className = { cn ( 'text-sm opacity-90' , className ) }
111+ className = { cn ( 'text-sm opacity-90 font-medium ' , className ) }
111112 { ...props }
112113 />
113114) ) ;
0 commit comments