Hasura — design system & UI screens
Light hero over two gradient cards: PromptQL for AI and Hasura for APIs and GraphQL.
This is a static, crawlable rendering for search & AI engines. The interactive version — filters, live decode console, copy & export — is at https://mozaika.design/website/hasura.
Decoded design system
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
Full design system, per-section tokens & DESIGN.md / Tailwind / CSS exports →