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
- h1: 60px
- h2: 36px
- body: 13px
Spacing
- base unit: 4px
- scale: 2px, 4px, 6px, 8px, 12px, 16px, 24px, 32px
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
Per-section tokens (10)
Export: DESIGN.md
# Cap — Design System > light, modern, medium, tailwind 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. ## Typography - h1: 60px - h2: 36px - body: 13px ## Spacing - base unit: 4px - scale: 2px, 4px, 6px, 8px, 12px, 16px, 24px, 32px ## Radius - base: 8px - button: 9999px ## Primary button - bg `#2563EB` · text `#FFFFFF` · radius 9999px ## 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 #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;
--text-h1: 60px;
--text-h2: 36px;
--text-body: 13px;
--radius-base: 8px;
--radius-button: 9999px;
--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 #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;
--radius: 8px;
--radius-button: 9999px;
}