| ... | @@ -46,11 +46,12 @@ export const ProviderStatusBanner = memo(function ProviderStatusBanner({ | ... | @@ -46,11 +46,12 @@ export const ProviderStatusBanner = memo(function ProviderStatusBanner({ |
| 46 | <div className="pointer-events-auto mx-auto w-fit max-w-[calc(100%-2rem)] pt-3"> | 46 | <div className="pointer-events-auto mx-auto w-fit max-w-[calc(100%-2rem)] pt-3"> |
| 47 | <div | 47 | <div |
| 48 | className={cn( | 48 | className={cn( |
| 49 | "relative inline-flex items-center gap-3 rounded-xl border py-3 ps-3.5 pe-10 text-card-foreground text-sm", | 49 | "alert-glass relative inline-flex items-center gap-3 rounded-xl border py-3 ps-3.5 pe-10 text-card-foreground text-sm", |
| 50 | status.status === "warning" | 50 | status.status === "warning" |
| 51 | ? "border-warning/32 bg-warning/4 [&_svg]:text-warning" | 51 | ? "border-warning/32 [&_svg]:text-warning" |
| 52 | : "border-destructive/32 bg-destructive/4 text-destructive-foreground [&_svg]:text-destructive", | 52 | : "border-destructive/32 text-destructive-foreground [&_svg]:text-destructive", |
| 53 | )} | 53 | )} |
| | 54 | data-variant={status.status === "warning" ? "warning" : "error"} |
| 54 | role="alert" | 55 | role="alert" |
| 55 | > | 56 | > |
| 56 | <InfoIcon className="size-4 shrink-0" aria-hidden /> | 57 | <InfoIcon className="size-4 shrink-0" aria-hidden /> |