优化提示框
This commit is contained in:
		
							parent
							
								
									36f917b70c
								
							
						
					
					
						commit
						63d8ef5897
					
				| @ -29,7 +29,7 @@ const toastVariants = cva( | |||||||
|   { |   { | ||||||
|     variants: { |     variants: { | ||||||
|       variant: { |       variant: { | ||||||
|         default: "border bg-background", |         default: "border bg-background text-foreground", | ||||||
|         destructive: |         destructive: | ||||||
|           "destructive group border-destructive bg-destructive text-destructive-foreground", |           "destructive group border-destructive bg-destructive text-destructive-foreground", | ||||||
|       }, |       }, | ||||||
| @ -49,7 +49,7 @@ const Toast = React.forwardRef< | |||||||
|     <ToastPrimitives.Root |     <ToastPrimitives.Root | ||||||
|       ref={ref} |       ref={ref} | ||||||
|       className={cn(toastVariants({ variant }),  |       className={cn(toastVariants({ variant }),  | ||||||
|         "min-w-[300px] max-w-[400px] bg-white dark:bg-slate-950", |         "min-w-[300px] max-w-[400px]", | ||||||
|         className |         className | ||||||
|       )} |       )} | ||||||
|       {...props} |       {...props} | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 tianyaxiang
						tianyaxiang