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; 4px 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: 4px
- scale: 2px, 4px, 6px, 8px, 12px, 16px, 24px, 32px
Radii
- base: 4px
- button: 6px
Per-section tokens (9)
Export: DESIGN.md
# CodeSandbox — Design System > dark, modern, high, custom 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. ## Typography - Heading: **Inter** - Body: **Inter** - h1: 120px - h2: 24px - body: 18px > **Fonts —** Inter — free, on Google. ## Spacing - base unit: 4px - scale: 2px, 4px, 6px, 8px, 12px, 16px, 24px, 32px ## Radius - base: 4px - button: 6px ## Primary button - bg `#EAFF96` · text `#343434` · radius 6px ## 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 #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;
--text-h1: 120px;
--text-h2: 24px;
--text-body: 18px;
--radius-base: 4px;
--radius-button: 6px;
--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 #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;
--radius: 4px;
--radius-button: 6px;
}
/* fonts: Inter — free, on Google. */