Design Principles
The 5 rules every component inherits — read readme.md for the full text
Why this design system exists, and the five rules every component obeys.
Why
One brand, two codebases: the Ghost theme (Handlebars + Tailwind) and the Next.js LMS (React). Without a shared system they drift apart within weeks — two blues, two card radii, two ideas of “small text.” This system is the single source both render: one set of tokens, one portable .ns-* class layer, checked in CI so drift is a build failure, not a design review finding.
The identity is a developer console, not a marketing site — Apex is Salesforce's own language, and the whole visual voice (mono indices, code-comment kickers, hairline borders, terminal-row lists) is built to feel like a precise tool. Calm, flat, reading-first.
The five principles
The 5 rules every component inherits — read readme.md for the full text