3.1 · Editorial & Vault
The Writer
Bring your Obsidian vault or plain Markdown notes. Get book-quality typography, footnotes, bidirectional wikilinks, and 34 OKLCH themes without writing CSS.
1.0
Standard is an editorial and interface workshop for the durable web. It lets you write in plain text and build modern applications that read, print, and age with the rigor of a Swiss typography book — governed by strict laws shared by humans and AI.
This page is set entirely by the framework's default stylesheet. Every specification printed below — every size, every color value, every ratio — is measured live from the running stylesheet as you read it. The manual cannot drift from the system, because the manualis the system, rendering itself.
npx @stnd/cli new my-projectOr add it to an existing Astro project:
npm install @stnd/core @astrojs/svelte sass-embedded2.0
2.1
No one should configure margins to deserve good typography. Your mother's recipe should look like it belongs in a prestige cookbook — without her doing anything.
2.2
Ten seconds from thought to URL. Speed is a form of respect — for the writer, and for the reader.
2.3
Everything is plain text files. Applications are interchangeable readers. If the servers go dark tomorrow, your writing remains intact, legible, and yours.
2.4
Static first, edge logic, minimal JavaScript, boring technology. Efficient code is an ecological position, not a benchmark.
3.0
Standard adapts to how you create. Whether you bring raw Markdown notes, architect edge applications, or design interface systems, choose your path:
3.1 · Editorial & Vault
Bring your Obsidian vault or plain Markdown notes. Get book-quality typography, footnotes, bidirectional wikilinks, and 34 OKLCH themes without writing CSS.
3.2 · Full-Stack & Edge
Architect modular applications with hermetic vertical slices in modules/. Zero-logic views, edge runtime on Cloudflare, and automated architectural rules.
3.3 · Design & Systems
Design with mathematical precision: 1rlh rhythmic harmonics, the Silver Ratio (1.414), 35 accessible UI primitives, and the live interactive Workshop (]).
4.0
Every line of code and style in Standard belongs to one of four strictly ordered layers. No inner layer may import or reach into an outer layer:
@stnd/styles): Pure CSS custom properties for color, typography, rhythm, and layout.@stnd/ui & @stnd/layout): Accessible Astro and Svelte components styled exclusively with semantic tokens.apps/*): Vertical slices declared in modules/ with hermetic routes and hooks.See The Framework Guide & Eight Lawsfor the complete architectural contract.
5.0
You do not need the framework's source code to extend Standard. Afternpm install @stnd/core, the loader automatically discovers every *.module.js inside your project's./modules/ directory and layers it over the Core:
index.md), set color-light-background,color-light-foreground, or font-textdirectly in YAML frontmatter to theme an entire site without writing a single stylesheet.modules/my-theme/ or modules/my-font/folder — auto-registered at build time, never leaked to public packages.virtual:stnd/hooks). Delete the folder and the feature disappears cleanly.// modules/my-studio/index.module.js
export default {
id: "my-studio",
styles: ["./fonts/licensed-font.css", "./theme.scss"],
routes: [{ path: "/work", entrypoint: "./routes/work.astro" }],
hooks: { "header:actions": "./components/ThemeToggle.svelte" },
};See Add Anything to Standard,Building a Module, and Creating a Theme.
6.0
One base size, one ratio. The whole scale follows. Standard uses the silver ratio (1.414) by default for type and the golden ratio (1.618) for layout blocks. Measured now, on your screen:
7.0
Paper is never clinical pure white, and ink is never pure black. You choose an ink and a paper seed; the OKLCH engine derives the rest — surfaces, borders, dark mode, and an analog-inspired chromatic spectrum at equal perceived lightness. Measured live from the active theme:
background
—
foreground
—
accent
—
surface
—
border
—
red
—
orange
—
yellow
—
green
—
cyan
—
blue
—
purple
—
8.0
One baseline (1rlh), plain multiples and divisions — no arbitrary magic numbers. Every gap on this page is--space scaled, measured now, on your screen:
9.0
A bare <table> and unclassed prose elements — no utility classes, no wrapper divs:
| Token | Value | Role |
|---|---|---|
--space | 1rlh | Default rhythm step between blocks |
--scale | 1rem (fluid) | Body text measure |
--color-accent | OKLCH seed | Links, focus rings, active markers |
Line length isn't a style choice. Past 75 characters the eye loses its place on the way back to the left margin.
A paragraph at reading width (--prose-width), with aninline link, someinline code, and a short list:
10.0
Standard Garden — a quiet place to think in public. Write in Obsidian or plain Markdown; publish a durable URL in ten seconds.
Reveal — a native macOS RAW photo workflow application (Tauri 2, Rust, wgpu, Svelte 5) built on the same token architecture and file-first principles.