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

174 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=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 &amp; 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>