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

80 lines
5.5 KiB
HTML
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!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>