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
/* Editorial design system — ported verbatim from the cofounder how-to reference.
* Warm paper theme, Archivo, glass pills, callout boxes, ink text. Powers the
* product/Guide surface (app/guides/*). Loaded AFTER global.css so its font
* overrides win. */
/* Archivo for body text, JetBrains Mono for code/labels (self-hosted via next/font) */
:root {
--font-mono: var(--font-jetbrains-mono), ui-monospace, monospace;
}
body {
font-family: var(--font-sans);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.scrollbar-none {
-ms-overflow-style: none;
scrollbar-width: none;
}
.scrollbar-none::-webkit-scrollbar {
display: none;
}
.glass-pill {
border: 1px solid rgba(32, 32, 32, 0.06);
background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%),
rgba(245, 245, 242, 0.65);
box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.06), 0 0 0.357px 1.5px rgba(255, 255, 255, 0.35) inset,
0 2px 0 0 #fff inset;
backdrop-filter: blur(12px);
}
.login-btn-light {
border: 1px solid rgba(32, 32, 32, 0.1);
background: #f5f5f2;
box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.06), 0 0 0.357px 1.5px rgba(255, 255, 255, 0.35) inset,
0 2px 0 0 #fff inset;
border-radius: 8px;
}
.cta-btn-dark {
background: linear-gradient(180deg, #3a3835 0%, #262323 100%);
border: 1px solid rgba(255, 255, 255, 0.08);
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.45), 0 0 0 0.5px rgba(255, 255, 255, 0.08) inset,
0 1px 0 0 rgba(255, 255, 255, 0.1) inset;
}
.btn-dark-hover {
background: linear-gradient(180deg, #4a4845 0%, #363333 100%);
border: 1px solid rgba(255, 255, 255, 0.12);
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.45), 0 0 0 0.5px rgba(255, 255, 255, 0.12) inset,
0 1px 0 0 rgba(255, 255, 255, 0.15) inset;
}
.text-ink {
color: #262323cc;
text-shadow: 0 0.5px 0 rgba(0, 0, 0, 0.2), 0 -0.5px 0 rgba(255, 255, 255, 0.25);
}
.text-ink-ui {
color: #202020cc;
}
.text-ink-faint {
/* 0xB3 (70%) → ~5.3:1 on the #F5F5F2 paper, clearing WCAG AA for small text
* while staying clearly lighter than ink/ink-ui. */
color: #262323b3;
}
.text-ink-body {
color: rgba(38, 35, 35, 0.78);
}
.text-on-dark {
color: rgba(255, 255, 255, 0.92);
}
.nav-link {
text-shadow: 0 0.5px 0 rgba(0, 0, 0, 0.1), 0 -0.5px 0 rgba(255, 255, 255, 0.15);
}
.callout-box {
border: 1px solid #e7e7e3;
background: rgba(251, 251, 248, 0.5);
box-shadow: inset 0 1px 0 #fff;
border-radius: 12px;
}
.callout-box-inner {
background: #f7f7f3;
box-shadow: inset 0 0 0 1px rgba(38, 35, 35, 0.08), inset 0 1px 0 #fff;
border-radius: 10px;
}
.scrollbar-hidden-until-scroll {
scrollbar-width: thin;
scrollbar-color: transparent transparent;
}
.scrollbar-hidden-until-scroll:hover {
scrollbar-color: #26232326 transparent;
}
.scrollbar-hidden-until-scroll::-webkit-scrollbar {
width: 4px;
}
.scrollbar-hidden-until-scroll::-webkit-scrollbar-thumb {
background: transparent;
border-radius: 2px;
}
.scrollbar-hidden-until-scroll:hover::-webkit-scrollbar-thumb {
background: #26232326;
}
/* Scroll affordance for navigation sidebars — fade only the top edge so it's clear
* there's more above. The bottom fade + "more below" chevron come from
* <NavScrollChevron>. Applied to every nav scroller (guides rail, api/mcp, reference). */
.nav-scroll-fade {
-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22px);
mask-image: linear-gradient(to bottom, transparent 0, #000 22px);
}
/* View Transitions — smooth cross-fade when switching chapters (driven by
* document.startViewTransition in guide-context). Viewport-scoped root snapshot
* keeps it cheap; the static header/rail are identical old→new so they don't move. */
@media (prefers-reduced-motion: no-preference) {
::view-transition-old(root),
::view-transition-new(root) {
animation-duration: 0.3s;
animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
}
.code-inline {
display: inline-flex;
align-items: center;
border-radius: 5px;
border: 1.2px solid #e3e3e0;
padding: 1px 6px;
font-size: 13px;
line-height: 140%;
letter-spacing: 0.13px;
color: #a76451;
white-space: nowrap;
background: #e7e7e3;
box-shadow: 0 0.5px 0.5px 0 rgba(0, 0, 0, 0.1), 0 2px 1px 0 #fff, 0 -1px 1px 0 rgba(0, 0, 0, 0.03);
}
/* Shiki-highlighted code in the API reference dark panels (JetBrains Mono, panel bg shows through) */
.api-shiki .shiki,
.api-shiki-response .shiki {
margin: 0;
padding: 16px;
overflow-x: auto;
background: transparent !important;
font-family: var(--font-mono);
font-size: 12.5px;
line-height: 1.65;
scrollbar-width: none;
}
.api-shiki .shiki {
padding-right: 64px;
}
.api-shiki .shiki::-webkit-scrollbar,
.api-shiki-response .shiki::-webkit-scrollbar {
display: none;
}
.api-shiki .shiki code,
.api-shiki-response .shiki code {
font-family: inherit;
}