One type system for the hero, proven in the .pen

- The Pencil frames had the term->value pairs as a single $font-body text
  node, so labels like КОМАНДА rendered in Roboto while every other label is
  Montserrat. They are now a frame with Термин ($font-heading 700/11 upper)
  and Описание ($font-body 400/14), same in V1/V2/390 frames.
- The planet art in the five new frames is an image fill again instead of a
  black rectangle (the generator wrote a solid fill).
- Nine hero roles pinned to production computed styles, written into
  DESIGN.md and checked by scripts/verify-pen.py: 0 violations on the canon.
- .pen reserialised, previous state kept in archive/snapshot-2026-11-15-b.pen.
  src/ is untouched: production already matched the table, the drift was only
  in the design file.
This commit is contained in:
FastD committed 2026-11-15 21:02:32 +03:00
1 parent 5325b929cc
commit 446ed39da8
7 files changed
+28949 -999

No files matched your search

+21
View File
@@ -206,6 +206,27 @@ components:
- **Body** (400, 16px, lh 1.5): абзацы. `.lead` 18px, описания кейсов и этапов 15px, вторичные подписи 13–14px. Мера строки держится на `max-width: 60ch`.
- **Label** (700, 13px, ls 2.5px, uppercase): eyebrow, метки полей, логотип, навигационные ссылки, подписи инпутов. Бейдж факта — 11px ls 1px.
### Hero roles (типографическая система первого экрана, 2026-11-15)
Значения сняты с прода (computed styles, 1440×900 / 1366×768 / 390×844) и зашиты в кадры `.pen`.
Правило: **заголовки и метки — только Montserrat, проза — только Roboto**; ни одна метка не набирается Roboto.
| Роль | Гарнитура | Вес | Кегль 1440 | Интерлиньяж | Трекинг | Регистр |
|---|---|---|---|---|---|---|
| H1 | Montserrat | 800 | 54 | 1.1 | 1 px | uppercase |
| Титул полосы | Montserrat | 700 | 18 | 1.1 | 0.5 px | uppercase |
| Значение стата | Montserrat | 800 | 23 | 1.0 | — | цифры |
| Подпись стата | Montserrat | 600 | 10 | 1.5 | 0.8 px | uppercase |
| Заголовок плашки | Montserrat | 700 | 12 | 1.1 | 1.2 px | uppercase |
| Термин пары | Montserrat | 700 | 11 | 1.5 | 1 px | uppercase |
| Оффер / лид | Roboto | 400 | 19 (лиды 14) | 1.5 (лиды 1.36) | — | как в тексте |
| Тело (описание пары) | Roboto | 400 | 14 | 1.36 | — | как в тексте |
| Чип | Montserrat | 600 | 12 | 1.5 | 1 px | uppercase |
Пары «термин → значение»: трек `--brief-label: 104px`, термин в label-роли, описание в теле; на ≤767
термин встаёт над описанием. Кадры `.pen` проверяются скриптом `scripts/verify-pen.py` (R1–R5, 0 нарушений).
Детали, замеры и известные дефекты формата — `design/typography-hero-2026-11-15.md`.
### Named Rules
**The Caps-Display Rule.** Заголовки (`h1, h2, h3`) — только uppercase Montserrat. Никогда не использовать uppercase для абзацев: это роль Label, она ограничена 13px и трекингом.