Files
design-system/kit-audit/Typography.dc.html
T
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

79 lines
5.7 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=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>