Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
style(erp): themed background on module dashboard pages (#1457)
Brad Barbin21c2d5c92ae6
diff --git a/apps/erp/app/routes/x+/production+/_index.tsx b/apps/erp/app/routes/x+/production+/_index.tsxindex 93f5a2701b..e4690d7997 100644--- a/apps/erp/app/routes/x+/production+/_index.tsx+++ b/apps/erp/app/routes/x+/production+/_index.tsx@@ -308,7 +308,7 @@ export default function ProductionDashboard() {}, [kpiFetcher.data?.data]);return (- <div className="flex flex-col gap-4 w-full p-4 h-[calc(100dvh-var(--header-height))] overflow-y-auto scrollbar-thin scrollbar-thumb-rounded-full scrollbar-thumb-muted-foreground">+ <div className="flex flex-col gap-4 w-full p-4 h-[calc(100dvh-var(--header-height))] overflow-y-auto scrollbar-thin scrollbar-thumb-rounded-full scrollbar-thumb-muted-foreground bg-muted dark:bg-card"><div className="grid w-full gap-y-4 lg:gap-x-4 grid-cols-1 lg:grid-cols-6"><MetricCardclassName="col-span-3"diff --git a/apps/erp/app/routes/x+/purchasing+/_index.tsx b/apps/erp/app/routes/x+/purchasing+/_index.tsxindex ec525b5e7f..8bb6fce720 100644--- a/apps/erp/app/routes/x+/purchasing+/_index.tsx+++ b/apps/erp/app/routes/x+/purchasing+/_index.tsx@@ -394,7 +394,7 @@ export default function PurchaseDashboard() {}, [dateRange, kpiLabels, selectedKpiData.key]);return (- <div className="flex flex-col gap-4 w-full p-4 h-[calc(100dvh-var(--header-height))] overflow-y-auto scrollbar-thin scrollbar-thumb-rounded-full scrollbar-thumb-muted-foreground">+ <div className="flex flex-col gap-4 w-full p-4 h-[calc(100dvh-var(--header-height))] overflow-y-auto scrollbar-thin scrollbar-thumb-rounded-full scrollbar-thumb-muted-foreground bg-muted dark:bg-card"><div className="grid w-full gap-4 grid-cols-1 lg:grid-cols-3"><MetricCardicon={<LuPackageSearch />}diff --git a/apps/erp/app/routes/x+/quality+/_index.tsx b/apps/erp/app/routes/x+/quality+/_index.tsxindex 72ffc18b94..8283550114 100644--- a/apps/erp/app/routes/x+/quality+/_index.tsx+++ b/apps/erp/app/routes/x+/quality+/_index.tsx@@ -378,7 +378,7 @@ export default function QualityDashboard() {(kpiFetcher.data as any)?.meta?.qualityIssueTarget ?? qualityIssueTarget;return (- <div className="flex flex-col gap-4 w-full p-4 h-[calc(100dvh-var(--header-height))] overflow-y-auto scrollbar-thin scrollbar-thumb-rounded-full scrollbar-thumb-muted-foreground">+ <div className="flex flex-col gap-4 w-full p-4 h-[calc(100dvh-var(--header-height))] overflow-y-auto scrollbar-thin scrollbar-thumb-rounded-full scrollbar-thumb-muted-foreground bg-muted dark:bg-card">{/* KPI Cards */}<div className="grid w-full gap-4 grid-cols-1 sm:grid-cols-2 lg:grid-cols-4"><MetricCarddiff --git a/apps/erp/app/routes/x+/resources+/_index.tsx b/apps/erp/app/routes/x+/resources+/_index.tsxindex 1c271c7ac1..c8e169dacb 100644--- a/apps/erp/app/routes/x+/resources+/_index.tsx+++ b/apps/erp/app/routes/x+/resources+/_index.tsx@@ -352,7 +352,7 @@ export default function MaintenanceDashboard() {]);return (- <div className="flex flex-col gap-4 w-full p-4 h-[calc(100dvh-var(--header-height))] overflow-y-auto scrollbar-thin scrollbar-thumb-rounded-full scrollbar-thumb-muted-foreground">+ <div className="flex flex-col gap-4 w-full p-4 h-[calc(100dvh-var(--header-height))] overflow-y-auto scrollbar-thin scrollbar-thumb-rounded-full scrollbar-thumb-muted-foreground bg-muted dark:bg-card"><div className="grid w-full gap-4 grid-cols-1 lg:grid-cols-3"><MetricCardicon={<LuWrench />}diff --git a/apps/erp/app/routes/x+/sales+/_index.tsx b/apps/erp/app/routes/x+/sales+/_index.tsxindex 0ed89f7a6f..72c68b5e0d 100644--- a/apps/erp/app/routes/x+/sales+/_index.tsx+++ b/apps/erp/app/routes/x+/sales+/_index.tsx@@ -380,7 +380,7 @@ export default function SalesDashboard() {]);return (- <div className="flex flex-col gap-4 w-full p-4 h-[calc(100dvh-var(--header-height))] overflow-y-auto scrollbar-thin scrollbar-thumb-rounded-full scrollbar-thumb-muted-foreground">+ <div className="flex flex-col gap-4 w-full p-4 h-[calc(100dvh-var(--header-height))] overflow-y-auto scrollbar-thin scrollbar-thumb-rounded-full scrollbar-thumb-muted-foreground bg-muted dark:bg-card"><div className="grid w-full gap-4 grid-cols-1 lg:grid-cols-3"><MetricCardicon={<RiProgress2Line />}diff --git a/packages/utils/src/themes.ts b/packages/utils/src/themes.tsindex 3b94509cf4..862b5a6290 100644--- a/packages/utils/src/themes.ts+++ b/packages/utils/src/themes.ts@@ -22,7 +22,7 @@ export const themes = ["primary-foreground": "0 0% 98%",secondary: "220 4.8% 95.9%","secondary-foreground": "220 5.9% 10%",- muted: "220 4.8% 95.9%",+ muted: "220 4.8% 92.9%","muted-foreground": "220 3.8% 46.1%",accent: "220 4.8% 95.9%","accent-foreground": "220 5.9% 10%",@@ -83,7 +83,7 @@ export const themes = ["active-foreground": "0 0% 12%",secondary: "0 0% 96%","secondary-foreground": "0 0% 9%",- muted: "0 0% 85%",+ muted: "0 0% 92.9%","muted-foreground": "0 0% 45.1%",accent: "0 0% 96%","accent-foreground": "0 0% 9%",@@ -143,7 +143,7 @@ export const themes = ["active-foreground": "0 72% 50%",secondary: "0 0% 96.1%","secondary-foreground": "0 0% 9%",- muted: "0 0% 96.1%",+ muted: "0 0% 92.9%","muted-foreground": "0 0% 45.1%",accent: "0 0% 96.1%","accent-foreground": "0 0% 9%",@@ -203,7 +203,7 @@ export const themes = ["active-foreground": "17 88% 51%",secondary: "24 4.8% 95.9%","secondary-foreground": "24 9.8% 10%",- muted: "24 4.8% 95.9%",+ muted: "24 4.8% 92.9%","muted-foreground": "25 5.3% 44.7%",accent: "24 4.8% 95.9%","accent-foreground": "24 9.8% 10%",@@ -263,7 +263,7 @@ export const themes = ["active-foreground": "47.9 95.8% 4%",secondary: "47.9 4.8% 95.9%","secondary-foreground": "24 9.8% 10%",- muted: "47.9 4.8% 95.9%",+ muted: "47.9 4.8% 92.9%","muted-foreground": "25 5.3% 44.7%",accent: "60 4.8% 95.9%","accent-foreground": "24 9.8% 10%",@@ -325,7 +325,7 @@ export const themes = ["active-foreground": "171 62% 22%",secondary: "171 4.8% 95.9%","secondary-foreground": "171 5.9% 10%",- muted: "171 4.8% 95.9%",+ muted: "171 4.8% 92.9%","muted-foreground": "171 3.8% 46.1%",accent: "171 4.8% 95.9%","accent-foreground": "171 5.9% 10%",@@ -385,7 +385,7 @@ export const themes = ["active-foreground": "237 57 30%",secondary: "210 40% 96.1%","secondary-foreground": "237.2 47.4% 11.2%",- muted: "237 40% 96.1%",+ muted: "237 40% 92.9%","muted-foreground": "215.4 16.3% 46.9%",accent: "237 40% 96.1%","accent-foreground": "237.2 47.4% 11.2%",@@ -445,7 +445,7 @@ export const themes = ["active-foreground": "238 57% 44%",secondary: "220 14.3% 95.9%","secondary-foreground": "220.9 39.3% 11%",- muted: "238 57% 95.9%",+ muted: "238 57% 92.9%","muted-foreground": "238 8.9% 46.1%",accent: "238 33.3% 95.9%","accent-foreground": "220.9 39.3% 11%",