Better Stack — decoded design system
Better Stack's design system, decoded live by Mozaika: measured color roles, type scale, buttons with real hover/focus states, motion and the brand's own tokens.
This is a static, crawlable rendering for search & AI engines. The interactive version — filters, live decode console, copy & export — is at https://mozaika.design/decode/betterstack.com.
Decoded design system
Better Stack's decoded design system: background #0B0C14, text #939DB8, accent #939DB8, link #98A4F7, primary #171926; type scale h1 53px / h2 40px / body 16px; 8px spacing base; 6px base radius. The single interactive/action color is #939DB8 — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.
Color roles
| Role | Value |
|---|---|
| bg | #0B0C14 |
| surface | #13141D |
| border | #1F212C |
| text | #939DB8 |
| text_muted | #5F6579 |
| primary | #171926 |
| accent | #939DB8 |
| link | #98A4F7 |
| secondary | #C9D3EE |
| button_bg | transparent |
| button_text | #939DB8 |
Using these colors
- Action color
#939DB8— the single interactive color; only on things you click or must notice, never large fills. - accent
#939DB8— 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
#171926— a brand color — but the call-to-action uses #939DB8, not this. - link
#98A4F7— inline text links and link-styled controls. - secondary
#C9D3EE— 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
- h1: 53px
- h2: 40px
- body: 16px
Spacing
- base unit: 8px
- scale: 2px, 4px, 6px, 8px, 12px, 16px, 18px, 20px, 24px, 32px
Radii
- base: 6px
- button: 8px
Motion
Micro-interactions run at 150ms (dominant) with cubic-bezier(0.4, 0, 0.2, 1).
- durations: 150ms · 400ms · 500ms
- easings:
cubic-bezier(0.4, 0, 0.2, 1)·ease - animated properties: opacity, transform, color, background-color
Native design tokens
| Token | Value |
|---|---|
--color-brand-yellow-80 | #E9C899 |
--color-brand-primary-300 | #4449A9 |
--color-neutral-600 | #2F3647 |
--color-deprecated-alert-teal-100 | #009199 |
--color-deprecated-secondary-red-100 | #E0687D |
--color-neutral-300 | #646E87 |
--color-neutral-200 | #939DB8 |
--color-deprecated-alert-yellow-100 | #EEC200 |
--color-gray-300 | oklch(87.2% 0.01 258.338) |
--color-gray-500 | oklch(55.1% 0.027 264.364) |
…and 110 more measured on the page.
Button states (measured)
- primary focus: outline
1px auto rgb(16, 16, 16)
Layout (measured)
- container max-width:
1095px - nav: 52px fixed
- common grid: 2 columns
Motion choreography (measured)
Load order: div.customers-scroll×2 → h1.mt-5 → h1.mt-5 → p.md:mt-2 → p.md:mt-2 → button.mr-2×9
Scroll reveal: 25 elements rest at opacity 0, translateY(100px), animate in over 1s ease.
Input (measured)
height 52px · radius 12px · focus ring 1px auto rgb(16, 16, 16)
Responsive (measured)
- breakpoints: 768px
- mobile (390px): hero 40px · nav inline
Install it
Drop this measured system into any shadcn/Tailwind project in one command:
npx shadcn add mozaika.design/r/decode/betterstack.com
registry item · or query it over MCP: get_design_system("Better Stack")
Export: DESIGN.md
# Better Stack — Design System > dark, professional, medium, tailwind — deep decode (measured live) ## Colors | Role | Value | |------|-------| | bg | `#0B0C14` | | surface | `#13141D` | | border | `#1F212C` | | text | `#939DB8` | | text_muted | `#5F6579` | | primary | `#171926` | | accent | `#939DB8` | | link | `#98A4F7` | | secondary | `#C9D3EE` | | button_bg | `transparent` | | button_text | `#939DB8` | **Using these colors** - **Action color** `#939DB8` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds. - **accent** `#939DB8` — 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** `#171926` — a brand color — but the call-to-action uses #939DB8, not this. - **link** `#98A4F7` — inline text links and link-styled controls. - **secondary** `#C9D3EE` — 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): `#0B0C14` 93.8% · `#454863` 6.2% ## Typography - Heading: **Roboto** - Body: **Roboto** | Role | Size / weight · line-height · tracking | |------|------------------------------------------| | hero | 53px / 500 · lh 58px | | h2 | 40px / 700 · lh 24px | | h3 | 28px / 700 · lh 41px | | body | 16px / 400 · lh 24px | | small | 14px / 400 · lh 20px | - Weight ladder: 400 · 500 · 600 · 700 — use these exact measured weights, not the 400/600 defaults. > **Fonts —** Roboto — free, on Google. ## Spacing - base unit: 8px (inferred from the measured scale) - measured scale: 2px, 4px, 6px, 8px, 12px, 16px, 18px, 20px, 24px, 32px — snap all gaps/padding to these - section rhythm: 192px top/bottom padding per section (measured) ## Radius - base: 6px - button: 8px - card: 16px - pill: 9999px ## Buttons | Button | Fill / text | Border | Radius | Padding | Font | Shadow | |--------|-------------|--------|--------|---------|------|--------| | primary | `oklch(0.21 0.034 264.665)` / `#939DB8` | 1px solid rgba(147, 157, 184, 0.2) | 8px | 2px 8px 2px 8px | 500 13px | none | | secondary | `rgba(0, 0, 0, 0)` / `#FFFFFF` | 1px solid rgba(255, 255, 255, 0.11) | 8px | 0px 8px 0px 8px | 500 13px | rgba(255, 255, 255, 0.25) 0px 1px 3px 0px inset | **States (measured, not guessed)** - primary focus: outline `1px auto rgb(16, 16, 16)` ## Motion - durations: 150ms (dominant) · 400ms · 500ms - easings: `cubic-bezier(0.4, 0, 0.2, 1)` (dominant) · `ease` - animated properties: opacity, transform, 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 | |-------|-------| | `--color-brand-yellow-80` | `#E9C899` | | `--color-brand-primary-300` | `#4449A9` | | `--color-neutral-600` | `#2F3647` | | `--color-deprecated-alert-teal-100` | `#009199` | | `--color-deprecated-secondary-red-100` | `#E0687D` | | `--color-neutral-300` | `#646E87` | | `--color-neutral-200` | `#939DB8` | | `--color-deprecated-alert-yellow-100` | `#EEC200` | | `--color-gray-300` | `oklch(87.2% 0.01 258.338)` | | `--color-gray-500` | `oklch(55.1% 0.027 264.364)` | | `--color-green-500` | `oklch(72.3% 0.219 149.579)` | | `--color-neutral-40` | `#F4F5F8` | _…and 108 more measured on the page._ Prefer these names when extending their system — it's the brand's actual vocabulary. ## Layout (measured) - container max 1095px · common grid: 2-col - nav: 52px fixed · bg oklab(0.157438 0.00259597 -0.0168886 / 0.8) | Section (y) | Height | Cols | Gap | Pad y | Split | |---|---|---|---|---|---| | 0 | 802 | 2 | — | 0/0 | — | | 1002 | 401 | 2 | 80 | 0/0 | 34/66 | | 1661 | 561 | — | — | 0/0 | — | | 2414 | 638 | — | — | 0/0 | — | | 3244 | 627 | — | — | 0/0 | — | | 4062 | 627 | — | — | 0/0 | — | ## Motion choreography (measured) Load order: `div.customers-scroll`×2 @0ms → `h1.mt-5` @172ms → `h1.mt-5` @172ms → `` @172ms → `` @172ms → `button.mr-2`×9 @448ms - `?` ×2 — opacity 1→0 — 500ms cubic-bezier(0.4, 0, 0.2, 1) - scroll reveal: 25 elements rest at opacity 0, translateY(100px), animate in over 1s ease (20 revealed during the drive). Rebuild the timeline, not just the durations — order, delays and staggers above are the choreography. ## Components (measured) - input: h 52px · r 12px · border 1px solid oklab(0.594193 0.00140399 -0.0566787 / 0.2) · bg oklab(0.594193 0.00140399 -0.0566787 / 0.1) · placeholder #646E87 - focus ring: `1px auto rgb(16, 16, 16)` — this exact construction, don't invent your own - link: #C9D3EE · underline - disabled: bg #171926 · text #939DB8 ## Responsive (measured) - breakpoints: 768px - mobile (390px): hero 40px · 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.
An automated reading of Better Stack's publicly-visible CSS (colors, fonts, spacing, motion) — not affiliated with betterstack.com. No screenshots stored. Removal requests: hello@mozaika.design.