Skip to content

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.

style: remove darker background in dark mode

Brad Barbin27a01258c2a3
diff --git a/apps/carbon/app/routes/x+/_index.tsx b/apps/carbon/app/routes/x+/_index.tsx
index 57e778fffa..0ada013d21 100644
--- a/apps/carbon/app/routes/x+/_index.tsx
+++ b/apps/carbon/app/routes/x+/_index.tsx
@@ -23,7 +23,7 @@ export default function AppIndexRoute() {
);
return (
- <div className="p-8 w-full h-full bg-muted dark:bg-background">
+ <div className="p-8 w-full h-full bg-muted">
<Heading size="h3">Hello, {user.firstName}</Heading>
<Subheading>{formatter.format(date)}</Subheading>
<Hr />
diff --git a/apps/carbon/app/routes/x+/_layout.tsx b/apps/carbon/app/routes/x+/_layout.tsx
index 1baa581861..b0afac0f0d 100644
--- a/apps/carbon/app/routes/x+/_layout.tsx
+++ b/apps/carbon/app/routes/x+/_layout.tsx
@@ -140,7 +140,7 @@ export default function AuthenticatedRoute() {
<PrimaryNavigation />
<div className="flex w-full h-full">
<div className="w-full h-full flex-1 overflow-hidden">
- <main className="h-full flex flex-col flex-1 max-w-[100vw] sm:max-w-[calc(100vw-56px)] overflow-x-hidden bg-muted dark:bg-background">
+ <main className="h-full flex flex-col flex-1 max-w-[100vw] sm:max-w-[calc(100vw-56px)] overflow-x-hidden bg-muted">
<Topbar />
<main className="flex-1 overflow-y-auto max-h-[calc(100vh-49px)]">
<Outlet />
diff --git a/apps/developers/app/routes/x+/_index.tsx b/apps/developers/app/routes/x+/_index.tsx
index fefd8f7290..d56e10f963 100644
--- a/apps/developers/app/routes/x+/_index.tsx
+++ b/apps/developers/app/routes/x+/_index.tsx
@@ -19,7 +19,7 @@ export default function AppIndexRoute() {
);
return (
- <div className="p-8 w-full h-full bg-muted dark:bg-background">
+ <div className="p-8 w-full h-full bg-muted">
<Heading size="h3">Hello, {user.firstName}</Heading>
<Subheading>{formatter.format(date)}</Subheading>
<Hr />
diff --git a/apps/developers/app/routes/x+/_layout.tsx b/apps/developers/app/routes/x+/_layout.tsx
index cb11682786..63fcf80407 100644
--- a/apps/developers/app/routes/x+/_layout.tsx
+++ b/apps/developers/app/routes/x+/_layout.tsx
@@ -89,7 +89,7 @@ export default function AuthenticatedRoute() {
<PrimaryNavigation />
<div className="flex w-full h-full">
<div className="w-full h-full flex-1 overflow-hidden">
- <main className="h-full flex flex-col flex-1 max-w-[100vw] sm:max-w-[calc(100vw-56px)] overflow-x-hidden bg-muted dark:bg-background">
+ <main className="h-full flex flex-col flex-1 max-w-[100vw] sm:max-w-[calc(100vw-56px)] overflow-x-hidden bg-muted">
<Topbar />
<main className="flex-1 overflow-y-auto max-h-[calc(100vh-49px)]">
<Outlet />
diff --git a/apps/mes/app/routes/_public+/_layout.tsx b/apps/mes/app/routes/_public+/_layout.tsx
index 28b11de595..07042a5ee7 100644
--- a/apps/mes/app/routes/_public+/_layout.tsx
+++ b/apps/mes/app/routes/_public+/_layout.tsx
@@ -6,7 +6,7 @@ import { Heading } from "@carbon/react";
export default function PublicRoute() {
return (
<div className="container relative h-full flex-col items-center justify-center grid lg:max-w-none lg:grid-cols-2 lg:px-0">
- <div className="relative hidden h-full flex-col bg-muted dark:bg-background p-10 lg:flex dark:border-r">
+ <div className="relative hidden h-full flex-col bg-muted p-10 lg:flex dark:border-r">
<div className="absolute inset-0 bg-zinc-900" />
<Heading
size="h1"