MozaikaDesign system

Ghostfolio — Design System

light · modern · medium · material · confidence 85% · deep decode

The full decoded design system for Ghostfolio: color roles, type scale, spacing, radii and paste-ready DESIGN.md / Tailwind / CSS exports.

Open in Mozaika →

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/ghostfolio.

Tokens

Ghostfolio's decoded design system: background #FFFFFF, text #212529, accent #6C757D, link #191C1C, primary #36CFCC; type scale h1 187px / h2 58px / body 16px; 8px spacing base; 2px base radius. The single interactive/action color is #36CFCC — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.

Color roles

RoleValue
bg#FFFFFF
surface#F1F1F2
border#DDDEDE
text#212529
text_muted#75777A
primary#36CFCC
accent#6C757D
link#191C1C
secondary#007BFF
button_bg#36CFCC
button_text#FFFFFF

Using these colors

Typography

Spacing

Radii

Shadows (elevation)

Motion

Micro-interactions run at 250ms (dominant) with ease.

Native design tokens

TokenValue
--gf-theme-primary-500#36cfcc
--gf-theme-secondary-500#3686cf
--blue#007bff
--indigo#6610f2
--purple#6f42c1
--pink#e83e8c
--red#dc3545
--orange#fd7e14
--yellow#ffc107
--green#28a745

…and 110 more measured on the page.

Layout (measured)

Motion choreography (measured)

Load order: a.mdc-buttona.mdc-buttona.mdc-buttona.mdc-buttonpath.svgMap-country×53 → div.align-items-center

Themes

dark counterpart: background #191919, text #FFFFFF.

Responsive (measured)

Export: DESIGN.md

# Ghostfolio — Design System

> light, modern, medium, material — deep decode (measured live)

## Colors

| Role | Value |
|------|-------|
| bg | `#FFFFFF` |
| surface | `#F1F1F2` |
| border | `#DDDEDE` |
| text | `#212529` |
| text_muted | `#75777A` |
| primary | `#36CFCC` |
| accent | `#6C757D` |
| link | `#191C1C` |
| secondary | `#007BFF` |
| button_bg | `#36CFCC` |
| button_text | `#FFFFFF` |

**Using these colors**

- **Action color** `#36CFCC` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds.
- `primary`, `button_bg` are all `#36CFCC` — one role, not several (your action color).
- **accent** `#6C757D` — accent for emphasis — keep it rare on the page.
- **link** `#191C1C` — reads as a neutral UI color, not a link accent — verify against the reference (action = #36CFCC).
- **secondary** `#007BFF` — 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): `#FFFFFF` 87.2% · `#EBEAEC` 7.5% · `#B4CECF` 3.1% · `#6D6F72` 2.2%

## Typography

- Heading: **Roboto**
- Body: **Inter**

| Role | Size / weight · line-height · tracking |
|------|------------------------------------------|
| hero | 187px / 700 · lh 187px · tracking -5.62px |
| h2 | 58px / 700 · lh 58px |
| h3 | 32px / 700 · lh 32px |
| body | 16px / 400 · lh 24px |
| small | 14px / 400 · lh 22px |

- Weight ladder: 400 · 500 · 600 · 700 — use these exact measured weights, not the 400/600 defaults.

> **Fonts —** Roboto — free, on Google. Inter — free, on Google.

## Spacing
- base unit: 8px (inferred from the measured scale)
- measured scale: 4px, 8px, 15px, 16px, 24px, 32px — snap all gaps/padding to these

## Radius
- base: 2px
- button: 4px
- card: 4px
- pill: 9999px
- sharp: 2px

## Buttons

| Button | Fill / text | Border | Radius | Padding | Font | Shadow |
|--------|-------------|--------|--------|---------|------|--------|
| primary | `#36CFCC` / `#FFFFFF` | none | 4px | 0px 16px 0px 16px | 500 14px | none |
| secondary | `#FFFFFF` / `#212529` | 1px solid rgb(111, 121, 120) | 9999px | 0px 16px 0px 16px | 500 14px | none |

**States (measured, not guessed)**

- transition: `box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1)`

## Shadows (elevation)
- subtle: `rgba(0, 0, 0, 0.2) 0px 0px 0px 0px, rgba(0, 0, 0, 0.14) 0px 0px 0px 0px, rgba(0, 0, 0, 0.12) 0px 0px 0px 0px`

## Motion
- durations: 250ms (dominant) · 300ms · 280ms
- easings: `ease` (dominant) · `cubic-bezier(0.4, 0, 0.2, 1)`
- animated properties: fill, stroke, 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 |
|-------|-------|
| `--gf-theme-primary-500` | `#36cfcc` |
| `--gf-theme-secondary-500` | `#3686cf` |
| `--blue` | `#007bff` |
| `--indigo` | `#6610f2` |
| `--purple` | `#6f42c1` |
| `--pink` | `#e83e8c` |
| `--red` | `#dc3545` |
| `--orange` | `#fd7e14` |
| `--yellow` | `#ffc107` |
| `--green` | `#28a745` |
| `--teal` | `#20c997` |
| `--cyan` | `#17a2b8` |

_…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 1140px
- nav: 52px

## Motion choreography (measured)
Load order: `a.mdc-button` @0ms → `a.mdc-button` @0ms → `a.mdc-button` @0ms → `a.mdc-button` @0ms → `path.svgMap-country`×53 @0ms → `div.align-items-center` @0ms

Rebuild the timeline, not just the durations — order, delays and staggers above are the choreography.

## Components (measured)
- link: #212529 · no underline

## Themes (both measured)
- dark counterpart: bg `#191919` · text `#FFFFFF`
- tokens that flip between modes:
  - `--dark-background`: `#191919` → `#191919`
  - `--light-background`: `#FFFFFF` → `#FFFFFF`

## Responsive (measured)
- breakpoints: 576px · 599px · 768px · 992px · 1200px
- mobile (390px): hero 39px · body 16px · 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/ds/ghostfolio

Export: Tailwind v4 (@theme)

@theme {
  /* action color #36CFCC — the one interactive color; buttons/links/emphasis only, never large fills. */
  --color-bg: #FFFFFF;
  --color-surface: #F1F1F2;
  --color-border: #DDDEDE;
  --color-text: #212529;
  --color-text-muted: #75777A;
  --color-primary: #36CFCC;  /* primary brand / action color. */
  --color-accent: #6C757D;  /* accent for emphasis — keep it rare on the page. */
  --color-link: #191C1C;  /* reads as a neutral UI color, not a link accent — verify against the reference (action = #36CFCC). */
  --color-secondary: #007BFF;  /* 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. */
  --color-button-bg: #36CFCC;  /* primary-button fill — the main call-to-action color. */
  --color-button-text: #FFFFFF;
  /* fonts: Roboto — free, on Google. Inter — free, on Google. */
  --font-heading: "Roboto", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: "Inter", system-ui, -apple-system, 'Segoe UI', sans-serif;
  /* measured weights: 400, 500, 600, 700 — use these, not 400/600 */
  --text-hero: 187px; --font-weight-hero: 700; --leading-hero: 187px; --tracking-hero: -5.62px;
  --text-h2: 58px; --font-weight-h2: 700; --leading-h2: 58px;
  --text-h3: 32px; --font-weight-h3: 700; --leading-h3: 32px;
  --text-body: 16px; --font-weight-body: 400; --leading-body: 24px;
  --text-small: 14px; --font-weight-small: 400; --leading-small: 22px;
  --radius-base: 2px;
  --radius-button: 4px;
  --radius-card: 4px;
  --radius-pill: 9999px;
  --radius-sharp: 2px;
  --shadow-subtle: rgba(0, 0, 0, 0.2) 0px 0px 0px 0px, rgba(0, 0, 0, 0.14) 0px 0px 0px 0px, rgba(0, 0, 0, 0.12) 0px 0px 0px 0px;
  --ease-brand: ease;
  --duration-fast: 250ms;  /* use: duration-[var(--duration-fast)] */
  --duration-base: 280ms;
  --duration-slow: 300ms;
  --spacing: 8px;  /* measured base — drives the p-*/gap-* scale. steps seen on the page: 4, 8, 15, 16, 24, 32px */
}

Export: CSS variables

:root {
  /* action color #36CFCC — the one interactive color; buttons/links/emphasis only, never large fills. */
  --bg: #FFFFFF;
  --surface: #F1F1F2;
  --border: #DDDEDE;
  --text: #212529;
  --text-muted: #75777A;
  --primary: #36CFCC;  /* primary brand / action color. */
  --accent: #6C757D;  /* accent for emphasis — keep it rare on the page. */
  --link: #191C1C;  /* reads as a neutral UI color, not a link accent — verify against the reference (action = #36CFCC). */
  --secondary: #007BFF;  /* 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. */
  --button-bg: #36CFCC;  /* primary-button fill — the main call-to-action color. */
  --button-text: #FFFFFF;
  --font-heading: "Roboto", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: "Inter", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --text-hero: 187px; --weight-hero: 700; --leading-hero: 187px; --tracking-hero: -5.62px;
  --text-h2: 58px; --weight-h2: 700; --leading-h2: 58px;
  --text-h3: 32px; --weight-h3: 700; --leading-h3: 32px;
  --text-body: 16px; --weight-body: 400; --leading-body: 24px;
  --text-small: 14px; --weight-small: 400; --leading-small: 22px;
  --radius: 2px;
  --radius-button: 4px;
  --radius-card: 4px;
  --radius-pill: 9999px;
  --radius-sharp: 2px;
  --shadow-subtle: rgba(0, 0, 0, 0.2) 0px 0px 0px 0px, rgba(0, 0, 0, 0.14) 0px 0px 0px 0px, rgba(0, 0, 0, 0.12) 0px 0px 0px 0px;
  --ease: ease;
  --duration-fast: 250ms;
  --duration-base: 280ms;
  --duration-slow: 300ms;
}

/* their own tokens, verbatim from the site's :root */
:root {
  --gf-theme-primary-500: #36cfcc;
  --gf-theme-secondary-500: #3686cf;
  --blue: #007bff;
  --indigo: #6610f2;
  --purple: #6f42c1;
  --pink: #e83e8c;
  --red: #dc3545;
  --orange: #fd7e14;
  --yellow: #ffc107;
  --green: #28a745;
  --teal: #20c997;
  --cyan: #17a2b8;
}
/* fonts: Roboto — free, on Google. Inter — free, on Google. */