CodeSandbox — Design System
CodeSandbox compiles its pitch in TWK Everett at 120px/500 on studio black #0E0E0E, Inter at 18-28px for the reading, and acid lime #EAFF96 buttons at a sharp 4px radius. Editor frames and template grids provide the interface texture — cloud development presented with the outsized, confident type of a tool that boots faster than your laptop.
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/codesandbox.
Tokens
CodeSandbox's decoded design system: background #0E0E0E, text #ECECEE, accent #EAFF96, link #DCFF50, primary #EAFF96; type scale h1 120px / h2 24px / body 18px; 8px spacing base; 4px base radius. The single interactive/action color is #EAFF96 — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.
Color roles
| Role | Value |
|---|---|
| bg | #0E0E0E |
| surface | #1B1B1B |
| border | #2F2F2F |
| text | #ECECEE |
| text_muted | #979798 |
| primary | #EAFF96 |
| accent | #EAFF96 |
| link | #DCFF50 |
| button_bg | #EAFF96 |
| button_text | #343434 |
Using these colors
- Action color
#EAFF96— the single interactive color; only on things you click or must notice, never large fills. primary,accent,button_bgare all#EAFF96— one role, not several (the action color).- accent
#EAFF96— 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. - link
#DCFF50— inline text links and link-styled controls.
Typography
- Heading: Inter
- Body: Inter
- h1: 120px
- h2: 24px
- body: 18px
Spacing
- base unit: 8px
- scale: 4px, 7px, 8px, 10px, 12px, 13px, 16px, 24px, 32px, 48px
Radii
- base: 4px
- button: 6px
Shadows (elevation)
- card:
rgba(0, 0, 2, 0.3) 0px 10px 30px 0px
Motion
Micro-interactions run at 150ms (dominant) with ease.
- durations: 150ms · 1000ms · 2000ms
- easings:
ease·ease-in-out - animated properties: opacity, color, background-color, border-color
Native design tokens
| Token | Value |
|---|---|
--cc-link-color | #30363c |
--cc-bg | #fff |
--cc-primary-color | #2c2f31 |
--cc-secondary-color | #5e6266 |
--cc-btn-primary-bg | #30363c |
--cc-btn-primary-color | #fff |
--cc-btn-primary-border-color | #30363c |
--cc-btn-primary-hover-bg | #000 |
--cc-btn-primary-hover-color | #fff |
--cc-btn-primary-hover-border-color | #000 |
…and 110 more measured on the page.
Button states (measured)
- primary hover: background
#F5FFCB - primary focus: outline
2px solid rgb(176, 160, 255)
Layout (measured)
- container max-width:
1200px - nav: 48px relative
- common grid: 4 columns
Motion choreography (measured)
Load order: div.cm--box → div.cm--box → div.cm--box → div.rfm-marquee×12 → span.c-PJLV×24 → span.c-PJLV×24
Overlay recipe (measured)
dialog panel: #333333 · radius 5px
Responsive (measured)
- breakpoints: 420px · 640px · 734px · 1068px · 1441px
- mobile (390px): hero 48px · nav inline
Per-section tokens (9)
- Banner — dark · bg #161616 · text #DCFF4F · 1 col · left
- Hero — dark · bg #161616 · text #FFFFFF · 1 col · left
- Logo Wall — dark · bg #0E0E0E · text #FFFFFF · 1 col · left
- Feature — dark · bg #0E0E0E · text #AAAAAB · 3 col · split
- Feature — light · bg #E3FF74 · text #0E0E0E · 1 col · left
- Gallery / Showcase — dark · bg #0E0E0E · text #DFE2D2 · 1 col · left
- Testimonial / Social Proof — light · bg #D6FB42 · text #0E0E0E · 1 col · left
- CTA / Sign-up — dark · bg #0E0E0E · text #F4F6EE · 1 col · left
- Footer — dark · bg #161616 · text #474747 · 2 col · split
Export: DESIGN.md
# CodeSandbox — Design System > dark, modern, high, custom — deep decode (measured live) CodeSandbox compiles its pitch in TWK Everett at 120px/500 on studio black #0E0E0E, Inter at 18-28px for the reading, and acid lime #EAFF96 buttons at a sharp 4px radius. Editor frames and template grids provide the interface texture — cloud development presented with the outsized, confident type of a tool that boots faster than your laptop. ## Colors | Role | Value | |------|-------| | bg | `#0E0E0E` | | surface | `#1B1B1B` | | border | `#2F2F2F` | | text | `#ECECEE` | | text_muted | `#979798` | | primary | `#EAFF96` | | accent | `#EAFF96` | | link | `#DCFF50` | | button_bg | `#EAFF96` | | button_text | `#343434` | **Using these colors** - **Action color** `#EAFF96` — 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`, `button_bg` are all `#EAFF96` — one role, not several (your action color). - **accent** `#EAFF96` — 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. - **link** `#DCFF50` — inline text links and link-styled controls. - **Page coverage** (full-page screenshot pixels): `#161616` 68.3% · `#F4FFC2` 10.2% · `#2E2E2E` 9% · `#D9EB92` 7.7% ## Typography - Heading: **Inter** - Body: **Inter** | Role | Size / weight · line-height · tracking | |------|------------------------------------------| | hero | 96px / 500 · lh 96px · tracking -4.8px | | h2 | 88px / 500 · lh 88px · tracking -4.4px | | h3 | 56px / 500 · lh 56px · tracking -2.8px | | body | 18px / 400 · lh 25px · tracking -0.45px | | small | 17px / 600 · lh 19px | - Weight ladder: 200 · 400 · 500 · 600 — use these exact measured weights, not the 400/600 defaults. > **Fonts —** Inter — free, on Google. ## Spacing - base unit: 8px (inferred from the measured scale) - measured scale: 4px, 7px, 8px, 10px, 12px, 13px, 16px, 24px, 32px, 48px — snap all gaps/padding to these - section rhythm: 128px top/bottom padding per section (measured) ## Radius - base: 4px - button: 6px - card: 10px - pill: 9999px ## Buttons | Button | Fill / text | Border | Radius | Padding | Font | Shadow | |--------|-------------|--------|--------|---------|------|--------| | primary | `#EAFF96` / `#343434` | none | 4px | 8px 12px 8px 12px | 500 12px | none | | secondary | `#333333` / `#E5E5E5` | 1px solid rgb(82, 82, 82) | 4px | 6.56px 23.616px 6.56px 23.616px | 600 13.12px | none | **States (measured, not guessed)** - primary hover: background `#F5FFCB` - primary focus: outline `2px solid rgb(176, 160, 255)` - secondary hover: background `rgba(255, 255, 255, 0.1)` - transition: `background-color 0.3s ease` ## Shadows (elevation) - card: `rgba(0, 0, 2, 0.3) 0px 10px 30px 0px` ## Motion - durations: 150ms (dominant) · 1000ms · 2000ms - easings: `ease` (dominant) · `ease-in-out` - animated properties: opacity, color, background-color, border-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 | |-------|-------| | `--cc-link-color` | `#30363c` | | `--cc-bg` | `#fff` | | `--cc-primary-color` | `#2c2f31` | | `--cc-secondary-color` | `#5e6266` | | `--cc-btn-primary-bg` | `#30363c` | | `--cc-btn-primary-color` | `#fff` | | `--cc-btn-primary-border-color` | `#30363c` | | `--cc-btn-primary-hover-bg` | `#000` | | `--cc-btn-primary-hover-color` | `#fff` | | `--cc-btn-primary-hover-border-color` | `#000` | | `--cc-btn-secondary-bg` | `#eaeff2` | | `--cc-btn-secondary-color` | `#2c2f31` | _…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 1200px · common grid: 4-col - nav: 48px relative | Section (y) | Height | Cols | Gap | Pad y | Split | |---|---|---|---|---|---| | 901 | 1130 | 6 | — | 128/128 | — | | 2031 | 820 | 4 | — | 128/128 | — | | 4144 | 248 | 4 | — | 0/0 | — | | 4392 | 769 | — | — | 80/0 | — | ## Motion choreography (measured) Load order: `div.cm--box` @0ms → `div.cm--box` @0ms → `div.cm--box` @0ms → `div.rfm-marquee`×12 @79ms → `span.c-PJLV`×24 @210ms → `span.c-PJLV`×24 @210ms - overlay dialog (auto-opened): panel #333333 · r 5px · shadow rgba(0, 0, 2, 0.3) 0px 10px 30px 0px Rebuild the timeline, not just the durations — order, delays and staggers above are the choreography. ## Components (measured) - link: #CCCCCC · no underline — hover #FFFFFF ## Responsive (measured) - breakpoints: 420px · 640px · 734px · 1068px · 1441px - mobile (390px): hero 48px · 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/ds/codesandbox
Export: Tailwind v4 (@theme)
@theme {
/* action color #EAFF96 — the one interactive color; buttons/links/emphasis only, never large fills. */
--color-bg: #0E0E0E;
--color-surface: #1B1B1B;
--color-border: #2F2F2F;
--color-text: #ECECEE;
--color-text-muted: #979798;
--color-primary: #EAFF96; /* primary brand / action color. */
--color-accent: #EAFF96; /* 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. */
--color-link: #DCFF50; /* inline text links and link-styled controls. */
--color-button-bg: #EAFF96; /* primary-button fill — the main call-to-action color. */
--color-button-text: #343434;
/* fonts: Inter — free, on Google. */
--font-heading: "Inter", system-ui, -apple-system, 'Segoe UI', sans-serif;
--font-body: "Inter", system-ui, -apple-system, 'Segoe UI', sans-serif;
/* measured weights: 200, 400, 500, 600 — use these, not 400/600 */
--text-hero: 96px; --font-weight-hero: 500; --leading-hero: 96px; --tracking-hero: -4.8px;
--text-h2: 88px; --font-weight-h2: 500; --leading-h2: 88px; --tracking-h2: -4.4px;
--text-h3: 56px; --font-weight-h3: 500; --leading-h3: 56px; --tracking-h3: -2.8px;
--text-body: 18px; --font-weight-body: 400; --leading-body: 25px; --tracking-body: -0.45px;
--text-small: 17px; --font-weight-small: 600; --leading-small: 19px;
--radius-base: 4px;
--radius-button: 6px;
--radius-card: 10px;
--radius-pill: 9999px;
--shadow-card: rgba(0, 0, 2, 0.3) 0px 10px 30px 0px;
--color-btn-hover: #F5FFCB; /* measured primary hover fill */
--outline-focus: 2px solid rgb(176, 160, 255); /* measured focus ring */
--ease-brand: ease;
--duration-fast: 150ms; /* use: duration-[var(--duration-fast)] */
--duration-base: 1000ms;
--duration-slow: 2000ms;
--section-y: 128px; /* per-section vertical padding (measured) */
--spacing: 8px; /* measured base — drives the p-*/gap-* scale. steps seen on the page: 4, 7, 8, 10, 12, 13, 16, 24, 32, 48px */
}Export: CSS variables
:root {
/* action color #EAFF96 — the one interactive color; buttons/links/emphasis only, never large fills. */
--bg: #0E0E0E;
--surface: #1B1B1B;
--border: #2F2F2F;
--text: #ECECEE;
--text-muted: #979798;
--primary: #EAFF96; /* primary brand / action color. */
--accent: #EAFF96; /* 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. */
--link: #DCFF50; /* inline text links and link-styled controls. */
--button-bg: #EAFF96; /* primary-button fill — the main call-to-action color. */
--button-text: #343434;
--font-heading: "Inter", system-ui, -apple-system, 'Segoe UI', sans-serif;
--font-body: "Inter", system-ui, -apple-system, 'Segoe UI', sans-serif;
--text-hero: 96px; --weight-hero: 500; --leading-hero: 96px; --tracking-hero: -4.8px;
--text-h2: 88px; --weight-h2: 500; --leading-h2: 88px; --tracking-h2: -4.4px;
--text-h3: 56px; --weight-h3: 500; --leading-h3: 56px; --tracking-h3: -2.8px;
--text-body: 18px; --weight-body: 400; --leading-body: 25px; --tracking-body: -0.45px;
--text-small: 17px; --weight-small: 600; --leading-small: 19px;
--radius: 4px;
--radius-button: 6px;
--radius-card: 10px;
--radius-pill: 9999px;
--shadow-card: rgba(0, 0, 2, 0.3) 0px 10px 30px 0px;
--btn-bg-hover: #F5FFCB;
--focus-ring: 2px solid rgb(176, 160, 255);
--ease: ease;
--duration-fast: 150ms;
--duration-base: 1000ms;
--duration-slow: 2000ms;
--section-y: 128px;
}
/* their own tokens, verbatim from the site's :root */
:root {
--cc-link-color: #30363c;
--cc-bg: #fff;
--cc-primary-color: #2c2f31;
--cc-secondary-color: #5e6266;
--cc-btn-primary-bg: #30363c;
--cc-btn-primary-color: #fff;
--cc-btn-primary-border-color: #30363c;
--cc-btn-primary-hover-bg: #000;
--cc-btn-primary-hover-color: #fff;
--cc-btn-primary-hover-border-color: #000;
--cc-btn-secondary-bg: #eaeff2;
--cc-btn-secondary-color: #2c2f31;
}
/* fonts: Inter — free, on Google. */