Cap — Design System
Cap positions itself as the open-source Loom with gallery restraint: PP Neue Montreal at 60px/500 in black on soft grey #F2F2F2, 16px body, and quiet 6px-radius white buttons. Recorder UI and share-page frames float in generous whitespace — screen recording presented like a design-studio tool, its open-source badge worn as understatement.
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/cap.
Tokens
Cap's decoded design system: background #F2F2F2, text #000000, accent #3B82F6, link #3B82F6, primary #2563EB; type scale h1 60px / h2 36px / body 13px; 4px spacing base; 8px base radius. The single interactive/action color is #2563EB — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.
Color roles
| Role | Value |
|---|---|
| bg | #F2F2F2 |
| surface | #E3E3E3 |
| border | #CDCDCD |
| text | #000000 |
| text_muted | #5B5B5B |
| primary | #2563EB |
| accent | #3B82F6 |
| link | #3B82F6 |
| secondary | #8B5CF6 |
| button_bg | #2563EB |
| button_text | #FFFFFF |
Using these colors
- Action color
#2563EB— the single interactive color; only on things you click or must notice, never large fills. primary,button_bgare all#2563EB— one role, not several (the action color).accent,linkare all#3B82F6— one role, not several (the action color).- accent
#3B82F6— accent for emphasis — keep it rare on the page. - secondary
#8B5CF6— 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
- Mono: ui-monospace
- h1: 60px
- h2: 36px
- body: 13px
Spacing
- base unit: 4px
- scale: 2px, 4px, 6px, 8px, 10px, 12px, 14px, 16px, 20px, 24px
Radii
- base: 8px
- button: 9999px
Shadow
rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(255, 255, 255, 0.2) 0px 1.5px 0px 0px inset
Shadows (elevation)
- subtle:
rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 20px 25px -5px, rgba(0, 0, 0, 0.05) 0px 8px 10px -6px - card:
rgba(0, 0, 0, 0.05) 0px 4px 10px 0px - overlay:
rgba(0, 0, 0, 0.28) 0px 25px 50px -12px, rgba(0, 0, 0, 0.16) 0px 12px 24px -8px
Motion
Micro-interactions run at 150ms (dominant) with cubic-bezier(0.4, 0, 0.2, 1).
- durations: 150ms · 200ms · 600ms
- easings:
cubic-bezier(0.4, 0, 0.2, 1)·ease - animated properties: color, background-color, border-color, text-decoration-color
Native design tokens
| Token | Value |
|---|---|
--red-1 | #fffcfc |
--red-2 | #fff7f7 |
--red-3 | #feebec |
--red-4 | #ffdbdc |
--red-5 | #ffcdce |
--red-6 | #fdbdbe |
--red-7 | #f4a9aa |
--red-8 | #eb8e90 |
--red-9 | #e5484d |
--red-10 | #dc3e42 |
…and 95 more measured on the page.
Button states (measured)
- primary hover: background
#1D4ED8 - primary focus: outline
1px auto rgb(16, 16, 16)
Layout (measured)
- container max-width:
960px - nav: 58px fixed
- common grid: 2 columns
Motion choreography (measured)
Load order: div.flex → div.absolute → div.absolute → div.absolute×2 → div.absolute×2 → button.flex-1×2
Scroll reveal: 17 elements rest at opacity 0, translateY(20px), animate in over 0.15s cubic-bezier(0.4, 0, 0.2, 1).
Stagger: span ×20 — 28ms apart.
Stagger: div ×6 — 70ms apart.
Responsive (measured)
- breakpoints: 480px · 640px · 768px · 1024px · 1280px · 1536px
- mobile (390px): hero 36px · nav hamburger
Per-section tokens (10)
- Hero — light · bg #F2F2F2 · text #474950 · 2 col · split
- Logo Wall — light · bg #F2F2F2 · text #A5A7A9 · 1 col · left
- Feature — light · bg #FFFFFF · text #82838D · 1 col · left
- Feature — light · bg #F2F2F2 · text #8D8DC7 · 1 col · left
- Feature — light · bg #FCFCFC · text #1E1E2E · 2 col · left
- Bento Grid — light · bg #FDFDFD · text #DADBDD · 1 col · left
- Testimonial / Social Proof — light · bg #F2F2F2 · text #BAB9B9 · 1 col · left
- Pricing / Plans — light · bg #FDFDFD · text #B9C3D6 · 2 col · split
- FAQ — light · bg #F2F2F2 · text #D0D0D0 · 1 col · left
- Footer — light · bg #F2F2F2 · text #AFB5BF · 1 col · left
Export: DESIGN.md
# Cap — Design System > light, modern, medium, tailwind — deep decode (measured live) Cap positions itself as the open-source Loom with gallery restraint: PP Neue Montreal at 60px/500 in black on soft grey #F2F2F2, 16px body, and quiet 6px-radius white buttons. Recorder UI and share-page frames float in generous whitespace — screen recording presented like a design-studio tool, its open-source badge worn as understatement. ## Colors | Role | Value | |------|-------| | bg | `#F2F2F2` | | surface | `#E3E3E3` | | border | `#CDCDCD` | | text | `#000000` | | text_muted | `#5B5B5B` | | primary | `#2563EB` | | accent | `#3B82F6` | | link | `#3B82F6` | | secondary | `#8B5CF6` | | button_bg | `#2563EB` | | button_text | `#FFFFFF` | **Using these colors** - **Action color** `#2563EB` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds. - `primary`, `button_bg` are all `#2563EB` — one role, not several (your action color). - `accent`, `link` are all `#3B82F6` — one role, not several. - **accent** `#3B82F6` — accent for emphasis — keep it rare on the page. - **secondary** `#8B5CF6` — 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): `#F2F2F2` 75.4% · `#404041` 11% · `#6A80A7` 6.9% · `#D6D8DB` 6.6% ## Typography - Mono: **ui-monospace** _(measured)_ | Role | Size / weight · line-height · tracking | |------|------------------------------------------| | hero | 36px / 500 · lh 40px | | body | 18px / 400 · lh 28px | | small | 16px / 500 · lh 24px | | eyebrow | 14px / 500 · tracking 0.7px | - Weight ladder: 400 · 500 · 700 — use these exact measured weights, not the 400/600 defaults. ## Spacing - base unit: 4px (inferred from the measured scale) - measured scale: 2px, 4px, 6px, 8px, 10px, 12px, 14px, 16px, 20px, 24px — snap all gaps/padding to these ## Radius - base: 8px - button: 9999px - card: 12px - pill: 9999px - sharp: 2px ## Buttons | Button | Fill / text | Border | Radius | Padding | Font | Shadow | |--------|-------------|--------|--------|---------|------|--------| | primary | `#2563EB` / `#FFFFFF` | 1px solid rgb(30, 64, 175) | 9999px | 0px 20px 0px 20px | 500 16px | rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(255, 255, 255, 0.2) 0px 1.5px 0px 0px inset | | secondary | `#FFFFFF` / `#838383` | none | 6px | 0px 8px 0px 8px | 500 14px | none | **States (measured, not guessed)** - primary hover: background `#1D4ED8` - primary focus: outline `1px auto rgb(16, 16, 16)` - secondary hover: background `#F3F4F6` · color `#0090FF` - transition: `color 0.2s cubic-bezier(0.4, 0, 0.2, 1)` ## Shadows (elevation) - subtle: `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 20px 25px -5px, rgba(0, 0, 0, 0.05) 0px 8px 10px -6px` - card: `rgba(0, 0, 0, 0.05) 0px 4px 10px 0px` - button: `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(255, 255, 255, 0.2) 0px 1.5px 0px 0px inset` - overlay: `rgba(0, 0, 0, 0.28) 0px 25px 50px -12px, rgba(0, 0, 0, 0.16) 0px 12px 24px -8px` ## Motion - durations: 150ms (dominant) · 200ms · 600ms - easings: `cubic-bezier(0.4, 0, 0.2, 1)` (dominant) · `ease` - animated properties: color, background-color, border-color, text-decoration-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 | |-------|-------| | `--red-1` | `#fffcfc` | | `--red-2` | `#fff7f7` | | `--red-3` | `#feebec` | | `--red-4` | `#ffdbdc` | | `--red-5` | `#ffcdce` | | `--red-6` | `#fdbdbe` | | `--red-7` | `#f4a9aa` | | `--red-8` | `#eb8e90` | | `--red-9` | `#e5484d` | | `--red-10` | `#dc3e42` | | `--red-11` | `#ce2c31` | | `--red-12` | `#641723` | _…and 93 more measured on the page._ Prefer these names when extending their system — it's the brand's actual vocabulary. ## Layout (measured) - container max 960px · common grid: 2-col - nav: 58px fixed | Section (y) | Height | Cols | Gap | Pad y | Split | |---|---|---|---|---|---| | 140 | 762 | 2 | — | 0/0 | 35/65 | ## Motion choreography (measured) Load order: `div.flex` @0ms → `div.absolute` @0ms → `div.absolute` @0ms → `div.absolute`×2 @1046ms → `div.absolute`×2 @1046ms → `button.flex-1`×2 @3246ms - `div.flex` — transform translate(0px)→translate(-50%) — 30000ms · loops - stagger: `span` ×20 — 28ms apart - stagger: `div` ×6 — 70ms apart - scroll reveal: 17 elements rest at opacity 0, translateY(20px), animate in over 0.15s cubic-bezier(0.4, 0, 0.2, 1) (17 revealed during the drive). Rebuild the timeline, not just the durations — order, delays and staggers above are the choreography. ## Components (measured) - link: #838383 · no underline — hover #0090FF ## Responsive (measured) - breakpoints: 480px · 640px · 768px · 1024px · 1280px · 1536px - 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. --- > **Decoded with Mozaika** — measured live, not guessed. Full decoded design system + one-command install: mozaika.design/ds/cap
Export: Tailwind v4 (@theme)
@theme {
/* action color #2563EB — the one interactive color; buttons/links/emphasis only, never large fills. */
--color-bg: #F2F2F2;
--color-surface: #E3E3E3;
--color-border: #CDCDCD;
--color-text: #000000;
--color-text-muted: #5B5B5B;
--color-primary: #2563EB; /* primary brand / action color. */
--color-accent: #3B82F6; /* accent for emphasis — keep it rare on the page. */
--color-link: #3B82F6; /* inline text links and link-styled controls. */
--color-secondary: #8B5CF6; /* 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: #2563EB; /* primary-button fill — the main call-to-action color. */
--color-button-text: #FFFFFF;
--font-mono: "ui-monospace", ui-monospace, monospace;
/* measured weights: 400, 500, 700 — use these, not 400/600 */
--text-hero: 36px; --font-weight-hero: 500; --leading-hero: 40px;
--text-body: 18px; --font-weight-body: 400; --leading-body: 28px;
--text-small: 16px; --font-weight-small: 500; --leading-small: 24px;
--text-eyebrow: 14px; --font-weight-eyebrow: 500; --tracking-eyebrow: 0.7px;
--radius-base: 8px;
--radius-button: 9999px;
--radius-card: 12px;
--radius-pill: 9999px;
--radius-sharp: 2px;
--shadow-card: rgba(0, 0, 0, 0.05) 0px 4px 10px 0px;
--shadow-overlay: rgba(0, 0, 0, 0.28) 0px 25px 50px -12px, rgba(0, 0, 0, 0.16) 0px 12px 24px -8px;
--shadow-subtle: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 20px 25px -5px, rgba(0, 0, 0, 0.05) 0px 8px 10px -6px;
--color-btn-hover: #1D4ED8; /* measured primary hover fill */
--outline-focus: 1px auto rgb(16, 16, 16); /* measured focus ring */
--ease-brand: cubic-bezier(0.4, 0, 0.2, 1);
--duration-fast: 150ms; /* use: duration-[var(--duration-fast)] */
--duration-base: 200ms;
--duration-slow: 600ms;
--spacing: 4px; /* measured base — drives the p-*/gap-* scale. steps seen on the page: 2, 4, 6, 8, 10, 12, 14, 16, 20, 24px */
}Export: CSS variables
:root {
/* action color #2563EB — the one interactive color; buttons/links/emphasis only, never large fills. */
--bg: #F2F2F2;
--surface: #E3E3E3;
--border: #CDCDCD;
--text: #000000;
--text-muted: #5B5B5B;
--primary: #2563EB; /* primary brand / action color. */
--accent: #3B82F6; /* accent for emphasis — keep it rare on the page. */
--link: #3B82F6; /* inline text links and link-styled controls. */
--secondary: #8B5CF6; /* 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: #2563EB; /* primary-button fill — the main call-to-action color. */
--button-text: #FFFFFF;
--font-mono: "ui-monospace", ui-monospace, monospace;
--text-hero: 36px; --weight-hero: 500; --leading-hero: 40px;
--text-body: 18px; --weight-body: 400; --leading-body: 28px;
--text-small: 16px; --weight-small: 500; --leading-small: 24px;
--text-eyebrow: 14px; --weight-eyebrow: 500; --tracking-eyebrow: 0.7px;
--radius: 8px;
--radius-button: 9999px;
--radius-card: 12px;
--radius-pill: 9999px;
--radius-sharp: 2px;
--shadow-card: rgba(0, 0, 0, 0.05) 0px 4px 10px 0px;
--shadow-overlay: rgba(0, 0, 0, 0.28) 0px 25px 50px -12px, rgba(0, 0, 0, 0.16) 0px 12px 24px -8px;
--shadow-subtle: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 20px 25px -5px, rgba(0, 0, 0, 0.05) 0px 8px 10px -6px;
--btn-bg-hover: #1D4ED8;
--focus-ring: 1px auto rgb(16, 16, 16);
--ease: cubic-bezier(0.4, 0, 0.2, 1);
--duration-fast: 150ms;
--duration-base: 200ms;
--duration-slow: 600ms;
}
/* their own tokens, verbatim from the site's :root */
:root {
--red-1: #fffcfc;
--red-2: #fff7f7;
--red-3: #feebec;
--red-4: #ffdbdc;
--red-5: #ffcdce;
--red-6: #fdbdbe;
--red-7: #f4a9aa;
--red-8: #eb8e90;
--red-9: #e5484d;
--red-10: #dc3e42;
--red-11: #ce2c31;
--red-12: #641723;
}