Drizzle — Design System
Drizzle ORM ships zero webfonts on purpose: the ui-sans-serif system stack at 32-40px/600-700, docs-site layout, 20px-radius ghost buttons, and memes embedded as first-class content ('ORM for you to settle... ship ship ship'). The anti-design is the design — a TypeScript ORM whose landing page performs the same lightweight, no-dependency ethos as its bundle size.
This is a static, crawlable rendering for search & AI engines. The interactive version — filters, live decode console, copy & export — is at https://mozaika.design/ds/drizzle.
Tokens
Drizzle's decoded design system: background #FFFFFF, text #3B3F4B, accent #F6F6F7, link #3B3F4B, primary #282B3B; type scale h1 16px / h2 32px / body 12px; 4px spacing base; 4px base radius. The single interactive/action color is #F6F6F7 — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.
Color roles
| Role | Value |
|---|---|
| bg | #FFFFFF |
| surface | #F3F3F4 |
| border | #E1E2E4 |
| text | #3B3F4B |
| text_muted | #85878F |
| primary | #282B3B |
| accent | #F6F6F7 |
| link | #3B3F4B |
| secondary | #4B5563 |
| button_bg | #F6F6F7 |
| button_text | #222222 |
Using these colors
- Action color
#F6F6F7— the single interactive color; only on things you click or must notice, never large fills. accent,button_bgare all#F6F6F7— one role, not several (the action color).- accent
#F6F6F7— THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed. - primary
#282B3B— a brand color — but the call-to-action uses #F6F6F7, not this. - link
#3B3F4B— reads as a neutral UI color, not a link accent — verify against the reference (action = #F6F6F7). - secondary
#4B5563— optional secondary accent — LOW decode confidence; use rarely (a status color or a single decorative moment) or omit it entirely. Prefer one accent unless the reference clearly shows two.
Typography
- Heading: Roboto
- Body: Roboto
- Mono: monospace
- h1: 16px
- h2: 32px
- body: 12px
Spacing
- base unit: 4px
- scale: 2px, 3px, 4px, 6px, 8px, 9px, 10px, 12px, 16px, 20px
Radii
- base: 4px
- button: 0px
Shadows (elevation)
- subtle:
rgb(255, 255, 255) 0px 0px 0px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px, rgba(0, 0, 0, 0.1) 0px 1px 2px 0px, rgba(0, 0, 0, 0.075) 0px 2px 4px 0px - card:
rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.02) 0px 2px 4px 0px, rgba(0, 0, 0, 0.06) 0px 1px 0px 0px
Motion
Micro-interactions run at 200ms (dominant) with ease.
- durations: 200ms · 300ms · 100ms
- easings:
ease·ease-in-out - animated properties: opacity, filter, color, background-color
Native design tokens
| Token | Value |
|---|---|
--astro-code-color-text | #414141 |
--astro-code-token-constant | #1976d2 |
--astro-code-token-string | #22863a |
--astro-code-token-comment | #aaa |
--astro-code-token-keyword | #d32f2f |
--astro-code-token-parameter | #ff9800 |
--astro-code-token-function | #6f42c1 |
--astro-code-token-string-expression | #22863a |
--astro-code-token-punctuation | #212121 |
--astro-code-token-link | #22863a |
…and 25 more measured on the page.
Button states (measured)
- primary hover: color
#000000
Layout (measured)
- container max-width:
910px - nav: 30px
- common grid: 2 columns
Motion choreography (measured)
Load order: div.header-button-arrow×4 → kbd.DocSearch-Button-Key×2
Scroll reveal: 7 elements rest at translateY(10px).
Responsive (measured)
- breakpoints: 528px · 599px · 768px · 900px · 1024px · 1280px
- mobile (390px): nav inline
Per-section tokens (9)
- Hero — light · bg #FFFFFF · text #868182 · 2 col · split
- Feature — light · bg #FFFFFF · text #B5B9B7 · 2 col · split
- Stats / Metrics — light · bg #FFFFFF · text #B3B2C6 · 2 col · left
- Integrations — light · bg #FFFFFF · text #C5C5C7 · 3 col · split
- Integrations — light · bg #FFFFFF · text #BCBDBF · 3 col · split
- Feature — light · bg #FFFFFF · text #9B9D9F · 2 col · split
- Logo Wall — light · bg #FFFFFF · text #595D64 · 1 col · left
- Pricing / Plans — light · bg #FFFFFF · text #777574 · 1 col · left
- Testimonial / Social Proof — light · bg #FFFFFF · text #0F1117 · 3 col · split
Export: DESIGN.md
# Drizzle — Design System
> light, modern, medium, custom — deep decode (measured live)
Drizzle ORM ships zero webfonts on purpose: the ui-sans-serif system stack at 32-40px/600-700, docs-site layout, 20px-radius ghost buttons, and memes embedded as first-class content ('ORM for you to settle... ship ship ship'). The anti-design is the design — a TypeScript ORM whose landing page performs the same lightweight, no-dependency ethos as its bundle size.
## Colors
| Role | Value |
|------|-------|
| bg | `#FFFFFF` |
| surface | `#F3F3F4` |
| border | `#E1E2E4` |
| text | `#3B3F4B` |
| text_muted | `#85878F` |
| primary | `#282B3B` |
| accent | `#F6F6F7` |
| link | `#3B3F4B` |
| secondary | `#4B5563` |
| button_bg | `#F6F6F7` |
| button_text | `#222222` |
**Using these colors**
- **Action color** `#F6F6F7` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds.
- `accent`, `button_bg` are all `#F6F6F7` — one role, not several (your action color).
- **accent** `#F6F6F7` — THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed.
- **primary** `#282B3B` — a brand color — but the call-to-action uses #F6F6F7, not this.
- **link** `#3B3F4B` — reads as a neutral UI color, not a link accent — verify against the reference (action = #F6F6F7).
- **secondary** `#4B5563` — optional secondary accent — LOW decode confidence; use rarely (a status color or a single decorative moment) or omit it entirely. Prefer one accent unless the reference clearly shows two.
- **Page coverage** (full-page screenshot pixels): `#FFFFFF` 90.4% · `#F1F1F1` 4.1% · `#D3D8D9` 2.9% · `#858784` 2.6% — the action color covers ~4.1% of the page; keep it that scarce.
## Typography
- Heading: **Roboto**
- Body: **Roboto**
- Mono: **monospace** _(measured)_
| Role | Size / weight · line-height · tracking |
|------|------------------------------------------|
| hero | 40px / 700 · lh 48px |
| h2 | 32px / 600 · lh 48px |
| h3 | 30px / 600 · lh 48px |
| body | 12px / 500 · lh 17px |
| small | 11px / 400 · lh 17px |
| eyebrow | 10px / 600 · tracking 1px |
- Weight ladder: 400 · 500 · 600 · 700 — use these exact measured weights, not the 400/600 defaults.
> **Fonts —** Roboto — free, on Google.
## Spacing
- base unit: 4px (inferred from the measured scale)
- measured scale: 2px, 3px, 4px, 6px, 8px, 9px, 10px, 12px, 16px, 20px — snap all gaps/padding to these
## Radius
- base: 4px
- button: 0px
- card: 50px
- sharp: 2px
## Buttons
| Button | Fill / text | Border | Radius | Padding | Font | Shadow |
|--------|-------------|--------|--------|---------|------|--------|
| primary | `rgba(0, 0, 0, 0)` / `#4B5563` | none | 20px | 8px 10px 8px 10px | 600 14px | none |
| secondary | `#F6F6F7` / `#222222` | none | 3px | 0px 0px 0px 0px | 400 16px | none |
**States (measured, not guessed)**
- primary hover: color `#000000`
- secondary hover: background `#EFF0F3`
- transition: `all 0.2s ease`
## Shadows (elevation)
- subtle: `rgb(255, 255, 255) 0px 0px 0px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px, rgba(0, 0, 0, 0.1) 0px 1px 2px 0px, rgba(0, 0, 0, 0.075) 0px 2px 4px 0px`
- card: `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.02) 0px 2px 4px 0px, rgba(0, 0, 0, 0.06) 0px 1px 0px 0px`
## Motion
- durations: 200ms (dominant) · 300ms · 100ms
- easings: `ease` (dominant) · `ease-in-out`
- animated properties: opacity, filter, color, background-color
Micro-interactions use the dominant duration + easing; nothing on the page animates slower than the longest duration above — don't invent springier motion.
## Their own tokens (verbatim from :root)
| Token | Value |
|-------|-------|
| `--astro-code-color-text` | `#414141` |
| `--astro-code-token-constant` | `#1976d2` |
| `--astro-code-token-string` | `#22863a` |
| `--astro-code-token-comment` | `#aaa` |
| `--astro-code-token-keyword` | `#d32f2f` |
| `--astro-code-token-parameter` | `#ff9800` |
| `--astro-code-token-function` | `#6f42c1` |
| `--astro-code-token-string-expression` | `#22863a` |
| `--astro-code-token-punctuation` | `#212121` |
| `--astro-code-token-link` | `#22863a` |
| `--docsearch-hit-active-color` | `#fff` |
| `--docsearch-primary-color` | `#5468ff` |
_…and 23 more measured on the page._
Prefer these names when extending their system — it's the brand's actual vocabulary.
## Layout (measured)
- container max 910px · common grid: 2-col
- nav: 30px
## Motion choreography (measured)
Load order: `div.header-button-arrow`×4 @0ms → `kbd.DocSearch-Button-Key`×2 @0ms
- scroll reveal: 7 elements rest at translateY(10px) (6 revealed during the drive).
Rebuild the timeline, not just the durations — order, delays and staggers above are the choreography.
## Components (measured)
- card ×11: pad 8px 12px 8px 12px · r 8px · border 1px solid rgb(232, 232, 232) · bg #FFFFFF
- hover: font-weight `500` · letter-spacing `normal`
- link: #444444 · underline
## Responsive (measured)
- breakpoints: 528px · 599px · 768px · 900px · 1024px · 1280px
- mobile (390px): body 16px · nav: inline
## How to apply
Paste the Tailwind `@theme` (or CSS variables) as your base, then build each
section to its spec — verify every color, radius, and font against these tokens.
Hover/focus states, shadows and motion timings above are measured from the live page — match them exactly, don't re-guess them.
---
> **Decoded with Mozaika** — measured live, not guessed. Full decoded design system + one-command install: mozaika.design/ds/drizzleExport: Tailwind v4 (@theme)
@theme {
/* action color #F6F6F7 — the one interactive color; buttons/links/emphasis only, never large fills. */
--color-bg: #FFFFFF;
--color-surface: #F3F3F4;
--color-border: #E1E2E4;
--color-text: #3B3F4B;
--color-text-muted: #85878F;
--color-primary: #282B3B; /* a brand color — but the call-to-action uses #F6F6F7, not this. */
--color-accent: #F6F6F7; /* THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed. */
--color-link: #3B3F4B; /* reads as a neutral UI color, not a link accent — verify against the reference (action = #F6F6F7). */
--color-secondary: #4B5563; /* optional secondary accent — LOW decode confidence; use rarely (a status color or a single decorative moment) or omit it entirely. Prefer one accent unless the reference clearly shows two. */
--color-button-bg: #F6F6F7; /* primary-button fill — the main call-to-action color. */
--color-button-text: #222222;
/* fonts: Roboto — free, on Google. */
--font-heading: "Roboto", system-ui, -apple-system, 'Segoe UI', sans-serif;
--font-body: "Roboto", system-ui, -apple-system, 'Segoe UI', sans-serif;
--font-mono: "monospace", ui-monospace, monospace;
/* measured weights: 400, 500, 600, 700 — use these, not 400/600 */
--text-hero: 40px; --font-weight-hero: 700; --leading-hero: 48px;
--text-h2: 32px; --font-weight-h2: 600; --leading-h2: 48px;
--text-h3: 30px; --font-weight-h3: 600; --leading-h3: 48px;
--text-body: 12px; --font-weight-body: 500; --leading-body: 17px;
--text-small: 11px; --font-weight-small: 400; --leading-small: 17px;
--text-eyebrow: 10px; --font-weight-eyebrow: 600; --tracking-eyebrow: 1px;
--radius-base: 4px;
--radius-button: 0px;
--radius-card: 50px;
--radius-sharp: 2px;
--shadow-card: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.02) 0px 2px 4px 0px, rgba(0, 0, 0, 0.06) 0px 1px 0px 0px;
--shadow-subtle: rgb(255, 255, 255) 0px 0px 0px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px, rgba(0, 0, 0, 0.1) 0px 1px 2px 0px, rgba(0, 0, 0, 0.075) 0px 2px 4px 0px;
--ease-brand: ease;
--duration-fast: 100ms; /* use: duration-[var(--duration-fast)] */
--duration-base: 200ms;
--duration-slow: 300ms;
--spacing: 4px; /* measured base — drives the p-*/gap-* scale. steps seen on the page: 2, 3, 4, 6, 8, 9, 10, 12, 16, 20px */
}Export: CSS variables
:root {
/* action color #F6F6F7 — the one interactive color; buttons/links/emphasis only, never large fills. */
--bg: #FFFFFF;
--surface: #F3F3F4;
--border: #E1E2E4;
--text: #3B3F4B;
--text-muted: #85878F;
--primary: #282B3B; /* a brand color — but the call-to-action uses #F6F6F7, not this. */
--accent: #F6F6F7; /* THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed. */
--link: #3B3F4B; /* reads as a neutral UI color, not a link accent — verify against the reference (action = #F6F6F7). */
--secondary: #4B5563; /* optional secondary accent — LOW decode confidence; use rarely (a status color or a single decorative moment) or omit it entirely. Prefer one accent unless the reference clearly shows two. */
--button-bg: #F6F6F7; /* primary-button fill — the main call-to-action color. */
--button-text: #222222;
--font-heading: "Roboto", system-ui, -apple-system, 'Segoe UI', sans-serif;
--font-body: "Roboto", system-ui, -apple-system, 'Segoe UI', sans-serif;
--font-mono: "monospace", ui-monospace, monospace;
--text-hero: 40px; --weight-hero: 700; --leading-hero: 48px;
--text-h2: 32px; --weight-h2: 600; --leading-h2: 48px;
--text-h3: 30px; --weight-h3: 600; --leading-h3: 48px;
--text-body: 12px; --weight-body: 500; --leading-body: 17px;
--text-small: 11px; --weight-small: 400; --leading-small: 17px;
--text-eyebrow: 10px; --weight-eyebrow: 600; --tracking-eyebrow: 1px;
--radius: 4px;
--radius-button: 0px;
--radius-card: 50px;
--radius-sharp: 2px;
--shadow-card: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.02) 0px 2px 4px 0px, rgba(0, 0, 0, 0.06) 0px 1px 0px 0px;
--shadow-subtle: rgb(255, 255, 255) 0px 0px 0px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px, rgba(0, 0, 0, 0.1) 0px 1px 2px 0px, rgba(0, 0, 0, 0.075) 0px 2px 4px 0px;
--ease: ease;
--duration-fast: 100ms;
--duration-base: 200ms;
--duration-slow: 300ms;
}
/* their own tokens, verbatim from the site's :root */
:root {
--astro-code-color-text: #414141;
--astro-code-token-constant: #1976d2;
--astro-code-token-string: #22863a;
--astro-code-token-comment: #aaa;
--astro-code-token-keyword: #d32f2f;
--astro-code-token-parameter: #ff9800;
--astro-code-token-function: #6f42c1;
--astro-code-token-string-expression: #22863a;
--astro-code-token-punctuation: #212121;
--astro-code-token-link: #22863a;
--docsearch-hit-active-color: #fff;
--docsearch-primary-color: #5468ff;
}
/* fonts: Roboto — free, on Google. */