Replace Fraunces with Literata in landing headings for Cyrillic support

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
SlimusMinus
2026-10-26 18:40:39 +03:00
parent 7ca4c99218
commit ff59ce8ca6
2 changed files with 6 additions and 6 deletions

View File

@@ -21,8 +21,8 @@
-->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Onest:wght@400;500;600;700;800;900&amp;family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&amp;family=Inter:wght@400;500;600;700&amp;display=swap" media="print" onload="this.media='all'" />
<noscript><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Onest:wght@400;500;600;700;800;900&amp;family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&amp;family=Inter:wght@400;500;600;700&amp;display=swap" /></noscript>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Onest:wght@400;500;600;700;800;900&amp;family=Literata:opsz,wght@7..72,400;7..72,500;7..72,600;7..72,700&amp;family=Inter:wght@400;500;600;700&amp;display=swap" media="print" onload="this.media='all'" />
<noscript><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Onest:wght@400;500;600;700;800;900&amp;family=Literata:opsz,wght@7..72,400;7..72,500;7..72,600;7..72,700&amp;family=Inter:wght@400;500;600;700&amp;display=swap" /></noscript>
<!--
API Яндекс.Карт — async, а не defer: defer-скрипты выполняются по порядку,
и бандл приложения ждал бы загрузку карт. Код карты сам дожидается

View File

@@ -1,4 +1,4 @@
/* Шрифты (Fraunces, Inter) подключаются в public/index.html */
/* Шрифты (Literata, Inter) подключаются в public/index.html */
/*
Design tokens live scoped to .nk-page so nothing outside this page
@@ -301,7 +301,7 @@
}
.nk-h1 {
font-family: 'Fraunces', serif;
font-family: 'Literata', serif;
font-weight: 600;
font-size: clamp(28px, 4.5vw, 56px);
line-height: 1.06;
@@ -378,7 +378,7 @@
/* ---------- Steps (kept in sync in case re-enabled) ---------- */
.nk-h2 {
font-family: 'Fraunces', serif;
font-family: 'Literata', serif;
font-size: clamp(24px, 3vw, 34px);
font-weight: 600;
letter-spacing: -0.01em;
@@ -410,7 +410,7 @@
}
.nk-step-num {
font-family: 'Fraunces', serif;
font-family: 'Literata', serif;
font-size: 15px;
color: var(--nk-signal);
font-weight: 600;