MozaikaLive decode

Astro — decoded design system

astro.build · dark · modern · tailwind · deep decode — measured live

Astro'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.

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

Decoded design system

Astro's decoded design system: background #060913, text #F2F6FA, accent #61DAFB, link #BFC1C9, primary #1F232E; type scale h1 48px / h2 36px / body 16px; 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#141720
border#292C35
text#F2F6FA
text_muted#989BA2
primary#1F232E
accent#61DAFB
link#BFC1C9
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)

Install it

Drop this measured system into any shadcn/Tailwind project in one command:

npx shadcn add mozaika.design/r/decode/astro.build

registry item · or query it over MCP: get_design_system("Astro")

Export: DESIGN.md

# Astro — Design System

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

## Colors

| Role | Value |
|------|-------|
| bg | `#060913` |
| surface | `#141720` |
| border | `#292C35` |
| text | `#F2F6FA` |
| text_muted | `#989BA2` |
| primary | `#1F232E` |
| accent | `#61DAFB` |
| link | `#BFC1C9` |
| 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** `#61DAFB` — accent for emphasis — keep it rare on the page.
- **primary** `#1F232E` — a brand color — but the call-to-action uses #FFFFFF, not this.
- **link** `#BFC1C9` — reads as a neutral UI color, not a link accent — verify against the reference (action = #FFFFFF).
- **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.

← All decoded design systems

Mozaika is an MCP-native design-reference library for AI coding agents: real products decoded into measured design systems, full-page screens, sliced sections with per-section specs, and ordered user flows. Connect your agent over MCP.

An automated reading of Astro's publicly-visible CSS (colors, fonts, spacing, motion) — not affiliated with astro.build. No screenshots stored. Removal requests: hello@mozaika.design.