{ "$schema": "https://ui.shadcn.com/schema/registry.json", "name": "delego", "homepage": "https://github.com/Delego-Dev/registry", "items": [ { "name": "delego-theme", "type": "registry:theme", "title": "Delego Theme", "description": "Delego design tokens mapped onto shadcn variables (OKLCH, light + dark). Electric-indigo primary, signal-mint accent, and the protocol decision palette (allow / needs_approval / deny). Pairs Inter (sans) + JetBrains Mono (mono); load the fonts in your app — see the registry README.", "cssVars": { "theme": { "font-sans": "Inter, ui-sans-serif, system-ui, -apple-system, sans-serif", "font-mono": "'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace", "font-display": "'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif", "radius": "0.75rem" }, "light": { "background": "oklch(0.9886 0.0026 286.35)", "foreground": "oklch(0.1773 0.0133 264.15)", "card": "oklch(1 0 0)", "card-foreground": "oklch(0.1773 0.0133 264.15)", "popover": "oklch(1 0 0)", "popover-foreground": "oklch(0.1773 0.0133 264.15)", "primary": "oklch(0.5113 0.2582 275.55)", "primary-foreground": "oklch(1 0 0)", "secondary": "oklch(0.9702 0.0041 271.37)", "secondary-foreground": "oklch(0.1773 0.0133 264.15)", "muted": "oklch(0.9702 0.0041 271.37)", "muted-foreground": "oklch(0.5010 0.0264 260.67)", "accent": "oklch(0.9702 0.0041 271.37)", "accent-foreground": "oklch(0.1773 0.0133 264.15)", "destructive": "oklch(0.6625 0.1898 16.08)", "destructive-foreground": "oklch(1 0 0)", "border": "oklch(0.9345 0.0097 273.35)", "input": "oklch(0.9345 0.0097 273.35)", "ring": "oklch(0.5825 0.2176 280.50)", "chart-1": "oklch(0.5113 0.2582 275.55)", "chart-2": "oklch(0.5880 0.1229 164.93)", "chart-3": "oklch(0.7819 0.1585 72.33)", "chart-4": "oklch(0.6625 0.1898 16.08)", "chart-5": "oklch(0.6520 0.0353 264.29)", "delego-indigo": "oklch(0.5113 0.2582 275.55)", "delego-signal": "oklch(0.5880 0.1229 164.93)", "delego-allow": "oklch(0.5069 0.1092 162.38)", "delego-approval": "oklch(0.5553 0.1455 49.00)", "delego-deny": "oklch(0.5321 0.1904 13.86)", "delego-hash": "oklch(0.5880 0.1229 164.93)", "delego-allow-fg": "oklch(0.5069 0.1092 162.38)", "delego-approval-fg": "oklch(0.5553 0.1455 49.00)", "delego-deny-fg": "oklch(0.5321 0.1904 13.86)", "delego-indigo-fg": "oklch(0.7072 0.1519 286.14)", "sidebar": "oklch(1 0 0)", "sidebar-foreground": "oklch(0.1773 0.0133 264.15)", "sidebar-primary": "oklch(0.5113 0.2582 275.55)", "sidebar-primary-foreground": "oklch(1 0 0)", "sidebar-accent": "oklch(0.9702 0.0041 271.37)", "sidebar-accent-foreground": "oklch(0.1773 0.0133 264.15)", "sidebar-border": "oklch(0.9345 0.0097 273.35)", "sidebar-ring": "oklch(0.5825 0.2176 280.50)" }, "dark": { "background": "oklch(0.1392 0.0097 261.76)", "foreground": "oklch(0.9701 0.0070 268.55)", "card": "oklch(0.2103 0.0227 268.93)", "card-foreground": "oklch(0.9701 0.0070 268.55)", "popover": "oklch(0.1773 0.0133 264.15)", "popover-foreground": "oklch(0.9701 0.0070 268.55)", "primary": "oklch(0.5113 0.2582 275.55)", "primary-foreground": "oklch(1 0 0)", "secondary": "oklch(0.2103 0.0227 268.93)", "secondary-foreground": "oklch(0.9701 0.0070 268.55)", "muted": "oklch(0.1773 0.0133 264.15)", "muted-foreground": "oklch(0.6520 0.0353 264.29)", "accent": "oklch(0.2464 0.0315 270.62)", "accent-foreground": "oklch(0.9701 0.0070 268.55)", "destructive": "oklch(0.6625 0.1898 16.08)", "destructive-foreground": "oklch(1 0 0)", "border": "oklch(0.2951 0.0322 269.33)", "input": "oklch(0.2951 0.0322 269.33)", "ring": "oklch(0.5825 0.2176 280.50)", "chart-1": "oklch(0.5825 0.2176 280.50)", "chart-2": "oklch(0.8036 0.1697 163.53)", "chart-3": "oklch(0.7819 0.1585 72.33)", "chart-4": "oklch(0.6625 0.1898 16.08)", "chart-5": "oklch(0.6520 0.0353 264.29)", "delego-indigo": "oklch(0.5113 0.2582 275.55)", "delego-signal": "oklch(0.8036 0.1697 163.53)", "delego-allow": "oklch(0.8036 0.1697 163.53)", "delego-approval": "oklch(0.8401 0.1392 78.97)", "delego-deny": "oklch(0.7192 0.1690 13.43)", "delego-hash": "oklch(0.8036 0.1697 163.53)", "delego-allow-fg": "oklch(0.8036 0.1697 163.53)", "delego-approval-fg": "oklch(0.8401 0.1392 78.97)", "delego-deny-fg": "oklch(0.7192 0.1690 13.43)", "delego-indigo-fg": "oklch(0.7072 0.1519 286.14)", "sidebar": "oklch(0.1773 0.0133 264.15)", "sidebar-foreground": "oklch(0.9701 0.0070 268.55)", "sidebar-primary": "oklch(0.5825 0.2176 280.50)", "sidebar-primary-foreground": "oklch(1 0 0)", "sidebar-accent": "oklch(0.2464 0.0315 270.62)", "sidebar-accent-foreground": "oklch(0.9701 0.0070 268.55)", "sidebar-border": "oklch(0.2951 0.0322 269.33)", "sidebar-ring": "oklch(0.5825 0.2176 280.50)" } } }, { "name": "button", "type": "registry:ui", "title": "Button", "description": "Delego button — primary (indigo glow), secondary, ghost, outline, link, plus protocol-semantic allow/deny actions.", "dependencies": ["class-variance-authority", "@radix-ui/react-slot"], "registryDependencies": ["https://raw.githubusercontent.com/Delego-Dev/registry/main/public/r/delego-theme.json"], "files": [ { "path": "registry/delego/ui/button.tsx", "type": "registry:ui", "target": "components/ui/button.tsx" } ] }, { "name": "status-badge", "type": "registry:ui", "title": "Status Badge", "description": "Mono pill with leading icon + status color. Variants: allow, approval, deny, indigo (principal/audit), neutral.", "dependencies": ["class-variance-authority", "@radix-ui/react-slot"], "registryDependencies": ["https://raw.githubusercontent.com/Delego-Dev/registry/main/public/r/delego-theme.json"], "files": [ { "path": "registry/delego/ui/status-badge.tsx", "type": "registry:ui", "target": "components/ui/status-badge.tsx" } ] }, { "name": "decision-pill", "type": "registry:ui", "title": "Decision Pill", "description": "The signature Delego element: renders a Decision outcome (allow / needs_approval / deny) with its canonical icon, mono label, and color.", "dependencies": ["lucide-react"], "registryDependencies": ["https://raw.githubusercontent.com/Delego-Dev/registry/main/public/r/status-badge.json"], "files": [ { "path": "registry/delego/ui/decision-pill.tsx", "type": "registry:ui", "target": "components/ui/decision-pill.tsx" } ] }, { "name": "signed-receipt", "type": "registry:ui", "title": "Signed Receipt", "description": "The ownable audit visual — one hash-chained, Ed25519-signed ledger record, with the signal bar, seal, and mono kv grid.", "dependencies": ["lucide-react"], "registryDependencies": ["https://raw.githubusercontent.com/Delego-Dev/registry/main/public/r/delego-theme.json"], "files": [ { "path": "registry/delego/ui/signed-receipt.tsx", "type": "registry:ui", "target": "components/ui/signed-receipt.tsx" } ] }, { "name": "field", "type": "registry:ui", "title": "Field", "description": "Labeled input with optional leading icon and mono hint, lit by the indigo focus halo. Drop-in over a native input.", "registryDependencies": ["https://raw.githubusercontent.com/Delego-Dev/registry/main/public/r/delego-theme.json"], "files": [ { "path": "registry/delego/ui/field.tsx", "type": "registry:ui", "target": "components/ui/field.tsx" } ] } ] }