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: little bits from campsite

Brad Barbinb1e947cb573b
diff --git a/packages/react/src/Badge.tsx b/packages/react/src/Badge.tsx
index e4e07e41e1..0de8418122 100644
--- a/packages/react/src/Badge.tsx
+++ b/packages/react/src/Badge.tsx
@@ -10,26 +10,26 @@ import { LuX } from "react-icons/lu";
import { cn } from "./utils/cn";
const badgeVariants = cva(
- "inline-flex items-center rounded-md border px-2.5 py-0.5 h-6 text-sm font-medium transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 truncate uppercase font-bold text-xs tracking-tight",
+ "inline-flex items-center rounded px-2.5 py-0.5 h-6 text-sm font-medium transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 truncate uppercase font-bold text-xs tracking-tight",
{
variants: {
variant: {
default:
- "border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",
+ "bg-primary text-primary-foreground shadow hover:bg-primary/80",
secondary:
- "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
+ "bg-secondary text-secondary-foreground hover:bg-secondary/80",
destructive:
- "border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",
+ "bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",
outline: "text-foreground",
green:
- "border-transparent bg-emerald-600 text-emerald-100 dark:bg-emerald-900/50 dark:text-emerald-400",
+ "bg-emerald-600 text-emerald-100 dark:bg-emerald-900/50 dark:text-emerald-400",
yellow:
- "border-transparent bg-yellow-600 text-yellow-100 dark:bg-yellow-900/50 dark:text-yellow-300",
+ "bg-yellow-600 text-yellow-100 dark:bg-yellow-900/50 dark:text-yellow-300",
orange:
- "border-transparent bg-orange-600 text-orange-100 dark:bg-orange-900/50 dark:text-orange-300",
- red: "border-transparent bg-red-600 text-red-100 dark:bg-red-900/50 dark:text-red-400",
- blue: "border-transparent bg-blue-600 text-blue-100 dark:bg-blue-900/50 dark:text-blue-400",
- gray: "border-transparent bg-[#e3e2e080] text-[#32302c] dark:bg-[#373737] dark:text-white hover:bg-[#e3e2e0] dark:hover:bg-[#5a5a5a]",
+ "bg-orange-600 text-orange-100 dark:bg-orange-900/50 dark:text-orange-300",
+ red: "bg-red-600 text-red-100 dark:bg-red-900/50 dark:text-red-400",
+ blue: "bg-blue-600 text-blue-100 dark:bg-blue-900/50 dark:text-blue-400",
+ gray: "bg-[#e3e2e080] text-[#32302c] dark:bg-[#373737] dark:text-white hover:bg-[#e3e2e0] dark:hover:bg-[#5a5a5a]",
},
},
defaultVariants: {
diff --git a/packages/react/src/Modal.tsx b/packages/react/src/Modal.tsx
index fb7d63a84d..cf9babc75c 100644
--- a/packages/react/src/Modal.tsx
+++ b/packages/react/src/Modal.tsx
@@ -33,6 +33,7 @@ const ModalOverlay = forwardRef<
// 'bg-alternative/90 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',
"bg-alternative/90 backdrop-blur-sm",
"z-50 fixed inset-0 grid place-items-center overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent data-open:animate-overlay-show data-closed:animate-overlay-hide",
+
className
)}
{...props}
@@ -49,7 +50,8 @@ const ModalContentVariants = cva(
"data-[state=closed]:slide-out-to-left-[0%] data-[state=closed]:slide-out-to-top-[0%",
"data-[state=open]:slide-in-from-left-[0%] data-[state=open]:slide-in-from-top-[0%]",
"sm:rounded-lg md:w-full",
- "bg-background focus-visible:outline-none focus-visible:ring-0"
+ "bg-background focus-visible:outline-none focus-visible:ring-0",
+ "dark:shadow-[inset_0_0.5px_0_rgb(255_255_255_/_0.08),_inset_0_0_1px_rgb(255_255_255_/_0.24),_0_0_0_0.5px_rgb(0,0,0,1),0px_0px_4px_rgba(0,_0,_0,_0.08),_0px_0px_10px_rgba(0,_0,_0,_0.12),_0px_0px_24px_rgba(0,_0,_0,_0.16),_0px_0px_80px_rgba(0,_0,_0,_0.2)]"
),
{
variants: {