Initial commit — direction A4, design tokens, et package @napps/design-system

Direction artistique explorée (A1-A4), audit complet du kit Figma iOS 27
d'Apple pour calibrer les mécaniques du design system (hiérarchie de texte
par opacité, échelle de fills, deux familles de matière), tokens formalisés
dans tokens.css, et première version du package de composants React.
This commit is contained in:
2026-09-16 11:15:30 +02:00
commit 7878054b70
34 changed files with 26516 additions and 0 deletions
+79
View File
@@ -0,0 +1,79 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<script src="./support.js"></script>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap">
</head>
<body>
<x-dc>
<helmet>
<style>
* { box-sizing: border-box; }
body { margin: 0; background: #EDEEF1; }
</style>
</helmet>
<div style="width:1100px; padding:56px; background:#FFFFFF; font-family:'IBM Plex Sans',sans-serif; color:#16181C;">
<div style="display:flex; flex-direction:column; gap:6px; padding-bottom:28px; border-bottom:1px solid #E4E6EA; margin-bottom:28px;">
<div style="font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:0.08em; text-transform:uppercase; color:#62636B;">Taxonomie — Buttons</div>
<h1 style="font-size:28px; font-weight:700; margin:0;">5 styles × 3 tailles × 3 labels × 2 états</h1>
<p style="font-size:14px; line-height:1.6; color:#62636B; margin:4px 0 0; max-width:700px;">Dimensions réelles extraites, chaque style existe aussi en variante destructive. Bordered et Bordered-Prominent ont une recette de couleur exacte extraite (ci-dessous) ; Glass et Borderless restent en taxonomie (dimensions connues, couleurs à extraire).</p>
</div>
<div style="display:flex; flex-direction:column; gap:0;">
<div style="display:grid; grid-template-columns: 200px repeat(3, 1fr); gap:12px; font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:0.04em; color:#9A9BA3; padding-bottom:10px; border-bottom:1px solid #E4E6EA;">
<div>Style</div><div>Small</div><div>Medium</div><div>Large</div>
</div>
<div style="display:grid; grid-template-columns: 200px repeat(3, 1fr); gap:12px; padding:14px 0; border-bottom:1px solid #F1F2F4; align-items:center;">
<div style="font-weight:600;">Borderless</div>
<div style="font-size:13px; color:#3A3B41;">28×28 (icône) · 49×28 (titre)</div>
<div style="font-size:13px; color:#3A3B41;">34×34 · 57×34</div>
<div style="font-size:13px; color:#3A3B41;">50×50 · 73×50</div>
</div>
<div style="display:grid; grid-template-columns: 200px repeat(3, 1fr); gap:12px; padding:14px 0; border-bottom:1px solid #F1F2F4; align-items:center;">
<div style="font-weight:600;">Bordered</div>
<div style="font-size:13px; color:#3A3B41;">28×28 · 49×28</div>
<div style="font-size:13px; color:#3A3B41;">34×34 · 57×34</div>
<div style="font-size:13px; color:#3A3B41;">50×50 · 73×50</div>
</div>
<div style="display:grid; grid-template-columns: 200px repeat(3, 1fr); gap:12px; padding:14px 0; border-bottom:1px solid #F1F2F4; align-items:center;">
<div style="font-weight:600;">Bordered — Prominent</div>
<div style="font-size:13px; color:#3A3B41;">28×28 · 49×28</div>
<div style="font-size:13px; color:#3A3B41;">34×34 · 57×34</div>
<div style="font-size:13px; color:#3A3B41;">50×50 · 73×50</div>
</div>
<div style="display:grid; grid-template-columns: 200px repeat(3, 1fr); gap:12px; padding:14px 0; border-bottom:1px solid #F1F2F4; align-items:center;">
<div style="font-weight:600;">Glass</div>
<div style="font-size:13px; color:#3A3B41;">60×28</div>
<div style="font-size:13px; color:#3A3B41;">69×34</div>
<div style="font-size:13px; color:#3A3B41;">85×50 · 50×50 (icône)</div>
</div>
<div style="display:grid; grid-template-columns: 200px repeat(3, 1fr); gap:12px; padding:14px 0; align-items:center;">
<div style="font-weight:600;">Glass — Prominent</div>
<div style="font-size:13px; color:#3A3B41;">60×28</div>
<div style="font-size:13px; color:#3A3B41;">69×34</div>
<div style="font-size:13px; color:#3A3B41;">85×50 · 50×50 (icône)</div>
</div>
</div>
<div style="margin-top:28px; padding-top:20px; border-top:1px solid #E4E6EA;">
<div style="font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:0.04em; color:#9A9BA3; margin-bottom:14px;">Recette exacte extraite (Large, Title only)</div>
<div style="display:flex; gap:24px; align-items:flex-start; margin-bottom:20px;">
<div style="display:flex; flex-direction:column; align-items:center; gap:8px;">
<button style="font-family:'IBM Plex Sans',sans-serif; font-size:17px; color:#FFFFFF; background:#0088FF; border:none; border-radius:1000px; padding:14px 20px; cursor:default;">Play</button>
<div style="font-size:11px; color:#9A9BA3; text-align:center; max-width:180px;">Bordered-Prominent — fond accent plein, texte blanc, radius 1000px, padding 20px 14px</div>
</div>
<div style="display:flex; flex-direction:column; align-items:center; gap:8px;">
<button style="font-family:'IBM Plex Sans',sans-serif; font-size:17px; color:#0088FF; background:rgba(118,118,128,0.12); border:none; border-radius:1000px; padding:14px 20px; cursor:default;">Play</button>
<div style="font-size:11px; color:#9A9BA3; text-align:center; max-width:200px;">Bordered — fond gris translucide rgba(118,118,128,0.12), texte accent, même radius. Pas un contour !</div>
</div>
</div>
<div style="font-size:12px; color:#3A3B41; background:#F7F8FA; border-radius:8px; padding:12px 14px; line-height:1.6;">Typo confirmée : Body 17pt, line-height 22px, letter-spacing -0.43px — exactement notre échelle A4 (page Typography). <b>Nouveau pour nous</b> : le style Bordered n'est pas un contour, c'est un fond gris translucide — à ajouter à notre bibliothèque de composants comme bouton secondaire discret.</div>
</div>
</div>
</x-dc>
</body>
</html>
+119
View File
@@ -0,0 +1,119 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<script src="./support.js"></script>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap">
</head>
<body>
<x-dc>
<helmet>
<style>
* { box-sizing: border-box; }
body { margin: 0; background: #EDEEF1; }
</style>
</helmet>
<div style="width:1100px; padding:56px; background:#FFFFFF; font-family:'IBM Plex Sans',sans-serif; color:#16181C;">
<div style="display:flex; flex-direction:column; gap:6px; padding-bottom:28px; border-bottom:1px solid #E4E6EA; margin-bottom:28px;">
<div style="font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:0.08em; text-transform:uppercase; color:#62636B;">Extraction réelle — Colors</div>
<h1 style="font-size:28px; font-weight:700; margin:0;">Les 20 couleurs système, en hex exact</h1>
<p style="font-size:14px; line-height:1.6; color:#62636B; margin:4px 0 0; max-width:700px;">Valeurs extraites directement du fichier (pas une estimation). Référence de calibration — l'accent nApps reste distinct (cobalt <code style="background:#F1F2F4; padding:1px 6px; border-radius:4px;">#0B6CFF</code> en A2/A4, ambre en A3), pas une copie de ces teintes.</p>
</div>
<div style="margin-bottom:24px;">
<div style="font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:0.04em; color:#9A9BA3; margin-bottom:12px;">Gris (8)</div>
<div style="display:grid; grid-template-columns: repeat(4, 1fr); gap:10px;">
<div style="border:1px solid #E4E6EA; border-radius:10px; overflow:hidden;">
<div style="height:44px; background:#000000;"></div>
<div style="padding:8px 10px;"><div style="font-size:12px; font-weight:600;">Black</div><div style="font-family:'IBM Plex Mono',monospace; font-size:10px; color:#9A9BA3;">#000000</div></div>
</div>
<div style="border:1px solid #E4E6EA; border-radius:10px; overflow:hidden;">
<div style="height:44px; background:#8E8E93;"></div>
<div style="padding:8px 10px;"><div style="font-size:12px; font-weight:600;">Gray</div><div style="font-family:'IBM Plex Mono',monospace; font-size:10px; color:#9A9BA3;">#8E8E93 (idem dark)</div></div>
</div>
<div style="border:1px solid #E4E6EA; border-radius:10px; overflow:hidden;">
<div style="height:44px; background:#AEAEB2;"></div>
<div style="padding:8px 10px;"><div style="font-size:12px; font-weight:600;">Gray 2</div><div style="font-family:'IBM Plex Mono',monospace; font-size:10px; color:#9A9BA3;">#AEAEB2 · dark #636366</div></div>
</div>
<div style="border:1px solid #E4E6EA; border-radius:10px; overflow:hidden;">
<div style="height:44px; background:#C7C7CC;"></div>
<div style="padding:8px 10px;"><div style="font-size:12px; font-weight:600;">Gray 3</div><div style="font-family:'IBM Plex Mono',monospace; font-size:10px; color:#9A9BA3;">#C7C7CC · dark #48484A</div></div>
</div>
<div style="border:1px solid #E4E6EA; border-radius:10px; overflow:hidden;">
<div style="height:44px; background:#D1D1D6;"></div>
<div style="padding:8px 10px;"><div style="font-size:12px; font-weight:600;">Gray 4</div><div style="font-family:'IBM Plex Mono',monospace; font-size:10px; color:#9A9BA3;">#D1D1D6 · dark #3A3A3C</div></div>
</div>
<div style="border:1px solid #E4E6EA; border-radius:10px; overflow:hidden;">
<div style="height:44px; background:#E5E5EA;"></div>
<div style="padding:8px 10px;"><div style="font-size:12px; font-weight:600;">Gray 5</div><div style="font-family:'IBM Plex Mono',monospace; font-size:10px; color:#9A9BA3;">#E5E5EA · dark #2C2C2E</div></div>
</div>
<div style="border:1px solid #E4E6EA; border-radius:10px; overflow:hidden;">
<div style="height:44px; background:#F2F2F7;"></div>
<div style="padding:8px 10px;"><div style="font-size:12px; font-weight:600;">Gray 6</div><div style="font-family:'IBM Plex Mono',monospace; font-size:10px; color:#9A9BA3;">#F2F2F7 · dark #1C1C1E</div></div>
</div>
<div style="border:1px solid #E4E6EA; border-radius:10px; overflow:hidden;">
<div style="height:44px; background:#FFFFFF;"></div>
<div style="padding:8px 10px;"><div style="font-size:12px; font-weight:600;">White</div><div style="font-family:'IBM Plex Mono',monospace; font-size:10px; color:#9A9BA3;">#FFFFFF</div></div>
</div>
</div>
</div>
<div>
<div style="font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:0.04em; color:#9A9BA3; margin-bottom:12px;">Accents (12) — light / dark</div>
<div style="display:grid; grid-template-columns: repeat(4, 1fr); gap:10px;">
<div style="border:1px solid #E4E6EA; border-radius:10px; overflow:hidden;">
<div style="height:44px; display:flex;"><div style="flex:1; background:#FF383C;"></div><div style="flex:1; background:#FF4245;"></div></div>
<div style="padding:8px 10px;"><div style="font-size:12px; font-weight:600;">Red</div><div style="font-family:'IBM Plex Mono',monospace; font-size:10px; color:#9A9BA3;">#FF383C / #FF4245</div></div>
</div>
<div style="border:1px solid #E4E6EA; border-radius:10px; overflow:hidden;">
<div style="height:44px; display:flex;"><div style="flex:1; background:#FF8D28;"></div><div style="flex:1; background:#FF9230;"></div></div>
<div style="padding:8px 10px;"><div style="font-size:12px; font-weight:600;">Orange</div><div style="font-family:'IBM Plex Mono',monospace; font-size:10px; color:#9A9BA3;">#FF8D28 / #FF9230</div></div>
</div>
<div style="border:1px solid #E4E6EA; border-radius:10px; overflow:hidden;">
<div style="height:44px; display:flex;"><div style="flex:1; background:#FFCC00;"></div><div style="flex:1; background:#FFD600;"></div></div>
<div style="padding:8px 10px;"><div style="font-size:12px; font-weight:600;">Yellow</div><div style="font-family:'IBM Plex Mono',monospace; font-size:10px; color:#9A9BA3;">#FFCC00 / #FFD600</div></div>
</div>
<div style="border:1px solid #E4E6EA; border-radius:10px; overflow:hidden;">
<div style="height:44px; display:flex;"><div style="flex:1; background:#34C759;"></div><div style="flex:1; background:#30D158;"></div></div>
<div style="padding:8px 10px;"><div style="font-size:12px; font-weight:600;">Green</div><div style="font-family:'IBM Plex Mono',monospace; font-size:10px; color:#9A9BA3;">#34C759 / #30D158</div></div>
</div>
<div style="border:1px solid #E4E6EA; border-radius:10px; overflow:hidden;">
<div style="height:44px; display:flex;"><div style="flex:1; background:#00C8B3;"></div><div style="flex:1; background:#00DAC3;"></div></div>
<div style="padding:8px 10px;"><div style="font-size:12px; font-weight:600;">Mint</div><div style="font-family:'IBM Plex Mono',monospace; font-size:10px; color:#9A9BA3;">#00C8B3 / #00DAC3</div></div>
</div>
<div style="border:1px solid #E4E6EA; border-radius:10px; overflow:hidden;">
<div style="height:44px; display:flex;"><div style="flex:1; background:#00C3D0;"></div><div style="flex:1; background:#00D2E0;"></div></div>
<div style="padding:8px 10px;"><div style="font-size:12px; font-weight:600;">Teal</div><div style="font-family:'IBM Plex Mono',monospace; font-size:10px; color:#9A9BA3;">#00C3D0 / #00D2E0</div></div>
</div>
<div style="border:1px solid #E4E6EA; border-radius:10px; overflow:hidden;">
<div style="height:44px; display:flex;"><div style="flex:1; background:#00C0E8;"></div><div style="flex:1; background:#3CD3FE;"></div></div>
<div style="padding:8px 10px;"><div style="font-size:12px; font-weight:600;">Cyan</div><div style="font-family:'IBM Plex Mono',monospace; font-size:10px; color:#9A9BA3;">#00C0E8 / #3CD3FE</div></div>
</div>
<div style="border:1px solid #E4E6EA; border-radius:10px; overflow:hidden;">
<div style="height:44px; display:flex;"><div style="flex:1; background:#0088FF;"></div><div style="flex:1; background:#0091FF;"></div></div>
<div style="padding:8px 10px;"><div style="font-size:12px; font-weight:600;">Blue (accent)</div><div style="font-family:'IBM Plex Mono',monospace; font-size:10px; color:#9A9BA3;">#0088FF / #0091FF</div></div>
</div>
<div style="border:1px solid #E4E6EA; border-radius:10px; overflow:hidden;">
<div style="height:44px; display:flex;"><div style="flex:1; background:#6155F5;"></div><div style="flex:1; background:#6D7CFF;"></div></div>
<div style="padding:8px 10px;"><div style="font-size:12px; font-weight:600;">Indigo</div><div style="font-family:'IBM Plex Mono',monospace; font-size:10px; color:#9A9BA3;">#6155F5 / #6D7CFF</div></div>
</div>
<div style="border:1px solid #E4E6EA; border-radius:10px; overflow:hidden;">
<div style="height:44px; display:flex;"><div style="flex:1; background:#CB30E0;"></div><div style="flex:1; background:#DB34F2;"></div></div>
<div style="padding:8px 10px;"><div style="font-size:12px; font-weight:600;">Purple</div><div style="font-family:'IBM Plex Mono',monospace; font-size:10px; color:#9A9BA3;">#CB30E0 / #DB34F2</div></div>
</div>
<div style="border:1px solid #E4E6EA; border-radius:10px; overflow:hidden;">
<div style="height:44px; display:flex;"><div style="flex:1; background:#FF2D55;"></div><div style="flex:1; background:#FF375F;"></div></div>
<div style="padding:8px 10px;"><div style="font-size:12px; font-weight:600;">Pink</div><div style="font-family:'IBM Plex Mono',monospace; font-size:10px; color:#9A9BA3;">#FF2D55 / #FF375F</div></div>
</div>
<div style="border:1px solid #E4E6EA; border-radius:10px; overflow:hidden;">
<div style="height:44px; display:flex;"><div style="flex:1; background:#AC7F5E;"></div><div style="flex:1; background:#B78A66;"></div></div>
<div style="padding:8px 10px;"><div style="font-size:12px; font-weight:600;">Brown</div><div style="font-family:'IBM Plex Mono',monospace; font-size:10px; color:#9A9BA3;">#AC7F5E / #B78A66</div></div>
</div>
</div>
</div>
</div>
</x-dc>
</body>
</html>
+146
View File
@@ -0,0 +1,146 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<script src="./support.js"></script>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap">
</head>
<body>
<x-dc>
<helmet>
<style>
* { box-sizing: border-box; }
body { margin: 0; background: #EDEEF1; }
</style>
</helmet>
<div style="width:1100px; padding:56px; background:#FFFFFF; font-family:'IBM Plex Sans',sans-serif; color:#16181C;">
<div style="display:flex; flex-direction:column; gap:6px; padding-bottom:28px; border-bottom:1px solid #E4E6EA; margin-bottom:28px;">
<div style="font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:0.08em; text-transform:uppercase; color:#62636B;">Extraction réelle — Tokens sémantiques &amp; composants</div>
<h1 style="font-size:28px; font-weight:700; margin:0;">La hiérarchie se fait par opacité, pas par des gris</h1>
<p style="font-size:14px; line-height:1.6; color:#62636B; margin:4px 0 0; max-width:720px;">Découverte confirmée sur 6 composants distincts : Apple encode Primary/Secondary/Tertiary en opacité de noir, pas en teintes de gris séparées. Un token qui s'adapte à n'importe quel fond au lieu d'une variante par contexte.</p>
</div>
<div style="display:flex; gap:16px; margin-bottom:32px;">
<div style="flex:1; background:#F7F8FA; border-radius:12px; padding:16px;">
<div style="width:100%; height:32px; background:#000000; border-radius:6px; margin-bottom:8px;"></div>
<div style="font-size:12px; font-weight:600;">labels/primary</div>
<div style="font-family:'IBM Plex Mono',monospace; font-size:10px; color:#9A9BA3;">noir 100%</div>
</div>
<div style="flex:1; background:#F7F8FA; border-radius:12px; padding:16px;">
<div style="width:100%; height:32px; background:rgba(60,60,67,0.6); border-radius:6px; margin-bottom:8px;"></div>
<div style="font-size:12px; font-weight:600;">labels/secondary</div>
<div style="font-family:'IBM Plex Mono',monospace; font-size:10px; color:#9A9BA3;">noir 60%</div>
</div>
<div style="flex:1; background:#F7F8FA; border-radius:12px; padding:16px;">
<div style="width:100%; height:32px; background:rgba(60,60,67,0.3); border-radius:6px; margin-bottom:8px;"></div>
<div style="font-size:12px; font-weight:600;">labels/tertiary</div>
<div style="font-family:'IBM Plex Mono',monospace; font-size:10px; color:#9A9BA3;">noir 30%</div>
</div>
<div style="flex:1; background:#F7F8FA; border-radius:12px; padding:16px;">
<div style="width:100%; height:32px; background:rgba(118,118,128,0.12); border-radius:6px; margin-bottom:8px;"></div>
<div style="font-size:12px; font-weight:600;">fills/tertiary</div>
<div style="font-family:'IBM Plex Mono',monospace; font-size:10px; color:#9A9BA3;">gris 12%</div>
</div>
</div>
<div style="font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:0.04em; color:#9A9BA3; margin-bottom:16px;">Composants extraits avec valeurs exactes</div>
<div style="display:flex; gap:20px; align-items:flex-start; margin-bottom:24px; flex-wrap:wrap;">
<div style="display:flex; flex-direction:column; gap:8px; align-items:center;">
<div style="display:flex; background:rgba(118,118,128,0.12); border-radius:999px; padding:2px; gap:4px; width:220px;">
<div style="flex:1; text-align:center; font-size:13.3px; font-weight:600; padding:3px 6px; border-radius:999px; background:#FFFFFF; box-shadow:0 2px 10px rgba(0,0,0,0.06);">Un</div>
<div style="flex:1; text-align:center; font-size:13.3px; font-weight:500; padding:3px 6px; color:#000;">Deux</div>
<div style="flex:1; text-align:center; font-size:13.3px; font-weight:500; padding:3px 6px; color:#000;">Trois</div>
</div>
<div style="font-size:11px; color:#9A9BA3;">Segmented Control</div>
</div>
<div style="display:flex; flex-direction:column; gap:8px; align-items:center;">
<div style="width:64px; height:28px; border-radius:999px; background:#34C759; position:relative;">
<div style="position:absolute; right:2px; top:2px; width:24px; height:24px; border-radius:999px; background:#FFFFFF;"></div>
</div>
<div style="font-size:11px; color:#9A9BA3;">Toggle — ON</div>
</div>
<div style="display:flex; flex-direction:column; gap:8px; align-items:center;">
<div style="width:92px; height:32px; border-radius:999px; overflow:hidden; display:flex; position:relative;">
<div style="flex:1; background:rgba(118,118,128,0.12); display:flex; align-items:center; justify-content:center; font-weight:600; font-size:15px;">−</div>
<div style="width:1px; background:rgba(60,60,67,0.3); margin:4px 0;"></div>
<div style="flex:1; background:rgba(118,118,128,0.12); display:flex; align-items:center; justify-content:center; font-weight:600; font-size:15px;">+</div>
</div>
<div style="font-size:11px; color:#9A9BA3;">Stepper</div>
</div>
<div style="display:flex; flex-direction:column; gap:8px; align-items:center;">
<div style="width:220px; position:relative; height:24px;">
<div style="position:absolute; top:9px; left:0; right:0; height:6px; border-radius:3px; background:rgba(120,120,128,0.2);"></div>
<div style="position:absolute; top:9px; left:0; width:45%; height:6px; border-radius:3px; background:#0088FF;"></div>
<div style="position:absolute; top:0; left:calc(45% - 12px); width:24px; height:24px; border-radius:999px; background:#FFFFFF; box-shadow:0 0.5px 4px rgba(0,0,0,0.12), 0 6px 13px rgba(0,0,0,0.12);"></div>
</div>
<div style="font-size:11px; color:#9A9BA3;">Slider</div>
</div>
</div>
<div style="display:flex; gap:20px; align-items:flex-start; flex-wrap:wrap;">
<div style="display:flex; flex-direction:column; gap:8px;">
<div style="width:260px; border-top:1px solid #E6E6E6; padding-top:10px;">
<div style="font-size:17px; color:#000;">Titre de la ligne</div>
<div style="font-size:15px; color:rgba(60,60,67,0.6);">Sous-titre en secondary</div>
</div>
<div style="font-size:11px; color:#9A9BA3;">List Row (tall)</div>
</div>
<div style="display:flex; flex-direction:column; gap:8px;">
<div style="width:260px; border-top:1px solid #E6E6E6; padding-top:10px;">
<div style="font-size:17px; color:rgba(60,60,67,0.3);">Placeholder</div>
</div>
<div style="font-size:11px; color:#9A9BA3;">Text Field — vide</div>
</div>
<div style="display:flex; flex-direction:column; gap:8px; align-items:center;">
<div style="width:220px; padding:24px; text-align:center; border-radius:20px; background:#F7F8FA;">
<div style="width:50px; height:50px; border-radius:999px; background:rgba(255,45,85,0.15); display:flex; align-items:center; justify-content:center; margin:0 auto 12px; font-size:20px; color:#FF2D55;">★</div>
<div style="font-size:15px; font-weight:600; margin-bottom:4px;">Aucun résultat</div>
<div style="font-size:12px; color:rgba(60,60,67,0.6);">Essayez une autre recherche</div>
</div>
<div style="font-size:11px; color:#9A9BA3;">Empty State — badge accent à 15%</div>
</div>
</div>
<div style="margin-top:32px; padding-top:24px; border-top:1px solid #E4E6EA;">
<div style="font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:0.04em; color:#9A9BA3; margin-bottom:6px;">Pattern systématique — le "Prominent" en 3 contextes</div>
<p style="font-size:13px; color:#62636B; margin:0 0 16px; max-width:680px;">Bouton, barre d'outils, CTA d'empty state : toujours la même recette pour une action principale sur du verre — jamais un aplat de couleur direct.</p>
<div style="display:flex; gap:16px;">
<div style="flex:1; background:#F7F8FA; border-radius:12px; padding:16px; text-align:center;">
<button style="font-size:14px; color:#FFFFFF; background:#0088FF; border:none; border-radius:999px; padding:10px 20px;">Bouton</button>
<div style="font-size:11px; color:#9A9BA3; margin-top:10px;">Bordered-Prominent</div>
</div>
<div style="flex:1; background:#F7F8FA; border-radius:12px; padding:16px; text-align:center;">
<div style="display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:999px; background:#0088FF; color:#FFFFFF; font-size:14px;">+</div>
<div style="font-size:11px; color:#9A9BA3; margin-top:10px;">Toolbar — Symbol Prominent</div>
</div>
<div style="flex:1; background:#F7F8FA; border-radius:12px; padding:16px; text-align:center;">
<button style="font-size:14px; color:#FFFFFF; background:#0088FF; border:none; border-radius:999px; padding:10px 20px;">Action</button>
<div style="font-size:11px; color:#9A9BA3; margin-top:10px;">Empty State — CTA</div>
</div>
</div>
</div>
<div style="margin-top:28px;">
<div style="font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:0.04em; color:#9A9BA3; margin-bottom:16px;">Sidebar — sélection en pilule, pas en bande pleine largeur</div>
<div style="width:280px; background:#F7F8FA; border-radius:14px; padding:8px;">
<div style="padding:11px 16px; font-size:17px; color:rgba(60,60,67,0.6);">Accueil</div>
<div style="padding:11px 16px; font-size:17px; color:#000; background:rgba(237,237,237,0.9); border-radius:999px;">Projets</div>
<div style="padding:11px 16px; font-size:17px; color:rgba(60,60,67,0.6);">Réglages</div>
</div>
</div>
</div>
</x-dc>
</body>
</html>
+125
View File
@@ -0,0 +1,125 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<script src="./support.js"></script>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap">
</head>
<body>
<x-dc>
<helmet>
<style>
* { box-sizing: border-box; }
body { margin: 0; background: #EDEEF1; }
a { color: #0B6CFF; text-decoration: none; }
</style>
</helmet>
<div style="width:1100px; padding:56px; background:#FFFFFF; font-family:'IBM Plex Sans',sans-serif; color:#16181C;">
<div style="display:flex; flex-direction:column; gap:6px; padding-bottom:32px; border-bottom:1px solid #E4E6EA; margin-bottom:32px;">
<div style="font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:0.08em; text-transform:uppercase; color:#62636B;">Inventaire — kit Figma "iOS and iPadOS 27 (Community)"</div>
<h1 style="font-size:32px; font-weight:700; margin:0;">Ce qu'on a extrait, pas ce qu'on suppose.</h1>
<p style="font-size:15px; line-height:1.6; color:#62636B; margin:4px 0 0; max-width:720px;">Fichier <code style="background:#F1F2F4; padding:1px 6px; border-radius:4px;">zGlk9zfprLJgnlwWWq35wr</code>. <b>36/36 pages identifiées</b>, ~26 avec des valeurs exactes extraites, sur quatre comptes Figma Starter successifs jusqu'à épuisement du dernier. Détail complet composant par composant dans <code style="background:#F1F2F4; padding:1px 6px; border-radius:4px;">figma-kit-audit.md</code>.</p>
</div>
<div style="display:flex; flex-direction:column; gap:10px;">
<div style="display:grid; grid-template-columns: 220px 110px 1fr; gap:0; font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:0.04em; color:#9A9BA3; padding-bottom:8px; border-bottom:1px solid #E4E6EA;">
<div>Page</div><div>Statut</div><div>Contenu</div>
</div>
<div style="display:grid; grid-template-columns: 220px 110px 1fr; gap:0; padding:10px 0; border-bottom:1px solid #F1F2F4; align-items:center;">
<div style="font-weight:600;">Materials</div>
<div><span style="font-size:11px; font-weight:600; color:#1C9C6B; background:#E4F5EE; padding:3px 8px; border-radius:6px;">Complet</span></div>
<div style="font-size:13px; color:#3A3B41;">Recette réelle du Liquid Glass — blur 46-50px, blend modes, hex vibrancy</div>
</div>
<div style="display:grid; grid-template-columns: 220px 110px 1fr; gap:0; padding:10px 0; border-bottom:1px solid #F1F2F4; align-items:center;">
<div style="font-weight:600;">Text Styles / Dynamic Type</div>
<div><span style="font-size:11px; font-weight:600; color:#1C9C6B; background:#E4F5EE; padding:3px 8px; border-radius:6px;">Complet</span></div>
<div style="font-size:13px; color:#3A3B41;">Échelle xSmall→xxxLarge + AX1-AX5, tous les styles de texte</div>
</div>
<div style="display:grid; grid-template-columns: 220px 110px 1fr; gap:0; padding:10px 0; border-bottom:1px solid #F1F2F4; align-items:center;">
<div style="font-weight:600;">Buttons</div>
<div><span style="font-size:11px; font-weight:600; color:#C7821A; background:#FBF0DE; padding:3px 8px; border-radius:6px;">Partiel</span></div>
<div style="font-size:13px; color:#3A3B41;">Bordered / Bordered-Prominent exacts — Glass/Borderless en taxonomie</div>
</div>
<div style="display:grid; grid-template-columns: 220px 110px 1fr; gap:0; padding:10px 0; border-bottom:1px solid #F1F2F4; align-items:center;">
<div style="font-weight:600;">Colors</div>
<div><span style="font-size:11px; font-weight:600; color:#1C9C6B; background:#E4F5EE; padding:3px 8px; border-radius:6px;">Complet</span></div>
<div style="font-size:13px; color:#3A3B41;">20 couleurs système, hex exacts light + dark</div>
</div>
<div style="display:grid; grid-template-columns: 220px 110px 1fr; gap:0; padding:10px 0; border-bottom:1px solid #F1F2F4; align-items:center;">
<div style="font-weight:600;">Alerts</div>
<div><span style="font-size:11px; font-weight:600; color:#9A9BA3; background:#F1F2F4; padding:3px 8px; border-radius:6px;">Structure</span></div>
<div style="font-size:13px; color:#3A3B41;">Layouts side-by-side / stacked, rôles de bouton, champ texte</div>
</div>
<div style="display:grid; grid-template-columns: 220px 110px 1fr; gap:0; padding:10px 0; border-bottom:1px solid #F1F2F4; align-items:center;">
<div style="font-weight:600;">Action Sheets</div>
<div><span style="font-size:11px; font-weight:600; color:#9A9BA3; background:#F1F2F4; padding:3px 8px; border-radius:6px;">Structure</span></div>
<div style="font-size:13px; color:#3A3B41;">Composant unique repéré</div>
</div>
<div style="display:grid; grid-template-columns: 220px 110px 1fr; gap:0; padding:10px 0; border-bottom:1px solid #F1F2F4; align-items:center;">
<div style="font-weight:600;">Activity Views</div>
<div><span style="font-size:11px; font-weight:600; color:#9A9BA3; background:#F1F2F4; padding:3px 8px; border-radius:6px;">Structure</span></div>
<div style="font-size:13px; color:#3A3B41;">Vue de partage iPhone/iPad, boutons d'action</div>
</div>
<div style="display:grid; grid-template-columns: 220px 110px 1fr; gap:0; padding:10px 0; border-bottom:1px solid #F1F2F4; align-items:center;">
<div style="font-weight:600;">Color Pickers</div>
<div><span style="font-size:11px; font-weight:600; color:#9A9BA3; background:#F1F2F4; padding:3px 8px; border-radius:6px;">Structure</span></div>
<div style="font-size:13px; color:#3A3B41;">Sélecteur de couleur, toolbar, boutons de sélection</div>
</div>
<div style="display:grid; grid-template-columns: 220px 110px 1fr; gap:0; padding:10px 0; border-bottom:1px solid #F1F2F4; align-items:center;">
<div style="font-weight:600;">Lists</div>
<div><span style="font-size:11px; font-weight:600; color:#9A9BA3; background:#F1F2F4; padding:3px 8px; border-radius:6px;">Structure</span></div>
<div style="font-size:13px; color:#3A3B41;">Rows, swipe actions, images, trailing accessories (toggle/stepper/picker) — <b style="color:#0B6CFF;">priorité haute</b></div>
</div>
<div style="display:grid; grid-template-columns: 220px 110px 1fr; gap:0; padding:10px 0; border-bottom:1px solid #F1F2F4; align-items:center;">
<div style="font-weight:600;">Menus</div>
<div><span style="font-size:11px; font-weight:600; color:#9A9BA3; background:#F1F2F4; padding:3px 8px; border-radius:6px;">Structure</span></div>
<div style="font-size:13px; color:#3A3B41;">Menu contextuel sur Liquid Glass — confirme la matière en usage réel</div>
</div>
<div style="display:grid; grid-template-columns: 220px 110px 1fr; gap:0; padding:10px 0; border-bottom:1px solid #F1F2F4; align-items:center;">
<div style="font-weight:600;">Segmented Controls</div>
<div><span style="font-size:11px; font-weight:600; color:#9A9BA3; background:#F1F2F4; padding:3px 8px; border-radius:6px;">Structure</span></div>
<div style="font-size:13px; color:#3A3B41;">2-6 segments, confirme la forme pilule déjà adoptée en A4</div>
</div>
<div style="display:grid; grid-template-columns: 220px 110px 1fr; gap:0; padding:10px 0; border-bottom:1px solid #F1F2F4; align-items:center;">
<div style="font-weight:600;">Toggles · Sliders · Steppers</div>
<div><span style="font-size:11px; font-weight:600; color:#9A9BA3; background:#F1F2F4; padding:3px 8px; border-radius:6px;">Structure</span></div>
<div style="font-size:13px; color:#3A3B41;">Contrôles de formulaire — states idle/pressed/disabled</div>
</div>
<div style="display:grid; grid-template-columns: 220px 110px 1fr; gap:0; padding:10px 0; border-bottom:1px solid #F1F2F4; align-items:center;">
<div style="font-weight:600;">Sidebars</div>
<div><span style="font-size:11px; font-weight:600; color:#9A9BA3; background:#F1F2F4; padding:3px 8px; border-radius:6px;">Structure</span></div>
<div style="font-size:13px; color:#3A3B41;">Nav leading/trailing, rows indentées — utile pour la nav desktop web</div>
</div>
<div style="display:grid; grid-template-columns: 220px 110px 1fr; gap:0; padding:10px 0; border-bottom:1px solid #F1F2F4; align-items:center;">
<div style="font-weight:600;">Sheets · Popovers · Notifications · Page Controls · Pop-up Buttons · Progress Indicators</div>
<div><span style="font-size:11px; font-weight:600; color:#9A9BA3; background:#F1F2F4; padding:3px 8px; border-radius:6px;">Structure</span></div>
<div style="font-size:13px; color:#3A3B41;">Composants secondaires, utiles ponctuellement</div>
</div>
<div style="display:grid; grid-template-columns: 220px 110px 1fr; gap:0; padding:10px 0; border-bottom:1px solid #F1F2F4; align-items:center;">
<div style="font-weight:600;">Text Fields · Toolbars · Empty States · Contextual Menus · Date/Time Pickers</div>
<div><span style="font-size:11px; font-weight:600; color:#9A9BA3; background:#F1F2F4; padding:3px 8px; border-radius:6px;">Structure</span></div>
<div style="font-size:13px; color:#3A3B41;">Dernières pages identifiées — utiles, hex à extraire</div>
</div>
<div style="display:grid; grid-template-columns: 220px 110px 1fr; gap:0; padding:10px 0; border-bottom:1px solid #F1F2F4; align-items:center;">
<div style="font-weight:600;">Safe Areas / Margins</div>
<div><span style="font-size:11px; font-weight:600; color:#9A9BA3; background:#F1F2F4; padding:3px 8px; border-radius:6px;">Non pertinent</span></div>
<div style="font-size:13px; color:#3A3B41;">Spécifique aux apps natives iOS/iPadOS</div>
</div>
<div style="display:grid; grid-template-columns: 220px 110px 1fr; gap:0; padding:10px 0; align-items:center;">
<div style="font-weight:600;">Product Bezels · System · App Icons · Keyboards · Status/Menu Bars · Windows · Widgets · Face ID</div>
<div><span style="font-size:11px; font-weight:600; color:#9A9BA3; background:#F1F2F4; padding:3px 8px; border-radius:6px;">Non pertinent</span></div>
<div style="font-size:13px; color:#3A3B41;">Gabarits d'appareils, OS natif, chrome desktop — hors périmètre nApps (web)</div>
</div>
</div>
<div style="margin-top:32px; padding-top:24px; border-top:1px solid #E4E6EA; display:flex; gap:16px; align-items:flex-start;">
<div style="width:8px; height:8px; border-radius:50%; background:#1C9C6B; margin-top:6px; flex-shrink:0;"></div>
<div style="font-size:13px; color:#62636B; line-height:1.6;"><b style="color:#16181C;">Extraction poussée jusqu'à épuisement du 4e compte Figma.</b> Découverte structurante : le kit n'a que <b>deux familles de "verre"</b> — un verre de contrôle (boutons, barres d'outils) et un verre de panneau, plus opaque (Action Sheet, Context Menu, Sheet) — et une échelle complète de fills en trois paliers d'opacité. Détail complet dans <code style="background:#F1F2F4; padding:1px 6px; border-radius:4px;">figma-kit-audit.md</code> à la racine du dépôt de design.</div>
</div>
</div>
</x-dc>
</body>
</html>
+78
View File
@@ -0,0 +1,78 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<script src="./support.js"></script>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap">
</head>
<body>
<x-dc>
<helmet>
<style>
* { box-sizing: border-box; }
body { margin: 0; background: #EDEEF1; }
</style>
</helmet>
<div style="width:1100px; padding:56px; background:#FFFFFF; font-family:'IBM Plex Sans',sans-serif; color:#16181C;">
<div style="display:flex; flex-direction:column; gap:6px; padding-bottom:28px; border-bottom:1px solid #E4E6EA; margin-bottom:28px;">
<div style="font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:0.08em; text-transform:uppercase; color:#62636B;">Extraction réelle — Text Styles / Dynamic Type</div>
<h1 style="font-size:28px; font-weight:700; margin:0;">L'échelle typographique complète, taille "Large" (défaut)</h1>
<p style="font-size:14px; line-height:1.6; color:#62636B; margin:4px 0 0; max-width:700px;">Dimensions mesurées directement dans le fichier (pas une estimation) — 11 styles, du Large Title au Caption 2. Le kit gère aussi 6 autres crans (xSmall→xxxLarge) et 5 niveaux d'accessibilité (AX1-AX5) pour le Dynamic Type, non détaillés ici.</p>
</div>
<div style="display:flex; flex-direction:column; gap:14px;">
<div style="display:flex; align-items:baseline; gap:16px; padding-bottom:10px; border-bottom:1px solid #F1F2F4;">
<div style="font-size:34px; font-weight:700; letter-spacing:-0.01em; flex-grow:1;">Large Title</div>
<div style="font-family:'IBM Plex Mono',monospace; font-size:11px; color:#9A9BA3; white-space:nowrap;">34pt · line-height ~41</div>
</div>
<div style="display:flex; align-items:baseline; gap:16px; padding-bottom:10px; border-bottom:1px solid #F1F2F4;">
<div style="font-size:28px; font-weight:700; flex-grow:1;">Title 1</div>
<div style="font-family:'IBM Plex Mono',monospace; font-size:11px; color:#9A9BA3; white-space:nowrap;">28pt · line-height ~34</div>
</div>
<div style="display:flex; align-items:baseline; gap:16px; padding-bottom:10px; border-bottom:1px solid #F1F2F4;">
<div style="font-size:22px; font-weight:600; flex-grow:1;">Title 2</div>
<div style="font-family:'IBM Plex Mono',monospace; font-size:11px; color:#9A9BA3; white-space:nowrap;">22pt · line-height ~28</div>
</div>
<div style="display:flex; align-items:baseline; gap:16px; padding-bottom:10px; border-bottom:1px solid #F1F2F4;">
<div style="font-size:20px; font-weight:600; flex-grow:1;">Title 3</div>
<div style="font-family:'IBM Plex Mono',monospace; font-size:11px; color:#9A9BA3; white-space:nowrap;">20pt · line-height ~25</div>
</div>
<div style="display:flex; align-items:baseline; gap:16px; padding-bottom:10px; border-bottom:1px solid #F1F2F4;">
<div style="font-size:17px; font-weight:700; flex-grow:1;">Headline</div>
<div style="font-family:'IBM Plex Mono',monospace; font-size:11px; color:#9A9BA3; white-space:nowrap;">17pt · bold · line-height ~22</div>
</div>
<div style="display:flex; align-items:baseline; gap:16px; padding-bottom:10px; border-bottom:1px solid #F1F2F4;">
<div style="font-size:17px; font-weight:400; color:#3A3B41; flex-grow:1;">Body — même taille que Headline, poids différent</div>
<div style="font-family:'IBM Plex Mono',monospace; font-size:11px; color:#9A9BA3; white-space:nowrap;">17pt · regular · line-height ~22</div>
</div>
<div style="display:flex; align-items:baseline; gap:16px; padding-bottom:10px; border-bottom:1px solid #F1F2F4;">
<div style="font-size:16px; font-weight:400; color:#3A3B41; flex-grow:1;">Callout</div>
<div style="font-family:'IBM Plex Mono',monospace; font-size:11px; color:#9A9BA3; white-space:nowrap;">16pt · line-height ~21</div>
</div>
<div style="display:flex; align-items:baseline; gap:16px; padding-bottom:10px; border-bottom:1px solid #F1F2F4;">
<div style="font-size:15px; font-weight:400; color:#3A3B41; flex-grow:1;">Subhead(line)</div>
<div style="font-family:'IBM Plex Mono',monospace; font-size:11px; color:#9A9BA3; white-space:nowrap;">15pt · line-height ~20</div>
</div>
<div style="display:flex; align-items:baseline; gap:16px; padding-bottom:10px; border-bottom:1px solid #F1F2F4;">
<div style="font-size:13px; font-weight:400; color:#62636B; flex-grow:1;">Footnote</div>
<div style="font-family:'IBM Plex Mono',monospace; font-size:11px; color:#9A9BA3; white-space:nowrap;">13pt · line-height ~18</div>
</div>
<div style="display:flex; align-items:baseline; gap:16px; padding-bottom:10px; border-bottom:1px solid #F1F2F4;">
<div style="font-size:12px; font-weight:400; color:#62636B; flex-grow:1;">Caption 1</div>
<div style="font-family:'IBM Plex Mono',monospace; font-size:11px; color:#9A9BA3; white-space:nowrap;">12pt · line-height ~16</div>
</div>
<div style="display:flex; align-items:baseline; gap:16px;">
<div style="font-size:11px; font-weight:400; color:#62636B; flex-grow:1;">Caption 2</div>
<div style="font-family:'IBM Plex Mono',monospace; font-size:11px; color:#9A9BA3; white-space:nowrap;">11pt · line-height ~13</div>
</div>
</div>
<div style="margin-top:28px; padding-top:20px; border-top:1px solid #E4E6EA; font-size:13px; color:#62636B; line-height:1.6;">
Le kit décline aussi chaque style en 4 niveaux de couleur de label (Primary / Secondary / Tertiary / Quaternary) — cohérent avec la hiérarchie par opacité déjà vue sur les vibrancy labels de la page Materials. Cette échelle est celle qu'on a déjà appliquée en A4 (34/22/17/13pt) — confirmée exacte par cette extraction.
</div>
</div>
</x-dc>
</body>
</html>
+17
View File
@@ -0,0 +1,17 @@
{
"artboards": [
{ "file": "Main.dc.html", "x": 0, "y": 0, "w": 1100, "h": 1750 },
{ "file": "Colors.dc.html", "x": 1200, "y": 0, "w": 1100, "h": 780 },
{ "file": "Typography.dc.html", "x": 2400, "y": 0, "w": 1100, "h": 900 },
{ "file": "Buttons.dc.html", "x": 3600, "y": 0, "w": 1100, "h": 900 },
{ "file": "Components.dc.html", "x": 4800, "y": 0, "w": 1100, "h": 1350 }
],
"annotations": [
{ "id": "note-status", "x": 0, "y": -100, "w": 1100, "text": "Vue d'ensemble — 36/36 pages identifiées" },
{ "id": "note-colors", "x": 1200, "y": -100, "w": 1100, "text": "Extraction complète — 20 couleurs, hex exacts" },
{ "id": "note-typo", "x": 2400, "y": -100, "w": 1100, "text": "Extraction complète et fiable" },
{ "id": "note-buttons", "x": 3600, "y": -100, "w": 1100, "text": "4 styles de bouton exacts sur 5" },
{ "id": "note-components", "x": 4800, "y": -100, "w": 1100, "text": "Tokens sémantiques + 6 composants extraits" }
],
"launch": { "view": "canvas" }
}
File diff suppressed because one or more lines are too long