Skip to content

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

174 B
Raw Blame
export function metricColor(value: number): string {
  if (value >= 90) return 'text-destructive'
  if (value >= 80) return 'text-warning'
  return 'text-foreground-light'
}