Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix(studio): use warning tokens for previously used JWT signing key badge (#45460)

Ali Waseem50ccd39b3183
diff --git a/apps/studio/components/interfaces/JwtSecrets/jwt.constants.ts b/apps/studio/components/interfaces/JwtSecrets/jwt.constants.ts
index 6d4c4a46116..ea7724a5895 100644
--- a/apps/studio/components/interfaces/JwtSecrets/jwt.constants.ts
+++ b/apps/studio/components/interfaces/JwtSecrets/jwt.constants.ts
@@ -12,7 +12,7 @@ export const statusLabels: Record<JWTSigningKey['status'], string> = {
export const statusColors: Record<JWTSigningKey['status'], string> = {
standby: 'bg-surface-300 text-foreground border border-foreground-muted',
in_use: 'bg-brand-200 text-brand-600 border-brand-500',
- previously_used: 'bg-purple-300 dark:bg-purple-100 text-purple-1200 border-purple-800',
+ previously_used: 'bg-warning-200 text-warning-600 border-warning-500',
revoked: 'bg-destructive-200 text-destructive-600 border-destructive-500',
}