Analyse du design system

restaurantecain.es

restaurantecain.es is built on a near-black canvas (rgb(31, 29, 29)). The system uses rgb(125, 111, 111) as a near-neutral accent (low saturation). Sharp 0px corners on CTAs — architectural restraint, engineering precision alongside Lora as the primary typeface. A restrained elevation system (1 distinct shadow) — shadows reserved for the few elements that must lift off the page. Interactions are smoothed by transitions across many elements, with little or no keyframe animation.

Accent #7d6f6f · police principale Lora

Chaque valeur ci-dessous est vérifiée à la capture. getdesign.md décrit — prismd montre : chaque couleur, police et courbe ici a été lue via getComputedStyle() sur le rendu réel capturé à droite, jamais affirmée à la main.

Rapport DESIGN.md complet · light & dark · fichiers tokens · Paiement non activé — on mesure la demande d’abord.

https://www.restaurantecain.es/ ·extrait le 2026-08-12 ·scorer v2 ·moteur getComputedStyle
Desktop · source de vérité
restaurantecain.es desktop
Mobile
restaurantecain.es mobile
01

Couleurs — rôles, sémantique & recensement complet

7 couleurs mesurées · clique une pastille pour copier

Canvas
#1f1d1d
AAA 16.78:1
Ink
#ffffff
AAA 16.78:1
Accent
#7d6f6f
AA·lg 3.5:1
Line
#ffffff
AAA 16.78:1
États sémantiques

Aucune couleur d’état sémantique détectée — ce système signale l’état par le poids & le motion, pas la teinte.

7 couleurs extraites du rendu livedéplier
02

Typographie — l’échelle, dans la vraie police

4 rôles · rendu live dans la vraie Inter (woff2 capturé) · lignes éditables, clique une spec pour copier

display xl
display-xl46px · 400
display md
display-md22px · 500 · ×2.09
body
body10px · 400 · ×2.20
body sm
body-sm16px · 400 · ×0.63
03

Espacements & arrondis, rendus spatiaux

9 paliers d’espacement · 7 arrondis · barres = largeurs px exactes

Échelle d’espacement
xxs · 2px
xs · 24px
sm · 43px
md · 48px
base · 80px
lg · 86px
xl · 120px
2xl · 160px
3xl · 168px
Arrondis
none
0px
xs
8px
sm
24px
md
9999px
lg
10007px
xl
10015px
full
9999px
05

Motion — courbes, transitions & keyframes réels

2 courbes d’easing · 2 keyframes · survole une tuile pour prévisualiser

Courbes & transitions
transition-1ease-in-out
transition-3ease-out
2 animations keyframes extraites
splide-loading
scroll
06

Composants — le vocabulaire fermé

10 familles de composants · 50 variantes comptées sur le DOM live

ComposantVariantes
cards×10
badges×10
links×10
buttons×7
footer Links×3
heading H2×3
nav Links×2
heading H3×2
captions×2
heading H1×1
Specs de style des composants (§4)déplier

Buttons

Secondary

  • Background: #501818 {colors.primary-hover}
  • Text: #ffffff {colors.hairline}
  • Padding: 0px
  • Radius: 24px
  • Font: 10px weight 400
  • Use: Secondary action

Pill

  • Background: #7d6f6f {colors.primary}
  • Text: #ffffff {colors.hairline}
  • Padding: 0px
  • Radius: 9999px
  • Font: 10px weight 400
  • Use: Status pills, tags, chips

Ghost

  • Background: transparent
  • Text: #501818 {colors.primary-hover}
  • Padding: 4px 0px
  • Radius: 0px
  • Font: 10px weight 400
  • Use: Subtle action, toolbar, nav button

Pill

  • Background: transparent
  • Text: #1f1d1d {colors.surface-2}
  • Padding: 0px
  • Radius: 9999px
  • Border: 1px solid rgb(125, 111, 111)
  • Font: 10px weight 400
  • Use: Status pills, tags, chips

Cards & Containers

Standard Card

  • Background: #b80d36
  • Padding: 80px 80px 48px
  • Radius: 8px
  • Shadow: rgba(0, 0, 0, 0.25) -6px 13px 0px 0px
  • Use: Content containers, listing items

Navigation

Main Nav

  • Background: transparent
  • Padding: 24px 48px
  • Radius: none
  • Font: 10px weight 400
  • Use: Fixed/sticky block nav — N/A items
07

Mise en page — structure & dimensions

5 métriques de layout mesurées

header 86px 1200px max-width
max Width1200px
header Height86px
sidebar Width0px
gap16px
container Padding86px 0px 0px
08

Responsive — vrais breakpoints

2 points de rupture lus dans le CSS live

1024px
1280px
09

À faire / À éviter

20 règles applicables, verbatim de la spec

À faire
Use dark background (`#1f1d1d`) as the foundation — this is a dark-mode-native design
Use Lora as the primary typeface — it defines the brand personality
The system uses a single text weight (400) — hierarchy comes from size and color, not weight
Use the extracted shadow patterns for elevation — they are tuned to match the brand palette
Use full-pill radius (9999px) only for specific elements (avatars, pills, toggles)
Use Stone (`#7d6f6f`) as the primary accent — it's the brand's signature interactive color
Use pill-shaped radius (9999px) for primary CTA buttons — the brand uses fully-rounded, pill CTAs
Apply 80px 80px 48px padding inside cards — matches the design system's content breathing room
Use 8px border-radius on cards — consistent with the grid card corners
Each card includes a top image — imagery is part of the card identity, not optional
À éviter
Don't use light backgrounds — the dark canvas is the native medium
Don't substitute with generic sans-serif or serif — the custom font carries the brand
Don't introduce bolder or lighter weights — 400 is the only weight in this system
Don't invent new shadow values — use only the extracted shadow levels
Don't apply pill radius on rectangular buttons or cards — it's reserved for specific interactive elements
Don't introduce additional saturated accent colors — the palette is intentionally controlled
Don't use rectangular buttons for primary actions — the rounded pill shape is the brand standard
Don't make the nav sticky — this design lets it scroll away to maximize content focus
Don't put a CTA button in the nav — this design uses links only at the top
Don't over-build the footer — this design keeps it minimal (2 cols, 5 links)
10

Guide agent & export

Prompt prêt à coller + les vrais fichiers derrière cette page

Construis une UI dans le design system de restaurantecain.es. Fond #1f1d1d · encre #ffffff · accent #7d6f6f. Typo : Lora — respecte l’échelle taille/graisse du §3. Arrondis, espacements, ombres : uniquement les échelles extraites (aucun nombre magique). La spec complète suit — colle le DESIGN.md ci-dessous dans ton agent.
Chaque valeur ci-dessus est vérifiée par getComputedStyle.
$ npx prism-design add restaurantecain
DESIGN.md · narrative spec tokens.json