ElectricSQL — decoded design system
ElectricSQL'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/electric-sql.com.
Decoded design system
ElectricSQL's decoded design system: background #111318, text #ECECEE, accent #56E8EA, link #75FBFD, primary #56E8EA; type scale h1 56px / h2 42px / body 17px; 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
| 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; only on things you click or must notice, never large fills. primary,accent,button_bgare all#56E8EA— one role, not several (the 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.
Typography
- Heading: OpenSauceOne
- Body: OpenSauceOne
- h1: 56px
- h2: 42px
- body: 17px
Spacing
- base unit: 4px
- scale: 2px, 4px, 5px, 6px, 8px, 10px, 12px, 14px, 20px, 24px
Radii
- base: 8px
- button: 20px
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
Micro-interactions run at 340ms (dominant) with cubic-bezier(0.65, 0, 0.35, 1).
- durations: 340ms · 250ms · 200ms
- easings:
cubic-bezier(0.65, 0, 0.35, 1)·ease - animated properties: opacity, color, transform, border-color
Native design tokens
| 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 |
…and 110 more measured on the page.
Button states (measured)
- primary hover: background
#75FBFD - primary focus: outline
1px auto rgb(16, 16, 16)
Layout (measured)
- container max-width:
1152px - nav: 64px relative
- common grid: 2 columns
Motion choreography (measured)
Load order: span.csd-dot×3 → div.VPNavBar → span.title-suffix → div.why-loops-head → div.why-loops-head → article.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)
- breakpoints: 480px · 549px · 559px · 640px · 768px · 960px
- mobile (390px): hero 36px · nav hamburger
Install it
Drop this measured system into any shadcn/Tailwind project in one command:
npx shadcn add mozaika.design/r/decode/electric-sql.com
registry item · or query it over MCP: get_design_system("ElectricSQL")
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 - Heading: **OpenSauceOne** _(free fallback: Newsreader)_ - Body: **OpenSauceOne** _(free fallback: Newsreader)_ | 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. > **Fonts —** OpenSauceOne may be proprietary — safe free fallback: Newsreader (Google Fonts). ## 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.
An automated reading of ElectricSQL's publicly-visible CSS (colors, fonts, spacing, motion) — not affiliated with electric-sql.com. No screenshots stored. Removal requests: hello@mozaika.design.