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: fix green theme

Brad Barbin4ef456fbe118
diff --git a/packages/react/src/Button.tsx b/packages/react/src/Button.tsx
index e309b1b516..b89abd2f3e 100644
--- a/packages/react/src/Button.tsx
+++ b/packages/react/src/Button.tsx
@@ -17,7 +17,7 @@ export const buttonVariants = cva(
variants: {
variant: {
primary:
- "bg-gradient-to-br from-primary/90 to-primary text-white dark:text-black hover:bg-primary/90 saturate-[105%] shadow-[inset_0px_0.5px_0px_rgb(255_255_255_/_0.32)]",
+ "bg-gradient-to-br from-primary/90 to-primary text-primary-foreground hover:bg-primary/90 saturate-[105%] shadow-[inset_0px_0.5px_0px_rgb(255_255_255_/_0.32)]",
active:
"bg-active text-active-foreground hover:bg-active/90 hover:text-active-foreground shadow-button-base",
secondary:
diff --git a/packages/utils/src/themes.ts b/packages/utils/src/themes.ts
index f46161aef5..959af44848 100644
--- a/packages/utils/src/themes.ts
+++ b/packages/utils/src/themes.ts
@@ -292,48 +292,48 @@ export const themes = [
cssVars: {
light: {
background: "0 0% 100%",
- foreground: "240 10% 3.9%",
+ foreground: "151 10% 3.9%",
card: "0 0% 100%",
- "card-foreground": "240 10% 3.9%",
+ "card-foreground": "151 10% 3.9%",
popover: "0 0% 100%",
- "popover-foreground": "240 10% 3.9%",
+ "popover-foreground": "151 10% 3.9%",
primary: "151 47% 40%",
- "primary-foreground": "355.7 100% 97.3%",
- active: "240 0% 96%",
+ "primary-foreground": "151 100% 97.3%",
+ active: "151 0% 96%",
"active-foreground": "0 0% 4.1%",
- secondary: "240 4.8% 95.9%",
- "secondary-foreground": "240 5.9% 10%",
- muted: "240 4.8% 95.9%",
- "muted-foreground": "240 3.8% 46.1%",
- accent: "240 4.8% 95.9%",
- "accent-foreground": "240 5.9% 10%",
+ 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%",
destructive: "0 84.2% 60.2%",
"destructive-foreground": "0 0% 98%",
- border: "240 5.9% 90%",
- input: "240 5.9% 90%",
+ border: "151 5.9% 90%",
+ input: "151 5.9% 90%",
ring: "151 47% 40%",
},
dark: {
background: "20 14.3% 6.1%",
foreground: "0 0% 95%",
- popover: "240 0% 9%",
- "popover-foreground": "240 0% 95%",
- card: "240 0% 9%",
- "card-foreground": "2400 0% 95%",
+ popover: "151 0% 9%",
+ "popover-foreground": "151 0% 95%",
+ card: "151 0% 9%",
+ "card-foreground": "151 0% 95%",
primary: "142.1 87.6% 63.3%",
"primary-foreground": "144.9 80.4% 10%",
active: "137 18% 15%",
"active-foreground": "142.1 87.6% 63.3%",
- secondary: "240 3.7% 15.9%",
+ secondary: "151 3.7% 15.9%",
"secondary-foreground": "0 0% 98%",
- muted: "240 0% 15%",
- "muted-foreground": "240 5% 64.9%",
- accent: "240 6.5% 15.1%",
+ muted: "151 0% 15%",
+ "muted-foreground": "151 5% 64.9%",
+ accent: "151 6.5% 15.1%",
"accent-foreground": "0 0% 98%",
destructive: "0 62.8% 30.6%",
"destructive-foreground": "0 85.7% 97.3%",
- border: "240 3.7% 15.9%",
- input: "240 3.7% 15.9%",
+ border: "151 3.7% 15.9%",
+ input: "151 3.7% 15.9%",
ring: "142.4 71.8% 29.2%",
},
},