ElectricSQL — Design System
The full decoded design system for ElectricSQL: color roles, type scale, spacing, radii and paste-ready DESIGN.md / Tailwind / CSS exports.
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
| 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
- h1: 56px
- h2: 38px
- body: 20px
Spacing
- base unit: 4px
- scale: 2px, 4px, 6px, 8px, 12px, 16px, 24px, 32px
Radii
- base: 8px
- button: 20px
Per-section tokens (8)
Export: DESIGN.md
# ElectricSQL — Design System > dark, modern, medium, custom ## 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. ## Typography - h1: 56px - h2: 38px - body: 20px ## Spacing - base unit: 4px - scale: 2px, 4px, 6px, 8px, 12px, 16px, 24px, 32px ## Radius - base: 8px - button: 20px ## Primary button - bg `#56E8EA` · text `#1A1A1A` · radius 20px ## 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.
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;
--text-h1: 56px;
--text-h2: 38px;
--text-body: 20px;
--radius-base: 8px;
--radius-button: 20px;
--spacing-1: 2px;
--spacing-2: 4px;
--spacing-3: 6px;
--spacing-4: 8px;
--spacing-5: 12px;
--spacing-6: 16px;
--spacing-7: 24px;
--spacing-8: 32px;
}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;
--radius: 8px;
--radius-button: 20px;
}