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: update green theme color in light mode

Brad Barbinfcd08798defe
diff --git a/apps/carbon/app/components/Form/ConversionFactor.tsx b/apps/carbon/app/components/Form/ConversionFactor.tsx
index ed06027db0..b6c8be6f2d 100644
--- a/apps/carbon/app/components/Form/ConversionFactor.tsx
+++ b/apps/carbon/app/components/Form/ConversionFactor.tsx
@@ -174,7 +174,7 @@ const ConversionFactor = forwardRef<
<HStack className="w-full justify-around">
<VStack>
<NumberField
- value={1 / conversionFactor}
+ value={conversionFactor}
onChange={onPurchaseUnitChange}
>
<NumberInputGroup className="relative">
@@ -216,7 +216,7 @@ const ConversionFactor = forwardRef<
</VStack>
<VStack>
<NumberField
- value={conversionFactor}
+ value={1 / conversionFactor}
onChange={onInventoryUnitChange}
>
<NumberInputGroup className="relative">
diff --git a/packages/utils/src/themes.ts b/packages/utils/src/themes.ts
index 7907d6b4d6..4699919650 100644
--- a/packages/utils/src/themes.ts
+++ b/packages/utils/src/themes.ts
@@ -265,7 +265,7 @@ export const themes = [
name: "green",
label: "Green",
activeColor: {
- light: "142.1 76.2% 36.3%",
+ light: "151 76.2% 36.3%",
dark: "142.1 70.6% 45.3%",
},
cssVars: {
@@ -276,7 +276,7 @@ export const themes = [
"card-foreground": "240 10% 3.9%",
popover: "0 0% 100%",
"popover-foreground": "240 10% 3.9%",
- primary: "142.1 76.2% 36.3%",
+ primary: "151 47% 40%",
"primary-foreground": "355.7 100% 97.3%",
secondary: "240 4.8% 95.9%",
"secondary-foreground": "240 5.9% 10%",
@@ -288,7 +288,7 @@ export const themes = [
"destructive-foreground": "0 0% 98%",
border: "240 5.9% 90%",
input: "240 5.9% 90%",
- ring: "142.1 76.2% 36.3%",
+ ring: "151 47% 40%",
},
dark: {
background: "20 14.3% 6.1%",