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.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
style: badges and enumerables
Brad Barbinfbe54951fe60
diff --git a/apps/erp/app/components/Enumerable.tsx b/apps/erp/app/components/Enumerable.tsxindex 5e607e45aa..f91dd85cdf 100644--- a/apps/erp/app/components/Enumerable.tsx+++ b/apps/erp/app/components/Enumerable.tsx@@ -15,7 +15,7 @@ const Enumerable = ({ value, color, ...props }: EnumerableProps) => {const style = color ? getColor(color, mode) : getColorByValue(value, mode);return (- <Badge style={style} {...props}>+ <Badge style={{ ...style, borderColor: `${style.color}33` }} {...props}>{value}</Badge>);diff --git a/packages/react/src/Badge.tsx b/packages/react/src/Badge.tsxindex e5fe464646..445bf7fe40 100644--- a/packages/react/src/Badge.tsx+++ b/packages/react/src/Badge.tsx@@ -11,7 +11,7 @@ import { LuX } from "react-icons/lu";import { cn } from "./utils/cn";const badgeVariants = cva(- "inline-flex items-center rounded-md px-2 min-h-[1.25rem] font-medium transition-colors border focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 font-bold text-[11px] truncate tracking-tight whitespace-nowrap",+ "inline-flex items-center rounded-md px-2 min-h-[1.25rem] font-medium transition-colors border focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 font-bold text-[11px] uppercase truncate tracking-tight whitespace-nowrap",{variants: {variant: {