• Comment ça marche
  • Docs
  • Tarifs
  • Contact
← Ressources

Référence

Design system

Comment nous construisons l’interface dans Studio, sur les sites artistes et sur la landing. Utilisez des tokens et rôles nommés — ne devinez jamais couleurs, tailles ou chrome.

Document canonique dans le dépôt : docs/DESIGN-SYSTEM.md. Mettez à jour ce fichier et cette page ensemble quand les tokens ou règles changent.

Three surfaces

Every screen belongs to one world. Do not mix token ladders across dashboard, artist sites, and platform landing.

Token / importUse
.dashboard-uiStudio — --ds-gray-*, MATERIAL.*, TYPE.*
.artist-sitePublic sites — --gray-*, spacing over borders, SITE_TYPE.*
.platform-landingMarketing — --landing-*, platform-landing-tokens.ts

Dashboard typography

Import TYPE from @/lib/geist-typography. Do not invent text-[13px] sizes.

TYPE.heading16 — Page title

TYPE.label14 — Field label

TYPE.copy13 — Supporting copy and dense UI text.

Dashboard materials

One MATERIAL preset per surface — radius, fill, stroke, and shadow together.

MATERIAL.base

Named surface preset

MATERIAL.small

Named surface preset

MATERIAL.medium

Named surface preset

MATERIAL.menu

Named surface preset

MATERIAL.modal

Named surface preset

Dashboard color steps

Pick the role first, then the step. Steps 100–1000 on the Geist neutral ladder.

100

Component bg

200

Hover bg

400

Border

900

Secondary text

1000

Primary text

Artist site type

SITE_TYPE maps editorial roles. Page chrome stays sharp; floating UI may use MATERIAL.menu.

SITE_TYPE.pageTitle

SITE_TYPE.artworkCaption

SITE_TYPE.meta — year, medium, dimensions

SITE_TYPE.body — reading paragraphs use copy16, not invented sizes.

Platform landing

Marketing sections use platform-landing-tokens. Panels are rounded-xl; menu rows rounded-lg.

Section title

Plan or step title

Pro card — warm highlight + shadow

Basic / Premium — neutral ring

Menu row — PLATFORM_LANDING_NAV_MENU_ITEM_CLASS

Non‑negotiables

Enforced in .cursor/rules and AGENTS.md. Update docs/DESIGN-SYSTEM.md when these change.

  • Negative space over borders on artist sites and editorial surfaces.
  • Named Geist type roles — no text-[13px] by eye.
  • Token-first colors — no text-black, neutral-*, or border-border/45.
  • Animated loading states with reduced-motion fallbacks.
  • No useEffect — useMountEffect, derived state, or event handlers.
  • Appearance: one theme, one type look, one layout — no exposed ladders.