The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix(www): stop wrapping oklch semantic tokens in hsl() (#51161)
Danny White36364e7df319
diff --git a/apps/www/_blog/2025-12-17-building-chatgpt-apps-with-supabase.mdx b/apps/www/_blog/2025-12-17-building-chatgpt-apps-with-supabase.mdxindex b49c6cc5ab5..a405a1ba2e7 100644--- a/apps/www/_blog/2025-12-17-building-chatgpt-apps-with-supabase.mdx+++ b/apps/www/_blog/2025-12-17-building-chatgpt-apps-with-supabase.mdx@@ -194,7 +194,7 @@ const SupabaseStatusWidget: React.FC = () => {<div className="mb-6"><div className="flex items-center justify-between mb-2"><div>- <h2 className="text-3xl font-bold text-[hsl(var(--foreground))] mb-1">+ <h2 className="text-3xl font-bold text-foreground mb-1">Supabase Status</h2><p className="text-sm text-foreground-muted">diff --git a/apps/www/app/(products)/database/_components/FeaturesSection.tsx b/apps/www/app/(products)/database/_components/FeaturesSection.tsxindex 43b464f8c93..d85dc3ee53a 100644--- a/apps/www/app/(products)/database/_components/FeaturesSection.tsx+++ b/apps/www/app/(products)/database/_components/FeaturesSection.tsx@@ -162,7 +162,7 @@ function PostgresSkeleton() {viewBox="0 0 390 430"className="w-80 h-80 relative z-[5]"style={{- color: hovered ? 'hsl(var(--brand-default))' : 'hsl(var(--foreground-muted))',+ color: hovered ? 'hsl(var(--brand-default))' : 'var(--foreground-muted)',opacity: hovered ? 1 : 0.8,transition: 'color 0.5s, opacity 0.5s',}}diff --git a/apps/www/app/(products)/realtime/_components/FeaturesSection.tsx b/apps/www/app/(products)/realtime/_components/FeaturesSection.tsxindex 7dc72de5698..1f31b8f6938 100644--- a/apps/www/app/(products)/realtime/_components/FeaturesSection.tsx+++ b/apps/www/app/(products)/realtime/_components/FeaturesSection.tsx@@ -610,7 +610,7 @@ function BroadcastSkeleton() {<g key={i}><pathd={line.d}- stroke="hsl(var(--foreground-muted))"+ stroke="var(--foreground-muted)"strokeWidth="2"strokeLinecap="round"opacity="0.15"diff --git a/apps/www/app/(products)/storage/_components/FeaturesSection.tsx b/apps/www/app/(products)/storage/_components/FeaturesSection.tsxindex 24db2ceac62..b8abb4783c0 100644--- a/apps/www/app/(products)/storage/_components/FeaturesSection.tsx+++ b/apps/www/app/(products)/storage/_components/FeaturesSection.tsx@@ -69,7 +69,7 @@ function InteroperableSkeleton() {))}</div>- <div className="absolute left-0 top-1/2 flex h-[70px] w-[70px] -translate-y-1/2 items-center justify-center rounded-xl border border-border bg-surface-100/95 shadow-[0_2px_10px_hsl(var(--background-default)/0.15)]">+ <div className="absolute left-0 top-1/2 flex h-[70px] w-[70px] -translate-y-1/2 items-center justify-center rounded-xl border border-border bg-surface-100/95 shadow-[0_2px_10px_oklch(from_var(--background-default)_l_c_h/0.15)]"><div className="absolute inset-3 rounded-full border border-foreground-muted/15" /><div className="absolute inset-5 rounded-full border border-foreground-muted/10" /><svg@@ -88,7 +88,7 @@ function InteroperableSkeleton() {</svg></div>- <div className="absolute left-1/2 top-1/2 flex h-[92px] w-[108px] -translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-2xl border border-border bg-surface-100/95 shadow-[0_6px_18px_hsl(var(--background-default)/0.16)]">+ <div className="absolute left-1/2 top-1/2 flex h-[92px] w-[108px] -translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-2xl border border-border bg-surface-100/95 shadow-[0_6px_18px_oklch(from_var(--background-default)_l_c_h/0.16)]"><div className="absolute inset-3 rounded-[14px] border border-foreground-muted/10" /><div className="absolute size-12 rounded-full border border-foreground-muted/15" /><div className="absolute size-16 rounded-full border border-foreground-muted/8" />@@ -110,7 +110,7 @@ function InteroperableSkeleton() {</svg></div>- <div className="absolute right-0 top-1/2 flex h-[70px] w-[70px] -translate-y-1/2 items-center justify-center rounded-xl border border-border bg-surface-100/95 shadow-[0_2px_10px_hsl(var(--background-default)/0.15)]">+ <div className="absolute right-0 top-1/2 flex h-[70px] w-[70px] -translate-y-1/2 items-center justify-center rounded-xl border border-border bg-surface-100/95 shadow-[0_2px_10px_oklch(from_var(--background-default)_l_c_h/0.15)]"><div className="absolute inset-3 rounded-full border border-foreground-muted/15" /><div className="absolute inset-5 rounded-full border border-foreground-muted/10" /><svg@@ -171,12 +171,12 @@ function CDNSkeleton() {<div className="absolute left-1/2 top-1/2 z-10 -translate-x-1/2 -translate-y-1/2"><div className="pointer-events-none absolute left-1/2 top-1/2 -z-10 -translate-x-1/2 -translate-y-1/2">- <div className="absolute -left-[70px] top-1/2 h-[88px] w-[122px] -translate-y-1/2 rounded-[20px] border border-border bg-surface-100 shadow-[0_2px_10px_hsl(var(--background-default)/0.18)]" />- <div className="absolute -right-[70px] top-1/2 h-[88px] w-[122px] -translate-y-1/2 rounded-[20px] border border-border bg-surface-100 shadow-[0_2px_10px_hsl(var(--background-default)/0.18)]" />+ <div className="absolute -left-[70px] top-1/2 h-[88px] w-[122px] -translate-y-1/2 rounded-[20px] border border-border bg-surface-100 shadow-[0_2px_10px_oklch(from_var(--background-default)_l_c_h/0.18)]" />+ <div className="absolute -right-[70px] top-1/2 h-[88px] w-[122px] -translate-y-1/2 rounded-[20px] border border-border bg-surface-100 shadow-[0_2px_10px_oklch(from_var(--background-default)_l_c_h/0.18)]" /></div>- <div className="relative flex h-[116px] w-[116px] items-center justify-center rounded-[24px] border border-foreground/15 bg-surface-200/95 shadow-[0_8px_28px_hsl(var(--background-default)/0.24)]">- <div className="absolute inset-0 rounded-[24px] shadow-[inset_0_1px_0_hsl(var(--foreground-default)/0.06)]" />+ <div className="relative flex h-[116px] w-[116px] items-center justify-center rounded-[24px] border border-foreground/15 bg-surface-200/95 shadow-[0_8px_28px_oklch(from_var(--background-default)_l_c_h/0.24)]">+ <div className="absolute inset-0 rounded-[24px] shadow-[inset_0_1px_0_oklch(from_var(--foreground-default)_l_c_h/0.06)]" /><div className="absolute size-10 rounded-full bg-brand-default/15 blur-xl" /><svgwidth="48"diff --git a/apps/www/app/state-of-startups/components/SurveyCrossTabChart.tsx b/apps/www/app/state-of-startups/components/SurveyCrossTabChart.tsxindex 5001b30346a..e1df252b4f8 100644--- a/apps/www/app/state-of-startups/components/SurveyCrossTabChart.tsx+++ b/apps/www/app/state-of-startups/components/SurveyCrossTabChart.tsx@@ -37,7 +37,7 @@ const PAD_TOP = 24const PAD_BOTTOM = 72const ACCENT = 'hsl(var(--brand-default))'-const MUTED = 'hsl(var(--foreground-light))'+const MUTED = 'var(--foreground-light)'export function SurveyCrossTabChart({title,@@ -86,7 +86,7 @@ export function SurveyCrossTabChart({x2={W - PAD_RIGHT}y1={y(g)}y2={y(g)}- style={{ stroke: 'hsl(var(--border-muted))' }}+ style={{ stroke: 'var(--border-muted)' }}strokeWidth={1}/><textdiff --git a/apps/www/components/Partners/BackgroundPattern.tsx b/apps/www/components/Partners/BackgroundPattern.tsxindex 7315b8aa421..2ef32c721c9 100644--- a/apps/www/components/Partners/BackgroundPattern.tsx+++ b/apps/www/components/Partners/BackgroundPattern.tsx@@ -5,14 +5,14 @@ const BackgroundPattern = ({ className }: { className?: string }) => {<div className={cn('absolute inset-x-0 top-0 h-1/2 w-full', className)}><svgaria-hidden- className="pointer-events-none absolute inset-x-0 top-0 h-1/2 w-full dark:opacity-50 [radial-gradient(ellipse_70%_90%_at_50%_0%,black,transparent_70%)] [-webkit-mask-image:radial-gradient(ellipse_70%_90%_at_50%_0%,black,transparent_70%)]"+ className="pointer-events-none absolute inset-x-0 top-0 h-1/2 w-full text-foreground/20 dark:text-foreground/30 [-webkit-mask-image:radial-gradient(ellipse_70%_90%_at_50%_0%,black,transparent_70%)] [mask-image:radial-gradient(ellipse_70%_90%_at_50%_0%,black,transparent_70%)]"><defs><pattern id="partner-grid" width="30" height="30" patternUnits="userSpaceOnUse"><pathd="M30 0V30M0 30H30"fill="none"- stroke="hsl(var(--border-strong))"+ stroke="currentColor"strokeWidth="1"strokeDasharray="6 6"/>diff --git a/apps/www/components/Products/Functions/ParityImage.tsx b/apps/www/components/Products/Functions/ParityImage.tsxindex 913dc8ed8aa..6b9417247cc 100644--- a/apps/www/components/Products/Functions/ParityImage.tsx+++ b/apps/www/components/Products/Functions/ParityImage.tsx@@ -107,7 +107,7 @@ const ParityImage = ({ isHovered = false }: { isHovered?: boolean }) => (boxShadow: '0 0 12px 0 #3ecf8e40',}: {- border: '1px solid hsl(var(--border-default))',+ border: '1px solid var(--border-default)',boxShadow: 'none',}}@@ -127,7 +127,7 @@ const ParityImage = ({ isHovered = false }: { isHovered?: boolean }) => (boxShadow: '0 0 12px 0 #bda4ff40',}: {- border: '1px solid hsl(var(--border-default))',+ border: '1px solid var(--border-default)',boxShadow: 'none',}}diff --git a/apps/www/components/Products/Functions/QueryLogs.tsx b/apps/www/components/Products/Functions/QueryLogs.tsxindex 040b5a82268..f00c6bcf7c8 100644--- a/apps/www/components/Products/Functions/QueryLogs.tsx+++ b/apps/www/components/Products/Functions/QueryLogs.tsx@@ -120,7 +120,7 @@ const QueryLogs = ({ isActive, isInView }: { isActive?: boolean; isInView?: bool)}style={{background:- 'linear-gradient(to bottom, hsl(var(--background-surface-75)) 0%, transparent 100%)',+ 'linear-gradient(to bottom, var(--background-surface-75) 0%, transparent 100%)',}}/><div