@@ -9,19 +9,19 @@ const bannerVariants = cva(
99 {
1010 variants : {
1111 variant : {
12- default : 'border border-border bg-background shadow-sm hover:shadow-md dark:border-gray-900 dark:bg-gray-925 ' ,
12+ default : 'border border-border-default bg-surface-panel shadow-sm hover:shadow-md' ,
1313 gradient : [
14- 'cursor-pointer border border-gray-100 bg-white dark: border-gray-950 dark: bg-black ' ,
14+ 'cursor-pointer border border-border-subtle bg-surface-elevated ' ,
1515 'shadow-[-7px_-6px_42px_8px_rgb(75_225_226_/_28%),7px_6px_42px_8px_rgb(202_103_255_/_32%)]' ,
1616 'dark:shadow-[-7px_-6px_42px_8px_rgb(75_225_226_/_36%),7px_6px_42px_8px_rgb(202_103_255_/_38%)]' ,
1717 'hover:shadow-[-7px_-4px_42px_10px_rgb(75_225_226_/_38%),7px_8px_42px_10px_rgb(202_103_255_/_42%)]' ,
1818 'dark:hover:shadow-[-7px_-4px_42px_10px_rgb(75_225_226_/_50%),7px_8px_42px_10px_rgb(202_103_255_/_52%)]' ,
1919 'hover:translate-y-[-2px] hover:scale-[1.01]'
2020 ] ,
21- info : 'border border-blue-200 bg-blue-50 dark:border-blue-800 dark:bg-blue-950/30 ' ,
22- success : 'border border-green-200 bg-green-50 dark:border-green-800 dark:bg-green-950/30 ' ,
23- warning : 'border border-yellow-200 bg-yellow-50 dark:border-yellow-800 dark:bg-yellow-950/30 ' ,
24- destructive : 'bg-white shadow-sm dark:bg-gray-950 '
21+ info : 'border border-state-info/40 bg-state-info/10 ' ,
22+ success : 'border border-state-success/40 bg-state-success/10 ' ,
23+ warning : 'border border-state-warning/40 bg-state-warning/10 ' ,
24+ destructive : 'bg-surface-panel shadow-sm'
2525 } ,
2626 size : {
2727 sm : 'p-2 text-sm' ,
@@ -87,7 +87,7 @@ const Banner = React.forwardRef<HTMLDivElement, BannerProps>(
8787 { dismissible && (
8888 < Button
8989 aria-label = "Dismiss notification"
90- className = "absolute top-1 right-1 size-8 text-gray-600 dark: text-gray-500 dark: hover:text-gray-300 "
90+ className = "absolute top-1 right-1 size-8 text-text-secondary hover:text-text-primary "
9191 size = "icon"
9292 variant = "ghost"
9393 onClick = { handleDismiss }
0 commit comments