Real-time inference: what breaks first
Three years of running models under live traffic. It's not the model that breaks — it's everything around it.
Paper against neon.
Open any modern SaaS: dark-blue cosmos, neon gradients, glass panels, glowing borders. Everything shouts "the future is here" — and ten minutes later your eyes are tired of that future.
I wanted the opposite. Warm paper, ink, one quiet accent — and geometry: simple glyphs, registration crosses, dimension lines. Like a good blueprint: nothing extra, every mark carries meaning. I consider this design system my own — it deliberately pushes back against neon and epicness.
Three decisions
ACCENT = "#5d7052" # moss
Cozy is when the interface doesn't compete for your attention — it just lies at hand.
Dark theme is the same tokens, overridden in html[data-theme="dark"]. The dark accent is derived from the base via color-mix — never hand-picked.
--serif Literata headings, longreads --sans Golos Text interface --mono JetBrains Mono dates, numbers, code, #id suffixes --r-s 4px · --r-m 8px corner radii --measure 68ch longread width (tweak 56-84) --entry-pad 26px feed density (tighter: 16px) --grain .5 paper grain 0..1 --page-w 1200px container --shadow one shadow, barely there — floating elements only
at least 3 characters.
Three years of running models under live traffic. It's not the model that breaks — it's everything around it.
One vote. Closes in a week.
One vote. Closes in a week.
Backpressure before the model — spot on. We only added the fallback after the second incident.
Classic: the design doc gets written in the on-call's blood.
What do you monitor p99 with?
One CSS file of tokens and components — s1t.css.
Classes map to the components from design.md:
.pc -> PostCard .prose -> PostBody .cthread -> CommentThread .poll -> PollWidget .rbar -> ReactionBar .tag -> TagChip .field -> BaseField .btn -> BaseButton .state-block / .skeleton -> empty / loading / error states themes: html[data-theme="light|dark"] (stored in a cookie for flash-free SSR) a11y: focus — outline 2px --accent; contrast pairs verified in both themes