MozaikaDesign system

ElectricSQL — Design System

dark · modern · medium · custom · confidence 92% · deep decode

The full decoded design system for ElectricSQL: 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/electricsql.

Tokens

ElectricSQL's decoded design system: background #111318, text #ECECEE, accent #56E8EA, link #75FBFD, primary #56E8EA; type scale h1 56px / h2 38px / body 20px; 4px spacing base; 8px base radius. The single interactive/action color is #56E8EA — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.

Color roles

RoleValue
bg#111318
surface#1E2024
border#313338
text#ECECEE
text_muted#98999C
primary#56E8EA
accent#56E8EA
link#75FBFD
secondary#22C55E
button_bg#56E8EA
button_text#1A1A1A

Using these colors

Typography

Spacing

Radii

Shadows (elevation)

Motion

Micro-interactions run at 340ms (dominant) with cubic-bezier(0.65, 0, 0.35, 1).

Native design tokens

TokenValue
--vp-c-white#ffffff
--vp-c-black#000000
--vp-c-neutral#ffffff
--vp-c-neutral-inverse#000000
--vp-c-gray-1#3a3f52
--vp-c-gray-2#2d3142
--vp-c-gray-3#22252f
--vp-c-gray-softrgba(255, 255, 255, .05)
--vp-c-indigo-1#75fbfd
--vp-c-indigo-2#b8fdfe

…and 110 more measured on the page.

Button states (measured)

Layout (measured)

Motion choreography (measured)

Load order: span.csd-dot×3 → div.VPNavBarspan.title-suffixdiv.why-loops-headdiv.why-loops-headarticle.why-card×3

Scroll reveal: 40 elements rest at opacity 0, translateY(24px), animate in over 0.34s cubic-bezier(0.65, 0, 0.35, 1).

Overlay recipe (measured)

dropdown panel: #22252F · radius 12px

Responsive (measured)

Per-section tokens (8)

Export: DESIGN.md

# ElectricSQL — Design System

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

## Colors

| Role | Value |
|------|-------|
| bg | `#111318` |
| surface | `#1E2024` |
| border | `#313338` |
| text | `#ECECEE` |
| text_muted | `#98999C` |
| primary | `#56E8EA` |
| accent | `#56E8EA` |
| link | `#75FBFD` |
| secondary | `#22C55E` |
| button_bg | `#56E8EA` |
| button_text | `#1A1A1A` |

**Using these colors**

- **Action color** `#56E8EA` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds.
- `primary`, `accent`, `button_bg` are all `#56E8EA` — one role, not several (your action color).
- **accent** `#56E8EA` — 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** `#75FBFD` — inline text links and link-styled controls.
- **secondary** `#22C55E` — 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): `#111318` 93.8% · `#4E5C5E` 6.2%

## Typography


| Role | Size / weight · line-height · tracking |
|------|------------------------------------------|
| hero | 56px / 700 · lh 59px · tracking -1.12px |
| h2 | 42px / 600 · lh 44px · tracking -0.84px |
| h3 | 38px / 600 · lh 44px · tracking -0.57px |
| body | 17px / 500 · lh 27px |
| small | 16px / 400 · lh 26px |
| eyebrow | 11px / 400 · tracking 0.88px |

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

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

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

## Buttons

| Button | Fill / text | Border | Radius | Padding | Font | Shadow |
|--------|-------------|--------|--------|---------|------|--------|
| primary | `#56E8EA` / `#1A1A1A` | 1px solid rgba(0, 0, 0, 0) | 20px | 0px 17px 0px 17px | 550 14px | none |
| secondary | `#22252F` / `rgba(235, 235, 245, 0.8)` | 1px solid rgba(0, 0, 0, 0) | 8px | 0px 10px 0px 12px | 500 13.3333px | none |

**States (measured, not guessed)**

- primary hover: background `#75FBFD`
- primary focus: outline `1px auto rgb(16, 16, 16)`
- secondary hover: border `1px solid rgb(117, 251, 253)` · background `rgba(255, 255, 255, 0.05)` · color `rgba(255, 255, 245, 0.92)`
- transition: `color 0.25s ease`

## Shadows (elevation)
- card: `rgba(0, 0, 0, 0.1) 0px 12px 32px 0px, rgba(0, 0, 0, 0.08) 0px 2px 6px 0px`
- overlay: `rgba(0, 0, 0, 0.55) 0px 28px 60px -12px, rgba(0, 0, 0, 0.35) 0px 10px 22px -8px`

## Motion
- durations: 340ms (dominant) · 250ms · 200ms
- easings: `cubic-bezier(0.65, 0, 0.35, 1)` (dominant) · `ease`
- animated properties: opacity, color, transform, border-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 |
|-------|-------|
| `--vp-c-white` | `#ffffff` |
| `--vp-c-black` | `#000000` |
| `--vp-c-neutral` | `#ffffff` |
| `--vp-c-neutral-inverse` | `#000000` |
| `--vp-c-gray-1` | `#3a3f52` |
| `--vp-c-gray-2` | `#2d3142` |
| `--vp-c-gray-3` | `#22252f` |
| `--vp-c-gray-soft` | `rgba(255, 255, 255, .05)` |
| `--vp-c-indigo-1` | `#75fbfd` |
| `--vp-c-indigo-2` | `#b8fdfe` |
| `--vp-c-indigo-3` | `#56e8ea` |
| `--vp-c-indigo-soft` | `rgba(100, 108, 255, .16)` |

_…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 1152px · common grid: 2-col
- nav: 64px relative

| Section (y) | Height | Cols | Gap | Pad y | Split |
|---|---|---|---|---|---|
| 128 | 489 | 2 | 36 | 8/60 | — |
| 617 | 433 | 3 | 24 | 80/80 | — |
| 1050 | 445 | — | — | 0/0 | — |
| 1495 | 479 | — | — | 0/0 | — |
| 1974 | 461 | — | — | 0/0 | — |
| 2434 | 368 | 2 | 12 | 80/80 | — |
| 2803 | 643 | 3 | 24 | 80/80 | — |
| 2883 | 482 | 3 | 24 | 0/0 | — |

## Motion choreography (measured)
Load order: `span.csd-dot`×3 @0ms → `div.VPNavBar` @610ms → `span.title-suffix` @611ms → `div.why-loops-head` @667ms → `div.why-loops-head` @667ms → `article.why-card`×3 @667ms
- `div.hch-bridge` — opacity 0→0.55 — 800ms ease-in-out
- `span.csd-dot` ×3 — opacity 1→1 — 1600ms ease-in-out · loops
- scroll reveal: 40 elements rest at opacity 0, translateY(24px), animate in over 0.34s cubic-bezier(0.65, 0, 0.35, 1) (4 revealed during the drive).
- overlay dropdown (auto-opened): panel #22252F · r 12px · border 1px solid rgb(42, 45, 56) · shadow rgba(0, 0, 0, 0.1) 0px 12px 32px 0px, rgba(0, 0, 0, 0.08) 0px 2px 6px 0px

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

## Components (measured)
- card ×3: pad 28px 28px 32px 28px · r 14px · border 1px solid rgb(42, 45, 56) · bg #16181F
  - hover: border `1px solid color(srgb 0.267647 0.459216 0.49)` · font-weight `400` · letter-spacing `normal` · transform `matrix(1, 0, 0, 1, 0, 0)`
- link: #75FBFD · no underline

## Responsive (measured)
- breakpoints: 480px · 549px · 559px · 640px · 768px · 960px
- mobile (390px): hero 36px · 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/electricsql

Export: Tailwind v4 (@theme)

@theme {
  /* action color #56E8EA — the one interactive color; buttons/links/emphasis only, never large fills. */
  --color-bg: #111318;
  --color-surface: #1E2024;
  --color-border: #313338;
  --color-text: #ECECEE;
  --color-text-muted: #98999C;
  --color-primary: #56E8EA;  /* primary brand / action color. */
  --color-accent: #56E8EA;  /* 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: #75FBFD;  /* inline text links and link-styled controls. */
  --color-secondary: #22C55E;  /* 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: #56E8EA;  /* primary-button fill — the main call-to-action color. */
  --color-button-text: #1A1A1A;
  /* measured weights: 400, 450, 500, 600, 700 — use these, not 400/600 */
  --text-hero: 56px; --font-weight-hero: 700; --leading-hero: 59px; --tracking-hero: -1.12px;
  --text-h2: 42px; --font-weight-h2: 600; --leading-h2: 44px; --tracking-h2: -0.84px;
  --text-h3: 38px; --font-weight-h3: 600; --leading-h3: 44px; --tracking-h3: -0.57px;
  --text-body: 17px; --font-weight-body: 500; --leading-body: 27px;
  --text-small: 16px; --font-weight-small: 400; --leading-small: 26px;
  --text-eyebrow: 11px; --font-weight-eyebrow: 400; --tracking-eyebrow: 0.88px;
  --radius-base: 8px;
  --radius-button: 20px;
  --radius-card: 12px;
  --radius-pill: 9999px;
  --shadow-card: rgba(0, 0, 0, 0.1) 0px 12px 32px 0px, rgba(0, 0, 0, 0.08) 0px 2px 6px 0px;
  --shadow-overlay: rgba(0, 0, 0, 0.55) 0px 28px 60px -12px, rgba(0, 0, 0, 0.35) 0px 10px 22px -8px;
  --color-btn-hover: #75FBFD;  /* measured primary hover fill */
  --outline-focus: 1px auto rgb(16, 16, 16);  /* measured focus ring */
  --ease-brand: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 200ms;  /* use: duration-[var(--duration-fast)] */
  --duration-base: 250ms;
  --duration-slow: 340ms;
  --section-y: 80px;  /* per-section vertical padding (measured) */
  --spacing: 4px;  /* measured base — drives the p-*/gap-* scale. steps seen on the page: 2, 4, 5, 6, 8, 10, 12, 14, 20, 24px */
}

Export: CSS variables

:root {
  /* action color #56E8EA — the one interactive color; buttons/links/emphasis only, never large fills. */
  --bg: #111318;
  --surface: #1E2024;
  --border: #313338;
  --text: #ECECEE;
  --text-muted: #98999C;
  --primary: #56E8EA;  /* primary brand / action color. */
  --accent: #56E8EA;  /* 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: #75FBFD;  /* inline text links and link-styled controls. */
  --secondary: #22C55E;  /* 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: #56E8EA;  /* primary-button fill — the main call-to-action color. */
  --button-text: #1A1A1A;
  --text-hero: 56px; --weight-hero: 700; --leading-hero: 59px; --tracking-hero: -1.12px;
  --text-h2: 42px; --weight-h2: 600; --leading-h2: 44px; --tracking-h2: -0.84px;
  --text-h3: 38px; --weight-h3: 600; --leading-h3: 44px; --tracking-h3: -0.57px;
  --text-body: 17px; --weight-body: 500; --leading-body: 27px;
  --text-small: 16px; --weight-small: 400; --leading-small: 26px;
  --text-eyebrow: 11px; --weight-eyebrow: 400; --tracking-eyebrow: 0.88px;
  --radius: 8px;
  --radius-button: 20px;
  --radius-card: 12px;
  --radius-pill: 9999px;
  --shadow-card: rgba(0, 0, 0, 0.1) 0px 12px 32px 0px, rgba(0, 0, 0, 0.08) 0px 2px 6px 0px;
  --shadow-overlay: rgba(0, 0, 0, 0.55) 0px 28px 60px -12px, rgba(0, 0, 0, 0.35) 0px 10px 22px -8px;
  --btn-bg-hover: #75FBFD;
  --focus-ring: 1px auto rgb(16, 16, 16);
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 200ms;
  --duration-base: 250ms;
  --duration-slow: 340ms;
  --section-y: 80px;
}

/* their own tokens, verbatim from the site's :root */
:root {
  --vp-c-white: #ffffff;
  --vp-c-black: #000000;
  --vp-c-neutral: #ffffff;
  --vp-c-neutral-inverse: #000000;
  --vp-c-gray-1: #3a3f52;
  --vp-c-gray-2: #2d3142;
  --vp-c-gray-3: #22252f;
  --vp-c-gray-soft: rgba(255, 255, 255, .05);
  --vp-c-indigo-1: #75fbfd;
  --vp-c-indigo-2: #b8fdfe;
  --vp-c-indigo-3: #56e8ea;
  --vp-c-indigo-soft: rgba(100, 108, 255, .16);
}