diff --git a/src/components/primitives/CodeBlock.astro b/src/components/primitives/CodeBlock.astro index 23ef3f5..ac910ee 100644 --- a/src/components/primitives/CodeBlock.astro +++ b/src/components/primitives/CodeBlock.astro @@ -33,13 +33,14 @@ const { tone = 'gold', label } = Astro.props; background: var(--ink); } - /* `font:` shorthand so check-tokens.mjs (which only matches `font-size: Npx`) - leaves us alone. */ - .code-block code { - font: - 12px/1.75 'DM Mono', - monospace; - } + /* Deliberately no font declaration. `.worktrees pre` — the block this + component reproduces — sets none either, so the text inherits the UA + default for `pre`. Declaring one here would change how the page renders, + which is a redesign, not a refactor. + Two *other* legacy blocks do set one, and neither is this component's job: + `chapters.css .panel code` (14px/1.8 ui-monospace) and + `skills-review/styles.css .preview code` (12px/1.65 ui-monospace). Whoever + migrates those needs tokens for them first. */ /* Lighter text used by `.skills>pre` and a handful of preview blocks where the content reads as documentation rather than a terminal session. */ diff --git a/src/components/primitives/Eyebrow.astro b/src/components/primitives/Eyebrow.astro index fdde4e0..82ad33b 100644 --- a/src/components/primitives/Eyebrow.astro +++ b/src/components/primitives/Eyebrow.astro @@ -30,9 +30,15 @@ const { label, tone = 'accent', as: Tag = 'p' } = Astro.props;