mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-10 23:59:45 +08:00
fix: Fix colored toast background variant selection
This commit is contained in:
parent
833fa467ba
commit
f4f6e4fdeb
@ -371,7 +371,7 @@ function toast(props: ToastProps) {
|
||||
toast: cn(
|
||||
'flex rounded-xs p-4 bg-background border-border border-[0.5px] shadow-lg items-center',
|
||||
props.button ? 'gap-3' : 'gap-4',
|
||||
props.colored && type !== 'custom' && toastBgColorVariants({ type }),
|
||||
props.colored && toastBgColorVariants({ type: props.type }),
|
||||
props.classNames?.toast
|
||||
),
|
||||
content: cn('flex flex-col', props.description && (props.button ? 'gap-1' : 'gap-2')),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user