Ritual — decoded design system
Ritual'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/ritual.com.
Decoded design system
Ritual's decoded design system: background #FFFFFF, text #142B6F, accent #142B6F, link #FFFFFF, primary #CBD5E1; type scale h1 40px / h2 32px / body 18px; 8px spacing base; 8px base radius. The single interactive/action color is #142A6F — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.
Color roles
| Role | Value |
|---|---|
| bg | #FFFFFF |
| surface | #F0F2F6 |
| border | #DBDFE9 |
| text | #142B6F |
| text_muted | #6D7BA5 |
| primary | #CBD5E1 |
| accent | #142B6F |
| link | #FFFFFF |
| secondary | #64748B |
| button_bg | #142A6F |
| button_text | #FFFFFF |
Using these colors
- Action color
#142A6F— the single interactive color; only on things you click or must notice, never large fills. accent#142B6F,button_bg#142A6Fare visually the same color (Δ1) — treat as one role (the action color).- accent
#142B6F— 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. - primary
#CBD5E1— a neutral UI color (chips, tags, icon fills, chrome), not the action color (action = #142A6F). - link
#FFFFFF— fails contrast on the background (~1.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
#64748B— 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: CircularXX
- Body: CircularXX
- h1: 40px
- h2: 32px
- body: 18px
Spacing
- base unit: 8px
- scale: 2px, 4px, 6px, 8px, 10px, 12px, 15px, 16px, 24px, 32px
Radii
- base: 8px
- button: 30px
Shadows (elevation)
- subtle:
rgba(0, 56, 255, 0.22) 0px 0px 0px 4px - card:
rgba(1, 1, 63, 0.1) 0px 2px 19px -4px - overlay:
rgba(0, 0, 0, 0.15) 0px 0px 30px 0px
Motion
Micro-interactions run at 500ms (dominant) with ease-in-out.
- durations: 500ms · 150ms · 300ms
- easings:
ease-in-out·cubic-bezier(0.4, 0, 0.2, 1) - animated properties: transform, translate, scale, rotate
Native design tokens
| Token | Value |
|---|---|
--color-background | #ffffff |
--color-background-secondary | #fef6eb |
--color-foreground | #142b6f |
--color-foreground-secondary | #717171 |
--color-accent-01 | #ab4824 |
--color-accent-02 | #717171 |
--color-border-01 | #b3b2b1 |
--color-border-02 | #717171 |
--color-disabled | #b3b2b1 |
--color-link | #142b6f |
…and 110 more measured on the page.
Button states (measured)
- primary focus: outline
2px solid rgb(0, 24, 255)
Layout (measured)
- container max-width:
1440px - nav: 61px relative
- common grid: 2 columns
Motion choreography (measured)
Load order: nav → ul.grid → li×10 → button.inline-flex×2 → span.highlight-hover×4 → a.pb-4×2
Overlay recipe (measured)
dialog panel: rgba(40, 40, 40, 0.6) · radius 0px · enter 350ms linear
Responsive (measured)
- breakpoints: 480px · 640px · 768px · 1024px · 1280px · 1536px
- mobile (390px): hero 40px · nav inline
Install it
Drop this measured system into any shadcn/Tailwind project in one command:
npx shadcn add mozaika.design/r/decode/ritual.com
registry item · or query it over MCP: get_design_system("Ritual")
Export: DESIGN.md
# Ritual — Design System > light, modern, medium, tailwind — deep decode (measured live) ## Colors | Role | Value | |------|-------| | bg | `#FFFFFF` | | surface | `#F0F2F6` | | border | `#DBDFE9` | | text | `#142B6F` | | text_muted | `#6D7BA5` | | primary | `#CBD5E1` | | accent | `#142B6F` | | link | `#FFFFFF` | | secondary | `#64748B` | | button_bg | `#142A6F` | | button_text | `#FFFFFF` | **Using these colors** - **Action color** `#142A6F` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds. - `accent` `#142B6F`, `button_bg` `#142A6F` are visually the same color (Δ1) — treat as one role (your action color). - **accent** `#142B6F` — 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. - **primary** `#CBD5E1` — a neutral UI color (chips, tags, icon fills, chrome), not the action color (action = #142A6F). - **link** `#FFFFFF` — fails contrast on the background (~1.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** `#64748B` — 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): `#7E7E7E` 49.6% · `#332F37` 18.4% · `#3E4C5B` 14.8% · `#716E62` 10.2% ## Typography - Heading: **CircularXX** _(free fallback: Newsreader)_ - Body: **CircularXX** _(free fallback: Newsreader)_ | Role | Size / weight · line-height · tracking | |------|------------------------------------------| | hero | 40px / 450 · lh 50px · tracking -0.4px | | h2 | 32px / 450 · lh 40px · tracking -0.32px | | h3 | 24px / 450 · lh 36px | | body | 18px / 500 · lh 27px | | small | 16px / 450 · lh 24px | | eyebrow | 12px / 500 · tracking 0.96px | - Weight ladder: 400 · 450 · 500 · 700 — use these exact measured weights, not the 400/600 defaults. > **Fonts —** CircularXX may be proprietary — safe free fallback: Newsreader (Google Fonts). ## Spacing - base unit: 8px (inferred from the measured scale) - measured scale: 2px, 4px, 6px, 8px, 10px, 12px, 15px, 16px, 24px, 32px — snap all gaps/padding to these - section rhythm: 48px top/bottom padding per section (measured) ## Radius - base: 8px - button: 30px - card: 25px - pill: 9999px - sharp: 2px ## Buttons | Button | Fill / text | Border | Radius | Padding | Font | Shadow | |--------|-------------|--------|--------|---------|------|--------| | primary | `#142A6F` / `#FFFFFF` | none | 30px | 0px 0px 0px 0px | 700 16px | none | | secondary | `#F5F7F8` / `#142B6F` | none | 25px | — | — | none | **States (measured, not guessed)** - primary focus: outline `2px solid rgb(0, 24, 255)` ## Shadows (elevation) - subtle: `rgba(0, 56, 255, 0.22) 0px 0px 0px 4px` - card: `rgba(1, 1, 63, 0.1) 0px 2px 19px -4px` - overlay: `rgba(0, 0, 0, 0.15) 0px 0px 30px 0px` ## Motion - durations: 500ms (dominant) · 150ms · 300ms - easings: `ease-in-out` (dominant) · `cubic-bezier(0.4, 0, 0.2, 1)` - animated properties: transform, translate, scale, rotate 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 | |-------|-------| | `--color-background` | `#ffffff` | | `--color-background-secondary` | `#fef6eb` | | `--color-foreground` | `#142b6f` | | `--color-foreground-secondary` | `#717171` | | `--color-accent-01` | `#ab4824` | | `--color-accent-02` | `#717171` | | `--color-border-01` | `#b3b2b1` | | `--color-border-02` | `#717171` | | `--color-disabled` | `#b3b2b1` | | `--color-link` | `#142b6f` | | `--button-primary-color` | `#ffffff` | | `--button-primary-hover-color` | `#142b6f` | _…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 1440px · common grid: 2-col - nav: 61px relative · bg #FFFFFF | Section (y) | Height | Cols | Gap | Pad y | Split | |---|---|---|---|---|---| | 117 | 567 | 2 | — | 0/0 | 70/30 | | 684 | 651 | 2 | 16 | 0/0 | 95/5 | | 1335 | 240 | — | — | 0/0 | — | | 1575 | 720 | 2 | — | 0/0 | — | | 2295 | 672 | 2 | 32 | 0/0 | — | | 3081 | 492 | — | — | 0/0 | — | | 3573 | 444 | — | — | 0/0 | — | | 3697 | 168 | — | — | 0/0 | — | ## Motion choreography (measured) Load order: `nav` @0ms → `ul.grid` @0ms → `li`×10 @0ms → `button.inline-flex`×2 @0ms → `span.highlight-hover`×4 @0ms → `a.pb-4`×2 @0ms - `div.needsclick` — opacity 0→1 — 350ms ease - `?` — opacity 0→1 · transform translateY(10px)→translateY(0px) — 500ms ease-in-out - `ul.grid` — opacity 0→1 · transform translateY(10px)→translateY(0px) — 500ms ease-in-out - `li` ×4 — opacity 0→1 · transform translateY(10px)→translateY(0px) — 500ms ease-in-out - `button.inline-flex` ×2 — opacity 0→1 · transform translateY(10px)→translateY(0px) — 500ms ease-in-out - `span.highlight-hover` ×4 — opacity 0→1 · transform translateY(10px)→translateY(0px) — 500ms ease-in-out - overlay dialog (auto-opened): panel rgba(40, 40, 40, 0.6) · r 0px - enter: opacity from 0 · 350ms linear - exit: opacity from 1 · 350ms linear | transform+opacity from translate3d(0px, 10%, 0px),0 · 350ms linear Rebuild the timeline, not just the durations — order, delays and staggers above are the choreography. ## Components (measured) - link: #FFFFFF · underline ## Responsive (measured) - breakpoints: 480px · 640px · 768px · 1024px · 1280px · 1536px - mobile (390px): hero 40px · 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.
An automated reading of Ritual's publicly-visible CSS (colors, fonts, spacing, motion) — not affiliated with ritual.com. No screenshots stored. Removal requests: hello@mozaika.design.