Tradingview — decoded design system
Tradingview'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/tradingview.com.
Decoded design system
Tradingview's decoded design system: background #0A0A0B, text #EDEDEE, link #0000EE, primary #0000EE; type scale h1 64px / h2 36px / body 16px; 4px spacing base; 20px base radius. The single interactive/action color is #2E2E2E — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.
Color roles
| Role | Value |
|---|---|
| bg | #0A0A0B |
| surface | #171718 |
| border | #2C2C2D |
| text | #EDEDEE |
| text_muted | #969697 |
| primary | #0000EE |
| link | #0000EE |
| button_bg | #2E2E2E |
| button_text | #FFFFFF |
Using these colors
- Action color
#2E2E2E— the single interactive color; only on things you click or must notice, never large fills. primary,linkare all#0000EE— one role, not several (the action color).
Typography
- Heading: EuclidCircularSemibold
- Body: -apple-system
- h1: 64px
- h2: 36px
- body: 16px
Spacing
- base unit: 4px
- scale: 2px, 4px, 6px, 7px, 8px, 11px, 12px, 15px, 16px, 20px
Radii
- base: 20px
- button: 20px
Shadows (elevation)
- overlay:
rgb(255, 76, 161) 16px 0px 44.4891px -12px, rgb(14, 78, 255) -16px 0px 44.4891px -12px
Motion
Micro-interactions run at 300ms (dominant) with cubic-bezier(0.45, 1.45, 0.8, 1).
- durations: 300ms · 350ms · 500ms
- easings:
cubic-bezier(0.45, 1.45, 0.8, 1)·ease - animated properties: transform, opacity
Native design tokens
| Token | Value |
|---|---|
--color-white | #fff |
--color-black | #000 |
--color-transparent | #0000 |
--color-cold-gray-50 | #f9f9f9 |
--color-cold-gray-100 | #f2f2f2 |
--color-cold-gray-150 | #ebebeb |
--color-cold-gray-200 | #dbdbdb |
--color-cold-gray-250 | #c9c9c9 |
--color-cold-gray-300 | #b8b8b8 |
--color-cold-gray-350 | #a8a8a8 |
…and 110 more measured on the page.
Layout (measured)
- container max-width:
664px - nav: 64px
Motion choreography (measured)
Load order: div.media-a5fdpAr6 → span.arrow-MVESy70a → div.wrapper-hct2yJvK×90 → span.arrow-MVESy70a → div.itemInner-Tb5VG65Y → ul.list-Tb5VG65Y
Scroll reveal: 1 elements rest at opacity 0, translateY(-72px), animate in over 0.5s ease-in-out.
Overlay recipe (measured)
dropdown panel: rgba(0, 0, 0, 0) · radius 0px
Responsive (measured)
- breakpoints: 548px · 702px · 768px · 958px · 1024px · 1214px
- mobile (390px): hero 28px · nav hamburger
Install it
Drop this measured system into any shadcn/Tailwind project in one command:
npx shadcn add mozaika.design/r/decode/tradingview.com
Or as a Meta Astryx theme — a ready defineTheme file with the measured hover/press states baked in:
curl -o src/themes/tradingview.theme.ts https://mozaika.design/api/astryx/decode/tradingview.com.ts
registry item · astryx theme · or query it over MCP: get_design_system("Tradingview")
Export: DESIGN.md
# Tradingview — Design System > dark — deep decode (measured live) ## Colors | Role | Value | |------|-------| | bg | `#0A0A0B` | | surface | `#171718` | | border | `#2C2C2D` | | text | `#EDEDEE` | | text_muted | `#969697` | | primary | `#0000EE` | | link | `#0000EE` | | button_bg | `#2E2E2E` | | button_text | `#FFFFFF` | **Using these colors** - **Action color** `#2E2E2E` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds. - `primary`, `link` are all `#0000EE` — one role, not several. - **Page coverage** (full-page screenshot pixels): `#01030D` 35.2% · `#141323` 16.7% · `#575168` 16.5% · `#262B43` 11.6% ## Typography - Heading: **EuclidCircularSemibold** _(free fallback: Newsreader)_ - Body: **-apple-system** | Role | Size / weight · line-height · tracking | |------|------------------------------------------| | hero | 64px / 600 · lh 64px · tracking -2.56px | | h2 | 36px / 600 · lh 44px | | h3 | 28px / 600 · lh 36px | | body | 16px / 500 · lh 24px | | small | 14px / 400 · lh 18px | | eyebrow | 11px / 400 · tracking 0.4px | - Weight ladder: 400 · 500 · 600 — use these exact measured weights, not the 400/600 defaults. > **Fonts —** EuclidCircularSemibold may be proprietary — safe free fallback: Newsreader (Google Fonts). -apple-system — system font, no web load needed. ## Spacing - base unit: 4px (inferred from the measured scale) - measured scale: 2px, 4px, 6px, 7px, 8px, 11px, 12px, 15px, 16px, 20px — snap all gaps/padding to these ## Radius - base: 20px - button: 20px - card: 50px - sharp: 3px ## Buttons | Button | Fill / text | Border | Radius | Padding | Font | Shadow | |--------|-------------|--------|--------|---------|------|--------| | primary | `#2E2E2E` / `#FFFFFF` | 2px solid rgb(46, 46, 46) | 20px | 0px 14px 0px 10px | 400 14px | none | | secondary | `rgba(0, 0, 0, 0)` / `#FFFFFF` | none | — | 0px 0px 0px 0px | 400 14px | none | ## Shadows (elevation) - overlay: `rgb(255, 76, 161) 16px 0px 44.4891px -12px, rgb(14, 78, 255) -16px 0px 44.4891px -12px` ## Motion - durations: 300ms (dominant) · 350ms · 500ms - easings: `cubic-bezier(0.45, 1.45, 0.8, 1)` (dominant) · `ease` - animated properties: transform, opacity 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 | |-------|-------| | `--color-white` | `#fff` | | `--color-black` | `#000` | | `--color-transparent` | `#0000` | | `--color-cold-gray-50` | `#f9f9f9` | | `--color-cold-gray-100` | `#f2f2f2` | | `--color-cold-gray-150` | `#ebebeb` | | `--color-cold-gray-200` | `#dbdbdb` | | `--color-cold-gray-250` | `#c9c9c9` | | `--color-cold-gray-300` | `#b8b8b8` | | `--color-cold-gray-350` | `#a8a8a8` | | `--color-cold-gray-400` | `#9c9c9c` | | `--color-cold-gray-450` | `#8c8c8c` | _…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 664px - nav: 64px | Section (y) | Height | Cols | Gap | Pad y | Split | |---|---|---|---|---|---| | 64 | 1801 | — | — | 0/0 | — | ## Motion choreography (measured) Load order: `div.media-a5fdpAr6` @0ms → `span.arrow-MVESy70a` @1494ms → `div.wrapper-hct2yJvK`×90 @1597ms → `span.arrow-MVESy70a` @2119ms → `div.itemInner-Tb5VG65Y` @2310ms → `ul.list-Tb5VG65Y` @2310ms - `span.arrow-MVESy70a` — transform translateX(-50%) translateY(5px) rotate(-90deg)→translateX(-50%) translateY(5px) rotate(-90deg) — 2000ms ease-in-out · loops - `img.logo-VCNKubWq` ×23 — opacity 1→0.4 — 1000ms ease-in-out · loops - scroll reveal: 1 elements rest at opacity 0, translateY(-72px), animate in over 0.5s ease-in-out (0 revealed during the drive). - overlay dropdown (auto-opened): panel rgba(0, 0, 0, 0) · r 0px Rebuild the timeline, not just the durations — order, delays and staggers above are the choreography. ## Components (measured) - link: #0F0F0F · no underline ## Responsive (measured) - breakpoints: 548px · 702px · 768px · 958px · 1024px · 1214px - mobile (390px): hero 28px · body 14px · 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. --- > **Decoded with Mozaika** — measured live, not guessed. Full decoded design system + one-command install: mozaika.design/decode/tradingview.com
Is this spec still current?
Tradingview is re-measured from its live DOM every night — 10 measurements on record so far. The dated verdict (held, changed, or never settles) is on its drift ledger.
An automated reading of Tradingview's publicly-visible CSS (colors, fonts, spacing, motion) — not affiliated with tradingview.com. No screenshots stored. Removal requests: hello@mozaika.design.