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:
@@ -0,0 +1,4 @@
|
|||||||
|
node_modules/
|
||||||
|
dist/
|
||||||
|
*.log
|
||||||
|
.DS_Store
|
||||||
+174
@@ -0,0 +1,174 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<script src="./support.js"></script>
|
||||||
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=IBM+Plex+Sans:wght@400;500;600&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: #0E8F7A; text-decoration: none; }
|
||||||
|
a:hover { color: #0B7362; }
|
||||||
|
</style>
|
||||||
|
</helmet>
|
||||||
|
<div style="width:1160px; padding:56px; background:#F7F8FA; font-family:'IBM Plex Sans',sans-serif; color:#16181C;">
|
||||||
|
|
||||||
|
<!-- HEADER -->
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; padding-bottom:36px; border-bottom:1px solid #E4E6EA; margin-bottom:40px;">
|
||||||
|
<div style="font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:0.08em; text-transform:uppercase; color:#62636B;">A1 — Précision (référence)</div>
|
||||||
|
<h1 style="font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:36px; margin:0; letter-spacing:-0.01em;">Sobre, dense, exact.</h1>
|
||||||
|
<p style="font-size:15px; line-height:1.6; color:#62636B; margin:4px 0 0; max-width:680px;">Inspirée de Linear et d'Apple : palette quasi monochrome, un seul accent fort, typographie géométrique comme colonne vertébrale, aucune décoration gratuite. Chaque pixel a une fonction.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- PALETTE -->
|
||||||
|
<div style="margin-bottom:40px;">
|
||||||
|
<div style="font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:#62636B; margin-bottom:16px;">Palette — Light / Dark</div>
|
||||||
|
|
||||||
|
<div style="display:flex; flex-direction:column; gap:14px;">
|
||||||
|
<div style="display:flex; align-items:center; gap:16px;">
|
||||||
|
<div style="width:54px; font-family:'IBM Plex Mono',monospace; font-size:11px; color:#9A9BA3;">Light</div>
|
||||||
|
<div style="display:flex; gap:10px; flex-grow:1;">
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#F7F8FA; border:1px solid #E4E6EA;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Fond</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#FFFFFF; border:1px solid #E4E6EA;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Surface</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#16181C;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Texte</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#62636B;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Texte 2</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#0E8F7A;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Accent</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#1C9C6B;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Succès</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#C7821A;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Attention</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#D1453B;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Erreur</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div style="display:flex; align-items:center; gap:16px; padding:14px; background:#16181C; border-radius:10px;">
|
||||||
|
<div style="width:54px; font-family:'IBM Plex Mono',monospace; font-size:11px; color:#9A9BA3;">Dark</div>
|
||||||
|
<div style="display:flex; gap:10px; flex-grow:1;">
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#16181C; border:1px solid #2C2F35;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Fond</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#1E2024; border:1px solid #2C2F35;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Surface</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#F2F3F5;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Texte</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#9A9BA3;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Texte 2</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#2AD1AE;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Accent</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#35C98B;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Succès</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#E3A23F;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Attention</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#F06A5F;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Erreur</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- TYPOGRAPHY -->
|
||||||
|
<div style="margin-bottom:40px; padding-bottom:36px; border-bottom:1px solid #E4E6EA;">
|
||||||
|
<div style="font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:#62636B; margin-bottom:16px;">Typographie</div>
|
||||||
|
<div style="display:flex; gap:40px;">
|
||||||
|
<div style="flex-grow:1;">
|
||||||
|
<div style="font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:44px; letter-spacing:-0.01em; line-height:1.1;">Espace Grotesk</div>
|
||||||
|
<div style="font-size:12px; color:#9A9BA3; margin-top:8px;">Titres — géométrique, dessinée pour le digital, aucune trace de police système par défaut.</div>
|
||||||
|
</div>
|
||||||
|
<div style="flex-grow:1;">
|
||||||
|
<div style="font-family:'IBM Plex Sans',sans-serif; font-size:15px; line-height:1.7; color:#3A3B41;">IBM Plex Sans — texte courant. Dessinée pour l'interface, excellente lisibilité en petite taille, chasse maîtrisée pour les tableaux de données denses.</div>
|
||||||
|
<div style="font-size:12px; color:#9A9BA3; margin-top:8px;">Texte — humaniste mais structurée, pensée pour la densité d'information.</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- COMPONENTS -->
|
||||||
|
<div style="margin-bottom:40px; padding-bottom:36px; border-bottom:1px solid #E4E6EA;">
|
||||||
|
<div style="font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:#62636B; margin-bottom:16px;">Composants</div>
|
||||||
|
<div style="display:flex; gap:24px; align-items:flex-start;">
|
||||||
|
|
||||||
|
<button style="font-family:'IBM Plex Sans',sans-serif; font-weight:500; font-size:14px; color:#FFFFFF; background:#0E8F7A; border:none; border-radius:8px; padding:11px 20px; cursor:pointer;">Créer un projet</button>
|
||||||
|
|
||||||
|
<div style="width:240px; background:#FFFFFF; border:1px solid #E4E6EA; border-radius:12px; padding:18px; box-shadow:0 1px 2px rgba(15,20,25,0.04);">
|
||||||
|
<div style="font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:15px; margin-bottom:6px;">Facturation</div>
|
||||||
|
<div style="font-size:13px; color:#62636B; line-height:1.5;">Prochaine échéance dans 12 jours.</div>
|
||||||
|
<div style="display:inline-block; margin-top:12px; font-size:11px; font-weight:500; color:#0E8F7A; background:#E4F5F1; padding:3px 8px; border-radius:5px;">À jour</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; width:200px;">
|
||||||
|
<label style="font-size:12px; font-weight:500; color:#3A3B41;">Adresse e-mail</label>
|
||||||
|
<input type="text" placeholder="vous@napps.fr" style="font-family:'IBM Plex Sans',sans-serif; font-size:14px; padding:9px 12px; border:1px solid #0E8F7A; border-radius:8px; outline:none;" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div style="display:flex; background:#EDEEF1; border-radius:9px; padding:3px; gap:2px;">
|
||||||
|
<div style="font-size:13px; font-weight:500; padding:7px 14px; border-radius:7px; background:#FFFFFF; color:#16181C; box-shadow:0 1px 2px rgba(15,20,25,0.06);">Aperçu</div>
|
||||||
|
<div style="font-size:13px; font-weight:500; padding:7px 14px; border-radius:7px; color:#62636B;">Activité</div>
|
||||||
|
<div style="font-size:13px; font-weight:500; padding:7px 14px; border-radius:7px; color:#62636B;">Réglages</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- DEPTH & ICON -->
|
||||||
|
<div>
|
||||||
|
<div style="font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:#62636B; margin-bottom:16px;">Profondeur & signe</div>
|
||||||
|
<div style="display:flex; gap:32px; align-items:center;">
|
||||||
|
<div style="display:flex; flex-direction:column; gap:8px; align-items:center;">
|
||||||
|
<div style="width:80px; height:80px; border-radius:8px; background:#FFFFFF; border:1px solid #E4E6EA; box-shadow:0 1px 2px rgba(15,20,25,0.04);"></div>
|
||||||
|
<div style="font-size:11px; color:#9A9BA3;">Rayon 8px · bordure fine, pas d'ombre lourde</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:8px; align-items:center;">
|
||||||
|
<svg viewBox="0 0 24 24" width="56" height="56" fill="none">
|
||||||
|
<rect x="3" y="13" width="4" height="8" rx="1" fill="#0E8F7A"/>
|
||||||
|
<rect x="10" y="8" width="4" height="13" rx="1" fill="#0E8F7A"/>
|
||||||
|
<rect x="17" y="4" width="4" height="17" rx="1" fill="#0E8F7A"/>
|
||||||
|
</svg>
|
||||||
|
<div style="font-size:11px; color:#9A9BA3;">Signe maison — barres géométriques</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</x-dc>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,174 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<script src="./support.js"></script>
|
||||||
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=IBM+Plex+Sans:wght@400;500;600&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: #375FE0; text-decoration: none; }
|
||||||
|
a:hover { color: #2A49B3; }
|
||||||
|
</style>
|
||||||
|
</helmet>
|
||||||
|
<div style="width:1160px; padding:56px; background:#F7F8FA; font-family:'IBM Plex Sans',sans-serif; color:#16181C;">
|
||||||
|
|
||||||
|
<!-- HEADER -->
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; padding-bottom:36px; border-bottom:1px solid #E4E6EA; margin-bottom:40px;">
|
||||||
|
<div style="font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:0.08em; text-transform:uppercase; color:#62636B;">A2 — Précision / Cobalt</div>
|
||||||
|
<h1 style="font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:36px; margin:0; letter-spacing:-0.01em;">Même rigueur, accent plus froid.</h1>
|
||||||
|
<p style="font-size:15px; line-height:1.6; color:#62636B; margin:4px 0 0; max-width:680px;">Même socle que A1 (typographie, densité, structure) — seul l'accent change : un cobalt profond plutôt qu'un émeraude, plus proche du bleu système d'Apple mais désaturé pour rester premium et non générique.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- PALETTE -->
|
||||||
|
<div style="margin-bottom:40px;">
|
||||||
|
<div style="font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:#62636B; margin-bottom:16px;">Palette — Light / Dark</div>
|
||||||
|
|
||||||
|
<div style="display:flex; flex-direction:column; gap:14px;">
|
||||||
|
<div style="display:flex; align-items:center; gap:16px;">
|
||||||
|
<div style="width:54px; font-family:'IBM Plex Mono',monospace; font-size:11px; color:#9A9BA3;">Light</div>
|
||||||
|
<div style="display:flex; gap:10px; flex-grow:1;">
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#F7F8FA; border:1px solid #E4E6EA;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Fond</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#FFFFFF; border:1px solid #E4E6EA;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Surface</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#16181C;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Texte</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#62636B;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Texte 2</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#375FE0;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Accent</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#1C9C6B;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Succès</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#C7821A;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Attention</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#D1453B;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Erreur</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div style="display:flex; align-items:center; gap:16px; padding:14px; background:#16181C; border-radius:10px;">
|
||||||
|
<div style="width:54px; font-family:'IBM Plex Mono',monospace; font-size:11px; color:#9A9BA3;">Dark</div>
|
||||||
|
<div style="display:flex; gap:10px; flex-grow:1;">
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#16181C; border:1px solid #2C2F35;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Fond</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#1E2024; border:1px solid #2C2F35;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Surface</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#F2F3F5;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Texte</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#9A9BA3;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Texte 2</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#6E8CFA;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Accent</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#35C98B;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Succès</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#E3A23F;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Attention</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#F06A5F;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Erreur</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- TYPOGRAPHY -->
|
||||||
|
<div style="margin-bottom:40px; padding-bottom:36px; border-bottom:1px solid #E4E6EA;">
|
||||||
|
<div style="font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:#62636B; margin-bottom:16px;">Typographie — inchangée</div>
|
||||||
|
<div style="display:flex; gap:40px;">
|
||||||
|
<div style="flex-grow:1;">
|
||||||
|
<div style="font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:44px; letter-spacing:-0.01em; line-height:1.1;">Espace Grotesk</div>
|
||||||
|
<div style="font-size:12px; color:#9A9BA3; margin-top:8px;">Titres — identique à A1, la variation porte uniquement sur la couleur.</div>
|
||||||
|
</div>
|
||||||
|
<div style="flex-grow:1;">
|
||||||
|
<div style="font-family:'IBM Plex Sans',sans-serif; font-size:15px; line-height:1.7; color:#3A3B41;">IBM Plex Sans — texte courant, inchangé. La cohérence typographique reste la colonne vertébrale de toute la famille A.</div>
|
||||||
|
<div style="font-size:12px; color:#9A9BA3; margin-top:8px;">Texte — identique à A1.</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- COMPONENTS -->
|
||||||
|
<div style="margin-bottom:40px; padding-bottom:36px; border-bottom:1px solid #E4E6EA;">
|
||||||
|
<div style="font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:#62636B; margin-bottom:16px;">Composants</div>
|
||||||
|
<div style="display:flex; gap:24px; align-items:flex-start;">
|
||||||
|
|
||||||
|
<button style="font-family:'IBM Plex Sans',sans-serif; font-weight:500; font-size:14px; color:#FFFFFF; background:#375FE0; border:none; border-radius:8px; padding:11px 20px; cursor:pointer;">Créer un projet</button>
|
||||||
|
|
||||||
|
<div style="width:240px; background:#FFFFFF; border:1px solid #E4E6EA; border-radius:12px; padding:18px; box-shadow:0 1px 2px rgba(15,20,25,0.04);">
|
||||||
|
<div style="font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:15px; margin-bottom:6px;">Facturation</div>
|
||||||
|
<div style="font-size:13px; color:#62636B; line-height:1.5;">Prochaine échéance dans 12 jours.</div>
|
||||||
|
<div style="display:inline-block; margin-top:12px; font-size:11px; font-weight:500; color:#375FE0; background:#E7EDFC; padding:3px 8px; border-radius:5px;">À jour</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; width:200px;">
|
||||||
|
<label style="font-size:12px; font-weight:500; color:#3A3B41;">Adresse e-mail</label>
|
||||||
|
<input type="text" placeholder="vous@napps.fr" style="font-family:'IBM Plex Sans',sans-serif; font-size:14px; padding:9px 12px; border:1px solid #375FE0; border-radius:8px; outline:none;" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div style="display:flex; background:#EDEEF1; border-radius:9px; padding:3px; gap:2px;">
|
||||||
|
<div style="font-size:13px; font-weight:500; padding:7px 14px; border-radius:7px; background:#FFFFFF; color:#16181C; box-shadow:0 1px 2px rgba(15,20,25,0.06);">Aperçu</div>
|
||||||
|
<div style="font-size:13px; font-weight:500; padding:7px 14px; border-radius:7px; color:#62636B;">Activité</div>
|
||||||
|
<div style="font-size:13px; font-weight:500; padding:7px 14px; border-radius:7px; color:#62636B;">Réglages</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- DEPTH & ICON -->
|
||||||
|
<div>
|
||||||
|
<div style="font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:#62636B; margin-bottom:16px;">Profondeur & signe</div>
|
||||||
|
<div style="display:flex; gap:32px; align-items:center;">
|
||||||
|
<div style="display:flex; flex-direction:column; gap:8px; align-items:center;">
|
||||||
|
<div style="width:80px; height:80px; border-radius:8px; background:#FFFFFF; border:1px solid #E4E6EA; box-shadow:0 1px 2px rgba(15,20,25,0.04);"></div>
|
||||||
|
<div style="font-size:11px; color:#9A9BA3;">Rayon 8px · inchangé</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:8px; align-items:center;">
|
||||||
|
<svg viewBox="0 0 24 24" width="56" height="56" fill="none">
|
||||||
|
<rect x="3" y="13" width="4" height="8" rx="1" fill="#375FE0"/>
|
||||||
|
<rect x="10" y="8" width="4" height="13" rx="1" fill="#375FE0"/>
|
||||||
|
<rect x="17" y="4" width="4" height="17" rx="1" fill="#375FE0"/>
|
||||||
|
</svg>
|
||||||
|
<div style="font-size:11px; color:#9A9BA3;">Signe maison — même mark, couleur cobalt</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</x-dc>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,174 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<script src="./support.js"></script>
|
||||||
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700&family=Work+Sans:wght@400;500;600&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: #B5792B; text-decoration: none; }
|
||||||
|
a:hover { color: #935E1E; }
|
||||||
|
</style>
|
||||||
|
</helmet>
|
||||||
|
<div style="width:1160px; padding:56px; background:#F7F8FA; font-family:'Work Sans',sans-serif; color:#16181C;">
|
||||||
|
|
||||||
|
<!-- HEADER -->
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; padding-bottom:36px; border-bottom:1px solid #E4E6EA; margin-bottom:40px;">
|
||||||
|
<div style="font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:0.08em; text-transform:uppercase; color:#62636B;">A3 — Précision / Ambre</div>
|
||||||
|
<h1 style="font-family:'Sora',sans-serif; font-weight:600; font-size:36px; margin:0; letter-spacing:-0.01em;">Même structure, autre voix.</h1>
|
||||||
|
<p style="font-size:15px; line-height:1.6; color:#62636B; margin:4px 0 0; max-width:680px;">Densité et sobriété de A1 conservées, mais avec une typographie plus arrondie (Sora / Work Sans) et un accent ambre chaud — la précision reste, la froideur s'efface légèrement.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- PALETTE -->
|
||||||
|
<div style="margin-bottom:40px;">
|
||||||
|
<div style="font-family:'Sora',sans-serif; font-weight:600; font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:#62636B; margin-bottom:16px;">Palette — Light / Dark</div>
|
||||||
|
|
||||||
|
<div style="display:flex; flex-direction:column; gap:14px;">
|
||||||
|
<div style="display:flex; align-items:center; gap:16px;">
|
||||||
|
<div style="width:54px; font-family:'IBM Plex Mono',monospace; font-size:11px; color:#9A9BA3;">Light</div>
|
||||||
|
<div style="display:flex; gap:10px; flex-grow:1;">
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#F7F8FA; border:1px solid #E4E6EA;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Fond</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#FFFFFF; border:1px solid #E4E6EA;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Surface</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#16181C;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Texte</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#62636B;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Texte 2</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#B5792B;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Accent</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#1C9C6B;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Succès</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#C7821A;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Attention</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#D1453B;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Erreur</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div style="display:flex; align-items:center; gap:16px; padding:14px; background:#16181C; border-radius:10px;">
|
||||||
|
<div style="width:54px; font-family:'IBM Plex Mono',monospace; font-size:11px; color:#9A9BA3;">Dark</div>
|
||||||
|
<div style="display:flex; gap:10px; flex-grow:1;">
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#16181C; border:1px solid #2C2F35;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Fond</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#1E2024; border:1px solid #2C2F35;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Surface</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#F2F3F5;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Texte</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#9A9BA3;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Texte 2</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#D9A150;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Accent</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#35C98B;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Succès</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#E3A23F;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Attention</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:8px; background:#F06A5F;"></div>
|
||||||
|
<div style="font-size:10px; color:#9A9BA3;">Erreur</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- TYPOGRAPHY -->
|
||||||
|
<div style="margin-bottom:40px; padding-bottom:36px; border-bottom:1px solid #E4E6EA;">
|
||||||
|
<div style="font-family:'Sora',sans-serif; font-weight:600; font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:#62636B; margin-bottom:16px;">Typographie — nouvelle paire</div>
|
||||||
|
<div style="display:flex; gap:40px;">
|
||||||
|
<div style="flex-grow:1;">
|
||||||
|
<div style="font-family:'Sora',sans-serif; font-weight:600; font-size:44px; letter-spacing:-0.01em; line-height:1.1;">Sora</div>
|
||||||
|
<div style="font-size:12px; color:#9A9BA3; margin-top:8px;">Titres — géométrique comme Space Grotesk mais aux terminaisons plus douces, légèrement plus chaude à grande taille.</div>
|
||||||
|
</div>
|
||||||
|
<div style="flex-grow:1;">
|
||||||
|
<div style="font-family:'Work Sans',sans-serif; font-size:15px; line-height:1.7; color:#3A3B41;">Work Sans — texte courant. Proportions proches d'IBM Plex Sans mais moins technique, plus neutre pour un public grand public.</div>
|
||||||
|
<div style="font-size:12px; color:#9A9BA3; margin-top:8px;">Texte — sobre, légèrement plus accessible que A1.</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- COMPONENTS -->
|
||||||
|
<div style="margin-bottom:40px; padding-bottom:36px; border-bottom:1px solid #E4E6EA;">
|
||||||
|
<div style="font-family:'Sora',sans-serif; font-weight:600; font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:#62636B; margin-bottom:16px;">Composants</div>
|
||||||
|
<div style="display:flex; gap:24px; align-items:flex-start;">
|
||||||
|
|
||||||
|
<button style="font-family:'Work Sans',sans-serif; font-weight:600; font-size:14px; color:#FFFFFF; background:#B5792B; border:none; border-radius:8px; padding:11px 20px; cursor:pointer;">Créer un projet</button>
|
||||||
|
|
||||||
|
<div style="width:240px; background:#FFFFFF; border:1px solid #E4E6EA; border-radius:12px; padding:18px; box-shadow:0 1px 2px rgba(15,20,25,0.04);">
|
||||||
|
<div style="font-family:'Sora',sans-serif; font-weight:600; font-size:15px; margin-bottom:6px;">Facturation</div>
|
||||||
|
<div style="font-size:13px; color:#62636B; line-height:1.5;">Prochaine échéance dans 12 jours.</div>
|
||||||
|
<div style="display:inline-block; margin-top:12px; font-size:11px; font-weight:500; color:#8A5A1F; background:#F5E9D6; padding:3px 8px; border-radius:5px;">À jour</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; width:200px;">
|
||||||
|
<label style="font-size:12px; font-weight:500; color:#3A3B41;">Adresse e-mail</label>
|
||||||
|
<input type="text" placeholder="vous@napps.fr" style="font-family:'Work Sans',sans-serif; font-size:14px; padding:9px 12px; border:1px solid #B5792B; border-radius:8px; outline:none;" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div style="display:flex; background:#EDEEF1; border-radius:9px; padding:3px; gap:2px;">
|
||||||
|
<div style="font-size:13px; font-weight:500; padding:7px 14px; border-radius:7px; background:#FFFFFF; color:#16181C; box-shadow:0 1px 2px rgba(15,20,25,0.06);">Aperçu</div>
|
||||||
|
<div style="font-size:13px; font-weight:500; padding:7px 14px; border-radius:7px; color:#62636B;">Activité</div>
|
||||||
|
<div style="font-size:13px; font-weight:500; padding:7px 14px; border-radius:7px; color:#62636B;">Réglages</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- DEPTH & ICON -->
|
||||||
|
<div>
|
||||||
|
<div style="font-family:'Sora',sans-serif; font-weight:600; font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:#62636B; margin-bottom:16px;">Profondeur & signe</div>
|
||||||
|
<div style="display:flex; gap:32px; align-items:center;">
|
||||||
|
<div style="display:flex; flex-direction:column; gap:8px; align-items:center;">
|
||||||
|
<div style="width:80px; height:80px; border-radius:8px; background:#FFFFFF; border:1px solid #E4E6EA; box-shadow:0 1px 2px rgba(15,20,25,0.04);"></div>
|
||||||
|
<div style="font-size:11px; color:#9A9BA3;">Rayon 8px · inchangé</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:8px; align-items:center;">
|
||||||
|
<svg viewBox="0 0 24 24" width="56" height="56" fill="none">
|
||||||
|
<rect x="3" y="13" width="4" height="8" rx="1.5" fill="#B5792B"/>
|
||||||
|
<rect x="10" y="8" width="4" height="13" rx="1.5" fill="#B5792B"/>
|
||||||
|
<rect x="17" y="4" width="4" height="17" rx="1.5" fill="#B5792B"/>
|
||||||
|
</svg>
|
||||||
|
<div style="font-size:11px; color:#9A9BA3;">Signe maison — même mark, terminaisons plus rondes</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</x-dc>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,177 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<script src="./support.js"></script>
|
||||||
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500&display=swap">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<x-dc>
|
||||||
|
<helmet>
|
||||||
|
<style>
|
||||||
|
* { box-sizing: border-box; }
|
||||||
|
body { margin: 0; background: #E7E9EE; }
|
||||||
|
a { color: #0B6CFF; text-decoration: none; }
|
||||||
|
a:hover { color: #0855CC; }
|
||||||
|
</style>
|
||||||
|
</helmet>
|
||||||
|
<div style="width:1160px; padding:60px; background:#F5F6F9; font-family:'Manrope',sans-serif; color:#15171C;">
|
||||||
|
|
||||||
|
<!-- HEADER -->
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; padding-bottom:36px; border-bottom:1px solid #E2E4EA; margin-bottom:40px;">
|
||||||
|
<div style="font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:0.08em; text-transform:uppercase; color:rgba(0,0,0,0.6);">A4 — Précision / Vibrance — révisée HIG</div>
|
||||||
|
<h1 style="font-family:'Manrope',sans-serif; font-weight:800; font-size:38px; margin:0; letter-spacing:-0.02em;">Corrigée sur les vrais principes Apple.</h1>
|
||||||
|
<p style="font-size:15px; line-height:1.6; color:rgba(0,0,0,0.6); margin:4px 0 0; max-width:740px;">Révisée une seconde fois après audit complet du kit Figma iOS 27 (26 composants, valeurs exactes) : hiérarchie de texte par opacité du noir plutôt que par des gris fixes, échelle de fills en trois paliers, et deux familles de matière seulement (contrôle / panneau) plutôt qu'une recette par composant. Typographie et signe restent les nôtres — ce ne sont pas SF Pro ni SF Symbols. Détail dans <code style="background:#EDEFF3; padding:1px 6px; border-radius:4px;">tokens.css</code> et <code style="background:#EDEFF3; padding:1px 6px; border-radius:4px;">figma-kit-audit.md</code>.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- COLOR & ELEVATION LAYERS -->
|
||||||
|
<div style="margin-bottom:40px; padding-bottom:36px; border-bottom:1px solid #E2E4EA;">
|
||||||
|
<div style="font-family:'Manrope',sans-serif; font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:rgba(0,0,0,0.6); margin-bottom:6px;">Couches de couleur — pas d'ombre pour la hiérarchie</div>
|
||||||
|
<p style="font-size:13px; color:rgba(0,0,0,0.3); margin:0 0 16px; max-width:640px;">Trois niveaux de surface empilés par teinte, séparés par un trait de 1px — jamais par une ombre. L'accent n'apparaît que sur ce qui est interactif.</p>
|
||||||
|
<div style="display:flex; gap:16px;">
|
||||||
|
<div style="flex-grow:1; background:#F5F6F9; border:1px solid #E2E4EA; border-radius:16px; padding:16px;">
|
||||||
|
<div style="font-size:11px; font-weight:600; color:rgba(0,0,0,0.3); text-transform:uppercase; letter-spacing:0.04em; margin-bottom:10px;">Fond de page</div>
|
||||||
|
<div style="background:#FFFFFF; border:1px solid #E2E4EA; border-radius:12px; padding:14px;">
|
||||||
|
<div style="font-size:11px; font-weight:600; color:rgba(0,0,0,0.3); text-transform:uppercase; letter-spacing:0.04em; margin-bottom:10px;">Surface groupée</div>
|
||||||
|
<div style="background:#EDEFF3; border-radius:9px; padding:12px; font-size:13px; color:rgba(0,0,0,0.6);">Surface imbriquée (piste, champ inactif)</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div style="flex-grow:1; background:#15171C; border:1px solid #2A2D34; border-radius:16px; padding:16px;">
|
||||||
|
<div style="font-size:11px; font-weight:600; color:rgba(0,0,0,0.3); text-transform:uppercase; letter-spacing:0.04em; margin-bottom:10px;">Fond de page (dark)</div>
|
||||||
|
<div style="background:#1D1F26; border:1px solid #2A2D34; border-radius:12px; padding:14px;">
|
||||||
|
<div style="font-size:11px; font-weight:600; color:rgba(0,0,0,0.3); text-transform:uppercase; letter-spacing:0.04em; margin-bottom:10px;">Surface groupée</div>
|
||||||
|
<div style="background:#262930; border-radius:9px; padding:12px; font-size:13px; color:#C7C9D1;">Surface imbriquée — plus claire, pas plus sombre</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; gap:12px; margin-top:14px;">
|
||||||
|
<div style="flex-grow:1; background:#FFFFFF; border:1px solid #E2E4EA; border-radius:12px; padding:12px 14px; display:flex; align-items:center; gap:8px;">
|
||||||
|
<div style="width:8px; height:8px; border-radius:50%; background:#1FA968;"></div>
|
||||||
|
<div style="font-size:12px; color:#15171C;">Succès — <span style="color:rgba(0,0,0,0.3);">jamais seul signal, toujours + texte/icône</span></div>
|
||||||
|
</div>
|
||||||
|
<div style="flex-grow:1; background:#FFFFFF; border:1px solid #E2E4EA; border-radius:12px; padding:12px 14px; display:flex; align-items:center; gap:8px;">
|
||||||
|
<div style="width:8px; height:8px; border-radius:50%; background:#D68C1B;"></div>
|
||||||
|
<div style="font-size:12px; color:#15171C;">Attention</div>
|
||||||
|
</div>
|
||||||
|
<div style="flex-grow:1; background:#FFFFFF; border:1px solid #E2E4EA; border-radius:12px; padding:12px 14px; display:flex; align-items:center; gap:8px;">
|
||||||
|
<div style="width:8px; height:8px; border-radius:50%; background:#E6483D;"></div>
|
||||||
|
<div style="font-size:12px; color:#15171C;">Erreur</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- TYPE SCALE -->
|
||||||
|
<div style="margin-bottom:40px; padding-bottom:36px; border-bottom:1px solid #E2E4EA;">
|
||||||
|
<div style="font-family:'Manrope',sans-serif; font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:rgba(0,0,0,0.6); margin-bottom:6px;">Échelle typographique — hiérarchie par le poids</div>
|
||||||
|
<p style="font-size:13px; color:rgba(0,0,0,0.3); margin:0 0 16px; max-width:640px;">Inspirée de l'échelle de type standard iOS (points, poids, usage) — appliquée ici à Manrope, notre propre famille, pas SF Pro.</p>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:10px;">
|
||||||
|
<div style="display:flex; align-items:baseline; gap:16px;">
|
||||||
|
<div style="font-family:'Manrope',sans-serif; font-weight:800; font-size:34px; letter-spacing:-0.02em; flex-grow:1;">Grand titre</div>
|
||||||
|
<div style="font-family:'IBM Plex Mono',monospace; font-size:11px; color:rgba(0,0,0,0.3); white-space:nowrap;">34pt · extrabold</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; align-items:baseline; gap:16px;">
|
||||||
|
<div style="font-family:'Manrope',sans-serif; font-weight:700; font-size:22px; letter-spacing:-0.01em; flex-grow:1;">Titre de section</div>
|
||||||
|
<div style="font-family:'IBM Plex Mono',monospace; font-size:11px; color:rgba(0,0,0,0.3); white-space:nowrap;">22pt · bold</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; align-items:baseline; gap:16px;">
|
||||||
|
<div style="font-family:'Manrope',sans-serif; font-weight:700; font-size:17px; flex-grow:1;">En-tête de liste</div>
|
||||||
|
<div style="font-family:'IBM Plex Mono',monospace; font-size:11px; color:rgba(0,0,0,0.3); white-space:nowrap;">17pt · bold</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; align-items:baseline; gap:16px;">
|
||||||
|
<div style="font-family:'Manrope',sans-serif; font-weight:400; font-size:17px; color:rgba(0,0,0,0.6); flex-grow:1;">Corps de texte — même taille que l'en-tête ci-dessus, seul le poids change</div>
|
||||||
|
<div style="font-family:'IBM Plex Mono',monospace; font-size:11px; color:rgba(0,0,0,0.3); white-space:nowrap;">17pt · regular</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; align-items:baseline; gap:16px;">
|
||||||
|
<div style="font-family:'Manrope',sans-serif; font-weight:400; font-size:13px; color:rgba(0,0,0,0.6); flex-grow:1;">Note de bas de bloc</div>
|
||||||
|
<div style="font-family:'IBM Plex Mono',monospace; font-size:11px; color:rgba(0,0,0,0.3); white-space:nowrap;">13pt · regular</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- MATERIALS IN CONTEXT -->
|
||||||
|
<div style="margin-bottom:40px; padding-bottom:36px; border-bottom:1px solid #E2E4EA;">
|
||||||
|
<div style="font-family:'Manrope',sans-serif; font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:rgba(0,0,0,0.6); margin-bottom:6px;">Matière & vibrancy — recette calibrée sur le vrai verre liquide</div>
|
||||||
|
<p style="font-size:13px; color:rgba(0,0,0,0.3); margin:0 0 16px; max-width:680px;">Flou à 46px (pas 20), aucune bordure visible — juste un rehaut interne très doux —, et une forme entièrement en pilule pour les contrôles, comme dans le système réel. Valeurs vérifiées, pas estimées.</p>
|
||||||
|
<div style="position:relative; height:180px; border-radius:16px; overflow:hidden; background:#FFFFFF; border:1px solid #E2E4EA;">
|
||||||
|
<div style="display:flex; gap:10px; padding:16px; overflow:hidden;">
|
||||||
|
<div style="min-width:120px; height:70px; border-radius:10px; background:linear-gradient(135deg,#FFB199,#FF6A88);"></div>
|
||||||
|
<div style="min-width:120px; height:70px; border-radius:10px; background:linear-gradient(135deg,#6EE7F5,#3B82F6);"></div>
|
||||||
|
<div style="min-width:120px; height:70px; border-radius:10px; background:linear-gradient(135deg,#FDE68A,#F59E0B);"></div>
|
||||||
|
<div style="min-width:120px; height:70px; border-radius:10px; background:linear-gradient(135deg,#C4F1BE,#22C55E);"></div>
|
||||||
|
<div style="min-width:120px; height:70px; border-radius:10px; background:linear-gradient(135deg,#E9D5FF,#A855F7);"></div>
|
||||||
|
</div>
|
||||||
|
<div style="position:absolute; left:16px; right:16px; bottom:16px; display:flex; justify-content:center;">
|
||||||
|
<div style="position:relative; display:inline-flex; background:rgba(255,255,255,0.55); backdrop-filter:blur(46px) saturate(1.6); -webkit-backdrop-filter:blur(46px) saturate(1.6); border-radius:999px; padding:5px; gap:2px; box-shadow:inset 0 1px 0 rgba(255,255,255,0.6), inset 0 -1px 0 rgba(0,0,0,0.04), 0 8px 20px rgba(15,20,30,0.05);">
|
||||||
|
<div style="font-size:13px; font-weight:600; padding:0 18px; min-height:44px; display:flex; align-items:center; border-radius:999px; background:rgba(255,255,255,0.78); color:#15171C; box-shadow:inset 0 1px 0 rgba(255,255,255,0.7);">Aperçu</div>
|
||||||
|
<div style="font-size:13px; font-weight:600; padding:0 18px; min-height:44px; display:flex; align-items:center; border-radius:999px; color:rgba(0,0,0,0.6);">Activité</div>
|
||||||
|
<div style="font-size:13px; font-weight:600; padding:0 18px; min-height:44px; display:flex; align-items:center; border-radius:999px; color:rgba(0,0,0,0.6);">Réglages</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div style="font-size:11px; color:rgba(0,0,0,0.3); margin-top:8px;">Le contenu coloré derrière reste visible en transparence — c'est ce qui justifie le flou, pas la décoration seule.</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- COMPONENTS -->
|
||||||
|
<div style="margin-bottom:40px; padding-bottom:36px; border-bottom:1px solid #E2E4EA;">
|
||||||
|
<div style="font-family:'Manrope',sans-serif; font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:rgba(0,0,0,0.6); margin-bottom:6px;">Composants — cibles tactiles 44×44pt</div>
|
||||||
|
<p style="font-size:13px; color:rgba(0,0,0,0.3); margin:0 0 16px; max-width:640px;">Chaque élément interactif est dimensionné pour une cible d'au moins 44×44pt, quelle que soit sa taille visuelle apparente.</p>
|
||||||
|
<div style="display:flex; gap:24px; align-items:flex-start;">
|
||||||
|
|
||||||
|
<div style="display:flex; flex-direction:column; gap:8px; align-items:center;">
|
||||||
|
<button style="font-family:'Manrope',sans-serif; font-weight:700; font-size:14px; color:#FFFFFF; background:#0B6CFF; border:none; border-radius:999px; padding:0 22px; min-height:44px; cursor:pointer;">Créer un projet</button>
|
||||||
|
<div style="font-size:10px; color:rgba(0,0,0,0.3);">primaire</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div style="display:flex; flex-direction:column; gap:8px; align-items:center;">
|
||||||
|
<button style="font-family:'Manrope',sans-serif; font-weight:700; font-size:14px; color:#0B6CFF; background:rgba(0,0,0,0.12); border:none; border-radius:999px; padding:0 22px; min-height:44px; cursor:pointer;">Annuler</button>
|
||||||
|
<div style="font-size:10px; color:rgba(0,0,0,0.3);">secondaire — fond translucide, pas un contour</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div style="width:240px; background:#FFFFFF; border:1px solid #E2E4EA; border-radius:14px; padding:18px;">
|
||||||
|
<div style="font-family:'Manrope',sans-serif; font-weight:700; font-size:15px; margin-bottom:6px;">Facturation</div>
|
||||||
|
<div style="font-size:13px; color:rgba(0,0,0,0.6); line-height:1.5;">Prochaine échéance dans 12 jours.</div>
|
||||||
|
<div style="display:inline-block; margin-top:12px; font-size:11px; font-weight:600; color:#0B6CFF; background:rgba(11,108,255,0.10); padding:3px 9px; border-radius:8px;">À jour</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; width:200px;">
|
||||||
|
<label style="font-size:12px; font-weight:600; color:rgba(0,0,0,0.6);">Adresse e-mail</label>
|
||||||
|
<input type="text" placeholder="vous@napps.fr" style="font-family:'Manrope',sans-serif; font-size:14px; padding:0 13px; min-height:44px; border:1.5px solid #0B6CFF; border-radius:12px; outline:none;" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div style="display:flex; background:rgba(0,0,0,0.12); border-radius:999px; padding:3px; gap:2px;">
|
||||||
|
<div style="font-size:13px; font-weight:600; padding:0 16px; min-height:38px; display:flex; align-items:center; border-radius:999px; background:#FFFFFF; color:#15171C; box-shadow:0 2px 10px rgba(0,0,0,0.06);">Aperçu</div>
|
||||||
|
<div style="font-size:13.3px; font-weight:510; padding:0 16px; min-height:38px; display:flex; align-items:center; border-radius:999px; color:#15171C;">Activité</div>
|
||||||
|
<div style="font-size:13.3px; font-weight:510; padding:0 16px; min-height:38px; display:flex; align-items:center; border-radius:999px; color:#15171C;">Réglages</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- DEPTH & ICON -->
|
||||||
|
<div>
|
||||||
|
<div style="font-family:'Manrope',sans-serif; font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:rgba(0,0,0,0.6); margin-bottom:6px;">Profondeur & signe hiérarchique</div>
|
||||||
|
<p style="font-size:13px; color:rgba(0,0,0,0.3); margin:0 0 16px; max-width:640px;">Une seule ombre douce, réservée aux surfaces réellement au-dessus du reste (popover, menu) — le reste du temps, un hairline suffit.</p>
|
||||||
|
<div style="display:flex; gap:32px; align-items:center;">
|
||||||
|
<div style="display:flex; flex-direction:column; gap:8px; align-items:center;">
|
||||||
|
<div style="width:80px; height:80px; border-radius:18px; background:#FFFFFF; border:1px solid #E2E4EA;"></div>
|
||||||
|
<div style="font-size:11px; color:rgba(0,0,0,0.3); text-align:center; max-width:120px;">Surface normale — hairline seul</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:8px; align-items:center;">
|
||||||
|
<div style="width:80px; height:80px; border-radius:18px; background:#FFFFFF; box-shadow:0 8px 15px rgba(0,0,0,0.03);"></div>
|
||||||
|
<div style="font-size:11px; color:rgba(0,0,0,0.3); text-align:center; max-width:120px;">Surface flottante (popover) — ombre quasi imperceptible, valeur réelle vérifiée</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:8px; align-items:center;">
|
||||||
|
<svg viewBox="0 0 24 24" width="56" height="56" fill="none">
|
||||||
|
<rect x="3" y="13" width="4" height="8" rx="2" fill="#0B6CFF"/>
|
||||||
|
<rect x="10" y="8" width="4" height="13" rx="2" fill="#0B6CFF" opacity="0.55"/>
|
||||||
|
<rect x="17" y="4" width="4" height="17" rx="2" fill="#0B6CFF" opacity="0.3"/>
|
||||||
|
</svg>
|
||||||
|
<div style="font-size:11px; color:rgba(0,0,0,0.3); text-align:center; max-width:150px;">Signe maison — rendu hiérarchique (opacité dégressive), grille cohérente avec le poids du texte</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</x-dc>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,160 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<script src="./support.js"></script>
|
||||||
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500&display=swap">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<x-dc>
|
||||||
|
<helmet>
|
||||||
|
<style>
|
||||||
|
* { box-sizing: border-box; }
|
||||||
|
body { margin: 0; background: #0D0E12; }
|
||||||
|
a { color: #4C93FF; text-decoration: none; }
|
||||||
|
a:hover { color: #7CB0FF; }
|
||||||
|
</style>
|
||||||
|
</helmet>
|
||||||
|
<div style="width:1160px; padding:60px; background:#15171C; font-family:'Manrope',sans-serif; color:#F2F3F6;">
|
||||||
|
|
||||||
|
<!-- HEADER -->
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; padding-bottom:36px; border-bottom:1px solid #2A2D34; margin-bottom:40px;">
|
||||||
|
<div style="font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:0.08em; text-transform:uppercase; color:rgba(255,255,255,0.6);">A4 — Précision / Vibrance — Dark — révisée HIG</div>
|
||||||
|
<h1 style="font-family:'Manrope',sans-serif; font-weight:800; font-size:38px; margin:0; letter-spacing:-0.02em;">Même logique, en obscurité.</h1>
|
||||||
|
<p style="font-size:15px; line-height:1.6; color:rgba(255,255,255,0.6); margin:4px 0 0; max-width:740px;">Les couches de couleur s'inversent : chaque niveau de surface devient <em>plus clair</em>, jamais plus sombre, à mesure qu'il s'élève. Et les tokens de fill eux-mêmes changent de valeur entre les deux thèmes — 0.12 en light devient 0.16 en dark, pas juste "la même valeur sur fond sombre".</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- COLOR & ELEVATION LAYERS -->
|
||||||
|
<div style="margin-bottom:40px; padding-bottom:36px; border-bottom:1px solid #2A2D34;">
|
||||||
|
<div style="font-family:'Manrope',sans-serif; font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:rgba(255,255,255,0.6); margin-bottom:6px;">Couches de couleur — élévation par éclaircissement</div>
|
||||||
|
<p style="font-size:13px; color:rgba(255,255,255,0.3); margin:0 0 16px; max-width:640px;">Fond → surface groupée → surface imbriquée : chaque niveau est plus clair que le précédent, séparé par un trait de 1px.</p>
|
||||||
|
<div style="background:#15171C; border:1px solid #2A2D34; border-radius:16px; padding:16px; max-width:560px;">
|
||||||
|
<div style="font-size:11px; font-weight:600; color:rgba(255,255,255,0.6); text-transform:uppercase; letter-spacing:0.04em; margin-bottom:10px;">Fond de page — #15171C</div>
|
||||||
|
<div style="background:#1D1F26; border:1px solid #2A2D34; border-radius:12px; padding:14px;">
|
||||||
|
<div style="font-size:11px; font-weight:600; color:rgba(255,255,255,0.6); text-transform:uppercase; letter-spacing:0.04em; margin-bottom:10px;">Surface groupée — #1D1F26</div>
|
||||||
|
<div style="background:#262930; border-radius:9px; padding:12px; font-size:13px; color:rgba(255,255,255,0.6);">Surface imbriquée — #262930</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; gap:12px; margin-top:14px;">
|
||||||
|
<div style="flex-grow:1; background:#1D1F26; border:1px solid #2A2D34; border-radius:12px; padding:12px 14px; display:flex; align-items:center; gap:8px;">
|
||||||
|
<div style="width:8px; height:8px; border-radius:50%; background:#43C283;"></div>
|
||||||
|
<div style="font-size:12px; color:#F2F3F6;">Succès</div>
|
||||||
|
</div>
|
||||||
|
<div style="flex-grow:1; background:#1D1F26; border:1px solid #2A2D34; border-radius:12px; padding:12px 14px; display:flex; align-items:center; gap:8px;">
|
||||||
|
<div style="width:8px; height:8px; border-radius:50%; background:#E8AC52;"></div>
|
||||||
|
<div style="font-size:12px; color:#F2F3F6;">Attention</div>
|
||||||
|
</div>
|
||||||
|
<div style="flex-grow:1; background:#1D1F26; border:1px solid #2A2D34; border-radius:12px; padding:12px 14px; display:flex; align-items:center; gap:8px;">
|
||||||
|
<div style="width:8px; height:8px; border-radius:50%; background:#F17B70;"></div>
|
||||||
|
<div style="font-size:12px; color:#F2F3F6;">Erreur</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- TYPE SCALE -->
|
||||||
|
<div style="margin-bottom:40px; padding-bottom:36px; border-bottom:1px solid #2A2D34;">
|
||||||
|
<div style="font-family:'Manrope',sans-serif; font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:rgba(255,255,255,0.6); margin-bottom:6px;">Échelle typographique — hiérarchie par le poids</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:10px;">
|
||||||
|
<div style="display:flex; align-items:baseline; gap:16px;">
|
||||||
|
<div style="font-family:'Manrope',sans-serif; font-weight:800; font-size:34px; letter-spacing:-0.02em; flex-grow:1;">Grand titre</div>
|
||||||
|
<div style="font-family:'IBM Plex Mono',monospace; font-size:11px; color:rgba(255,255,255,0.3); white-space:nowrap;">34pt · extrabold</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; align-items:baseline; gap:16px;">
|
||||||
|
<div style="font-family:'Manrope',sans-serif; font-weight:700; font-size:17px; flex-grow:1;">En-tête de liste</div>
|
||||||
|
<div style="font-family:'IBM Plex Mono',monospace; font-size:11px; color:rgba(255,255,255,0.3); white-space:nowrap;">17pt · bold</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; align-items:baseline; gap:16px;">
|
||||||
|
<div style="font-family:'Manrope',sans-serif; font-weight:400; font-size:17px; color:rgba(255,255,255,0.6); flex-grow:1;">Corps de texte — même taille, poids différent</div>
|
||||||
|
<div style="font-family:'IBM Plex Mono',monospace; font-size:11px; color:rgba(255,255,255,0.3); white-space:nowrap;">17pt · regular</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; align-items:baseline; gap:16px;">
|
||||||
|
<div style="font-family:'Manrope',sans-serif; font-weight:400; font-size:13px; color:rgba(255,255,255,0.6); flex-grow:1;">Note de bas de bloc</div>
|
||||||
|
<div style="font-family:'IBM Plex Mono',monospace; font-size:11px; color:rgba(255,255,255,0.3); white-space:nowrap;">13pt · regular</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- MATERIALS IN CONTEXT -->
|
||||||
|
<div style="margin-bottom:40px; padding-bottom:36px; border-bottom:1px solid #2A2D34;">
|
||||||
|
<div style="font-family:'Manrope',sans-serif; font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:rgba(255,255,255,0.6); margin-bottom:6px;">Matière & vibrancy — recette calibrée sur le vrai verre liquide</div>
|
||||||
|
<p style="font-size:13px; color:rgba(255,255,255,0.3); margin:0 0 16px; max-width:680px;">Même recette qu'en light — flou à 46px, pilule, pas de bordure visible — le contraste des rehauts internes s'inverse pour rester lisible sur fond sombre.</p>
|
||||||
|
<div style="position:relative; height:180px; border-radius:16px; overflow:hidden; background:#1D1F26; border:1px solid #2A2D34;">
|
||||||
|
<div style="display:flex; gap:10px; padding:16px; overflow:hidden;">
|
||||||
|
<div style="min-width:120px; height:70px; border-radius:10px; background:linear-gradient(135deg,#7C3F35,#B94A3A);"></div>
|
||||||
|
<div style="min-width:120px; height:70px; border-radius:10px; background:linear-gradient(135deg,#1E4E6B,#1F6FB0);"></div>
|
||||||
|
<div style="min-width:120px; height:70px; border-radius:10px; background:linear-gradient(135deg,#7A5A16,#B4841F);"></div>
|
||||||
|
<div style="min-width:120px; height:70px; border-radius:10px; background:linear-gradient(135deg,#215C3B,#2E8A57);"></div>
|
||||||
|
<div style="min-width:120px; height:70px; border-radius:10px; background:linear-gradient(135deg,#4B2D66,#7A47A6);"></div>
|
||||||
|
</div>
|
||||||
|
<div style="position:absolute; left:16px; right:16px; bottom:16px; display:flex; justify-content:center;">
|
||||||
|
<div style="position:relative; display:inline-flex; background:rgba(38,41,48,0.5); backdrop-filter:blur(46px) saturate(1.4); -webkit-backdrop-filter:blur(46px) saturate(1.4); border-radius:999px; padding:5px; gap:2px; box-shadow:inset 0 1px 0 rgba(255,255,255,0.06), inset 0 -1px 0 rgba(0,0,0,0.3), 0 8px 20px rgba(0,0,0,0.35);">
|
||||||
|
<div style="font-size:13px; font-weight:600; padding:0 18px; min-height:44px; display:flex; align-items:center; border-radius:999px; background:rgba(255,255,255,0.12); color:#F2F3F6;">Aperçu</div>
|
||||||
|
<div style="font-size:13px; font-weight:600; padding:0 18px; min-height:44px; display:flex; align-items:center; border-radius:999px; color:rgba(255,255,255,0.6);">Activité</div>
|
||||||
|
<div style="font-size:13px; font-weight:600; padding:0 18px; min-height:44px; display:flex; align-items:center; border-radius:999px; color:rgba(255,255,255,0.6);">Réglages</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- COMPONENTS -->
|
||||||
|
<div style="margin-bottom:40px; padding-bottom:36px; border-bottom:1px solid #2A2D34;">
|
||||||
|
<div style="font-family:'Manrope',sans-serif; font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:rgba(255,255,255,0.6); margin-bottom:6px;">Composants — cibles tactiles 44×44pt</div>
|
||||||
|
<div style="display:flex; gap:24px; align-items:flex-start;">
|
||||||
|
|
||||||
|
<div style="display:flex; flex-direction:column; gap:8px; align-items:center;">
|
||||||
|
<button style="font-family:'Manrope',sans-serif; font-weight:700; font-size:14px; color:#FFFFFF; background:#4C93FF; border:none; border-radius:999px; padding:0 22px; min-height:44px; cursor:pointer;">Créer un projet</button>
|
||||||
|
<div style="font-size:10px; color:rgba(255,255,255,0.3);">primaire</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div style="display:flex; flex-direction:column; gap:8px; align-items:center;">
|
||||||
|
<button style="font-family:'Manrope',sans-serif; font-weight:700; font-size:14px; color:#4C93FF; background:rgba(255,255,255,0.16); border:none; border-radius:999px; padding:0 22px; min-height:44px; cursor:pointer;">Annuler</button>
|
||||||
|
<div style="font-size:10px; color:rgba(255,255,255,0.3);">secondaire — 0.16 en dark (2× le light)</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div style="width:240px; background:#1D1F26; border:1px solid #2A2D34; border-radius:14px; padding:18px;">
|
||||||
|
<div style="font-family:'Manrope',sans-serif; font-weight:700; font-size:15px; margin-bottom:6px; color:#F2F3F6;">Facturation</div>
|
||||||
|
<div style="font-size:13px; color:rgba(255,255,255,0.6); line-height:1.5;">Prochaine échéance dans 12 jours.</div>
|
||||||
|
<div style="display:inline-block; margin-top:12px; font-size:11px; font-weight:600; color:#4C93FF; background:rgba(76,147,255,0.14); padding:3px 9px; border-radius:8px;">À jour</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; width:200px;">
|
||||||
|
<label style="font-size:12px; font-weight:600; color:rgba(255,255,255,0.6);">Adresse e-mail</label>
|
||||||
|
<input type="text" placeholder="vous@napps.fr" style="font-family:'Manrope',sans-serif; font-size:14px; padding:0 13px; min-height:44px; border:1.5px solid #4C93FF; border-radius:12px; outline:none; background:#1D1F26; color:#F2F3F6;" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div style="display:flex; background:rgba(255,255,255,0.16); border-radius:999px; padding:3px; gap:2px;">
|
||||||
|
<div style="font-size:13px; font-weight:600; padding:0 16px; min-height:38px; display:flex; align-items:center; border-radius:999px; background:#3A3E48; color:#F2F3F6; box-shadow:0 2px 10px rgba(0,0,0,0.3);">Aperçu</div>
|
||||||
|
<div style="font-size:13.3px; font-weight:510; padding:0 16px; min-height:38px; display:flex; align-items:center; border-radius:999px; color:#F2F3F6;">Activité</div>
|
||||||
|
<div style="font-size:13.3px; font-weight:510; padding:0 16px; min-height:38px; display:flex; align-items:center; border-radius:999px; color:#F2F3F6;">Réglages</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- DEPTH & ICON -->
|
||||||
|
<div>
|
||||||
|
<div style="font-family:'Manrope',sans-serif; font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:rgba(255,255,255,0.6); margin-bottom:6px;">Profondeur & signe hiérarchique</div>
|
||||||
|
<div style="display:flex; gap:32px; align-items:center;">
|
||||||
|
<div style="display:flex; flex-direction:column; gap:8px; align-items:center;">
|
||||||
|
<div style="width:80px; height:80px; border-radius:18px; background:#1D1F26; border:1px solid #2A2D34;"></div>
|
||||||
|
<div style="font-size:11px; color:rgba(255,255,255,0.6); text-align:center; max-width:120px;">Surface normale — hairline seul</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:8px; align-items:center;">
|
||||||
|
<div style="width:80px; height:80px; border-radius:18px; background:#262930; box-shadow:0 8px 20px rgba(0,0,0,0.35);"></div>
|
||||||
|
<div style="font-size:11px; color:rgba(255,255,255,0.6); text-align:center; max-width:120px;">Surface flottante (popover) — ombre douce, un peu plus marquée qu'en light pour rester lisible</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:8px; align-items:center;">
|
||||||
|
<svg viewBox="0 0 24 24" width="56" height="56" fill="none">
|
||||||
|
<rect x="3" y="13" width="4" height="8" rx="2" fill="#4C93FF"/>
|
||||||
|
<rect x="10" y="8" width="4" height="13" rx="2" fill="#4C93FF" opacity="0.55"/>
|
||||||
|
<rect x="17" y="4" width="4" height="17" rx="2" fill="#4C93FF" opacity="0.3"/>
|
||||||
|
</svg>
|
||||||
|
<div style="font-size:11px; color:rgba(255,255,255,0.6); text-align:center; max-width:150px;">Signe maison — même rendu hiérarchique, accent éclairci</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</x-dc>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
+173
@@ -0,0 +1,173 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<script src="./support.js"></script>
|
||||||
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Instrument+Serif&family=Karla: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: #EFE7DC; }
|
||||||
|
a { color: #E8794A; text-decoration: none; }
|
||||||
|
a:hover { color: #CE6338; }
|
||||||
|
</style>
|
||||||
|
</helmet>
|
||||||
|
<div style="width:1160px; padding:60px; background:#FBF7F2; font-family:'Karla',sans-serif; color:#2E2A26;">
|
||||||
|
|
||||||
|
<!-- HEADER -->
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; padding-bottom:36px; border-bottom:1px solid #EADFD1; margin-bottom:40px;">
|
||||||
|
<div style="font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:0.08em; text-transform:uppercase; color:#8A8078;">Option B — Chaleur</div>
|
||||||
|
<h1 style="font-family:'Instrument Serif',serif; font-weight:400; font-size:44px; margin:0;">Doux, maîtrisé, humain.</h1>
|
||||||
|
<p style="font-size:15px; line-height:1.6; color:#8A8078; margin:4px 0 0; max-width:680px;">Inspirée de Things : couleurs pastel confortables, coins généreux, icônes maison dessinées à la main. L'app se sent accueillante sans jamais être enfantine.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- PALETTE -->
|
||||||
|
<div style="margin-bottom:40px;">
|
||||||
|
<div style="font-family:'Karla',sans-serif; font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:#8A8078; margin-bottom:16px;">Palette — Light / Dark</div>
|
||||||
|
|
||||||
|
<div style="display:flex; flex-direction:column; gap:14px;">
|
||||||
|
<div style="display:flex; align-items:center; gap:16px;">
|
||||||
|
<div style="width:54px; font-family:'IBM Plex Mono',monospace; font-size:11px; color:#B0A599;">Light</div>
|
||||||
|
<div style="display:flex; gap:10px; flex-grow:1;">
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:14px; background:#FBF7F2; border:1px solid #EADFD1;"></div>
|
||||||
|
<div style="font-size:10px; color:#B0A599;">Fond</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:14px; background:#FFFFFF; border:1px solid #EADFD1;"></div>
|
||||||
|
<div style="font-size:10px; color:#B0A599;">Surface</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:14px; background:#2E2A26;"></div>
|
||||||
|
<div style="font-size:10px; color:#B0A599;">Texte</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:14px; background:#8A8078;"></div>
|
||||||
|
<div style="font-size:10px; color:#B0A599;">Texte 2</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:14px; background:#E8794A;"></div>
|
||||||
|
<div style="font-size:10px; color:#B0A599;">Accent</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:14px; background:#4C9A6A;"></div>
|
||||||
|
<div style="font-size:10px; color:#B0A599;">Succès</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:14px; background:#D99A3D;"></div>
|
||||||
|
<div style="font-size:10px; color:#B0A599;">Attention</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:14px; background:#C6484B;"></div>
|
||||||
|
<div style="font-size:10px; color:#B0A599;">Erreur</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div style="display:flex; align-items:center; gap:16px; padding:14px; background:#241F1B; border-radius:16px;">
|
||||||
|
<div style="width:54px; font-family:'IBM Plex Mono',monospace; font-size:11px; color:#B0A599;">Dark</div>
|
||||||
|
<div style="display:flex; gap:10px; flex-grow:1;">
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:14px; background:#241F1B; border:1px solid #362F28;"></div>
|
||||||
|
<div style="font-size:10px; color:#B0A599;">Fond</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:14px; background:#2C2620; border:1px solid #362F28;"></div>
|
||||||
|
<div style="font-size:10px; color:#B0A599;">Surface</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:14px; background:#F5EFE8;"></div>
|
||||||
|
<div style="font-size:10px; color:#B0A599;">Texte</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:14px; background:#B0A599;"></div>
|
||||||
|
<div style="font-size:10px; color:#B0A599;">Texte 2</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:14px; background:#F08F5E;"></div>
|
||||||
|
<div style="font-size:10px; color:#B0A599;">Accent</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:14px; background:#6DBB89;"></div>
|
||||||
|
<div style="font-size:10px; color:#B0A599;">Succès</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:14px; background:#E8B268;"></div>
|
||||||
|
<div style="font-size:10px; color:#B0A599;">Attention</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:14px; background:#E17567;"></div>
|
||||||
|
<div style="font-size:10px; color:#B0A599;">Erreur</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- TYPOGRAPHY -->
|
||||||
|
<div style="margin-bottom:40px; padding-bottom:36px; border-bottom:1px solid #EADFD1;">
|
||||||
|
<div style="font-family:'Karla',sans-serif; font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:#8A8078; margin-bottom:16px;">Typographie</div>
|
||||||
|
<div style="display:flex; gap:40px;">
|
||||||
|
<div style="flex-grow:1;">
|
||||||
|
<div style="font-family:'Instrument Serif',serif; font-weight:400; font-size:48px; line-height:1.1;">Instrument Serif</div>
|
||||||
|
<div style="font-size:12px; color:#B0A599; margin-top:8px;">Titres — serif contemporaine, chaleureuse sans être classique, apporte une touche d'artisanat.</div>
|
||||||
|
</div>
|
||||||
|
<div style="flex-grow:1;">
|
||||||
|
<div style="font-family:'Karla',sans-serif; font-size:15px; line-height:1.7; color:#4A443E;">Karla — texte courant. Sans-serif humaniste aux formes rondes et confortables, pensée pour rassurer un public grand public.</div>
|
||||||
|
<div style="font-size:12px; color:#B0A599; margin-top:8px;">Texte — douce, lisible, jamais froide.</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- COMPONENTS -->
|
||||||
|
<div style="margin-bottom:40px; padding-bottom:36px; border-bottom:1px solid #EADFD1;">
|
||||||
|
<div style="font-family:'Karla',sans-serif; font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:#8A8078; margin-bottom:16px;">Composants</div>
|
||||||
|
<div style="display:flex; gap:24px; align-items:flex-start;">
|
||||||
|
|
||||||
|
<button style="font-family:'Karla',sans-serif; font-weight:600; font-size:14px; color:#FFFFFF; background:#E8794A; border:none; border-radius:12px; padding:12px 22px; cursor:pointer; box-shadow:0 4px 12px rgba(232,121,74,0.28);">Créer un projet</button>
|
||||||
|
|
||||||
|
<div style="width:240px; background:#FFFFFF; border-radius:18px; padding:20px; box-shadow:0 6px 20px rgba(60,40,20,0.08);">
|
||||||
|
<div style="font-family:'Instrument Serif',serif; font-size:20px; margin-bottom:6px;">Facturation</div>
|
||||||
|
<div style="font-size:13px; color:#8A8078; line-height:1.5;">Prochaine échéance dans 12 jours.</div>
|
||||||
|
<div style="display:inline-block; margin-top:12px; font-size:11px; font-weight:600; color:#4C9A6A; background:#E8F4EC; padding:4px 10px; border-radius:8px;">À jour</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; width:200px;">
|
||||||
|
<label style="font-size:12px; font-weight:600; color:#4A443E;">Adresse e-mail</label>
|
||||||
|
<input type="text" placeholder="vous@napps.fr" style="font-family:'Karla',sans-serif; font-size:14px; padding:10px 14px; border:1.5px solid #E8794A; border-radius:12px; outline:none; background:#FFFDFB;" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div style="display:flex; background:#F1E9DE; border-radius:14px; padding:4px; gap:2px;">
|
||||||
|
<div style="font-size:13px; font-weight:600; padding:8px 16px; border-radius:11px; background:#FFFFFF; color:#2E2A26; box-shadow:0 2px 6px rgba(60,40,20,0.08);">Aperçu</div>
|
||||||
|
<div style="font-size:13px; font-weight:600; padding:8px 16px; border-radius:11px; color:#8A8078;">Activité</div>
|
||||||
|
<div style="font-size:13px; font-weight:600; padding:8px 16px; border-radius:11px; color:#8A8078;">Réglages</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- DEPTH & ICON -->
|
||||||
|
<div>
|
||||||
|
<div style="font-family:'Karla',sans-serif; font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:#8A8078; margin-bottom:16px;">Profondeur & signe</div>
|
||||||
|
<div style="display:flex; gap:32px; align-items:center;">
|
||||||
|
<div style="display:flex; flex-direction:column; gap:8px; align-items:center;">
|
||||||
|
<div style="width:80px; height:80px; border-radius:18px; background:#FFFFFF; box-shadow:0 8px 22px rgba(60,40,20,0.10);"></div>
|
||||||
|
<div style="font-size:11px; color:#B0A599;">Rayon 18px · ombre douce et diffuse</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:8px; align-items:center;">
|
||||||
|
<svg viewBox="0 0 24 24" width="56" height="56" fill="none">
|
||||||
|
<path d="M12 3c4 3 7 7 7 11a7 7 0 1 1-14 0c0-4 3-8 7-11z" stroke="#E8794A" stroke-width="1.6" fill="#FBE1D2"/>
|
||||||
|
<path d="M12 8v9" stroke="#E8794A" stroke-width="1.6" stroke-linecap="round"/>
|
||||||
|
</svg>
|
||||||
|
<div style="font-size:11px; color:#B0A599;">Signe maison — goutte dessinée à la main</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</x-dc>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
+174
@@ -0,0 +1,174 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<script src="./support.js"></script>
|
||||||
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Newsreader:ital,wght@0,500;0,600;1,400&family=Public+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<x-dc>
|
||||||
|
<helmet>
|
||||||
|
<style>
|
||||||
|
* { box-sizing: border-box; }
|
||||||
|
body { margin: 0; background: #E8E6E0; }
|
||||||
|
a { color: #7A2E2E; text-decoration: none; }
|
||||||
|
a:hover { color: #5E2323; }
|
||||||
|
</style>
|
||||||
|
</helmet>
|
||||||
|
<div style="width:1160px; padding:72px; background:#F5F4F1; font-family:'Public Sans',sans-serif; color:#1B1B18;">
|
||||||
|
|
||||||
|
<!-- HEADER -->
|
||||||
|
<div style="display:flex; flex-direction:column; gap:8px; padding-bottom:40px; border-bottom:1px solid #E1DFD7; margin-bottom:44px;">
|
||||||
|
<div style="font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:0.08em; text-transform:uppercase; color:#6B6A64;">Option C — Éditorial</div>
|
||||||
|
<h1 style="font-family:'Newsreader',serif; font-style:italic; font-weight:500; font-size:46px; margin:0;">Composé comme un objet fini.</h1>
|
||||||
|
<p style="font-size:15px; line-height:1.6; color:#6B6A64; margin:4px 0 0; max-width:700px;">Inspirée de Craft et d'Apple : typographie éditoriale, blocs modulaires, profondeur en couches subtiles. L'app se lit comme un document soigné, pas comme un gabarit.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- PALETTE -->
|
||||||
|
<div style="margin-bottom:44px;">
|
||||||
|
<div style="font-family:'Public Sans',sans-serif; font-weight:600; font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:#6B6A64; margin-bottom:18px;">Palette — Light / Dark</div>
|
||||||
|
|
||||||
|
<div style="display:flex; flex-direction:column; gap:16px;">
|
||||||
|
<div style="display:flex; align-items:center; gap:18px;">
|
||||||
|
<div style="width:54px; font-family:'IBM Plex Mono',monospace; font-size:11px; color:#9C9A92;">Light</div>
|
||||||
|
<div style="display:flex; gap:10px; flex-grow:1;">
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:5px; background:#F5F4F1; border:1px solid #E1DFD7;"></div>
|
||||||
|
<div style="font-size:10px; color:#9C9A92;">Fond</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:5px; background:#FFFFFF; border:1px solid #E1DFD7;"></div>
|
||||||
|
<div style="font-size:10px; color:#9C9A92;">Surface</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:5px; background:#1B1B18;"></div>
|
||||||
|
<div style="font-size:10px; color:#9C9A92;">Texte</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:5px; background:#6B6A64;"></div>
|
||||||
|
<div style="font-size:10px; color:#9C9A92;">Texte 2</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:5px; background:#7A2E2E;"></div>
|
||||||
|
<div style="font-size:10px; color:#9C9A92;">Accent</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:5px; background:#3F7D5C;"></div>
|
||||||
|
<div style="font-size:10px; color:#9C9A92;">Succès</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:5px; background:#B98A2E;"></div>
|
||||||
|
<div style="font-size:10px; color:#9C9A92;">Attention</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:5px; background:#9C3B34;"></div>
|
||||||
|
<div style="font-size:10px; color:#9C9A92;">Erreur</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div style="display:flex; align-items:center; gap:18px; padding:16px; background:#161615; border-radius:8px;">
|
||||||
|
<div style="width:54px; font-family:'IBM Plex Mono',monospace; font-size:11px; color:#9C9A92;">Dark</div>
|
||||||
|
<div style="display:flex; gap:10px; flex-grow:1;">
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:5px; background:#161615; border:1px solid #2B2A26;"></div>
|
||||||
|
<div style="font-size:10px; color:#9C9A92;">Fond</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:5px; background:#1F1F1B; border:1px solid #2B2A26;"></div>
|
||||||
|
<div style="font-size:10px; color:#9C9A92;">Surface</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:5px; background:#F1EFE9;"></div>
|
||||||
|
<div style="font-size:10px; color:#9C9A92;">Texte</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:5px; background:#9C9A92;"></div>
|
||||||
|
<div style="font-size:10px; color:#9C9A92;">Texte 2</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:5px; background:#C15C55;"></div>
|
||||||
|
<div style="font-size:10px; color:#9C9A92;">Accent</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:5px; background:#5FAE85;"></div>
|
||||||
|
<div style="font-size:10px; color:#9C9A92;">Succès</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:5px; background:#D6A952;"></div>
|
||||||
|
<div style="font-size:10px; color:#9C9A92;">Attention</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; align-items:center;">
|
||||||
|
<div style="width:52px; height:52px; border-radius:5px; background:#D97A72;"></div>
|
||||||
|
<div style="font-size:10px; color:#9C9A92;">Erreur</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- TYPOGRAPHY -->
|
||||||
|
<div style="margin-bottom:44px; padding-bottom:40px; border-bottom:1px solid #E1DFD7;">
|
||||||
|
<div style="font-family:'Public Sans',sans-serif; font-weight:600; font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:#6B6A64; margin-bottom:18px;">Typographie</div>
|
||||||
|
<div style="display:flex; gap:44px;">
|
||||||
|
<div style="flex-grow:1;">
|
||||||
|
<div style="font-family:'Newsreader',serif; font-style:italic; font-weight:500; font-size:46px; line-height:1.1;">Newsreader</div>
|
||||||
|
<div style="font-size:12px; color:#9C9A92; margin-top:8px;">Titres — serif éditoriale, référence à la presse et à l'édition, confère une autorité tranquille.</div>
|
||||||
|
</div>
|
||||||
|
<div style="flex-grow:1;">
|
||||||
|
<div style="font-family:'Public Sans',sans-serif; font-size:15px; line-height:1.7; color:#3A3934;">Public Sans — texte courant. Sans-serif neutre et rigoureuse, conçue pour une lisibilité irréprochable à toute taille.</div>
|
||||||
|
<div style="font-size:12px; color:#9C9A92; margin-top:8px;">Texte — sobre, jamais tape-à-l'œil, laisse la parole au contenu.</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- COMPONENTS -->
|
||||||
|
<div style="margin-bottom:44px; padding-bottom:40px; border-bottom:1px solid #E1DFD7;">
|
||||||
|
<div style="font-family:'Public Sans',sans-serif; font-weight:600; font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:#6B6A64; margin-bottom:18px;">Composants</div>
|
||||||
|
<div style="display:flex; gap:26px; align-items:flex-start;">
|
||||||
|
|
||||||
|
<button style="font-family:'Public Sans',sans-serif; font-weight:600; font-size:14px; color:#F5F4F1; background:#7A2E2E; border:none; border-radius:4px; padding:12px 22px; cursor:pointer;">Créer un projet</button>
|
||||||
|
|
||||||
|
<div style="width:244px; background:#FFFFFF; border-radius:6px; padding:20px; box-shadow:0 1px 2px rgba(20,18,15,0.05), 0 8px 24px rgba(20,18,15,0.06);">
|
||||||
|
<div style="font-family:'Newsreader',serif; font-style:italic; font-size:19px; margin-bottom:6px;">Facturation</div>
|
||||||
|
<div style="font-size:13px; color:#6B6A64; line-height:1.5;">Prochaine échéance dans 12 jours.</div>
|
||||||
|
<div style="display:inline-block; margin-top:12px; font-size:11px; font-weight:600; color:#3F7D5C; background:#E7F0EA; padding:3px 9px; border-radius:3px;">À jour</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div style="display:flex; flex-direction:column; gap:6px; width:204px;">
|
||||||
|
<label style="font-size:12px; font-weight:600; color:#3A3934;">Adresse e-mail</label>
|
||||||
|
<input type="text" placeholder="vous@napps.fr" style="font-family:'Public Sans',sans-serif; font-size:14px; padding:10px 13px; border:1px solid #7A2E2E; border-radius:4px; outline:none; background:#FFFFFF;" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div style="display:flex; border-bottom:1px solid #E1DFD7; gap:22px;">
|
||||||
|
<div style="font-size:13px; font-weight:600; padding-bottom:10px; color:#1B1B18; border-bottom:2px solid #7A2E2E;">Aperçu</div>
|
||||||
|
<div style="font-size:13px; font-weight:600; padding-bottom:10px; color:#9C9A92;">Activité</div>
|
||||||
|
<div style="font-size:13px; font-weight:600; padding-bottom:10px; color:#9C9A92;">Réglages</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- DEPTH & ICON -->
|
||||||
|
<div>
|
||||||
|
<div style="font-family:'Public Sans',sans-serif; font-weight:600; font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:#6B6A64; margin-bottom:18px;">Profondeur & signe</div>
|
||||||
|
<div style="display:flex; gap:36px; align-items:center;">
|
||||||
|
<div style="display:flex; flex-direction:column; gap:8px; align-items:center;">
|
||||||
|
<div style="width:80px; height:80px; border-radius:6px; background:#FFFFFF; box-shadow:0 1px 2px rgba(20,18,15,0.05), 0 8px 24px rgba(20,18,15,0.06);"></div>
|
||||||
|
<div style="font-size:11px; color:#9C9A92;">Rayon 6px · ombres empilées, effet papier</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:flex; flex-direction:column; gap:8px; align-items:center;">
|
||||||
|
<svg viewBox="0 0 24 24" width="56" height="56" fill="none">
|
||||||
|
<circle cx="12" cy="12" r="8.5" stroke="#7A2E2E" stroke-width="1.2"/>
|
||||||
|
<path d="M8 14.5 16 9.5" stroke="#7A2E2E" stroke-width="1.2" stroke-linecap="round"/>
|
||||||
|
<circle cx="12" cy="12" r="1.4" fill="#7A2E2E"/>
|
||||||
|
</svg>
|
||||||
|
<div style="font-size:11px; color:#9C9A92;">Signe maison — marque au trait fin</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</x-dc>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,79 @@
|
|||||||
|
# nApps Design
|
||||||
|
|
||||||
|
Identité visuelle commune et bibliothèque de composants pour les applications nApps.
|
||||||
|
|
||||||
|
## Structure du dépôt
|
||||||
|
|
||||||
|
```
|
||||||
|
nAppsDesign/
|
||||||
|
├── tokens.css # Design tokens de référence (copie canonique dans packages/design-system/src/)
|
||||||
|
├── figma-kit-audit.md # Audit détaillé du kit Apple iOS 27 utilisé comme référence
|
||||||
|
├── Main.dc.html, OptionA*.dc.html, canvas.json # Planches de direction artistique (A1-A4)
|
||||||
|
├── kit-audit/ # Planches de synthèse de l'audit Figma
|
||||||
|
└── packages/
|
||||||
|
└── design-system/ # Le package npm distribuable — @napps/design-system
|
||||||
|
├── src/
|
||||||
|
│ ├── tokens.css
|
||||||
|
│ ├── components/
|
||||||
|
│ └── index.ts
|
||||||
|
└── package.json
|
||||||
|
```
|
||||||
|
|
||||||
|
## Direction retenue : A4 — Précision / Vibrance
|
||||||
|
|
||||||
|
Inspirée du vrai Human Interface Guidelines d'Apple (mécaniques : hiérarchie de texte par
|
||||||
|
opacité, échelle de fills en trois paliers, deux familles de matière translucide) mais avec
|
||||||
|
une identité propre à nApps : typographie Manrope, accent cobalt `#0B6CFF`, signe maison —
|
||||||
|
jamais de copie de SF Pro, SF Symbols, ou du bleu système Apple.
|
||||||
|
|
||||||
|
Voir `figma-kit-audit.md` pour le détail complet de l'audit et le raisonnement derrière
|
||||||
|
chaque décision de token.
|
||||||
|
|
||||||
|
## Utiliser le design system dans une app nApps
|
||||||
|
|
||||||
|
Le package n'est pas encore publié sur un registre npm. En attendant, chaque app peut le
|
||||||
|
consommer directement depuis ce dépôt git une fois poussé sur un remote :
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"dependencies": {
|
||||||
|
"@napps/design-system": "git+https://<host>/<org>/nAppsDesign.git#<tag-ou-commit>"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
import { Button, Text, Surface } from '@napps/design-system';
|
||||||
|
import '@napps/design-system/tokens.css';
|
||||||
|
|
||||||
|
function Example() {
|
||||||
|
return (
|
||||||
|
<Surface level="page">
|
||||||
|
<Text variant="title2">Bienvenue</Text>
|
||||||
|
<Button variant="primary">Continuer</Button>
|
||||||
|
</Surface>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Pour le thème sombre, ajouter `data-theme="dark"` sur l'élément racine (`<html>` ou un
|
||||||
|
conteneur) — tous les tokens ont leur propre valeur dark, ce n'est jamais une simple
|
||||||
|
inversion des tokens light (voir `figma-kit-audit.md`, section "Découverte majeure").
|
||||||
|
|
||||||
|
## Développer le package
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cd packages/design-system
|
||||||
|
npm install
|
||||||
|
npm run build # génère dist/ (ESM + CJS + types + CSS)
|
||||||
|
npm run dev # rebuild en continu
|
||||||
|
```
|
||||||
|
|
||||||
|
## Prochaines étapes
|
||||||
|
|
||||||
|
- Choisir un hébergeur git (GitHub/GitLab) et pousser ce dépôt.
|
||||||
|
- Décider du mécanisme de distribution définitif : dépendance git taguée (rapide à mettre
|
||||||
|
en place) ou registre npm privé (plus propre à long terme, nécessite une infra).
|
||||||
|
- Étendre la bibliothèque de composants au fur et à mesure des besoins des apps (éviter
|
||||||
|
d'anticiper des composants qu'aucune app ne demande encore).
|
||||||
|
- Migrer une première app pilote pour valider l'ensemble avant généralisation.
|
||||||
+25
@@ -0,0 +1,25 @@
|
|||||||
|
{
|
||||||
|
"artboards": [
|
||||||
|
{ "file": "Main.dc.html", "x": 0, "y": 0, "w": 1160, "h": 1180, "page": "page-1" },
|
||||||
|
{ "file": "OptionA2.dc.html", "x": 1260, "y": 0, "w": 1160, "h": 1180, "page": "page-1" },
|
||||||
|
{ "file": "OptionA3.dc.html", "x": 2520, "y": 0, "w": 1160, "h": 1180, "page": "page-1" },
|
||||||
|
{ "file": "OptionA4.dc.html", "x": 3780, "y": 0, "w": 1160, "h": 1780, "page": "page-1" },
|
||||||
|
{ "file": "OptionA4Dark.dc.html", "x": 5040, "y": 0, "w": 1160, "h": 1700, "page": "page-1" },
|
||||||
|
{ "file": "OptionB.dc.html", "x": 0, "y": 0, "w": 1160, "h": 1260, "page": "page-2" },
|
||||||
|
{ "file": "OptionC.dc.html", "x": 1260, "y": 0, "w": 1160, "h": 1320, "page": "page-2" }
|
||||||
|
],
|
||||||
|
"annotations": [
|
||||||
|
{ "id": "brief-summary", "x": 0, "y": -100, "w": 1160, "text": "A1 — Précision (référence)", "page": "page-1" },
|
||||||
|
{ "id": "note-a2", "x": 1260, "y": -100, "w": 1160, "text": "A2 — accent cobalt, même typo", "page": "page-1" },
|
||||||
|
{ "id": "note-a3", "x": 2520, "y": -100, "w": 1160, "text": "A3 — accent ambre, typo Sora/Work Sans", "page": "page-1" },
|
||||||
|
{ "id": "note-a4", "x": 3780, "y": -100, "w": 1160, "text": "A4 — Apple-vibe poussé au max (Manrope, squircle, vibrancy)", "page": "page-1" },
|
||||||
|
{ "id": "note-a4-dark", "x": 5040, "y": -100, "w": 1160, "text": "A4 en dark mode", "page": "page-1" },
|
||||||
|
{ "id": "note-b", "x": 0, "y": -100, "w": 1160, "text": "Écarté — Option Chaleur (Things)", "page": "page-2" },
|
||||||
|
{ "id": "note-c", "x": 1260, "y": -100, "w": 1160, "text": "Écarté — Option Éditorial (Craft / Apple)", "page": "page-2" }
|
||||||
|
],
|
||||||
|
"pages": [
|
||||||
|
{ "id": "page-1", "name": "Variantes A" },
|
||||||
|
{ "id": "page-2", "name": "Pistes écartées" }
|
||||||
|
],
|
||||||
|
"launch": { "view": "canvas", "page": "page-1" }
|
||||||
|
}
|
||||||
@@ -0,0 +1,190 @@
|
|||||||
|
# Audit du kit Figma "iOS and iPadOS 27 (Community)"
|
||||||
|
|
||||||
|
Fichier : `zGlk9zfprLJgnlwWWq35wr` — https://www.figma.com/design/zGlk9zfprLJgnlwWWq35wr/iOS-and-iPadOS-27--Community-
|
||||||
|
|
||||||
|
Objectif : extraire les valeurs réelles (couleurs, typographie, mécanique des matériaux, taxonomie des composants) pour aligner le design system nApps (direction A4) sur le vrai système Apple, sans copier ses assets protégés (police SF Pro, glyphes SF Symbols, wordmark).
|
||||||
|
|
||||||
|
Comptes Figma utilisés pour l'accès MCP :
|
||||||
|
- felix.brossard@studio-n.fr (plan Starter, siège View) — limite atteinte le 2026-09-16, bloqué.
|
||||||
|
- achat@studio-n.fr (plan Starter, siège View) — limite atteinte le 2026-09-16 après 19 appels, bloqué.
|
||||||
|
- felixbrossard79@gmail.com (plan Starter, siège Full) — **compte actif**, a permis d'identifier les 9 dernières pages (36/36) et d'extraire les couleurs système exactes + la recette des boutons Bordered/Bordered-Prominent.
|
||||||
|
|
||||||
|
## Toutes les pages identifiées (36/36)
|
||||||
|
|
||||||
|
## Couleurs système — extraction complète (light + dark)
|
||||||
|
|
||||||
|
| Nom | Light | Dark |
|
||||||
|
|---|---|---|
|
||||||
|
| Black | `#000000` | `#000000` |
|
||||||
|
| Gray | `#8E8E93` | `#8E8E93` |
|
||||||
|
| Gray 2 | `#AEAEB2` | `#636366` |
|
||||||
|
| Gray 3 | `#C7C7CC` | `#48484A` |
|
||||||
|
| Gray 4 | `#D1D1D6` | `#3A3A3C` |
|
||||||
|
| Gray 5 | `#E5E5EA` | `#2C2C2E` |
|
||||||
|
| Gray 6 | `#F2F2F7` | `#1C1C1E` |
|
||||||
|
| White | `#FFFFFF` | `#FFFFFF` |
|
||||||
|
| Red | `#FF383C` | `#FF4245` |
|
||||||
|
| Orange | `#FF8D28` | `#FF9230` |
|
||||||
|
| Yellow | `#FFCC00` | `#FFD600` |
|
||||||
|
| Green | `#34C759` | `#30D158` |
|
||||||
|
| Mint | `#00C8B3` | `#00DAC3` |
|
||||||
|
| Teal | `#00C3D0` | `#00D2E0` |
|
||||||
|
| Cyan | `#00C0E8` | `#3CD3FE` |
|
||||||
|
| Blue (accent système) | `#0088FF` | `#0091FF` |
|
||||||
|
| Indigo | `#6155F5` | `#6D7CFF` |
|
||||||
|
| Purple | `#CB30E0` | `#DB34F2` |
|
||||||
|
| Pink | `#FF2D55` | `#FF375F` |
|
||||||
|
| Brown | `#AC7F5E` | `#B78A66` |
|
||||||
|
|
||||||
|
Ce sont les vraies teintes système d'Apple (publiques, bien documentées) — utile comme référence de calibration, pas à copier telles quelles pour l'accent nApps (déjà distinct : cobalt `#0B6CFF` pour A2/A4, ambre pour A3).
|
||||||
|
|
||||||
|
## Découverte majeure — la hiérarchie de texte se fait par opacité, pas par des gris fixes
|
||||||
|
|
||||||
|
Confirmé sur Text Fields, Lists et Toggles : Apple n'utilise pas une palette de gris différents pour Label Primary/Secondary/Tertiary. Il module l'**opacité du noir** (ou du blanc en dark) :
|
||||||
|
|
||||||
|
| Token | Valeur | Usage observé |
|
||||||
|
|---|---|---|
|
||||||
|
| `labels/primary` | `rgba(0,0,0,1)` (noir plein) | Titre de ligne, valeur saisie |
|
||||||
|
| `labels/secondary` | `rgba(60,60,67,0.6)` | Sous-titre, détail trailing, description empty state |
|
||||||
|
| `labels/tertiary` | `rgba(60,60,67,0.3)` | Placeholder, chevron disclosure, switch OFF, séparateur stepper |
|
||||||
|
| `fills/primary` | `rgba(120,120,128,0.2)` | Piste du slider |
|
||||||
|
| `fills/tertiary` | `rgba(118,118,128,0.12)` | Fond bouton "Bordered", piste Segmented Control, moitiés du Stepper |
|
||||||
|
| `separators/vibrant` | `#E6E6E6` | Trait de séparation fin (hairline), partout (List, Text Field, Slider) |
|
||||||
|
| accent (`accents/blue` = `#0088FF`) | plein sur Bordered-Prominent/Slider fill/curseur ; en tinte à 15% pour badge Empty State ; superposé sur blanc 94% pour Glass Prominent | Jamais peint en aplat direct sur du verre — toujours via une couche blanche translucide en dessous |
|
||||||
|
|
||||||
|
**Pourquoi c'est important** : un token en opacité s'adapte automatiquement à n'importe quel fond (blanc, gris clair, glass translucide) sans qu'on ait à définir une variante par contexte. C'est plus robuste que nos couleurs de texte fixes actuelles en A4 (`#62636B`, `#9A9BA3`...). **À corriger dans les tokens nApps** : remplacer texte secondaire/tertiaire par du noir (ou blanc en dark) à opacité réduite plutôt que des hex de gris séparés.
|
||||||
|
|
||||||
|
## Boutons — recette exacte extraite (les 4 styles principaux)
|
||||||
|
|
||||||
|
- **Bordered - Prominent** (= notre CTA principal) : fond accent plein, texte blanc, radius **1000px (pilule complète)**, padding **20px 14px** (Large), typo Body (17pt, line-height 22px, letter-spacing -0.43px). Exactement ce qu'on avait déjà construit en A4.
|
||||||
|
- **Bordered** (à ne pas confondre avec "contour") : fond `fills/tertiary` (gris translucide 12%, pas de bordure visible), texte couleur accent, même radius pilule. **Nouveau pattern** — bouton secondaire discret, à ajouter à notre bibliothèque.
|
||||||
|
- **Glass** : même recette matière que la page Materials (blend modes plus-lighter/luminosity + ombres internes simulant l'épaisseur du verre), texte `#1A1A1A` (presque noir, pas pur noir), padding 20px 16px, radius pilule.
|
||||||
|
- **Glass Prominent** : fond blanc à 94% d'opacité + une teinte accent superposée par-dessus, texte blanc, même effet de verre. C'est la version "colorée" du bouton verre — confirme qu'on ne peint jamais l'accent en aplat sur du verre, on superpose une teinte sur un fond blanc translucide.
|
||||||
|
|
||||||
|
## Slider, Stepper, Empty States — recettes exactes
|
||||||
|
|
||||||
|
- **Slider** : piste en `fills/primary` `rgba(120,120,128,0.2)` (nouveau token, distinct de `fills/tertiary`), remplissage en accent plein, knob blanc en pilule 38×24 avec ombre en deux couches (`0 0.5px 4px rgba(0,0,0,.12)` + `0 6px 13px rgba(0,0,0,.12)`) — c'est la seule ombre "généreuse" observée dans tout le kit, réservée à un élément qu'on déplace activement au doigt.
|
||||||
|
- **Stepper** : pilule complète divisée en deux, chaque moitié en fond `fills/tertiary` (même token que Bordered/Segmented), séparateur central 1px en `labels/tertiary`, icônes +/- en noir semibold (taille Headline 17pt).
|
||||||
|
- **Empty States** : 3 variantes toutes terminées par un bouton **Glass Prominent** (confirme que ce style sert d'action principale même hors barre d'outils) — titre 22pt semibold noir, description medium `labels/secondary`. La variante "Symbol in Circle" utilise un badge rond avec fond accent à 15% d'opacité et l'icône en accent plein par-dessus — un pattern de badge doux réutilisable tel quel pour nApps.
|
||||||
|
|
||||||
|
## Échelle complète des fills (fonds gris translucides)
|
||||||
|
|
||||||
|
Trois niveaux confirmés, tous utilisés pour des fonds de contrôle sans accent :
|
||||||
|
|
||||||
|
| Token | Valeur | Usage |
|
||||||
|
|---|---|---|
|
||||||
|
| `fills/primary` | `rgba(120,120,128,0.2)` | Piste de Slider, piste de Progress Bar |
|
||||||
|
| `fills/secondary` | `rgba(120,120,128,0.16)` | Boutons d'Alert et d'Action Sheet (rôles None/Cancel/Destructive) |
|
||||||
|
| `fills/tertiary` | `rgba(118,118,128,0.12)` | Bouton "Bordered", piste de Segmented Control, moitiés de Stepper |
|
||||||
|
|
||||||
|
Plus la surface est "au premier plan" (un bouton qu'on presse) plus l'opacité est haute ; plus elle est "de fond" (une piste, un contrôle secondaire), plus elle baisse. Un seul principe, trois graduations.
|
||||||
|
|
||||||
|
**Nuance dark mode** : ces opacités ne sont pas fixes entre les deux thèmes. Le champ de recherche en dark utilise `fills/secondary` à **0.32** (contre 0.16 en light) — même token, valeur doublée pour rester visible sur fond sombre. À prévoir dans les tokens nApps : chaque fill/opacité doit avoir sa propre valeur dark, pas juste hériter du light.
|
||||||
|
|
||||||
|
## Alerts, Action Sheets, Progress Indicators, Page Controls, Notifications, Sheets — recettes exactes
|
||||||
|
|
||||||
|
- **Alert / Action Sheet — boutons** : pilule 48px, `Default` = accent plein + texte blanc, `None`/`Cancel` = `fills/secondary` + texte noir, `Destructive` = `fills/secondary` + texte rouge (`#FF383C`). Le fond de la card Action Sheet utilise une **troisième recette de verre**, distincte de Materials et des boutons Glass : `mix-blend-lighten` + `mix-blend-darken` (plutôt que luminosity/plus-lighter), pour un rendu plus opaque et laiteux adapté à une grande surface de dialogue.
|
||||||
|
- **Progress Bar** (linéaire) : piste `fills/primary`, remplissage accent, 4px de haut, radius pilule.
|
||||||
|
- **Spinner** : 8 lames à `labels/secondary`, opacité dégressive (87/75/63/51/39/27/15/8%) — c'est la rotation perçue, huit états statiques suffisent à l'animation.
|
||||||
|
- **Page Control** (dots) : actif = `labels/primary` 8px, inactif = `labels/tertiary` 8px (réduit à 6px "adjacent" et 4px "overflow" au-delà de 7 pages) — posé sur un fond capsule en vrai Liquid Glass (blur 50px + color-dodge).
|
||||||
|
- **Notification (collapsed)** : carte 24px de rayon, texte **blanc** (pas noir — pensé pour flotter sur un fond animé/wallpaper), utilise encore une **variante de verre** différente (`mix-blend-plus-lighter` sur noir `#101010` + `luminosity` sur blanc à 4%) — plus sombre que celle des boutons, cohérente avec un contexte lock screen.
|
||||||
|
- **Sheet — grabber** (poignée de la feuille modale) : pilule 60×4px, `#CCCCCC` en light, `#333333` + `plus-lighter` en dark.
|
||||||
|
|
||||||
|
**Correction après extraction complémentaire (Activity Views, Contextual Menus)** : ce n'est pas une multitude de recettes de verre au hasard, mais **exactement deux familles**, chacune avec un usage cohérent :
|
||||||
|
|
||||||
|
1. **"Verre de contrôle"** (`plus-lighter` + `luminosity`) — boutons, barres d'outils, capsule du Page Control, échantillons de la page Materials. Utilisé sur des **éléments flottants isolés**.
|
||||||
|
2. **"Verre de panneau"** (`lighten` + `darken` + `multiply`, rendu plus opaque et laiteux) — Action Sheet, Context Menu. Utilisé sur des **grandes surfaces de dialogue**.
|
||||||
|
|
||||||
|
La variante Notification (`plus-lighter` sur noir + `luminosity` sur blanc à 4%) est une troisième nuance de la famille "contrôle", assombrie pour rester lisible sur un fond animé (wallpaper de lock screen) — pas une recette à part entière.
|
||||||
|
|
||||||
|
Autre confirmation : le badge circulaire à icône (`fills-vibrant/tertiary`, 66px, icône centrée) apparaît à la fois dans **Activity Views** (neutre, gris) et **Empty States** ("Symbol in Circle", teinté accent à 15%) — c'est un composant réutilisable à part entière dans le kit, pas une coïncidence.
|
||||||
|
|
||||||
|
## Menus, Sidebars, Toolbars — recettes exactes (dernière session d'extraction)
|
||||||
|
|
||||||
|
- **Menus** : item 190px de large, icône 28px, label 17pt (tracking -0.43px, line-height 20px), sous-titre 13pt en `labels/secondary`. Destructif = rouge accent. Désactivé = `labels/tertiary`. En dark mode, tous les textes de menu utilisent `mix-blend-mode: plus-lighter` — le menu étant posé sur du verre translucide, le texte s'adapte optiquement à ce qu'il y a en dessous plutôt que d'être une couleur fixe.
|
||||||
|
- **Sidebars** : ligne de 44px, indentation par palier de 20px (10/30/50px de padding-left selon le niveau). **Découverte notable** : l'état sélectionné n'est pas un simple fond pleine largeur — c'est une **pilule** (`border-radius: 100px`) en fond `fills-vibrant/tertiary` avec `mix-blend-mode: plus-lighter`, insérée dans la ligne. Désactivé = opacité 50% globale.
|
||||||
|
- **Toolbars** (boutons 44pt) : confirme que **tous les boutons "chrome"** (Back, Text, Symbol, Button Group) utilisent exactement la même recette de verre que la page Materials et les boutons Glass — aucune variante. Les versions "Prominent" (Text-Prominent, Symbol-Prominent) réutilisent le pattern **blanc 94% + teinte accent superposée** déjà vu sur Glass Prominent et les CTA d'Empty States. C'est un pattern totalement systématique dans tout le kit : dès qu'une action est "principale", c'est blanc translucide + teinte, jamais un aplat de couleur directement sur du verre.
|
||||||
|
|
||||||
|
## Segmented Control, Toggle, Text Field, List Row — recettes exactes
|
||||||
|
|
||||||
|
- **Segmented Control** : piste en fond `fills/tertiary` (le même token que le bouton Bordered), radius pilule complet, segment sélectionné = pastille blanche avec `drop-shadow(0 2px 10px rgba(0,0,0,0.06))` — texte noir dans les deux états, seul le poids change (600 sélectionné vs 510 non-sélectionné). Confirme exactement la forme adoptée en A4.
|
||||||
|
- **Toggle** : ON = vert accent `#34C759`, OFF = `labels/tertiary` (noir 30%, pas un gris séparé), knob blanc 24px sur piste 64×28 pleinement arrondie, désactivé = opacité 50% globale.
|
||||||
|
- **Text Field** : séparateur fin en bas (`separators/vibrant #E6E6E6`), placeholder en `labels/tertiary`, valeur saisie en noir plein, curseur = couleur accent, largeur 2px, hauteur de ligne 52px avec padding 16px.
|
||||||
|
- **List Row** : hauteur 52px (regular) ou 68px (tall avec image/avatar), séparateur hairline en haut, titre 17pt noir, sous-titre 15pt en `labels/secondary`, accessoires trailing (chevron en tertiary, checkmark/info en noir ou accent), bouton d'édition = cercle bleu 22px avec coche blanche.
|
||||||
|
|
||||||
|
## Pages consultées (structure/taxonomie, hex à extraire pour les autres)
|
||||||
|
|
||||||
|
| Page | node-id | Statut extraction | Contenu |
|
||||||
|
|---|---|---|---|
|
||||||
|
| Materials | `215:105157` | **Complet** (get_design_context) | Recette réelle du "Liquid Glass" : blur 46-50px, blend modes (color-dodge, luminosity, plus-lighter), pas de bordure visible, hex des vibrancy fills/labels (light) |
|
||||||
|
| Colors | `0:1746` | **Complet** | 20 couleurs, hex exacts light + dark — voir tableau en haut du document |
|
||||||
|
| Text Styles and Dynamic Type | `0:2194` | **Complet** (dimensions réelles) | Échelle complète xSmall→xxxLarge + accessibilité AX1-AX5, tous les styles (Large Title, Title 1/2/3, Headline, Body, Callout, Subheadline, Footnote, Caption 1/2) × 4 niveaux de label (Primary/Secondary/Tertiary/Quaternary) |
|
||||||
|
| Safe Areas and Margins | `12892:60611` | Structure seulement | Marges, safe area insets, iPhone/iPad/iPhone Duo — peu utile hors natif |
|
||||||
|
| Product Bezels | `507:24672` | Structure seulement | Gabarits d'appareils (iPhone 17/18, iPad Pro, iPhone Air) — **pas utile pour notre design system** (marketing/mockup device) |
|
||||||
|
| System | `507:24688` | Structure seulement | Home Screen, Lock Screen, Control Center, Dock, wallpapers — **pas utile**, spécifique OS natif |
|
||||||
|
| Action Sheets | `507:24669` | **Complet** | Voir section "Alerts, Action Sheets..." ci-dessus |
|
||||||
|
| Activity Views | `507:24670` | **Action complète** (badge circulaire) — reste en taxonomie | Voir section "verre de contrôle / verre de panneau" ci-dessus |
|
||||||
|
| Alerts | `507:24668` | **Complet** (boutons) — text field partagé avec la page dédiée | Voir section "Alerts, Action Sheets..." ci-dessus |
|
||||||
|
| App Icons | `507:24671` | Structure seulement | Grille d'icônes système (référence de gabarit, pas les glyphes eux-mêmes à copier) |
|
||||||
|
| Buttons | `507:24673` | **Complet** (Bordered, Bordered-Prominent, Glass, Glass Prominent) — Borderless reste en taxonomie | Voir section "Boutons — recette exacte" ci-dessus |
|
||||||
|
| Color Pickers | `507:26010` | Structure seulement | Color picker iPhone/iPad, toolbar, boutons |
|
||||||
|
| Keyboards | `507:24674` | Structure seulement | Claviers iPhone/iPad/iPhone Duo, touches, accessory bars — **peu pertinent** (web, pas de clavier natif à concevoir) |
|
||||||
|
| Lists | `507:24675` | **Row complet** (regular/tall) — swipe actions/section headers en taxonomie | Voir section "Segmented Control, Toggle..." ci-dessus |
|
||||||
|
| Menus | `507:24676` | **Complet** (item states) | Voir section "Menus, Sidebars, Toolbars" ci-dessus |
|
||||||
|
| Notifications | `507:24678` | **Complet** (collapsed) — expanded en taxonomie | Voir section "Alerts, Action Sheets..." ci-dessus |
|
||||||
|
| Page Controls | `507:24679` | **Complet** | Voir section "Alerts, Action Sheets..." ci-dessus |
|
||||||
|
| Popovers | `507:24681` | **Complet** | 3e nuance de "verre de contrôle" (blur 65px), voir section fills/matériaux |
|
||||||
|
| Pop-up Buttons | `507:26009` | **Complet** | Voir section "Alerts, Action Sheets..." ci-dessus |
|
||||||
|
| Progress Indicators | `507:24682` | **Complet** (barre + spinner) | Voir section "Alerts, Action Sheets..." ci-dessus |
|
||||||
|
| Segmented Controls | `507:24683` | **Complet** | Voir section "Segmented Control, Toggle..." ci-dessus |
|
||||||
|
| Sheets | `507:24684` | **Complet** (Detent Medium, grabber) — Large/Large stacked en taxonomie | Confirme le "verre de panneau", rayons asymétriques 38px haut / 58px bas |
|
||||||
|
| Sidebars | `507:26013` | **Complet** (Sidebar Row, 12 états) — search field en taxonomie | Voir section "Menus, Sidebars, Toolbars" ci-dessus |
|
||||||
|
| Sliders | `507:24685` | **Complet** (idle) — pressed/disabled en taxonomie | Voir section "Slider, Stepper, Empty States" ci-dessus |
|
||||||
|
| Status Bars and Menu Bars | `507:24686` | Structure seulement | Status bar iPhone, menu bar macOS-style — **peu pertinent** (web) |
|
||||||
|
| Steppers | `507:24687` | **Complet** (default) — pressed/disabled en taxonomie | Voir section "Slider, Stepper, Empty States" ci-dessus |
|
||||||
|
| Toggles | `507:24690` | **Complet** (idle) — pressed (effet verre étiré) en taxonomie | Voir section "Segmented Control, Toggle..." ci-dessus |
|
||||||
|
| Windows | `5413:10149` | Structure seulement | Fenêtre desktop, sidebar, contrôles de fenêtre — **peu pertinent** (chrome OS natif) |
|
||||||
|
| Date and Time Pickers | `507:24680` | Structure seulement | Picker inline/compact, jours, semaine |
|
||||||
|
| Text Fields | `553:22762` | **Complet** (4 états) | Voir section "Segmented Control, Toggle..." ci-dessus |
|
||||||
|
| Toolbars | `507:25993` | **Complet** (boutons 44pt) — search/titres en taxonomie | Voir section "Menus, Sidebars, Toolbars" ci-dessus |
|
||||||
|
| Widgets | `507:26511` | Non pertinent | Widgets home screen / lock screen — spécifique OS natif |
|
||||||
|
| _Kit Helpers | `507:29124` | Non pertinent | Éléments internes au kit (labels de mode) |
|
||||||
|
| Contextual Menus | `507:25994` | **Complet** | Confirme le "verre de panneau" + Control Group (actions rapides en icônes, radius 20px) |
|
||||||
|
| Empty States | `5518:18111` | **Complet** (3 layouts) | Voir section "Slider, Stepper, Empty States" ci-dessus |
|
||||||
|
| Face ID | `507:26011` | Non pertinent | Animation d'authentification biométrique native |
|
||||||
|
|
||||||
|
**36/36 pages identifiées, 20 avec des valeurs exactes extraites.** Le reste est soit en structure/taxonomie, soit hors périmètre.
|
||||||
|
|
||||||
|
## Priorités pour la suite (get_design_context)
|
||||||
|
|
||||||
|
**Valeurs exactes obtenues pour** : Materials, Text Styles/Dynamic Type, Colors (20), Buttons (4/5 styles), Segmented Controls, Toggles (idle), Text Fields, Lists (Row), Sliders (idle), Steppers (default), Empty States (3 layouts), Menus (item states), Sidebars (Row), Toolbars (boutons 44pt), Alerts (boutons), Action Sheets, Progress Indicators (barre + spinner), Page Controls, Notifications (collapsed), Pop-up Buttons, Sheets (grabber).
|
||||||
|
|
||||||
|
**Popovers** (positionnement + une 3e nuance de "verre de contrôle", blur 65px) et **Sheets** (confirmé sur le "verre de panneau", rayons asymétriques 38px haut / 58px bas) sont maintenant extraits aussi. **Search Field** (Sidebars/Toolbars) partiellement — révèle la nuance dark mode ci-dessus.
|
||||||
|
|
||||||
|
**Compte felixbrossard79@gmail.com épuisé le 2026-09-16** après environ 50 appels `get_design_context` cumulés dans la journée (largement au-delà du rythme des comptes "View", cohérent avec le plafond journalier de 200 d'un siège Full — probablement une limite par minute ou un cumul plus bas que documenté en pratique).
|
||||||
|
|
||||||
|
Ce qui reste, si l'extraction doit continuer avec un nouveau compte — très faible valeur ajoutée attendue :
|
||||||
|
1. **Color Pickers** — repose sur des assets image (roue de couleur), peu de valeur à extraire en CSS
|
||||||
|
2. **Toolbar — Top iPad** (node `5720:33170`) et **Alert — Text Field** (node `63:57121`) — non tentés, probablement déjà couverts par les tokens déjà extraits
|
||||||
|
3. **Sheets — detents Large/Large stacked**, **Date and Time Pickers** — layout uniquement
|
||||||
|
|
||||||
|
Non pertinent / hors périmètre nApps (web) : Product Bezels, System, App Icons, Safe Areas and Margins, Keyboards, Status Bars and Menu Bars, Windows, Widgets, Face ID, _Kit Helpers.
|
||||||
|
|
||||||
|
**Note sur le blocage d'accès rencontré en cours de route** : à un moment, le compte connecté a basculé vers contact@studio-n.fr (siège View, sans accès au fichier), causant des erreurs "pas d'accès en édition" distinctes du rate limit. Une fois l'accès partagé côté Figma, ça a fonctionné après un nouvel essai. Si ça se reproduit : vérifier `whoami` en premier pour voir quel compte est réellement connecté avant de chercher une explication côté quota.
|
||||||
|
|
||||||
|
## Historique des comptes et quotas
|
||||||
|
|
||||||
|
Quatre comptes Figma testés le 2026-09-16, tous plan Starter :
|
||||||
|
- felix.brossard@studio-n.fr (siège View) → bloqué après ~11 pages (get_metadata)
|
||||||
|
- achat@studio-n.fr (siège View) → bloqué après ~19 appels (get_metadata)
|
||||||
|
- felixbrossard79@gmail.com (siège Full) → **le plus productif** : a permis de finir l'identification des 36 pages ET d'extraire ~17 appels `get_design_context` réussis (Colors, Buttons ×4, Segmented Control, Toggle, Text Field, List Row, Slider, Stepper, Empty States) avant d'être bloqué à son tour.
|
||||||
|
|
||||||
|
Le plan Starter a un quota d'appels API bas, qui semble se reconstituer progressivement plutôt que se réinitialiser d'un coup — mais aucun des quatre comptes n'a tenu au-delà d'une trentaine d'appels cumulés dans la même journée. Un compte avec siège "Full" a tenu nettement plus longtemps qu'un siège "View" — à privilégier si un nouveau compte est créé.
|
||||||
|
|
||||||
|
## Pour la prochaine session
|
||||||
|
|
||||||
|
1. Si le compte felixbrossard79@gmail.com est encore bloqué, utiliser un nouveau compte Figma.
|
||||||
|
2. Reprendre les priorités ci-dessus avec `get_design_context` pour extraire les hex/dimensions exactes des composants "utiles" restants.
|
||||||
|
3. Mettre à jour ce fichier au fur et à mesure.
|
||||||
|
4. Le canvas de référence est publié ici : **https://claude.ai/artifact/2C6M2DwK8TuaNzHUmrbw7D** — le relire avec l'outil Artifact (`action: "read"`) avant de le modifier, ne jamais republier sans l'avoir relu d'abord. Les fichiers sources (`.dc.html`, `canvas.json`) sont dans `kit-audit/` à la racine de ce dépôt de design — les éditer puis reseeder avec `seed-canvas.mjs` plutôt que d'éditer le fichier publié directement.
|
||||||
|
5. Note : ce canvas est privé par défaut, rattaché au compte claude.ai de cette session (achat@studio-n.fr). Une autre session Claude Code doit tourner sous le même compte claude.ai pour pouvoir le lire/modifier — un compte Figma différent (pour contourner le rate limit) est indépendant de ça.
|
||||||
@@ -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>
|
||||||
@@ -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>
|
||||||
@@ -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 & 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>
|
||||||
@@ -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>
|
||||||
@@ -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>
|
||||||
@@ -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
+11009
File diff suppressed because one or more lines are too long
Generated
+1590
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,42 @@
|
|||||||
|
{
|
||||||
|
"name": "@napps/design-system",
|
||||||
|
"version": "0.1.0",
|
||||||
|
"private": false,
|
||||||
|
"description": "Identité visuelle et bibliothèque de composants nApps — direction A4 (Précision / Vibrance)",
|
||||||
|
"type": "module",
|
||||||
|
"main": "./dist/index.cjs",
|
||||||
|
"module": "./dist/index.js",
|
||||||
|
"types": "./dist/index.d.ts",
|
||||||
|
"style": "./dist/index.css",
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"types": "./dist/index.d.ts",
|
||||||
|
"import": "./dist/index.js",
|
||||||
|
"require": "./dist/index.cjs"
|
||||||
|
},
|
||||||
|
"./tokens.css": "./dist/index.css"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"dist"
|
||||||
|
],
|
||||||
|
"sideEffects": [
|
||||||
|
"**/*.css"
|
||||||
|
],
|
||||||
|
"scripts": {
|
||||||
|
"build": "tsup",
|
||||||
|
"dev": "tsup --watch",
|
||||||
|
"typecheck": "tsc --noEmit"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"react": ">=18",
|
||||||
|
"react-dom": ">=18"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@types/react": "^18.3.0",
|
||||||
|
"@types/react-dom": "^18.3.0",
|
||||||
|
"react": "^18.3.0",
|
||||||
|
"react-dom": "^18.3.0",
|
||||||
|
"tsup": "^8.0.0",
|
||||||
|
"typescript": "^5.5.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
import { ButtonHTMLAttributes, forwardRef } from 'react';
|
||||||
|
|
||||||
|
export type ButtonVariant = 'primary' | 'secondary';
|
||||||
|
|
||||||
|
export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
||||||
|
variant?: ButtonVariant;
|
||||||
|
}
|
||||||
|
|
||||||
|
export const Button = forwardRef<HTMLButtonElement, ButtonProps>(
|
||||||
|
({ variant = 'primary', className, ...props }, ref) => {
|
||||||
|
const variantClass = variant === 'primary' ? 'btn-primary' : 'btn-secondary';
|
||||||
|
return (
|
||||||
|
<button
|
||||||
|
ref={ref}
|
||||||
|
className={[variantClass, className].filter(Boolean).join(' ')}
|
||||||
|
{...props}
|
||||||
|
/>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
Button.displayName = 'Button';
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
import { HTMLAttributes, ReactNode } from 'react';
|
||||||
|
|
||||||
|
export interface IconBadgeProps extends HTMLAttributes<HTMLDivElement> {
|
||||||
|
tone?: 'neutral' | 'accent';
|
||||||
|
children: ReactNode;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function IconBadge({ tone = 'neutral', className, children, ...props }: IconBadgeProps) {
|
||||||
|
const toneClass = tone === 'accent' ? 'icon-badge--accent' : 'icon-badge--neutral';
|
||||||
|
return (
|
||||||
|
<div className={['icon-badge', toneClass, className].filter(Boolean).join(' ')} {...props}>
|
||||||
|
{children}
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
import { HTMLAttributes, ReactNode } from 'react';
|
||||||
|
|
||||||
|
export interface ListRowProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
||||||
|
title: ReactNode;
|
||||||
|
subtitle?: ReactNode;
|
||||||
|
trailing?: ReactNode;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function ListRow({ title, subtitle, trailing, className, ...props }: ListRowProps) {
|
||||||
|
return (
|
||||||
|
<div className={['list-row', className].filter(Boolean).join(' ')} {...props}>
|
||||||
|
<div style={{ flex: 1, minWidth: 0 }}>
|
||||||
|
<div className="list-row__title">{title}</div>
|
||||||
|
{subtitle && <div className="list-row__subtitle">{subtitle}</div>}
|
||||||
|
</div>
|
||||||
|
{trailing && <div>{trailing}</div>}
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,42 @@
|
|||||||
|
import { useId } from 'react';
|
||||||
|
|
||||||
|
export interface SegmentedControlOption {
|
||||||
|
label: string;
|
||||||
|
value: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface SegmentedControlProps {
|
||||||
|
options: SegmentedControlOption[];
|
||||||
|
value: string;
|
||||||
|
onChange: (value: string) => void;
|
||||||
|
'aria-label': string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function SegmentedControl({ options, value, onChange, ...props }: SegmentedControlProps) {
|
||||||
|
const name = useId();
|
||||||
|
return (
|
||||||
|
<div className="segmented-control" role="radiogroup" aria-label={props['aria-label']}>
|
||||||
|
{options.map((option) => {
|
||||||
|
const selected = option.value === value;
|
||||||
|
return (
|
||||||
|
<label
|
||||||
|
key={option.value}
|
||||||
|
className={['segmented-control__item', selected && 'segmented-control__item--selected']
|
||||||
|
.filter(Boolean)
|
||||||
|
.join(' ')}
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
type="radio"
|
||||||
|
name={name}
|
||||||
|
value={option.value}
|
||||||
|
checked={selected}
|
||||||
|
onChange={() => onChange(option.value)}
|
||||||
|
style={{ position: 'absolute', opacity: 0, pointerEvents: 'none' }}
|
||||||
|
/>
|
||||||
|
{option.label}
|
||||||
|
</label>
|
||||||
|
);
|
||||||
|
})}
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
import { ElementType, HTMLAttributes, ReactNode } from 'react';
|
||||||
|
|
||||||
|
export type SurfaceLevel = 'page' | 'grouped' | 'nested';
|
||||||
|
export type MaterialVariant = 'control' | 'panel';
|
||||||
|
|
||||||
|
export interface SurfaceProps extends HTMLAttributes<HTMLElement> {
|
||||||
|
level?: SurfaceLevel;
|
||||||
|
material?: MaterialVariant;
|
||||||
|
as?: ElementType;
|
||||||
|
children: ReactNode;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Couche de fond. `level` suit la hiérarchie page → grouped → nested (couleur,
|
||||||
|
* jamais d'ombre). `material` superpose une des deux recettes de verre —
|
||||||
|
* "control" pour un élément flottant isolé, "panel" pour une grande surface
|
||||||
|
* de dialogue — au lieu du niveau de couleur.
|
||||||
|
*/
|
||||||
|
export function Surface({ level = 'grouped', material, as: Component = 'div', className, children, ...props }: SurfaceProps) {
|
||||||
|
const classes = material
|
||||||
|
? [`material-${material}`]
|
||||||
|
: [`surface-${level}`];
|
||||||
|
return (
|
||||||
|
<Component className={[...classes, className].filter(Boolean).join(' ')} {...props}>
|
||||||
|
{children}
|
||||||
|
</Component>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
import { ElementType, HTMLAttributes, ReactNode } from 'react';
|
||||||
|
|
||||||
|
export type TextVariant =
|
||||||
|
| 'large-title'
|
||||||
|
| 'title1'
|
||||||
|
| 'title2'
|
||||||
|
| 'title3'
|
||||||
|
| 'headline'
|
||||||
|
| 'body'
|
||||||
|
| 'callout'
|
||||||
|
| 'subheadline'
|
||||||
|
| 'footnote'
|
||||||
|
| 'caption1'
|
||||||
|
| 'caption2';
|
||||||
|
|
||||||
|
export type TextColor = 'primary' | 'secondary' | 'tertiary' | 'quaternary';
|
||||||
|
|
||||||
|
const defaultElement: Record<TextVariant, ElementType> = {
|
||||||
|
'large-title': 'h1',
|
||||||
|
title1: 'h1',
|
||||||
|
title2: 'h2',
|
||||||
|
title3: 'h3',
|
||||||
|
headline: 'h4',
|
||||||
|
body: 'p',
|
||||||
|
callout: 'p',
|
||||||
|
subheadline: 'p',
|
||||||
|
footnote: 'p',
|
||||||
|
caption1: 'span',
|
||||||
|
caption2: 'span',
|
||||||
|
};
|
||||||
|
|
||||||
|
export interface TextProps extends HTMLAttributes<HTMLElement> {
|
||||||
|
variant?: TextVariant;
|
||||||
|
color?: TextColor;
|
||||||
|
as?: ElementType;
|
||||||
|
children: ReactNode;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function Text({ variant = 'body', color = 'primary', as, className, children, ...props }: TextProps) {
|
||||||
|
const Component = as ?? defaultElement[variant];
|
||||||
|
return (
|
||||||
|
<Component
|
||||||
|
className={[`text-${variant}`, `text-${color}`, className].filter(Boolean).join(' ')}
|
||||||
|
{...props}
|
||||||
|
>
|
||||||
|
{children}
|
||||||
|
</Component>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
import { InputHTMLAttributes, forwardRef } from 'react';
|
||||||
|
|
||||||
|
export type TextFieldProps = InputHTMLAttributes<HTMLInputElement>;
|
||||||
|
|
||||||
|
export const TextField = forwardRef<HTMLInputElement, TextFieldProps>(
|
||||||
|
({ className, style, ...props }, ref) => {
|
||||||
|
return (
|
||||||
|
<input
|
||||||
|
ref={ref}
|
||||||
|
className={['text-field', 'text-body', className].filter(Boolean).join(' ')}
|
||||||
|
style={{
|
||||||
|
border: 'none',
|
||||||
|
outline: 'none',
|
||||||
|
width: '100%',
|
||||||
|
background: 'transparent',
|
||||||
|
color: 'var(--label-primary)',
|
||||||
|
...style,
|
||||||
|
}}
|
||||||
|
{...props}
|
||||||
|
/>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
TextField.displayName = 'TextField';
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
export interface ToggleProps {
|
||||||
|
checked: boolean;
|
||||||
|
onChange: (checked: boolean) => void;
|
||||||
|
disabled?: boolean;
|
||||||
|
'aria-label': string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function Toggle({ checked, onChange, disabled, ...props }: ToggleProps) {
|
||||||
|
return (
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
role="switch"
|
||||||
|
aria-checked={checked}
|
||||||
|
aria-label={props['aria-label']}
|
||||||
|
disabled={disabled}
|
||||||
|
onClick={() => onChange(!checked)}
|
||||||
|
className={['toggle', checked && 'toggle--on'].filter(Boolean).join(' ')}
|
||||||
|
style={{ border: 'none', padding: 0, cursor: disabled ? 'default' : 'pointer', opacity: disabled ? 0.5 : 1 }}
|
||||||
|
>
|
||||||
|
<span className="toggle__knob" />
|
||||||
|
</button>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
import './tokens.css';
|
||||||
|
|
||||||
|
export { Button } from './components/Button';
|
||||||
|
export type { ButtonProps, ButtonVariant } from './components/Button';
|
||||||
|
|
||||||
|
export { SegmentedControl } from './components/SegmentedControl';
|
||||||
|
export type { SegmentedControlProps, SegmentedControlOption } from './components/SegmentedControl';
|
||||||
|
|
||||||
|
export { Toggle } from './components/Toggle';
|
||||||
|
export type { ToggleProps } from './components/Toggle';
|
||||||
|
|
||||||
|
export { TextField } from './components/TextField';
|
||||||
|
export type { TextFieldProps } from './components/TextField';
|
||||||
|
|
||||||
|
export { ListRow } from './components/ListRow';
|
||||||
|
export type { ListRowProps } from './components/ListRow';
|
||||||
|
|
||||||
|
export { IconBadge } from './components/IconBadge';
|
||||||
|
export type { IconBadgeProps } from './components/IconBadge';
|
||||||
|
|
||||||
|
export { Text } from './components/Text';
|
||||||
|
export type { TextProps, TextVariant, TextColor } from './components/Text';
|
||||||
|
|
||||||
|
export { Surface } from './components/Surface';
|
||||||
|
export type { SurfaceProps, SurfaceLevel, MaterialVariant } from './components/Surface';
|
||||||
@@ -0,0 +1,261 @@
|
|||||||
|
/*
|
||||||
|
nApps — Design Tokens (v1)
|
||||||
|
Direction retenue : A4 — Précision / Vibrance
|
||||||
|
Source : audit du kit Figma "iOS and iPadOS 27 (Community)" — voir figma-kit-audit.md
|
||||||
|
Principe : les MÉCANIQUES (hiérarchie par opacité, échelle de fills, deux familles de
|
||||||
|
matière) sont reprises du vrai système Apple. Les VALEURS de marque (accent, typographie,
|
||||||
|
rayons) restent propres à nApps — jamais de copie de SF Pro / SF Symbols / bleu système.
|
||||||
|
*/
|
||||||
|
|
||||||
|
:root {
|
||||||
|
/* ===== Accent — propre à nApps, jamais le bleu système Apple (#0088FF) ===== */
|
||||||
|
--napps-accent: #0B6CFF;
|
||||||
|
--napps-success: #1FA968;
|
||||||
|
--napps-warning: #D68C1B;
|
||||||
|
--napps-error: #E6483D;
|
||||||
|
|
||||||
|
/* ===== Labels — hiérarchie par OPACITÉ du noir, pas par des gris séparés =====
|
||||||
|
Découverte de l'audit : Apple encode primary/secondary/tertiary en assombrissant
|
||||||
|
un seul noir, jamais avec une palette de gris. Un token qui s'adapte à n'importe
|
||||||
|
quel fond au lieu d'une variante par contexte. */
|
||||||
|
--label-primary: rgba(0, 0, 0, 1);
|
||||||
|
--label-secondary: rgba(0, 0, 0, 0.6);
|
||||||
|
--label-tertiary: rgba(0, 0, 0, 0.3);
|
||||||
|
--label-quaternary: rgba(0, 0, 0, 0.18);
|
||||||
|
|
||||||
|
/* ===== Fills — fonds de contrôle translucides, 3 paliers d'opacité =====
|
||||||
|
primary > secondary > tertiary : plus une surface est "au premier plan"
|
||||||
|
(un bouton qu'on presse), plus l'opacité est haute. */
|
||||||
|
--fill-primary: rgba(0, 0, 0, 0.2);
|
||||||
|
--fill-secondary: rgba(0, 0, 0, 0.16);
|
||||||
|
--fill-tertiary: rgba(0, 0, 0, 0.12);
|
||||||
|
|
||||||
|
--separator: rgba(0, 0, 0, 0.1);
|
||||||
|
|
||||||
|
/* ===== Surfaces — hiérarchie de fond par couleur, PAS par ombre =====
|
||||||
|
page → groupée → imbriquée. Jamais d'ombre pour distinguer les niveaux. */
|
||||||
|
--bg-page: #F5F6F9;
|
||||||
|
--bg-grouped: #FFFFFF;
|
||||||
|
--bg-nested: #EDEFF3;
|
||||||
|
|
||||||
|
/* ===== Rayons ===== */
|
||||||
|
--radius-pill: 999px;
|
||||||
|
--radius-card: 16px;
|
||||||
|
--radius-card-lg: 20px;
|
||||||
|
--radius-sheet-top: 24px;
|
||||||
|
--radius-sheet-bottom: 32px;
|
||||||
|
|
||||||
|
/* ===== Cible tactile minimale ===== */
|
||||||
|
--tap-target-min: 44px;
|
||||||
|
|
||||||
|
/* ===== Typographie — échelle réelle (points Apple), police nApps (Manrope) =====
|
||||||
|
Taille/graisse/interligne/tracking vérifiés sur le kit — la hiérarchie se fait
|
||||||
|
autant par le POIDS que par la taille (Headline et Body partagent 17pt). */
|
||||||
|
--font-family: 'Manrope', sans-serif;
|
||||||
|
|
||||||
|
--text-large-title-size: 34px; --text-large-title-line: 41px; --text-large-title-weight: 800; --text-large-title-tracking: -0.02em;
|
||||||
|
--text-title1-size: 28px; --text-title1-line: 34px; --text-title1-weight: 700;
|
||||||
|
--text-title2-size: 22px; --text-title2-line: 28px; --text-title2-weight: 700;
|
||||||
|
--text-title3-size: 20px; --text-title3-line: 25px; --text-title3-weight: 600;
|
||||||
|
--text-headline-size: 17px; --text-headline-line: 22px; --text-headline-weight: 700; --text-headline-tracking: -0.43px;
|
||||||
|
--text-body-size: 17px; --text-body-line: 22px; --text-body-weight: 400; --text-body-tracking: -0.43px;
|
||||||
|
--text-callout-size: 16px; --text-callout-line: 21px; --text-callout-weight: 400;
|
||||||
|
--text-subheadline-size: 15px; --text-subheadline-line: 20px; --text-subheadline-weight: 400;
|
||||||
|
--text-footnote-size: 13px; --text-footnote-line: 18px; --text-footnote-weight: 400;
|
||||||
|
--text-caption1-size: 12px; --text-caption1-line: 16px; --text-caption1-weight: 400;
|
||||||
|
--text-caption2-size: 11px; --text-caption2-line: 13px; --text-caption2-weight: 400;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ============================================================
|
||||||
|
DARK MODE — les tokens ne sont jamais une simple inversion.
|
||||||
|
Découverte de l'audit : fills/secondary passe de 16% à 32% en
|
||||||
|
dark (pas juste "même valeur sur fond sombre") ; les surfaces
|
||||||
|
s'ÉCLAIRCISSENT en montant (page < groupée < imbriquée), à
|
||||||
|
l'inverse du light. Chaque token dark est vérifié, pas déduit.
|
||||||
|
============================================================ */
|
||||||
|
:root[data-theme="dark"] {
|
||||||
|
--napps-accent: #4C93FF;
|
||||||
|
--napps-success: #43C283;
|
||||||
|
--napps-warning: #E8AC52;
|
||||||
|
--napps-error: #F17B70;
|
||||||
|
|
||||||
|
--label-primary: rgba(255, 255, 255, 1);
|
||||||
|
--label-secondary: rgba(255, 255, 255, 0.6);
|
||||||
|
--label-tertiary: rgba(255, 255, 255, 0.3);
|
||||||
|
--label-quaternary: rgba(255, 255, 255, 0.18);
|
||||||
|
|
||||||
|
--fill-primary: rgba(255, 255, 255, 0.24);
|
||||||
|
--fill-secondary: rgba(255, 255, 255, 0.32);
|
||||||
|
--fill-tertiary: rgba(255, 255, 255, 0.16);
|
||||||
|
|
||||||
|
--separator: rgba(255, 255, 255, 0.12);
|
||||||
|
|
||||||
|
--bg-page: #15171C;
|
||||||
|
--bg-grouped: #1D1F26;
|
||||||
|
--bg-nested: #262930;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ============================================================
|
||||||
|
MATÉRIAUX — DEUX familles seulement (pas une par composant) :
|
||||||
|
1. "control" — bouton flottant, barre d'outils, capsule isolée
|
||||||
|
2. "panel" — grande surface de dialogue (feuille, menu contextuel)
|
||||||
|
============================================================ */
|
||||||
|
.material-control {
|
||||||
|
background: rgba(255, 255, 255, 0.55);
|
||||||
|
backdrop-filter: blur(46px) saturate(1.6);
|
||||||
|
-webkit-backdrop-filter: blur(46px) saturate(1.6);
|
||||||
|
box-shadow:
|
||||||
|
inset 0 1px 0 rgba(255, 255, 255, 0.6),
|
||||||
|
inset 0 -1px 0 rgba(0, 0, 0, 0.04),
|
||||||
|
0 8px 15px rgba(0, 0, 0, 0.02);
|
||||||
|
}
|
||||||
|
:root[data-theme="dark"] .material-control {
|
||||||
|
background: rgba(38, 41, 48, 0.5);
|
||||||
|
backdrop-filter: blur(46px) saturate(1.4);
|
||||||
|
-webkit-backdrop-filter: blur(46px) saturate(1.4);
|
||||||
|
box-shadow:
|
||||||
|
inset 0 1px 0 rgba(255, 255, 255, 0.06),
|
||||||
|
inset 0 -1px 0 rgba(0, 0, 0, 0.3),
|
||||||
|
0 8px 15px rgba(0, 0, 0, 0.35);
|
||||||
|
}
|
||||||
|
|
||||||
|
.material-panel {
|
||||||
|
background: rgba(255, 255, 255, 0.85);
|
||||||
|
backdrop-filter: blur(30px);
|
||||||
|
-webkit-backdrop-filter: blur(30px);
|
||||||
|
box-shadow: 0 8px 48px rgba(0, 0, 0, 0.25);
|
||||||
|
}
|
||||||
|
:root[data-theme="dark"] .material-panel {
|
||||||
|
background: rgba(20, 20, 20, 0.85);
|
||||||
|
backdrop-filter: blur(30px);
|
||||||
|
-webkit-backdrop-filter: blur(30px);
|
||||||
|
box-shadow: 0 8px 48px rgba(0, 0, 0, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ============================================================
|
||||||
|
COMPOSANTS de référence — construits uniquement à partir des
|
||||||
|
tokens ci-dessus. Aucune valeur ad hoc.
|
||||||
|
============================================================ */
|
||||||
|
|
||||||
|
/* Bouton primaire (= Bordered-Prominent d'Apple) */
|
||||||
|
.btn-primary {
|
||||||
|
background: var(--napps-accent);
|
||||||
|
color: #FFFFFF;
|
||||||
|
border: none;
|
||||||
|
border-radius: var(--radius-pill);
|
||||||
|
min-height: var(--tap-target-min);
|
||||||
|
padding: 0 22px;
|
||||||
|
font: var(--text-body-weight) var(--text-body-size)/var(--text-body-line) var(--font-family);
|
||||||
|
letter-spacing: var(--text-body-tracking);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Bouton secondaire discret (= Bordered d'Apple — PAS un contour) */
|
||||||
|
.btn-secondary {
|
||||||
|
background: var(--fill-tertiary);
|
||||||
|
color: var(--napps-accent);
|
||||||
|
border: none;
|
||||||
|
border-radius: var(--radius-pill);
|
||||||
|
min-height: var(--tap-target-min);
|
||||||
|
padding: 0 22px;
|
||||||
|
font: var(--text-body-weight) var(--text-body-size)/var(--text-body-line) var(--font-family);
|
||||||
|
letter-spacing: var(--text-body-tracking);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Segmented control */
|
||||||
|
.segmented-control {
|
||||||
|
display: inline-flex;
|
||||||
|
background: var(--fill-tertiary);
|
||||||
|
border-radius: var(--radius-pill);
|
||||||
|
padding: 2px;
|
||||||
|
gap: 2px;
|
||||||
|
}
|
||||||
|
.segmented-control__item {
|
||||||
|
padding: 3px 12px;
|
||||||
|
border-radius: var(--radius-pill);
|
||||||
|
font-size: 13.3px;
|
||||||
|
font-weight: 510;
|
||||||
|
color: var(--label-primary);
|
||||||
|
min-height: 28px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.segmented-control__item--selected {
|
||||||
|
background: var(--bg-grouped);
|
||||||
|
font-weight: 600;
|
||||||
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Toggle */
|
||||||
|
.toggle {
|
||||||
|
width: 64px;
|
||||||
|
height: 28px;
|
||||||
|
border-radius: var(--radius-pill);
|
||||||
|
background: var(--label-tertiary);
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.toggle--on { background: var(--napps-success); }
|
||||||
|
.toggle__knob {
|
||||||
|
width: 24px; height: 24px;
|
||||||
|
border-radius: var(--radius-pill);
|
||||||
|
background: #FFFFFF;
|
||||||
|
position: absolute; top: 2px; left: 2px;
|
||||||
|
}
|
||||||
|
.toggle--on .toggle__knob { left: auto; right: 2px; }
|
||||||
|
|
||||||
|
/* List row */
|
||||||
|
.list-row {
|
||||||
|
border-top: 1px solid var(--separator);
|
||||||
|
padding: 0 16px;
|
||||||
|
min-height: 52px;
|
||||||
|
display: flex; align-items: center;
|
||||||
|
}
|
||||||
|
.list-row__title { font-size: var(--text-body-size); color: var(--label-primary); }
|
||||||
|
.list-row__subtitle { font-size: var(--text-subheadline-size); color: var(--label-secondary); }
|
||||||
|
|
||||||
|
/* Text field */
|
||||||
|
.text-field {
|
||||||
|
border-top: 1px solid var(--separator);
|
||||||
|
padding: 16px;
|
||||||
|
min-height: 52px;
|
||||||
|
}
|
||||||
|
.text-field--placeholder { color: var(--label-tertiary); }
|
||||||
|
.text-field__cursor { width: 2px; height: 22px; border-radius: 10px; background: var(--napps-accent); }
|
||||||
|
|
||||||
|
/* Empty state — badge circulaire réutilisable (Activity View + Empty State du kit) */
|
||||||
|
.icon-badge {
|
||||||
|
width: 50px; height: 50px;
|
||||||
|
border-radius: var(--radius-pill);
|
||||||
|
display: flex; align-items: center; justify-content: center;
|
||||||
|
}
|
||||||
|
.icon-badge--neutral { background: var(--fill-tertiary); color: var(--label-primary); }
|
||||||
|
.icon-badge--accent { background: color-mix(in srgb, var(--napps-accent) 15%, transparent); color: var(--napps-accent); }
|
||||||
|
|
||||||
|
/* ============================================================
|
||||||
|
SURFACES — hiérarchie de fond, jamais d'ombre pour distinguer
|
||||||
|
les niveaux (voir "Couches de couleur" dans les planches A4).
|
||||||
|
============================================================ */
|
||||||
|
.surface-page { background: var(--bg-page); }
|
||||||
|
.surface-grouped { background: var(--bg-grouped); border-radius: var(--radius-card); }
|
||||||
|
.surface-nested { background: var(--bg-nested); border-radius: calc(var(--radius-card) - 4px); }
|
||||||
|
|
||||||
|
/* ============================================================
|
||||||
|
TYPOGRAPHIE — une classe par échelon. La hiérarchie se lit
|
||||||
|
dans le POIDS autant que dans la taille (headline == body en
|
||||||
|
taille, 17px, seul le poids change).
|
||||||
|
============================================================ */
|
||||||
|
.text-large-title { font: var(--text-large-title-weight) var(--text-large-title-size)/var(--text-large-title-line) var(--font-family); letter-spacing: var(--text-large-title-tracking); margin: 0; }
|
||||||
|
.text-title1 { font: var(--text-title1-weight) var(--text-title1-size)/var(--text-title1-line) var(--font-family); margin: 0; }
|
||||||
|
.text-title2 { font: var(--text-title2-weight) var(--text-title2-size)/var(--text-title2-line) var(--font-family); margin: 0; }
|
||||||
|
.text-title3 { font: var(--text-title3-weight) var(--text-title3-size)/var(--text-title3-line) var(--font-family); margin: 0; }
|
||||||
|
.text-headline { font: var(--text-headline-weight) var(--text-headline-size)/var(--text-headline-line) var(--font-family); letter-spacing: var(--text-headline-tracking); margin: 0; }
|
||||||
|
.text-body { font: var(--text-body-weight) var(--text-body-size)/var(--text-body-line) var(--font-family); letter-spacing: var(--text-body-tracking); margin: 0; }
|
||||||
|
.text-callout { font: var(--text-callout-weight) var(--text-callout-size)/var(--text-callout-line) var(--font-family); margin: 0; }
|
||||||
|
.text-subheadline { font: var(--text-subheadline-weight) var(--text-subheadline-size)/var(--text-subheadline-line) var(--font-family); margin: 0; }
|
||||||
|
.text-footnote { font: var(--text-footnote-weight) var(--text-footnote-size)/var(--text-footnote-line) var(--font-family); margin: 0; }
|
||||||
|
.text-caption1 { font: var(--text-caption1-weight) var(--text-caption1-size)/var(--text-caption1-line) var(--font-family); margin: 0; }
|
||||||
|
.text-caption2 { font: var(--text-caption2-weight) var(--text-caption2-size)/var(--text-caption2-line) var(--font-family); margin: 0; }
|
||||||
|
|
||||||
|
.text-primary { color: var(--label-primary); }
|
||||||
|
.text-secondary { color: var(--label-secondary); }
|
||||||
|
.text-tertiary { color: var(--label-tertiary); }
|
||||||
|
.text-quaternary { color: var(--label-quaternary); }
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"target": "ES2020",
|
||||||
|
"lib": ["ES2020", "DOM"],
|
||||||
|
"jsx": "react-jsx",
|
||||||
|
"module": "ESNext",
|
||||||
|
"moduleResolution": "Bundler",
|
||||||
|
"declaration": true,
|
||||||
|
"strict": true,
|
||||||
|
"esModuleInterop": true,
|
||||||
|
"skipLibCheck": true,
|
||||||
|
"forceConsistentCasingInFileNames": true,
|
||||||
|
"outDir": "dist"
|
||||||
|
},
|
||||||
|
"include": ["src"]
|
||||||
|
}
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
import { defineConfig } from 'tsup';
|
||||||
|
|
||||||
|
export default defineConfig({
|
||||||
|
entry: ['src/index.ts'],
|
||||||
|
format: ['esm', 'cjs'],
|
||||||
|
dts: true,
|
||||||
|
splitting: false,
|
||||||
|
sourcemap: true,
|
||||||
|
clean: true,
|
||||||
|
external: ['react', 'react-dom'],
|
||||||
|
injectStyle: false,
|
||||||
|
});
|
||||||
+261
@@ -0,0 +1,261 @@
|
|||||||
|
/*
|
||||||
|
nApps — Design Tokens (v1)
|
||||||
|
Direction retenue : A4 — Précision / Vibrance
|
||||||
|
Source : audit du kit Figma "iOS and iPadOS 27 (Community)" — voir figma-kit-audit.md
|
||||||
|
Principe : les MÉCANIQUES (hiérarchie par opacité, échelle de fills, deux familles de
|
||||||
|
matière) sont reprises du vrai système Apple. Les VALEURS de marque (accent, typographie,
|
||||||
|
rayons) restent propres à nApps — jamais de copie de SF Pro / SF Symbols / bleu système.
|
||||||
|
*/
|
||||||
|
|
||||||
|
:root {
|
||||||
|
/* ===== Accent — propre à nApps, jamais le bleu système Apple (#0088FF) ===== */
|
||||||
|
--napps-accent: #0B6CFF;
|
||||||
|
--napps-success: #1FA968;
|
||||||
|
--napps-warning: #D68C1B;
|
||||||
|
--napps-error: #E6483D;
|
||||||
|
|
||||||
|
/* ===== Labels — hiérarchie par OPACITÉ du noir, pas par des gris séparés =====
|
||||||
|
Découverte de l'audit : Apple encode primary/secondary/tertiary en assombrissant
|
||||||
|
un seul noir, jamais avec une palette de gris. Un token qui s'adapte à n'importe
|
||||||
|
quel fond au lieu d'une variante par contexte. */
|
||||||
|
--label-primary: rgba(0, 0, 0, 1);
|
||||||
|
--label-secondary: rgba(0, 0, 0, 0.6);
|
||||||
|
--label-tertiary: rgba(0, 0, 0, 0.3);
|
||||||
|
--label-quaternary: rgba(0, 0, 0, 0.18);
|
||||||
|
|
||||||
|
/* ===== Fills — fonds de contrôle translucides, 3 paliers d'opacité =====
|
||||||
|
primary > secondary > tertiary : plus une surface est "au premier plan"
|
||||||
|
(un bouton qu'on presse), plus l'opacité est haute. */
|
||||||
|
--fill-primary: rgba(0, 0, 0, 0.2);
|
||||||
|
--fill-secondary: rgba(0, 0, 0, 0.16);
|
||||||
|
--fill-tertiary: rgba(0, 0, 0, 0.12);
|
||||||
|
|
||||||
|
--separator: rgba(0, 0, 0, 0.1);
|
||||||
|
|
||||||
|
/* ===== Surfaces — hiérarchie de fond par couleur, PAS par ombre =====
|
||||||
|
page → groupée → imbriquée. Jamais d'ombre pour distinguer les niveaux. */
|
||||||
|
--bg-page: #F5F6F9;
|
||||||
|
--bg-grouped: #FFFFFF;
|
||||||
|
--bg-nested: #EDEFF3;
|
||||||
|
|
||||||
|
/* ===== Rayons ===== */
|
||||||
|
--radius-pill: 999px;
|
||||||
|
--radius-card: 16px;
|
||||||
|
--radius-card-lg: 20px;
|
||||||
|
--radius-sheet-top: 24px;
|
||||||
|
--radius-sheet-bottom: 32px;
|
||||||
|
|
||||||
|
/* ===== Cible tactile minimale ===== */
|
||||||
|
--tap-target-min: 44px;
|
||||||
|
|
||||||
|
/* ===== Typographie — échelle réelle (points Apple), police nApps (Manrope) =====
|
||||||
|
Taille/graisse/interligne/tracking vérifiés sur le kit — la hiérarchie se fait
|
||||||
|
autant par le POIDS que par la taille (Headline et Body partagent 17pt). */
|
||||||
|
--font-family: 'Manrope', sans-serif;
|
||||||
|
|
||||||
|
--text-large-title-size: 34px; --text-large-title-line: 41px; --text-large-title-weight: 800; --text-large-title-tracking: -0.02em;
|
||||||
|
--text-title1-size: 28px; --text-title1-line: 34px; --text-title1-weight: 700;
|
||||||
|
--text-title2-size: 22px; --text-title2-line: 28px; --text-title2-weight: 700;
|
||||||
|
--text-title3-size: 20px; --text-title3-line: 25px; --text-title3-weight: 600;
|
||||||
|
--text-headline-size: 17px; --text-headline-line: 22px; --text-headline-weight: 700; --text-headline-tracking: -0.43px;
|
||||||
|
--text-body-size: 17px; --text-body-line: 22px; --text-body-weight: 400; --text-body-tracking: -0.43px;
|
||||||
|
--text-callout-size: 16px; --text-callout-line: 21px; --text-callout-weight: 400;
|
||||||
|
--text-subheadline-size: 15px; --text-subheadline-line: 20px; --text-subheadline-weight: 400;
|
||||||
|
--text-footnote-size: 13px; --text-footnote-line: 18px; --text-footnote-weight: 400;
|
||||||
|
--text-caption1-size: 12px; --text-caption1-line: 16px; --text-caption1-weight: 400;
|
||||||
|
--text-caption2-size: 11px; --text-caption2-line: 13px; --text-caption2-weight: 400;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ============================================================
|
||||||
|
DARK MODE — les tokens ne sont jamais une simple inversion.
|
||||||
|
Découverte de l'audit : fills/secondary passe de 16% à 32% en
|
||||||
|
dark (pas juste "même valeur sur fond sombre") ; les surfaces
|
||||||
|
s'ÉCLAIRCISSENT en montant (page < groupée < imbriquée), à
|
||||||
|
l'inverse du light. Chaque token dark est vérifié, pas déduit.
|
||||||
|
============================================================ */
|
||||||
|
:root[data-theme="dark"] {
|
||||||
|
--napps-accent: #4C93FF;
|
||||||
|
--napps-success: #43C283;
|
||||||
|
--napps-warning: #E8AC52;
|
||||||
|
--napps-error: #F17B70;
|
||||||
|
|
||||||
|
--label-primary: rgba(255, 255, 255, 1);
|
||||||
|
--label-secondary: rgba(255, 255, 255, 0.6);
|
||||||
|
--label-tertiary: rgba(255, 255, 255, 0.3);
|
||||||
|
--label-quaternary: rgba(255, 255, 255, 0.18);
|
||||||
|
|
||||||
|
--fill-primary: rgba(255, 255, 255, 0.24);
|
||||||
|
--fill-secondary: rgba(255, 255, 255, 0.32);
|
||||||
|
--fill-tertiary: rgba(255, 255, 255, 0.16);
|
||||||
|
|
||||||
|
--separator: rgba(255, 255, 255, 0.12);
|
||||||
|
|
||||||
|
--bg-page: #15171C;
|
||||||
|
--bg-grouped: #1D1F26;
|
||||||
|
--bg-nested: #262930;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ============================================================
|
||||||
|
MATÉRIAUX — DEUX familles seulement (pas une par composant) :
|
||||||
|
1. "control" — bouton flottant, barre d'outils, capsule isolée
|
||||||
|
2. "panel" — grande surface de dialogue (feuille, menu contextuel)
|
||||||
|
============================================================ */
|
||||||
|
.material-control {
|
||||||
|
background: rgba(255, 255, 255, 0.55);
|
||||||
|
backdrop-filter: blur(46px) saturate(1.6);
|
||||||
|
-webkit-backdrop-filter: blur(46px) saturate(1.6);
|
||||||
|
box-shadow:
|
||||||
|
inset 0 1px 0 rgba(255, 255, 255, 0.6),
|
||||||
|
inset 0 -1px 0 rgba(0, 0, 0, 0.04),
|
||||||
|
0 8px 15px rgba(0, 0, 0, 0.02);
|
||||||
|
}
|
||||||
|
:root[data-theme="dark"] .material-control {
|
||||||
|
background: rgba(38, 41, 48, 0.5);
|
||||||
|
backdrop-filter: blur(46px) saturate(1.4);
|
||||||
|
-webkit-backdrop-filter: blur(46px) saturate(1.4);
|
||||||
|
box-shadow:
|
||||||
|
inset 0 1px 0 rgba(255, 255, 255, 0.06),
|
||||||
|
inset 0 -1px 0 rgba(0, 0, 0, 0.3),
|
||||||
|
0 8px 15px rgba(0, 0, 0, 0.35);
|
||||||
|
}
|
||||||
|
|
||||||
|
.material-panel {
|
||||||
|
background: rgba(255, 255, 255, 0.85);
|
||||||
|
backdrop-filter: blur(30px);
|
||||||
|
-webkit-backdrop-filter: blur(30px);
|
||||||
|
box-shadow: 0 8px 48px rgba(0, 0, 0, 0.25);
|
||||||
|
}
|
||||||
|
:root[data-theme="dark"] .material-panel {
|
||||||
|
background: rgba(20, 20, 20, 0.85);
|
||||||
|
backdrop-filter: blur(30px);
|
||||||
|
-webkit-backdrop-filter: blur(30px);
|
||||||
|
box-shadow: 0 8px 48px rgba(0, 0, 0, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ============================================================
|
||||||
|
COMPOSANTS de référence — construits uniquement à partir des
|
||||||
|
tokens ci-dessus. Aucune valeur ad hoc.
|
||||||
|
============================================================ */
|
||||||
|
|
||||||
|
/* Bouton primaire (= Bordered-Prominent d'Apple) */
|
||||||
|
.btn-primary {
|
||||||
|
background: var(--napps-accent);
|
||||||
|
color: #FFFFFF;
|
||||||
|
border: none;
|
||||||
|
border-radius: var(--radius-pill);
|
||||||
|
min-height: var(--tap-target-min);
|
||||||
|
padding: 0 22px;
|
||||||
|
font: var(--text-body-weight) var(--text-body-size)/var(--text-body-line) var(--font-family);
|
||||||
|
letter-spacing: var(--text-body-tracking);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Bouton secondaire discret (= Bordered d'Apple — PAS un contour) */
|
||||||
|
.btn-secondary {
|
||||||
|
background: var(--fill-tertiary);
|
||||||
|
color: var(--napps-accent);
|
||||||
|
border: none;
|
||||||
|
border-radius: var(--radius-pill);
|
||||||
|
min-height: var(--tap-target-min);
|
||||||
|
padding: 0 22px;
|
||||||
|
font: var(--text-body-weight) var(--text-body-size)/var(--text-body-line) var(--font-family);
|
||||||
|
letter-spacing: var(--text-body-tracking);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Segmented control */
|
||||||
|
.segmented-control {
|
||||||
|
display: inline-flex;
|
||||||
|
background: var(--fill-tertiary);
|
||||||
|
border-radius: var(--radius-pill);
|
||||||
|
padding: 2px;
|
||||||
|
gap: 2px;
|
||||||
|
}
|
||||||
|
.segmented-control__item {
|
||||||
|
padding: 3px 12px;
|
||||||
|
border-radius: var(--radius-pill);
|
||||||
|
font-size: 13.3px;
|
||||||
|
font-weight: 510;
|
||||||
|
color: var(--label-primary);
|
||||||
|
min-height: 28px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.segmented-control__item--selected {
|
||||||
|
background: var(--bg-grouped);
|
||||||
|
font-weight: 600;
|
||||||
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Toggle */
|
||||||
|
.toggle {
|
||||||
|
width: 64px;
|
||||||
|
height: 28px;
|
||||||
|
border-radius: var(--radius-pill);
|
||||||
|
background: var(--label-tertiary);
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.toggle--on { background: var(--napps-success); }
|
||||||
|
.toggle__knob {
|
||||||
|
width: 24px; height: 24px;
|
||||||
|
border-radius: var(--radius-pill);
|
||||||
|
background: #FFFFFF;
|
||||||
|
position: absolute; top: 2px; left: 2px;
|
||||||
|
}
|
||||||
|
.toggle--on .toggle__knob { left: auto; right: 2px; }
|
||||||
|
|
||||||
|
/* List row */
|
||||||
|
.list-row {
|
||||||
|
border-top: 1px solid var(--separator);
|
||||||
|
padding: 0 16px;
|
||||||
|
min-height: 52px;
|
||||||
|
display: flex; align-items: center;
|
||||||
|
}
|
||||||
|
.list-row__title { font-size: var(--text-body-size); color: var(--label-primary); }
|
||||||
|
.list-row__subtitle { font-size: var(--text-subheadline-size); color: var(--label-secondary); }
|
||||||
|
|
||||||
|
/* Text field */
|
||||||
|
.text-field {
|
||||||
|
border-top: 1px solid var(--separator);
|
||||||
|
padding: 16px;
|
||||||
|
min-height: 52px;
|
||||||
|
}
|
||||||
|
.text-field--placeholder { color: var(--label-tertiary); }
|
||||||
|
.text-field__cursor { width: 2px; height: 22px; border-radius: 10px; background: var(--napps-accent); }
|
||||||
|
|
||||||
|
/* Empty state — badge circulaire réutilisable (Activity View + Empty State du kit) */
|
||||||
|
.icon-badge {
|
||||||
|
width: 50px; height: 50px;
|
||||||
|
border-radius: var(--radius-pill);
|
||||||
|
display: flex; align-items: center; justify-content: center;
|
||||||
|
}
|
||||||
|
.icon-badge--neutral { background: var(--fill-tertiary); color: var(--label-primary); }
|
||||||
|
.icon-badge--accent { background: color-mix(in srgb, var(--napps-accent) 15%, transparent); color: var(--napps-accent); }
|
||||||
|
|
||||||
|
/* ============================================================
|
||||||
|
SURFACES — hiérarchie de fond, jamais d'ombre pour distinguer
|
||||||
|
les niveaux (voir "Couches de couleur" dans les planches A4).
|
||||||
|
============================================================ */
|
||||||
|
.surface-page { background: var(--bg-page); }
|
||||||
|
.surface-grouped { background: var(--bg-grouped); border-radius: var(--radius-card); }
|
||||||
|
.surface-nested { background: var(--bg-nested); border-radius: calc(var(--radius-card) - 4px); }
|
||||||
|
|
||||||
|
/* ============================================================
|
||||||
|
TYPOGRAPHIE — une classe par échelon. La hiérarchie se lit
|
||||||
|
dans le POIDS autant que dans la taille (headline == body en
|
||||||
|
taille, 17px, seul le poids change).
|
||||||
|
============================================================ */
|
||||||
|
.text-large-title { font: var(--text-large-title-weight) var(--text-large-title-size)/var(--text-large-title-line) var(--font-family); letter-spacing: var(--text-large-title-tracking); margin: 0; }
|
||||||
|
.text-title1 { font: var(--text-title1-weight) var(--text-title1-size)/var(--text-title1-line) var(--font-family); margin: 0; }
|
||||||
|
.text-title2 { font: var(--text-title2-weight) var(--text-title2-size)/var(--text-title2-line) var(--font-family); margin: 0; }
|
||||||
|
.text-title3 { font: var(--text-title3-weight) var(--text-title3-size)/var(--text-title3-line) var(--font-family); margin: 0; }
|
||||||
|
.text-headline { font: var(--text-headline-weight) var(--text-headline-size)/var(--text-headline-line) var(--font-family); letter-spacing: var(--text-headline-tracking); margin: 0; }
|
||||||
|
.text-body { font: var(--text-body-weight) var(--text-body-size)/var(--text-body-line) var(--font-family); letter-spacing: var(--text-body-tracking); margin: 0; }
|
||||||
|
.text-callout { font: var(--text-callout-weight) var(--text-callout-size)/var(--text-callout-line) var(--font-family); margin: 0; }
|
||||||
|
.text-subheadline { font: var(--text-subheadline-weight) var(--text-subheadline-size)/var(--text-subheadline-line) var(--font-family); margin: 0; }
|
||||||
|
.text-footnote { font: var(--text-footnote-weight) var(--text-footnote-size)/var(--text-footnote-line) var(--font-family); margin: 0; }
|
||||||
|
.text-caption1 { font: var(--text-caption1-weight) var(--text-caption1-size)/var(--text-caption1-line) var(--font-family); margin: 0; }
|
||||||
|
.text-caption2 { font: var(--text-caption2-weight) var(--text-caption2-size)/var(--text-caption2-line) var(--font-family); margin: 0; }
|
||||||
|
|
||||||
|
.text-primary { color: var(--label-primary); }
|
||||||
|
.text-secondary { color: var(--label-secondary); }
|
||||||
|
.text-tertiary { color: var(--label-tertiary); }
|
||||||
|
.text-quaternary { color: var(--label-quaternary); }
|
||||||
Reference in New Issue
Block a user