Hasura — Design System
Hasura (now PromptQL-era) keeps GraphQL infrastructure in Archivo at 40px/500 with Inter at 14-24px, zero-radius text CTAs, and schematic diagrams in its signature blue-green. The page reads like well-organized API docs — data access tooling that trusts architecture diagrams over adjectives.
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/hasura.
Tokens
Hasura's decoded design system: background #FFFFFF, text #121212, accent #1863DC, link #ACB7D4, primary #1863DC; type scale h1 40px / h2 40px / body 18px; 4px spacing base; 8px base radius. The single interactive/action color is #1863DC — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.
Color roles
| Role | Value |
|---|---|
| bg | #FFFFFF |
| surface | #F0F0F0 |
| border | #DBDBDB |
| text | #121212 |
| text_muted | #6C6C6C |
| primary | #1863DC |
| accent | #1863DC |
| link | #ACB7D4 |
| secondary | #000615 |
| button_bg | #1863DC |
| button_text | #F4F4F4 |
Using these colors
- Action color
#1863DC— the single interactive color; only on things you click or must notice, never large fills. primary,accent,button_bgare all#1863DC— one role, not several (the action color).- accent
#1863DC— 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
#ACB7D4— fails contrast on the background (~2.0:1) — this is a dark UI color, NOT a readable link; use the text or action color for links (verify against the reference). - secondary
#000615— 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: Inter
- Body: Inter
- Mono: __JetBrains_Mono_3c557b
- h1: 40px
- h2: 40px
- body: 18px
Spacing
- base unit: 4px
- scale: 6px, 8px, 12px, 14px, 16px, 17px, 18px, 24px, 27px, 40px
Radii
- base: 8px
- button: 2px
Shadows (elevation)
- card:
rgba(0, 0, 0, 0.08) 0px 2px 6px 0px
Motion
Micro-interactions run at 150ms (dominant) with linear.
- durations: 150ms · 300ms
- easings:
linear·ease-in-out
Native design tokens
| Token | Value |
|---|---|
--radius | 0.5rem |
Button states (measured)
- primary focus: outline
2px solid rgb(24, 99, 220)
Layout (measured)
- nav: 60px
Overlay recipe (measured)
dialog panel: #FFFFFF · radius 6px
Input (measured)
height 48px · radius 8px · focus ring 2px solid rgba(0, 0, 0, 0)
Responsive (measured)
- breakpoints: 352px · 400px · 425px · 576px · 600px · 768px
- mobile (390px): hero 32px · nav inline
Per-section tokens (2)
- Hero — light · bg #F6F6F6 · text #474748 · 1 col · left
- Bento Grid — light · bg #ACB7D3 · text #768091 · 1 col · left
Export: DESIGN.md
# Hasura — Design System > light, modern, medium, tailwind — deep decode (measured live) Hasura (now PromptQL-era) keeps GraphQL infrastructure in Archivo at 40px/500 with Inter at 14-24px, zero-radius text CTAs, and schematic diagrams in its signature blue-green. The page reads like well-organized API docs — data access tooling that trusts architecture diagrams over adjectives. ## Colors | Role | Value | |------|-------| | bg | `#FFFFFF` | | surface | `#F0F0F0` | | border | `#DBDBDB` | | text | `#121212` | | text_muted | `#6C6C6C` | | primary | `#1863DC` | | accent | `#1863DC` | | link | `#ACB7D4` | | secondary | `#000615` | | button_bg | `#1863DC` | | button_text | `#F4F4F4` | **Using these colors** - **Action color** `#1863DC` — 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 `#1863DC` — one role, not several (your action color). - **accent** `#1863DC` — 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** `#ACB7D4` — fails contrast on the background (~2.0:1) — this is a dark UI color, NOT a readable link; use the text or action color for links (verify against the reference). - **secondary** `#000615` — 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): `#F5F5F5` 63.1% · `#ACB7D4` 20.9% · `#C7E4D7` 6.6% · `#A4E3B0` 5.7% ## Typography - Heading: **Inter** - Body: **Inter** - Mono: **__JetBrains_Mono_3c557b** _(measured)_ | Role | Size / weight · line-height · tracking | |------|------------------------------------------| | hero | 40px / 300 · lh 44px · tracking -1.92px | | h2 | 28px / 600 · lh 42px · tracking -0.84px | | h3 | 24px / 400 · lh 36px · tracking -0.84px | | body | 12px / 400 · lh 16px | - Weight ladder: 300 · 400 · 500 · 600 — use these exact measured weights, not the 400/600 defaults. > **Fonts —** Inter — free, on Google. ## Spacing - base unit: 4px (inferred from the measured scale) - measured scale: 6px, 8px, 12px, 14px, 16px, 17px, 18px, 24px, 27px, 40px — snap all gaps/padding to these ## Radius - base: 8px - button: 2px - card: 6px - sharp: 2px ## Buttons | Button | Fill / text | Border | Radius | Padding | Font | Shadow | |--------|-------------|--------|--------|---------|------|--------| | primary | `#3B5CA0` / `#FFFFFF` | 2px solid rgb(59, 92, 160) | 2px | 8px 27px 8px 27px | 500 14px | none | | secondary | `rgba(0, 0, 0, 0)` / `#030712` | 1px solid rgb(3, 7, 18) | 40px | 6px 14px 6px 14px | 400 14px / -0.28px | none | **States (measured, not guessed)** - primary focus: outline `2px solid rgb(24, 99, 220)` - secondary hover: background `#030712` · color `#FFFFFF` ## Shadows (elevation) - card: `rgba(0, 0, 0, 0.08) 0px 2px 6px 0px` ## Motion - durations: 150ms (dominant) · 300ms - easings: `linear` (dominant) · `ease-in-out` 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 | |-------|-------| | `--radius` | `0.5rem` | Prefer these names when extending their system — it's the brand's actual vocabulary. ## Layout (measured) - nav: 60px ## Motion choreography (measured) - overlay dialog (auto-opened): panel #FFFFFF · r 6px Rebuild the timeline, not just the durations — order, delays and staggers above are the choreography. ## Components (measured) - input: h 48px · r 8px · border 1px solid rgba(222, 222, 222, 0.2) · bg rgba(0, 0, 0, 0) · placeholder #6B7280 - focus ring: `2px solid rgba(0, 0, 0, 0)` — this exact construction, don't invent your own - link: #1863DC · underline ## Responsive (measured) - breakpoints: 352px · 400px · 425px · 576px · 600px · 768px - mobile (390px): hero 32px · body 16px · nav: inline ## 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/hasura
Export: Tailwind v4 (@theme)
@theme {
/* action color #1863DC — the one interactive color; buttons/links/emphasis only, never large fills. */
--color-bg: #FFFFFF;
--color-surface: #F0F0F0;
--color-border: #DBDBDB;
--color-text: #121212;
--color-text-muted: #6C6C6C;
--color-primary: #1863DC; /* primary brand / action color. */
--color-accent: #1863DC; /* 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: #ACB7D4; /* fails contrast on the background (~2.0:1) — this is a dark UI color, NOT a readable link; use the text or action color for links (verify against the reference). */
--color-secondary: #000615; /* 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: #1863DC; /* primary-button fill — the main call-to-action color. */
--color-button-text: #F4F4F4;
/* fonts: Inter — free, on Google. */
--font-heading: "Inter", system-ui, -apple-system, 'Segoe UI', sans-serif;
--font-body: "Inter", system-ui, -apple-system, 'Segoe UI', sans-serif;
--font-mono: "__JetBrains_Mono_3c557b", ui-monospace, monospace;
/* measured weights: 300, 400, 500, 600 — use these, not 400/600 */
--text-hero: 40px; --font-weight-hero: 300; --leading-hero: 44px; --tracking-hero: -1.92px;
--text-h2: 28px; --font-weight-h2: 600; --leading-h2: 42px; --tracking-h2: -0.84px;
--text-h3: 24px; --font-weight-h3: 400; --leading-h3: 36px; --tracking-h3: -0.84px;
--text-body: 12px; --font-weight-body: 400; --leading-body: 16px;
--radius-base: 8px;
--radius-button: 2px;
--radius-card: 6px;
--radius-sharp: 2px;
--shadow-card: rgba(0, 0, 0, 0.08) 0px 2px 6px 0px;
--outline-focus: 2px solid rgb(24, 99, 220); /* measured focus ring */
--ease-brand: linear;
--duration-fast: 150ms; /* use: duration-[var(--duration-fast)] */
--duration-base: 300ms;
--spacing: 4px; /* measured base — drives the p-*/gap-* scale. steps seen on the page: 6, 8, 12, 14, 16, 17, 18, 24, 27, 40px */
}Export: CSS variables
:root {
/* action color #1863DC — the one interactive color; buttons/links/emphasis only, never large fills. */
--bg: #FFFFFF;
--surface: #F0F0F0;
--border: #DBDBDB;
--text: #121212;
--text-muted: #6C6C6C;
--primary: #1863DC; /* primary brand / action color. */
--accent: #1863DC; /* 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: #ACB7D4; /* fails contrast on the background (~2.0:1) — this is a dark UI color, NOT a readable link; use the text or action color for links (verify against the reference). */
--secondary: #000615; /* 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: #1863DC; /* primary-button fill — the main call-to-action color. */
--button-text: #F4F4F4;
--font-heading: "Inter", system-ui, -apple-system, 'Segoe UI', sans-serif;
--font-body: "Inter", system-ui, -apple-system, 'Segoe UI', sans-serif;
--font-mono: "__JetBrains_Mono_3c557b", ui-monospace, monospace;
--text-hero: 40px; --weight-hero: 300; --leading-hero: 44px; --tracking-hero: -1.92px;
--text-h2: 28px; --weight-h2: 600; --leading-h2: 42px; --tracking-h2: -0.84px;
--text-h3: 24px; --weight-h3: 400; --leading-h3: 36px; --tracking-h3: -0.84px;
--text-body: 12px; --weight-body: 400; --leading-body: 16px;
--radius: 8px;
--radius-button: 2px;
--radius-card: 6px;
--radius-sharp: 2px;
--shadow-card: rgba(0, 0, 0, 0.08) 0px 2px 6px 0px;
--focus-ring: 2px solid rgb(24, 99, 220);
--ease: linear;
--duration-fast: 150ms;
--duration-base: 300ms;
}
/* their own tokens, verbatim from the site's :root */
:root {
--radius: 0.5rem;
}
/* fonts: Inter — free, on Google. */