MozaikaDesign system

Astro — Design System

dark · modern · medium · tailwind · confidence 90% · deep decode

The full decoded design system for Astro: color roles, type scale, spacing, radii and paste-ready DESIGN.md / Tailwind / CSS exports.

Open in Mozaika →

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/astro.

Tokens

Astro's decoded design system: background #060913, text #ECECEE, accent #59179F, link #61DAFB, primary #1F232E; type scale h1 48px / h2 36px / body 18px; 8px spacing base; 8px base radius. The single interactive/action color is #FFFFFF — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.

Color roles

RoleValue
bg#060913
surface#131620
border#282B33
text#ECECEE
text_muted#94959A
primary#1F232E
accent#59179F
link#61DAFB
secondary#183341
button_bg#FFFFFF
button_text#F2F6FA

Using these colors

Typography

Spacing

Radii

Shadows (elevation)

Motion

Micro-interactions run at 300ms (dominant) with cubic-bezier(0.4, 0, 0.2, 1).

Native design tokens

TokenValue
--ec-brdColrgb(84 88 100)
--ec-codeBg#17191e
--ec-codeFg#eef0f9
--ec-codeSelBg#3d4dfff0
--ec-gtrFg#686c76
--ec-gtrBrdCol#686c7633
--ec-gtrHlFg#858b98f9
--ec-uiSelBg#094771
--ec-uiSelFg#4bf3c8
--ec-focusBrd#00daef

…and 53 more measured on the page.

Button states (measured)

Layout (measured)

Motion choreography (measured)

Load order: div.absolute×2

Scroll reveal: 15 elements rest at opacity 0, translateY(-30px), animate in over 0.5s cubic-bezier(0.4, 0, 0.2, 1).

Responsive (measured)

Per-section tokens (11)

Export: DESIGN.md

# Astro — Design System

> dark, modern, medium, tailwind — deep decode (measured live)

## Colors

| Role | Value |
|------|-------|
| bg | `#060913` |
| surface | `#131620` |
| border | `#282B33` |
| text | `#ECECEE` |
| text_muted | `#94959A` |
| primary | `#1F232E` |
| accent | `#59179F` |
| link | `#61DAFB` |
| secondary | `#183341` |
| button_bg | `#FFFFFF` |
| button_text | `#F2F6FA` |

**Using these colors**

- **Action color** `#FFFFFF` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds.
- **accent** `#59179F` — accent for emphasis — keep it rare on the page.
- **primary** `#1F232E` — a brand color — but the call-to-action uses #FFFFFF, not this.
- **link** `#61DAFB` — inline text links and link-styled controls.
- **secondary** `#183341` — 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): `#1D1470` 52.3% · `#59179F` 17.6% · `#431487` 12.8% · `#120C38` 12.4%

## Typography

- Heading: **Obviously** _(free fallback: Newsreader)_
- Body: **Inter**
- Mono: **ui-monospace** _(measured)_

| Role | Size / weight · line-height · tracking |
|------|------------------------------------------|
| hero | 48px / 700 · lh 53px |
| h2 | 36px / 300 · lh 40px |
| h3 | 30px / 700 · lh 36px |
| body | 16px / 300 · lh 24px |
| small | 14px / 400 · lh 22px |

- Weight ladder: 300 · 400 · 500 · 600 · 700 — use these exact measured weights, not the 400/600 defaults.

> **Fonts —** Obviously may be proprietary — safe free fallback: Newsreader (Google Fonts). Inter — free, on Google.

## Spacing
- base unit: 8px (inferred from the measured scale)
- measured scale: 2px, 3px, 4px, 8px, 10px, 12px, 16px, 20px, 22px, 24px — snap all gaps/padding to these
- section rhythm: 160px top/bottom padding per section (measured)

## Radius
- base: 8px
- button: 9999px
- card: 12px
- pill: 9999px
- sharp: 3px

## Buttons

| Button | Fill / text | Border | Radius | Padding | Font | Shadow |
|--------|-------------|--------|--------|---------|------|--------|
| primary | `#FFFFFF` / `#F2F6FA` | 1px solid rgba(0, 0, 0, 0) | 9999px | 8px 16px 8px 16px | 400 16px | none |
| secondary | `rgba(0, 0, 0, 0)` / `#FFFFFF` | none | 9999px | 12px 12px 12px 12px | 300 16px | none |

**States (measured, not guessed)**

- primary hover: background `#F3F6FA`
- primary focus: outline `1px solid rgb(232, 196, 249)`
- transition: `all 0.5s cubic-bezier(0.4, 0, 0.2, 1)`

## Shadows (elevation)
- subtle: `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.1) 0px 1px 2px -1px`
- card: `rgba(255, 255, 255, 0) 1.6px 1.6px 3.2px 0px`

## Motion
- durations: 300ms (dominant) · 500ms · 150ms
- easings: `cubic-bezier(0.4, 0, 0.2, 1)` (dominant) · `cubic-bezier(0, 0, 0.2, 1)`
- animated properties: border-color, color, background-color, text-decoration-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 |
|-------|-------|
| `--ec-brdCol` | `rgb(84 88 100)` |
| `--ec-codeBg` | `#17191e` |
| `--ec-codeFg` | `#eef0f9` |
| `--ec-codeSelBg` | `#3d4dfff0` |
| `--ec-gtrFg` | `#686c76` |
| `--ec-gtrBrdCol` | `#686c7633` |
| `--ec-gtrHlFg` | `#858b98f9` |
| `--ec-uiSelBg` | `#094771` |
| `--ec-uiSelFg` | `#4bf3c8` |
| `--ec-focusBrd` | `#00daef` |
| `--ec-sbThumbCol` | `#343841` |
| `--ec-sbThumbHoverCol` | `#555965` |

_…and 51 more measured on the page._

Prefer these names when extending their system — it's the brand's actual vocabulary.

## Layout (measured)
- container max 1280px · common grid: 3-col
- nav: 80px

| Section (y) | Height | Cols | Gap | Pad y | Split |
|---|---|---|---|---|---|
| 80 | 764 | — | — | 0/0 | — |
| 640 | 172 | — | — | 0/0 | — |
| 988 | 398 | 3 | 48 | 32/32 | — |
| 1530 | 586 | — | — | 0/0 | — |
| 2260 | 787 | 5 | 24 | 0/0 | — |
| 2655 | 392 | 3 | 16 | 0/0 | — |
| 3191 | 1475 | 3 | 16 | 0/0 | — |

## Motion choreography (measured)
Load order: `div.absolute`×2 @0ms
- scroll reveal: 15 elements rest at opacity 0, translateY(-30px), animate in over 0.5s cubic-bezier(0.4, 0, 0.2, 1) (0 revealed during the drive).

Rebuild the timeline, not just the durations — order, delays and staggers above are the choreography.

## Components (measured)
- link: #F2F6FA · underline
- disabled: bg #61DAFB · text #030712

## Responsive (measured)
- mobile (390px): hero 30px · body 16px · nav: hamburger

## 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/astro

Export: Tailwind v4 (@theme)

@theme {
  /* action color #FFFFFF — the one interactive color; buttons/links/emphasis only, never large fills. */
  --color-bg: #060913;
  --color-surface: #131620;
  --color-border: #282B33;
  --color-text: #ECECEE;
  --color-text-muted: #94959A;
  --color-primary: #1F232E;  /* a brand color — but the call-to-action uses #FFFFFF, not this. */
  --color-accent: #59179F;  /* accent for emphasis — keep it rare on the page. */
  --color-link: #61DAFB;  /* inline text links and link-styled controls. */
  --color-secondary: #183341;  /* 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: #FFFFFF;  /* primary-button fill — the main call-to-action color. */
  --color-button-text: #F2F6FA;
  /* fonts: Obviously may be proprietary — safe free fallback: Newsreader (Google Fonts). Inter — free, on Google. */
  --font-heading: "Obviously", "Newsreader", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: "Inter", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: "ui-monospace", ui-monospace, monospace;
  /* measured weights: 300, 400, 500, 600, 700 — use these, not 400/600 */
  --text-hero: 48px; --font-weight-hero: 700; --leading-hero: 53px;
  --text-h2: 36px; --font-weight-h2: 300; --leading-h2: 40px;
  --text-h3: 30px; --font-weight-h3: 700; --leading-h3: 36px;
  --text-body: 16px; --font-weight-body: 300; --leading-body: 24px;
  --text-small: 14px; --font-weight-small: 400; --leading-small: 22px;
  --radius-base: 8px;
  --radius-button: 9999px;
  --radius-card: 12px;
  --radius-pill: 9999px;
  --radius-sharp: 3px;
  --shadow-card: rgba(255, 255, 255, 0) 1.6px 1.6px 3.2px 0px;
  --shadow-subtle: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.1) 0px 1px 2px -1px;
  --color-btn-hover: #F3F6FA;  /* measured primary hover fill */
  --outline-focus: 1px solid rgb(232, 196, 249);  /* measured focus ring */
  --ease-brand: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 150ms;  /* use: duration-[var(--duration-fast)] */
  --duration-base: 300ms;
  --duration-slow: 500ms;
  --section-y: 160px;  /* per-section vertical padding (measured) */
  --spacing: 8px;  /* measured base — drives the p-*/gap-* scale. steps seen on the page: 2, 3, 4, 8, 10, 12, 16, 20, 22, 24px */
}

Export: CSS variables

:root {
  /* action color #FFFFFF — the one interactive color; buttons/links/emphasis only, never large fills. */
  --bg: #060913;
  --surface: #131620;
  --border: #282B33;
  --text: #ECECEE;
  --text-muted: #94959A;
  --primary: #1F232E;  /* a brand color — but the call-to-action uses #FFFFFF, not this. */
  --accent: #59179F;  /* accent for emphasis — keep it rare on the page. */
  --link: #61DAFB;  /* inline text links and link-styled controls. */
  --secondary: #183341;  /* 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: #FFFFFF;  /* primary-button fill — the main call-to-action color. */
  --button-text: #F2F6FA;
  --font-heading: "Obviously", "Newsreader", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: "Inter", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: "ui-monospace", ui-monospace, monospace;
  --text-hero: 48px; --weight-hero: 700; --leading-hero: 53px;
  --text-h2: 36px; --weight-h2: 300; --leading-h2: 40px;
  --text-h3: 30px; --weight-h3: 700; --leading-h3: 36px;
  --text-body: 16px; --weight-body: 300; --leading-body: 24px;
  --text-small: 14px; --weight-small: 400; --leading-small: 22px;
  --radius: 8px;
  --radius-button: 9999px;
  --radius-card: 12px;
  --radius-pill: 9999px;
  --radius-sharp: 3px;
  --shadow-card: rgba(255, 255, 255, 0) 1.6px 1.6px 3.2px 0px;
  --shadow-subtle: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.1) 0px 1px 2px -1px;
  --btn-bg-hover: #F3F6FA;
  --focus-ring: 1px solid rgb(232, 196, 249);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration-base: 300ms;
  --duration-slow: 500ms;
  --section-y: 160px;
}

/* their own tokens, verbatim from the site's :root */
:root {
  --ec-brdCol: rgb(84 88 100);
  --ec-codeBg: #17191e;
  --ec-codeFg: #eef0f9;
  --ec-codeSelBg: #3d4dfff0;
  --ec-gtrFg: #686c76;
  --ec-gtrBrdCol: #686c7633;
  --ec-gtrHlFg: #858b98f9;
  --ec-uiSelBg: #094771;
  --ec-uiSelFg: #4bf3c8;
  --ec-focusBrd: #00daef;
  --ec-sbThumbCol: #343841;
  --ec-sbThumbHoverCol: #555965;
}
/* fonts: Obviously may be proprietary — safe free fallback: Newsreader (Google Fonts). Inter — free, on Google. */