ConvexBrand
Developer tools · DESIGN.md · measured November 29, 2026
CodeSandbox design system
CodeSandbox’s website (codesandbox.io) uses the TWK Everett font and #DCFF50 as its main color on a #161616 background. Measured by Sitepeel on November 29, 2026.
- #161616
- #0E0E0E
- #F0F0F0
- #DCFF50
From codesandbox.io ↗ · 296 elements at 1440×900 and 390×844 Independent analysis, not affiliated with CodeSandbox
CodeSandbox color palette
13 colors with hex codes, grouped by where each one is used on the page.
Surfaces
#161616backgroundPage background · 1×#0E0E0Esurface-container-lowRaised areas one step from the page · 4×#1D1D1Dsurface-containerCards and panels · 1×#252525surface-container-high · --colors-neutral500Hover and pressed fills · 1×#FFFFFFinverse-surface · --colors-foreground100High-contrast fills · 2×Text
#F0F0F0on-surface · --colors-textPrimary text and headings · 20×#F5FFCBon-surface-strongHeadings and emphasis · 13×#A3A3A3on-surface-variantSecondary text · 18×#858585on-surface-muted · --colors-foreground700Muted text and metadata · 20×#000000on-primaryText and icons on primaryAccents
#DCFF50primary · --colors-lime700Brand color in the header · 1×#EAFF96secondarySecondary buttons · 4×#B0A0FFtertiaryAccent in text, fills and borders · 6×CodeSandbox fonts and type scale
2 families.
mobile 48px
mobile 48px
Contrast
Text on #161616
15.8:117.2:17.1:14.9:1Spacing
4px grid · 98% of values fit
xs4pxsm8pxmd16pxlg32pxxl48pxgutter16pxsection128pxBreakpoints: 420px 640px 734px 1068px 1441px 1921px
Shapes
Corner radii, most used first.
Depth
Flat: no shadows measured.
CodeSandbox UI components
Rebuilt from the measured CSS. Buttons from other sites
Motion
Interface transitions
0.15s0.3s0.2s0.6sease-in-outease
Do’s and don’ts
Rules written from the measurements, so a coding agent stays on style.
- Use #161616 for the page and lift surfaces in small steps: #0E0E0E, #1D1D1D, #252525.
- Keep text in 4 levels: #F0F0F0, #F5FFCB, #A3A3A3, #858585.
- Use #DCFF50 as the brand accent: header, logo and key highlights.
- Set headlines in TWK Everett with tight tracking (-0.05em).
- Keep spacing on the 4px grid.
- Use 10px corners on most elements; larger surfaces also use 6px and 4px.
- Add drop shadows for depth; use tonal surfaces.
- Introduce new font families beyond TWK Everett and Inter.
- Use #DCFF50 for large backgrounds or body text.
- Make interface transitions slower than 0.6s.
---
version: alpha
name: CodeSandbox
description: "Dark interface measured from codesandbox.io: TWK Everett type with Inter, lime accents, tonal surfaces and 10px corners."
colors:
background: "#161616"
surface: "#161616"
on-surface: "#F0F0F0"
on-background: "#F0F0F0"
on-surface-strong: "#F5FFCB"
on-surface-variant: "#A3A3A3"
on-surface-muted: "#858585"
surface-container-low: "#0E0E0E"
surface-container: "#1D1D1D"
surface-container-high: "#252525"
primary: "#DCFF50"
on-primary: "#000000"
inverse-surface: "#FFFFFF"
secondary: "#EAFF96"
tertiary: "#B0A0FF"
typography:
headline-display:
fontFamily: TWK Everett
fontSize: 120px
fontWeight: 500
lineHeight: 1
letterSpacing: -0.05em
headline-lg:
fontFamily: TWK Everett
fontSize: 96px
fontWeight: 500
lineHeight: 1
letterSpacing: -0.05em
headline-md:
fontFamily: TWK Everett
fontSize: 88px
fontWeight: 500
lineHeight: 1
letterSpacing: -0.05em
headline-sm:
fontFamily: TWK Everett
fontSize: 56px
fontWeight: 500
lineHeight: 1
letterSpacing: -0.05em
title-lg:
fontFamily: Inter
fontSize: 28px
fontWeight: 500
lineHeight: 1.4
letterSpacing: -0.025em
body-md:
fontFamily: Inter
fontSize: 16px
fontWeight: 400
body-lg:
fontFamily: Inter
fontSize: 18px
fontWeight: 400
lineHeight: 1.4
letterSpacing: -0.025em
body-sm:
fontFamily: Inter
fontSize: 12px
fontWeight: 400
label-md:
fontFamily: Inter
fontSize: 16px
fontWeight: 500
lineHeight: 1
label-sm:
fontFamily: Inter
fontSize: 12px
fontWeight: 500
lineHeight: 1
headline-display-mobile:
fontFamily: TWK Everett
fontSize: 48px
fontWeight: 500
lineHeight: 1.1
letterSpacing: -0.05em
headline-md-mobile:
fontFamily: TWK Everett
fontSize: 48px
fontWeight: 500
lineHeight: 1.1
letterSpacing: -0.05em
rounded:
sm: 4px
md: 6px
lg: 10px
full: 9999px
spacing:
base: 4px
xs: 4px
sm: 8px
md: 16px
lg: 32px
xl: 48px
gutter: 16px
section: 128px
components:
button-primary:
backgroundColor: "{colors.secondary}"
textColor: "#343434"
typography: "{typography.label-sm}"
rounded: "{rounded.sm}"
padding: 8px 12px
height: 28px
button-primary-hover:
backgroundColor: "{colors.on-surface-strong}"
button-outline:
backgroundColor: "{colors.surface-container}"
textColor: "#E3FF73"
typography: "{typography.label-sm}"
rounded: "{rounded.sm}"
padding: 8px 12px
height: 28px
button-outline-hover:
backgroundColor: "#292929"
textColor: "{colors.inverse-surface}"
card:
backgroundColor: "#D6FB41"
textColor: "{colors.on-surface}"
typography: "{typography.body-md}"
rounded: "{rounded.lg}"
padding: 48px
link:
textColor: "{colors.on-surface-muted}"
---
# CodeSandbox Design System
## Overview
CodeSandbox describes itself as: “CodeSandbox is a cloud development platform that empowers developers to code, collaborate and ship projects of any size from any device in record time.” The interface is dark, built on **Charcoal (#161616)** with **Mist (#F0F0F0)** text, and **Lime (#DCFF50)** as the main accent.
Type is set in **TWK Everett** and **Inter**. Headlines run large with tight negative tracking; body text is 16px. The surface language is flat. Corners are mostly 10px.
Measured from [codesandbox.io](https://codesandbox.io/) on November 29, 2026 at 1440×900 and 390×844 from 296 rendered elements. Values are computed styles from the live page, not the original source files.
## Colors
The palette has 13 roles.
- **Charcoal (#161616):** Page background, seen 1 time. Token `background`.
- **Mist (#F0F0F0):** Primary text and headings, seen 20 times. Token `on-surface`, CSS `--colors-text`.
- **Pale Lime (#F5FFCB):** Headings and emphasis, seen 13 times. Token `on-surface-strong`.
- **Gray (#A3A3A3):** Secondary text, seen 18 times. Token `on-surface-variant`.
- **Gray (#858585):** Muted text and metadata, seen 20 times. Token `on-surface-muted`, CSS `--colors-foreground700`.
- **Charcoal (#0E0E0E):** Raised areas one step from the page, seen 4 times. Token `surface-container-low`.
- **Charcoal (#1D1D1D):** Cards and panels, seen 1 time. Token `surface-container`.
- **Graphite (#252525):** Hover and pressed fills, seen 1 time. Token `surface-container-high`, CSS `--colors-neutral500`.
- **Lime (#DCFF50):** Brand color in the header, seen 1 time. Token `primary`, CSS `--colors-lime700`.
- **Near Black (#000000):** Text and icons on primary. Token `on-primary`.
- **White (#FFFFFF):** High-contrast fills, seen 2 times. Token `inverse-surface`, CSS `--colors-foreground100`.
- **Light Lime (#EAFF96):** Secondary buttons, seen 4 times. Token `secondary`.
- **Light Indigo (#B0A0FF):** Accent in text, fills and borders, seen 6 times. Token `tertiary`.
## Typography
**TWK Everett** and **Inter** share the interface. Fallback stack: `TWK Everett, Inter, Hevetica Neue, Helvetica`. Other loaded fonts: Material Symbols Outlined, __Inter_f367f3.
- **headline-display:** TWK Everett 120px at weight 500, line height 1, tracking -0.05em (48px on mobile). Page title (h1).
- **headline-lg:** TWK Everett 96px at weight 500, line height 1, tracking -0.05em. Section headings (h2).
- **headline-md:** TWK Everett 88px at weight 500, line height 1, tracking -0.05em (48px on mobile). Sub-section headings.
- **headline-sm:** TWK Everett 56px at weight 500, line height 1, tracking -0.05em. Card and feature titles.
- **title-lg:** Inter 28px at weight 500, line height 1.4, tracking -0.025em. Small titles.
- **body-md:** Inter 16px at weight 400. Body text.
- **body-lg:** Inter 18px at weight 400, line height 1.4, tracking -0.025em. Lead paragraphs.
- **body-sm:** Inter 12px at weight 400. Secondary and small text.
- **label-md:** Inter 16px at weight 500, line height 1. Buttons, navigation and labels.
- **label-sm:** Inter 12px at weight 500, line height 1. Small labels and badges.
## Layout
Spacing follows a 4px grid: 98% of measured gaps and paddings are multiples of 4px.
- **Scale:** xs 4px, sm 8px, md 16px, lg 32px, xl 48px.
- **Sections:** 128px vertical padding between major sections.
- **Gaps:** 16px is the most common gap in flex and grid layouts.
- **Breakpoints:** 420px, 640px, 734px, 1068px, 1441px, 1921px.
## Elevation & Depth
The design is flat: no shadows were measured. Hierarchy comes from tonal surface steps (#0E0E0E → #1D1D1D → #252525).
## Shapes
Most elements use 10px corners. Measured radii, most used first:
- **lg (10px):** 56 elements.
- **md (6px):** 12 elements.
- **sm (4px):** 8 elements.
- **full (9999px):** 4 elements.
## Components
Measured from the rendered page. Token values reference the tokens above.
- **button-primary (“Try for free”):** #EAFF96 fill, #343434 text, 12px/500, 4px radius, padding 8px 12px.
- **button-primary-hover:** background #F5FFCB, text #343434 on hover.
- **button-outline (“Learn more”):** #1D1D1D fill, #E3FF73 text, 12px/500, 4px radius, padding 8px 12px.
- **button-outline-hover:** background #292929, text #FFFFFF on hover.
- **card:** #D6FB41 fill, #F0F0F0 text, 16px/400, 10px radius, padding 48px.
- **link:** transparent fill, #858585 text, padding 0px.
## Do's and Don'ts
- Do use #161616 for the page and lift surfaces in small steps: #0E0E0E, #1D1D1D, #252525.
- Do keep text in 4 levels: #F0F0F0, #F5FFCB, #A3A3A3, #858585.
- Do use #DCFF50 as the brand accent: header, logo and key highlights.
- Do set headlines in TWK Everett with tight tracking (-0.05em).
- Do keep spacing on the 4px grid.
- Do use 10px corners on most elements; larger surfaces also use 6px and 4px.
- Don't add drop shadows for depth; use tonal surfaces.
- Don't introduce new font families beyond TWK Everett and Inter.
- Don't use #DCFF50 for large backgrounds or body text.
- Don't make interface transitions slower than 0.6s.
## Motion
Interface transitions are quick: 0.15s, 0.3s, 0.2s, 0.6s. Longer ambient animations run 2s, 1s.
- **Easing:** `ease-in-out`, `ease`.
- **Reduced motion:** the page responds to `prefers-reduced-motion`.
Generated by [Sitepeel](https://sitepeel.dev/design-md/codesandbox.io/), the free DESIGN.md generator (engine 2026.10.29+f0c146f7cdfd).
Fonts
What font does CodeSandbox use?
CodeSandbox uses TWK Everett (weight 500) and Inter (weights 400 and 500) on codesandbox.io. Page titles are 120px at weight 500 (48px on phones) and body text is 16px. Measured on November 29, 2026.
- AaTWK Everett · 500
- AaInter · 400, 500
Colors
CodeSandbox colors: palette and hex codes
CodeSandbox’s main colors are #161616 (charcoal) for the background, #F0F0F0 (mist) for text and #DCFF50 (lime) as the main accent, with #EAFF96 (light lime) and #B0A0FF (light indigo) as other accents. Measured on November 29, 2026.
- #161616 charcoalrgb(22, 22, 22) · hsl(0, 0%, 9%)
- #F0F0F0 mistrgb(240, 240, 240) · hsl(0, 0%, 94%)
- #F5FFCB pale limergb(245, 255, 203) · hsl(72, 100%, 90%)
- #A3A3A3 grayrgb(163, 163, 163) · hsl(0, 0%, 64%)
- #858585 grayrgb(133, 133, 133) · hsl(0, 0%, 52%)
- #0E0E0E charcoalrgb(14, 14, 14) · hsl(0, 0%, 5%)
- #1D1D1D charcoalrgb(29, 29, 29) · hsl(0, 0%, 11%)
- #252525 graphitergb(37, 37, 37) · hsl(0, 0%, 15%)
Tech stack
What is CodeSandbox built with?
CodeSandbox’s website (codesandbox.io) is built with Next.js, React, Google Cloud and Cloudflare. Measured on November 29, 2026.
- JavaScript framework
- Next.js 14.1.1, React 18.3.0-canary-60a927d04-
- Hosting & CDN
- Google Cloud, Cloudflare
- Analytics
- Cloudflare Web Analytics
What you can build with it
Landing pages, pricing tables, dashboards: your AI coding agent builds them in this style, with these colors, fonts, spacing and buttons instead of its defaults.
Download DESIGN.md, put it in your project’s root folder, then ask your agent for a page.
Build a landing page for my product. Follow for every color, font, spacing value, corner and button.
Need a page behind a login?
The DESIGN.md generator Chrome extension makes one from any page you have open, including dashboards and pages behind a login.
More in Developer tools
All DESIGN.md examples →Not in the library? Make a DESIGN.md from any site.
FAQ
CodeSandbox design system questions
What font does CodeSandbox use?
CodeSandbox’s website uses TWK Everett (weight 500) and Inter (weights 400 and 500). Page titles are 120px at weight 500 (48px on phones) and body text is 16px. Measured on November 29, 2026.
What are the CodeSandbox colors and hex codes?
On codesandbox.io: #161616 (charcoal) for the background, #F0F0F0 (mist) for text and #DCFF50 (lime) as the main accent, with #EAFF96 (light lime) and #B0A0FF (light indigo) as other accents. The color palette above lists all 13 colors with their hex codes and where each one is used.
What is the CodeSandbox design system?
The design system on this page is codesandbox.io’s, as measured on November 29, 2026: TWK Everett type, #DCFF50 as the main color, 10px corners and a 4px spacing grid, written down as a DESIGN.md. It is not CodeSandbox’s own documentation.
What is CodeSandbox built with?
CodeSandbox’s website (codesandbox.io) is built with Next.js, React, Google Cloud and Cloudflare. The full tech stack Sitepeel found: Next.js, React, Google Cloud, Cloudflare and Cloudflare Web Analytics. Measured on November 29, 2026.
What is the CodeSandbox DESIGN.md?
A plain-text file with CodeSandbox’s measured colors, type, spacing, corners and components as tokens, plus short rules, in the DESIGN.md format Google published with Stitch. Your AI coding agent reads it and builds in this style. More about DESIGN.md.
How do I use it with Claude Code or Cursor?
Download the file and put it in your project’s root folder, then ask your agent to follow DESIGN.md. Step-by-step guides: Claude Code, Cursor, Codex, GitHub Copilot.
Is this CodeSandbox’s official design system?
No. Sitepeel measured it from codesandbox.io’s public page on November 29, 2026. It is an independent analysis, not made or approved by CodeSandbox.
Can I use CodeSandbox’s style in my own product?
Use it to learn, prototype and compare. For a real product, make the style your own, and never copy CodeSandbox’s logo, name, pictures or text.
How accurate are the values?
Each value was measured on the rendered page after it fully loaded, on desktop and mobile: colors where they appear, type with tracking, spacing, corners, shadows and hover states. Sites change, so check the date at the top.




