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: active color for violet theme

Brad Barbine5e51fe9ad3d
diff --git a/packages/react/src/Switch.tsx b/packages/react/src/Switch.tsx
index a7eb817084..a9ee7c9a72 100644
--- a/packages/react/src/Switch.tsx
+++ b/packages/react/src/Switch.tsx
@@ -37,7 +37,7 @@ const Switch = forwardRef<
return (
<SwitchPrimitives.Root
- className={cn("group", container, className)}
+ className={cn("group focus-visible:outline-none", container, className)}
{...props}
ref={ref}
>
diff --git a/packages/utils/src/themes.ts b/packages/utils/src/themes.ts
index 16d8a83a60..da87120830 100644
--- a/packages/utils/src/themes.ts
+++ b/packages/utils/src/themes.ts
@@ -466,7 +466,7 @@ export const themes = [
"popover-foreground": "224 71.4% 4.1%",
primary: "252.1 83.3% 47.8%",
"primary-foreground": "210 20% 98%",
- active: "224 71.4% 4.1%",
+ active: "0 0% 32.2%",
"active-foreground": "0 0% 98%",
secondary: "220 14.3% 95.9%",
"secondary-foreground": "220.9 39.3% 11%",
@@ -481,16 +481,16 @@ export const themes = [
ring: "262.1 83.3% 57.8%",
},
dark: {
- background: "224 41.4 6.1%",
- foreground: "210 20% 98%",
- card: "224 41.4 8.9%",
+ background: "244 41.4 6.1%",
+ foreground: "240 20% 98%",
+ card: "244 41.4 8.9%",
"card-foreground": "210 20% 98%",
- popover: "224 41.4 8.9%",
+ popover: "244 41.4 8.9%",
"popover-foreground": "210 20% 98%",
- primary: "253.4 70% 40.4%",
- "primary-foreground": "210 20% 98%",
- active: "224 71.4% 4.1%",
- "active-foreground": "0 0% 98%",
+ active: "253.4 70% 40.4%",
+ "active-foreground": "210 20% 98%",
+ primary: "263.4 70% 50.4%",
+ "primary-foreground": "253.4 70% 98%",
secondary: "215 27.9% 16.9%",
"secondary-foreground": "210 20% 98%",
muted: "215 27.9% 16.9%",