Skip to content

Open-source status page, incident response and uptime monitoring

chore: form card info variant (#1411)

Maximilian Kaske0cb1c224cf57
diff --git a/apps/dashboard/src/components/forms/form-card.tsx b/apps/dashboard/src/components/forms/form-card.tsx
index 1baf5130e..31e297b0b 100644
--- a/apps/dashboard/src/components/forms/form-card.tsx
+++ b/apps/dashboard/src/components/forms/form-card.tsx
@@ -19,6 +19,7 @@ const formCardVariants = cva(
variant: {
default: "",
destructive: "border-destructive",
+ info: "border-info",
},
defaultVariants: {
variant: "default",
@@ -103,6 +104,7 @@ const formCardFooterVariants = cva(
variant: {
default: "",
destructive: "border-destructive bg-destructive/5",
+ info: "border-info bg-info/5",
},
defaultVariants: {
variant: "default",
diff --git a/apps/dashboard/src/components/forms/status-page/form-configuration.tsx b/apps/dashboard/src/components/forms/status-page/form-configuration.tsx
index a9c90e84f..126b7b2d2 100644
--- a/apps/dashboard/src/components/forms/status-page/form-configuration.tsx
+++ b/apps/dashboard/src/components/forms/status-page/form-configuration.tsx
@@ -146,7 +146,7 @@ export function FormConfiguration({
<>
<Form {...form}>
<form id="redesign" onSubmit={form.handleSubmit(submitAction)}>
- <FormCard>
+ <FormCard variant="info">
<FormCardHeader>
<FormCardTitle>Status Page Redesign (beta)</FormCardTitle>
<FormCardDescription>
@@ -427,7 +427,7 @@ export function FormConfiguration({
</FormCardContent>
</>
)}
- <FormCardFooter>
+ <FormCardFooter variant="info">
<FormCardFooterInfo>
Learn more about{" "}
<Link