style(lms): синхронизировать типографику со шкалой ДС-2 (+2px)

Переопределены токены шкалы Tailwind (--text-xs…--text-5xl) на +2px,
базовый размер body 18px, размеры компонентных классов (.btn-aubade,
.tag-aubade, .admin-sidebar-nav-link) и инлайновые fontSize приведены
к канону дизайн-системы ДС-2. Rem-база (html 16px) не тронута —
спейсинг и сетка не затронуты, растёт только текст.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-18 17:06:00 +05:00
parent 47840901c5
commit c94a8dafa9
19 changed files with 33 additions and 21 deletions
+15 -3
View File
@@ -31,6 +31,17 @@
--radius-lg: var(--radius);
--radius-xl: calc(var(--radius) * 1.4);
--radius-2xl: calc(var(--radius) * 1.8);
/* Типографическая шкала — канон ДС-2, +2px к дефолту Tailwind */
--text-xs: 14px;
--text-sm: 16px;
--text-base: 18px;
--text-lg: 20px;
--text-xl: 22px;
--text-2xl: 26px;
--text-3xl: 32px;
--text-4xl: 38px;
--text-5xl: 50px;
}
/* ── Light mode: Second Brain palette ──────────────────────────────── */
@@ -84,6 +95,7 @@
body {
background-color: var(--background);
color: var(--foreground);
font-size: 18px;
}
}
@@ -105,7 +117,7 @@
justify-content: center;
padding: 6px 16px;
font-family: var(--font-sans);
font-size: 0.875rem;
font-size: 16px;
font-weight: 500;
border: var(--aubade-thickness) solid var(--foreground);
box-shadow: var(--aubade-shadow-offset) var(--aubade-shadow-offset) 0 0 var(--foreground);
@@ -134,7 +146,7 @@
background-color: var(--color-surface);
border: var(--aubade-thickness) solid transparent;
padding: 2px 8px;
font-size: 0.65rem;
font-size: 13px;
text-transform: uppercase;
letter-spacing: 0.1em;
font-weight: 700;
@@ -167,7 +179,7 @@
.admin-sidebar-nav-link {
display: block;
padding: 8px 12px;
font-size: 0.875rem;
font-size: 16px;
color: var(--sidebar-text);
text-decoration: none;
border-left: 2px solid transparent;