From ef5e8e8b42c36da21fce47f5338e6bf476718495 Mon Sep 17 00:00:00 2001 From: Marcos Paulo Date: Sun, 6 Sep 2026 09:38:07 +0000 Subject: [PATCH] fix: restore full-guide font scale --- scripts/verify.mjs | 6 ++++++ src/pages/full-guide.astro | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/scripts/verify.mjs b/scripts/verify.mjs index a4cb106..4b1e8b7 100644 --- a/scripts/verify.mjs +++ b/scripts/verify.mjs @@ -329,6 +329,12 @@ if ( ) ) throw new Error('missing rules responsive contract'); +if ( + !['font:700 var(--step-18) var(--font-mono)', 'font:500 var(--step-48) var(--font-mono)'].every( + (token) => builtCss.includes(token), + ) +) + throw new Error('full-guide lost its effort or skill-display type scale'); if (!has(html.review, ['id="catalog"', 'id="skill-filter"', 'id="skill-list"', 'id="detail"'])) throw new Error('missing review page-content contract'); if ( diff --git a/src/pages/full-guide.astro b/src/pages/full-guide.astro index db7b5af..b187f72 100644 --- a/src/pages/full-guide.astro +++ b/src/pages/full-guide.astro @@ -2004,7 +2004,7 @@ const base = import.meta.env.BASE_URL; cursor: pointer; } .effort-rail button b { - font: 700 1var (--step-08) var(--font-mono); + font: 700 var(--step-18) var(--font-mono); } .effort-rail button small { color: var(--muted); @@ -2564,7 +2564,7 @@ const base = import.meta.env.BASE_URL; border-bottom: 1px solid var(--guide-accent-rule); } .common-skill-detail header span { - font: 500 4var (--step-08) var(--font-mono); + font: 500 var(--step-48) var(--font-mono); opacity: 0.34; } .common-skill-detail header small {