The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix(design-system): keep Alert variant text foreground explicit (#46050)
Danny White09bbb7c323b0
diff --git a/packages/ui/src/components/shadcn/ui/alert.tsx b/packages/ui/src/components/shadcn/ui/alert.tsxindex f91882a8752..56e00a1b8fc 100644--- a/packages/ui/src/components/shadcn/ui/alert.tsx+++ b/packages/ui/src/components/shadcn/ui/alert.tsx@@ -16,9 +16,9 @@ export const alertVariants = cva(default:'bg-surface-200/25 border-default text-foreground [&>svg]:text-background [&>svg]:bg-foreground',destructive:- 'bg-destructive-200 border-destructive-400 [&>svg]:text-destructive-200 [&>svg]:bg-destructive-600',+ 'bg-destructive-200 border-destructive-400 text-foreground [&>svg]:text-destructive-200 [&>svg]:bg-destructive-600',warning:- 'bg-warning-200 border-warning-400 [&>svg]:text-warning-200 [&>svg]:bg-warning-600',+ 'bg-warning-200 border-warning-400 text-foreground [&>svg]:text-warning-200 [&>svg]:bg-warning-600',},},defaultVariants: {