Files
nathanduquet 5faf478c1e Étoffer la bibliothèque : Card, Badge, formulaires avancés, feedback, navigation
Ajoute Card, Badge, Checkbox, Radio, Select, Spinner, EmptyState, Dialog,
TabBar et Toolbar au package @napps/design-system, tous construits à partir
des tokens existants (fills, labels par opacité, deux familles de matière) —
aucune valeur ad hoc introduite.
2026-09-17 12:33:01 +02:00

175 lines
11 KiB
HTML
Executable File

<!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 &amp; 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>