Skip to content

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

Fix/build issue design system (#28989)

Jonathan Summers-Muir3bbdfe4fc18c
diff --git a/apps/design-system/__registry__/default/block/chart-bar-interactive.tsx b/apps/design-system/__registry__/default/block/chart-bar-interactive.tsx
index 54cff2219b7..34374419f59 100644
--- a/apps/design-system/__registry__/default/block/chart-bar-interactive.tsx
+++ b/apps/design-system/__registry__/default/block/chart-bar-interactive.tsx
@@ -141,10 +141,10 @@ export default function Component() {
<button
key={chart}
data-active={activeChart === chart}
- className="relative z-30 flex flex-1 flex-col justify-center gap-1 border-t px-6 py-4 text-left even:border-l data-[active=true]:bg-muted/50 sm:border-l sm:border-t-0 sm:px-8 sm:py-6"
+ className="relative z-30 flex flex-1 flex-col justify-center gap-1 border-t px-6 py-4 text-left even:border-l data-[active=true]:bg-surface-100 sm:border-l sm:border-t-0 sm:px-8 sm:py-6"
onClick={() => setActiveChart(chart)}
>
- <span className="text-xs text-muted-foreground">{chartConfig[chart].label}</span>
+ <span className="text-xs text-foreground-lighter">{chartConfig[chart].label}</span>
<span className="text-lg font-bold leading-none sm:text-3xl">
{total[key as keyof typeof total].toLocaleString()}
</span>
diff --git a/apps/design-system/__registry__/index.tsx b/apps/design-system/__registry__/index.tsx
index 6d6de5bf8b8..57cf860d20b 100644
--- a/apps/design-system/__registry__/index.tsx
+++ b/apps/design-system/__registry__/index.tsx
@@ -1952,17 +1952,6 @@ export const Index: Record<string, any> = {
subcategory: "undefined",
chunks: []
},
- "expanding-textarea-demo": {
- name: "expanding-textarea-demo",
- type: "docs:example",
- registryDependencies: undefined,
- component: React.lazy(() => import("@/registry/default/example/expanding-textarea-demo")),
- source: "",
- files: ["registry/default/example/expanding-textarea-demo.tsx"],
- category: "undefined",
- subcategory: "undefined",
- chunks: []
- },
"chart-bar-demo": {
name: "chart-bar-demo",
type: "components:example",
@@ -2029,6 +2018,17 @@ export const Index: Record<string, any> = {
subcategory: "undefined",
chunks: []
},
+ "expanding-textarea-demo": {
+ name: "expanding-textarea-demo",
+ type: "docs:example",
+ registryDependencies: undefined,
+ component: React.lazy(() => import("@/registry/default/example/expanding-textarea-demo")),
+ source: "",
+ files: ["registry/default/example/expanding-textarea-demo.tsx"],
+ category: "undefined",
+ subcategory: "undefined",
+ chunks: []
+ },
"chart-area-axes": {
name: "chart-area-axes",
type: "components:block",