1
This commit is contained in:
@@ -32,10 +32,10 @@ const toastVariants = cva(
|
||||
error: "error border-[#D8341E] bg-[#FFF2F0] self-end",
|
||||
},
|
||||
message: {
|
||||
info: "shadow-xl bg-[#fff] self-center",
|
||||
success: "shadow-xl bg-[#fff] self-center",
|
||||
warning: "shadow-xl bg-[#fff] self-center",
|
||||
error: "shadow-xl bg-[#fff] self-center",
|
||||
info: "shadow-xl bg-[#333] self-center",
|
||||
success: "shadow-xl bg-[#333] self-center",
|
||||
warning: "shadow-xl bg-[#333] self-center",
|
||||
error: "shadow-xl bg-[#333] self-center",
|
||||
}
|
||||
},
|
||||
defaultVariants: {},
|
||||
@@ -99,7 +99,7 @@ const ToastTitle = React.forwardRef<
|
||||
>(({ className, ...props }, ref) => (
|
||||
<ToastPrimitives.Title
|
||||
ref={ref}
|
||||
className={cname("text-sm font-semibold [&+div]:text-xs group-[.info]:text-[#024FE5] group-[.success]:text-[#0BA95D] group-[.warning]:text-[#EA991F] group-[.error]:text-[#D8341E]", className)}
|
||||
className={cname("text-sm font-semibold text-[#fff] [&+div]:text-xs group-[.info]:text-[#fff] group-[.success]:text-[#fff] group-[.warning]:text-[#fff] group-[.error]:text-[#fff]", className)}
|
||||
{...props}
|
||||
/>
|
||||
))
|
||||
@@ -111,7 +111,7 @@ const ToastDescription = React.forwardRef<
|
||||
>(({ className, ...props }, ref) => (
|
||||
<ToastPrimitives.Description
|
||||
ref={ref}
|
||||
className={cname("text-sm opacity-90", className)}
|
||||
className={cname("text-sm text-[#999]", className)}
|
||||
{...props}
|
||||
/>
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user