Sunsama — decoded design system
Sunsama'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/sunsama.com.
Decoded design system
Sunsama's decoded design system: background #FFFFFF, text #202228, accent #FF891C, link #FF891C, primary #FF891C; type scale h1 51px / h2 48px / body 16px; 4px spacing base; 16px base radius. The single interactive/action color is #FF891C — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.
Color roles
| Role | Value |
|---|---|
| bg | #FFFFFF |
| surface | #F1F1F2 |
| border | #DDDDDE |
| text | #202228 |
| text_muted | #747579 |
| primary | #FF891C |
| accent | #FF891C |
| link | #FF891C |
| secondary | #ECFFF2 |
| button_bg | #FF891C |
| button_text | #202228 |
Using these colors
- Action color
#FF891C— the single interactive color; only on things you click or must notice, never large fills. primary,accent,link,button_bgare all#FF891C— one role, not several (the action color).- accent
#FF891C— 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. - secondary
#ECFFF2— 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: DM Sans
- Body: DM Sans
- h1: 51px
- h2: 48px
- body: 16px
Spacing
- base unit: 4px
- scale: 4px, 6px, 8px, 10px, 12px, 16px, 20px, 24px, 32px, 40px
Radii
- base: 16px
- button: 30px
Shadows (elevation)
- subtle:
rgba(61, 71, 83, 0.05) 0px 0px 0px 0px, rgba(61, 71, 83, 0.05) 0px 1px 0px 0px, rgba(61, 71, 83, 0.08) 0px 2px 4px 0px - card:
rgba(0, 0, 0, 0.25) 0px 0px 35px 0px
Motion
Micro-interactions run at 200ms (dominant) with ease.
- durations: 200ms
- easings:
ease - animated properties: background-color
Native design tokens
| Token | Value |
|---|---|
--black | #202228 |
--ss-orange | #ff891c |
--light-black | #2c3034 |
--border-new | #f2f2f2 |
--bg-light-grey-new | #fafafa |
--border-2-new | #eeece6e3 |
--card-bg-white-50-new | #ffffff80 |
--bg-secondary-new | #f6f5f1 |
--blue | #2da8ff |
--ss-dark-organge | #f06351 |
…and 5 more measured on the page.
Button states (measured)
- primary hover: background
#DB7414 - primary focus: outline
1px auto rgb(16, 16, 16)
Layout (measured)
- nav: 84px relative
Motion choreography (measured)
Scroll reveal: 3 elements rest at opacity 0, translateY(16px).
Responsive (measured)
- breakpoints: 479px · 584px · 767px · 928px · 991px · 1120px
- mobile (390px): nav hamburger
Install it
Drop this measured system into any shadcn/Tailwind project in one command:
npx shadcn add mozaika.design/r/decode/sunsama.com
registry item · or query it over MCP: get_design_system("Sunsama")
Export: DESIGN.md
# Sunsama — Design System > light, modern, medium, custom — deep decode (measured live) ## Colors | Role | Value | |------|-------| | bg | `#FFFFFF` | | surface | `#F1F1F2` | | border | `#DDDDDE` | | text | `#202228` | | text_muted | `#747579` | | primary | `#FF891C` | | accent | `#FF891C` | | link | `#FF891C` | | secondary | `#ECFFF2` | | button_bg | `#FF891C` | | button_text | `#202228` | **Using these colors** - **Action color** `#FF891C` — 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`, `link`, `button_bg` are all `#FF891C` — one role, not several (your action color). - **accent** `#FF891C` — 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. - **secondary** `#ECFFF2` — 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): `#FFFFFF` 76.9% · `#FDE3D1` 9.3% · `#AD9F9D` 8.2% · `#E8E5E4` 5.6% ## Typography - Heading: **DM Sans** - Body: **DM Sans** | Role | Size / weight · line-height · tracking | |------|------------------------------------------| | hero | 51px / 600 · lh 59px · tracking -0.51px | | h2 | 48px / 600 · lh 56px · tracking -0.48px | | h3 | 44px / 600 · lh 48px · tracking -0.44px | | body | 16px / 500 · lh 20px · tracking -0.16px | | small | 15px / 400 · lh 23px | - Weight ladder: 400 · 500 · 600 · 700 — use these exact measured weights, not the 400/600 defaults. > **Fonts —** DM Sans — free, on Google. ## Spacing - base unit: 4px (inferred from the measured scale) - measured scale: 4px, 6px, 8px, 10px, 12px, 16px, 20px, 24px, 32px, 40px — snap all gaps/padding to these ## Radius - base: 16px - button: 30px - card: 10px - pill: 9999px - sharp: 3px ## Buttons | Button | Fill / text | Border | Radius | Padding | Font | Shadow | |--------|-------------|--------|--------|---------|------|--------| | primary | `#FF891C` / `#202228` | none | 30px | 10px 22px 10px 22px | 400 16px | none | | secondary | `rgba(0, 0, 0, 0)` / `#000000` | 1px solid rgb(0, 0, 0) | 3px | 7.5px 24px 7.5px 24px | 700 12px | none | **States (measured, not guessed)** - primary hover: background `#DB7414` - primary focus: outline `1px auto rgb(16, 16, 16)` - transition: `background-color 0.2s ease` ## Shadows (elevation) - subtle: `rgba(61, 71, 83, 0.05) 0px 0px 0px 0px, rgba(61, 71, 83, 0.05) 0px 1px 0px 0px, rgba(61, 71, 83, 0.08) 0px 2px 4px 0px` - card: `rgba(0, 0, 0, 0.25) 0px 0px 35px 0px` ## Motion - durations: 200ms (dominant) - easings: `ease` (dominant) - animated properties: background-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 | |-------|-------| | `--black` | `#202228` | | `--ss-orange` | `#ff891c` | | `--light-black` | `#2c3034` | | `--border-new` | `#f2f2f2` | | `--bg-light-grey-new` | `#fafafa` | | `--border-2-new` | `#eeece6e3` | | `--card-bg-white-50-new` | `#ffffff80` | | `--bg-secondary-new` | `#f6f5f1` | | `--blue` | `#2da8ff` | | `--ss-dark-organge` | `#f06351` | | `--orange-light` | `#ffe8e4` | | `--border-dark` | `#e5e4e0` | _…and 3 more measured on the page._ Prefer these names when extending their system — it's the brand's actual vocabulary. ## Layout (measured) - nav: 84px relative · bg rgba(221, 221, 221, 0) ## Motion choreography (measured) - scroll reveal: 3 elements rest at opacity 0, translateY(16px) (2 revealed during the drive). Rebuild the timeline, not just the durations — order, delays and staggers above are the choreography. ## Responsive (measured) - breakpoints: 479px · 584px · 767px · 928px · 991px · 1120px - mobile (390px): 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.
An automated reading of Sunsama's publicly-visible CSS (colors, fonts, spacing, motion) — not affiliated with sunsama.com. No screenshots stored. Removal requests: hello@mozaika.design.