| name | mdbase.dev | ||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| description | Minimal technical reference design system for the mdbase specification site. | ||||||||||||||||||||||||||||||||||||||||||||||||
| colors |
|
||||||||||||||||||||||||||||||||||||||||||||||||
| dark-colors |
|
||||||||||||||||||||||||||||||||||||||||||||||||
| typography |
|
||||||||||||||||||||||||||||||||||||||||||||||||
| rounded |
|
||||||||||||||||||||||||||||||||||||||||||||||||
| spacing |
|
||||||||||||||||||||||||||||||||||||||||||||||||
| components |
|
Creative North Star: "A Clean Standards Document"
mdbase.dev is a calm, precise reading environment for people who implement the specification. Open space, direct typography, quiet rules, and real mdbase artifacts give the site its identity. The visual system keeps attention on the model, examples, and normative text in daylight or low light.
- Open page layouts with generous, deliberate whitespace.
- Strong headings and highly legible long-form text.
- Actual files, schemas, queries, and contracts as the primary visual material.
- One muted blue accent for links and current state.
- Pale horizontal rules for grouping and rhythm.
- Table-like resource rows for dense implementation information.
The light palette is paper with blue-black ink. The dark palette uses deep blue-black paper with softened light ink. Hierarchy comes from type, spacing, and quiet rules in both themes.
- Blue Accent (
oklch(45% 0.105 238)): links, version emphasis, selected states, and focus rings.
- Paper (
oklch(100% 0 0)): every page and component surface. - Ink (
oklch(21% 0.018 255)): headings and primary text. - Ink Soft (
oklch(39% 0.016 255)): explanatory text. - Ink Muted (
oklch(54% 0.014 255)): labels and metadata. - Line (
oklch(92% 0.006 255)): structural dividers.
Use blue for links, focus, and selected states. Keep actions on the current surface with restrained outlines or text treatment.
Every page offers System, Light, and Dark. System follows
prefers-color-scheme; an explicit choice is stored locally as mdbase:theme
and applied before the stylesheet to prevent a flash. Components consume
canvas, surface, surface-subtle, text, text-soft, text-muted, border,
border-strong, accent, success, and danger roles rather than fixed palette
values. Dark mode uses blue-black surfaces, not pure black, with lighter syntax
and link colors for long-form reading.
Display and body font: Atkinson Hyperlegible, with Segoe UI fallback.
Label and code font: Azeret Mono, with SFMono-Regular and Cascadia Code fallback.
Atkinson Hyperlegible provides clarity across large headlines and long specification prose. Azeret Mono identifies navigation, versions, file paths, labels, and code.
- Display (700, up to 6rem desktop / 3.2rem mobile, 0.96): landing hero.
- Section headline (700, up to 2.5rem, 1.12): landing and runtime sections.
- Reader title (700, up to 3.5rem, 1.12): specification page title.
- Body (400, 1.04rem, 1.66): prose with a 72ch maximum measure.
- Label (500, 0.7rem to 0.76rem): navigation, metadata, section kickers, and buttons.
Use the sans face for prose and hierarchy. Reserve mono for structural information and literal technical content.
The shared mdbase Frontmatter mark precedes the live-type mdbase wordmark in
every site header. Its segmented fences and key-value rows connect the
specification identity directly to the files it defines. Ink follows the
current theme; the first value uses the blue accent.
Render the mark at 20px in site navigation. It identifies mdbase only and does not replace version, conformance, or runtime-profile labels. Use the dedicated favicon asset for browser metadata.
The system is flat. One-pixel rules establish sections, rows, navigation boundaries, and code surfaces. Page content uses a 64rem maximum width. Landing sections add an 8rem metadata gutter on wide screens, then collapse to a single column below 64rem.
Whitespace carries hierarchy at page scale. Within resource lists and the specification reader, spacing becomes denser to support scanning.
- Primary button: current surface, quiet neutral border, ink text, 3px radius, 44px minimum height.
- Secondary button: the same light structure with quieter border emphasis.
- Resource row: top rule with label, name, description, capabilities, and link aligned in columns.
- Code specimen: paper-code surface, fine border, compact mono text, and restrained syntax colors.
- Spec sidebar link: blue text with a quiet underline for the selected section.
- Tablist: text labels with a blue underline for the selected tab and keyboard arrow support.
- Lead pages with literal descriptions of the specification or runtime profile.
- Show real collection structures, type definitions, records, and queries.
- Keep reading measures stable and maintain WCAG AA contrast.
- Use cards only when content needs a true contained object boundary.
- Keep hover and focus treatments visible, quiet, and consistent.
- Preserve practical navigation on small screens with an off-canvas specification index.