Code Salad — decoded design system
Code Salad'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/code-salad.github.io.
Decoded design system
Code Salad's decoded design system: background #09090B, text #E4E4E7, accent #34D399, link #18181B, primary #F87171; type scale h1 101px / h2 59px / body 14px; 4px spacing base; 6px base radius. The single interactive/action color is #F4F4F5 — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.
Color roles
| Role | Value |
|---|---|
| bg | #09090B |
| surface | #161618 |
| border | #29292C |
| text | #E4E4E7 |
| text_muted | #909093 |
| primary | #F87171 |
| accent | #34D399 |
| link | #18181B |
| secondary | #C4B5FD |
| button_bg | #F4F4F5 |
| button_text | #18181B |
Using these colors
- Action color
#F4F4F5— the single interactive color; only on things you click or must notice, never large fills. - accent
#34D399— accent for emphasis — keep it rare on the page. - primary
#F87171— a brand color — but the call-to-action uses #F4F4F5, not this. - link
#18181B— fails contrast on the background (~1.1:1) — this is a dark UI color, NOT a readable link; use the text or action color for links (verify against the reference). - secondary
#C4B5FD— 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: SFMono-Regular
- Body: SFMono-Regular
- Mono: SFMono-Regular
- h1: 101px
- h2: 59px
- body: 14px
Spacing
- base unit: 4px
- scale: 4px, 9px, 10px, 12px, 13px, 14px, 16px, 20px, 21px, 32px
Radii
- base: 6px
- button: 8px
Shadows (elevation)
- overlay:
rgba(0, 0, 0, 0.26) 0px 24px 80px 0px
Motion
Micro-interactions run at 180ms (dominant) with ease.
- durations: 180ms
- easings:
ease - animated properties: border-color, background-color, transform, color
Button states (measured)
- primary hover: background
#FFFFFF· transformmatrix(1, 0, 0, 1, 0, -1) - primary focus: outline
2px solid rgb(125, 211, 252)
Layout (measured)
- container max-width:
1200px - nav: 88px
- common grid: 2 columns
Responsive (measured)
- mobile (390px): hero 62px · nav inline
Install it
Drop this measured system into any shadcn/Tailwind project in one command:
npx shadcn add mozaika.design/r/decode/code-salad.github.io
Or as a Meta Astryx theme — a ready defineTheme file with the measured hover/press states baked in:
curl -o src/themes/code-salad.theme.ts https://mozaika.design/api/astryx/decode/code-salad.github.io.ts
registry item · astryx theme · or query it over MCP: get_design_system("Code Salad")
Export: DESIGN.md
# Code Salad — Design System > dark, modern, medium, custom — deep decode (measured live) ## Colors | Role | Value | |------|-------| | bg | `#09090B` | | surface | `#161618` | | border | `#29292C` | | text | `#E4E4E7` | | text_muted | `#909093` | | primary | `#F87171` | | accent | `#34D399` | | link | `#18181B` | | secondary | `#C4B5FD` | | button_bg | `#F4F4F5` | | button_text | `#18181B` | **Using these colors** - **Action color** `#F4F4F5` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds. - **accent** `#34D399` — accent for emphasis — keep it rare on the page. - **primary** `#F87171` — a brand color — but the call-to-action uses #F4F4F5, not this. - **link** `#18181B` — fails contrast on the background (~1.1:1) — this is a dark UI color, NOT a readable link; use the text or action color for links (verify against the reference). - **secondary** `#C4B5FD` — 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): `#09090B` 95.3% · `#2F2F32` 4.7% ## Typography - Heading: **SFMono-Regular** _(free fallback: JetBrains Mono)_ - Body: **SFMono-Regular** _(free fallback: JetBrains Mono)_ - Mono: **SFMono-Regular** | Role | Size / weight · line-height · tracking | |------|------------------------------------------| | hero | 101px / 750 · lh 95px · tracking -5.54px | | h2 | 59px / 700 · lh 58px · tracking -3.26px | | h3 | 48px / 700 · lh 47px · tracking -2.64px | | body | 14px / 400 · lh 24px | | small | 13px / 400 · lh 24px | | eyebrow | 9px / 700 · tracking 0.74px | - Weight ladder: 400 · 500 · 700 · 750 — use these exact measured weights, not the 400/600 defaults. > **Fonts —** SFMono-Regular may be proprietary — safe free fallback: JetBrains Mono (Google Fonts). ## Spacing - base unit: 4px (inferred from the measured scale) - measured scale: 4px, 9px, 10px, 12px, 13px, 14px, 16px, 20px, 21px, 32px — snap all gaps/padding to these - section rhythm: 128px top/bottom padding per section (measured) ## Radius - base: 6px - button: 8px - card: 7px ## Buttons | Button | Fill / text | Border | Radius | Padding | Font | Shadow | |--------|-------------|--------|--------|---------|------|--------| | primary | `#F4F4F5` / `#18181B` | 1px solid rgba(0, 0, 0, 0) | 8px | 10.4px 14.4px 10.4px 14.4px | 700 13.2px | none | | secondary | `rgba(24, 24, 27, 0.72)` / `#D4D4D8` | 1px solid rgb(63, 63, 70) | 8px | 10.4px 14.4px 10.4px 14.4px | 700 13.2px | none | **States (measured, not guessed)** - primary hover: background `#FFFFFF` · transform `matrix(1, 0, 0, 1, 0, -1)` - primary focus: outline `2px solid rgb(125, 211, 252)` - secondary hover: border `1px solid rgb(113, 113, 122)` · background `#27272A` · color `#FAFAFA` · transform `matrix(1, 0, 0, 1, 0, -1)` - transition: `border-color 0.18s ease` ## Shadows (elevation) - overlay: `rgba(0, 0, 0, 0.26) 0px 24px 80px 0px` ## Motion - durations: 180ms (dominant) - easings: `ease` (dominant) - animated properties: border-color, background-color, transform, color Micro-interactions use the dominant duration + easing; nothing on the page animates slower than the longest duration above — don't invent springier motion. ## Layout (measured) - container max 1200px · common grid: 2-col - nav: 88px | Section (y) | Height | Cols | Gap | Pad y | Split | |---|---|---|---|---|---| | 88 | 812 | 2 | 101 | 80/112 | 42/58 | | 900 | 945 | 2 | 32 | 128/128 | 42/58 | | 1845 | 633 | 3 | 16 | 128/128 | — | | 2478 | 283 | 2 | 48 | 48/48 | 85/15 | | 2857 | 827 | 2 | 16 | 0/96 | — | ## Components (measured) - card ×3: pad 20.8px 20.8px 20.8px 20.8px · r 10.4px · border 1px solid rgb(39, 39, 42) · bg rgba(24, 24, 27, 0.65) - hover: border `1px solid rgb(82, 82, 91)` · background `#202023` · font-weight `400` · letter-spacing `normal` · transform `matrix(1, 0, 0, 1, 0, -2)` ## Responsive (measured) - mobile (390px): hero 62px · 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. --- > **Decoded with Mozaika** — measured live, not guessed. Full decoded design system + one-command install: mozaika.design/decode/code-salad.github.io
An automated reading of Code Salad's publicly-visible CSS (colors, fonts, spacing, motion) — not affiliated with code-salad.github.io. No screenshots stored. Removal requests: hello@mozaika.design.