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: default to light mode and blue

Brad Barbin3ee544f72388
diff --git a/apps/erp/app/root.tsx b/apps/erp/app/root.tsx
index 9160ef6b00..fbea35a88b 100644
--- a/apps/erp/app/root.tsx
+++ b/apps/erp/app/root.tsx
@@ -102,8 +102,8 @@ export async function action({ request }: ActionFunctionArgs) {
export function Document({
children,
title = "Carbon",
- mode = "dark",
- theme = "zinc",
+ mode = "light",
+ theme = "blue",
}: {
children: React.ReactNode;
title?: string;
@@ -217,7 +217,7 @@ export function ErrorBoundary() {
return (
<Document title="Error!">
- <div className="dark">
+ <div className="light">
<div className="flex flex-col w-full h-screen bg-zinc-900 items-center justify-center space-y-4 ">
<img
src="/carbon-logo-mark.svg"
diff --git a/apps/mes/app/root.tsx b/apps/mes/app/root.tsx
index 8e2a05e16c..7df5af7c1c 100644
--- a/apps/mes/app/root.tsx
+++ b/apps/mes/app/root.tsx
@@ -101,8 +101,8 @@ export async function action({ request }: ActionFunctionArgs) {
function Document({
children,
title = "Carbon",
- mode = "dark",
- theme = "zinc",
+ mode = "light",
+ theme = "blue",
}: {
children: React.ReactNode;
title?: string;
diff --git a/apps/starter/app/root.tsx b/apps/starter/app/root.tsx
index 05364baa68..526dfd40c9 100644
--- a/apps/starter/app/root.tsx
+++ b/apps/starter/app/root.tsx
@@ -99,8 +99,8 @@ export async function action({ request }: ActionFunctionArgs) {
function Document({
children,
title = "Carbon",
- mode = "dark",
- theme = "zinc",
+ mode = "light",
+ theme = "blue",
}: {
children: React.ReactNode;
title?: string;
diff --git a/packages/utils/src/themes.ts b/packages/utils/src/themes.ts
index 74be8568db..d29361d125 100644
--- a/packages/utils/src/themes.ts
+++ b/packages/utils/src/themes.ts
@@ -293,26 +293,26 @@ export const themes = [
cssVars: {
light: {
background: "0 0% 100%",
- foreground: "151 10% 3.9%",
+ foreground: "171 10% 3.9%",
card: "0 0% 100%",
- "card-foreground": "151 10% 3.9%",
+ "card-foreground": "171 10% 3.9%",
popover: "0 0% 100%",
- "popover-foreground": "151 10% 3.9%",
- primary: "151 47% 40%",
- "primary-foreground": "151 100% 97.3%",
- active: "151 0% 96%",
+ "popover-foreground": "171 10% 3.9%",
+ primary: "171 62% 41%",
+ "primary-foreground": "171 100% 97.3%",
+ active: "171 0% 96%",
"active-foreground": "0 0% 4.1%",
- secondary: "151 4.8% 95.9%",
- "secondary-foreground": "151 5.9% 10%",
- muted: "151 4.8% 95.9%",
- "muted-foreground": "151 3.8% 46.1%",
- accent: "151 4.8% 95.9%",
- "accent-foreground": "151 5.9% 10%",
+ secondary: "171 4.8% 95.9%",
+ "secondary-foreground": "171 5.9% 10%",
+ muted: "171 4.8% 95.9%",
+ "muted-foreground": "171 3.8% 46.1%",
+ accent: "171 4.8% 95.9%",
+ "accent-foreground": "171 5.9% 10%",
destructive: "0 84.2% 60.2%",
"destructive-foreground": "0 0% 98%",
- border: "151 5.9% 90%",
- input: "151 5.9% 90%",
- ring: "151 47% 40%",
+ border: "171 5.9% 90%",
+ input: "171 5.9% 90%",
+ ring: "171 62% 41%",
},
dark: {
background: "20 14.3% 6.1%",