fix(design): stop synthesizing bold on Hedvig display headings (#1555)

* fix(design): stop synthesizing bold on Hedvig display headings

Hedvig Letters Serif ships weight 400 only, but the h1-h3 base rule
forced font-weight 500 and DialogTitle/SheetTitle stacked font-semibold
on top, so every display heading rendered browser-synthesized bold: the
smudged heavy look on dialog titles and page headings. Drop the base
rule to 400, remove the weight utilities from the title primitives, and
sweep the 41 files that hand-set font-medium/semibold/bold on serif
headings (a pattern design.md already forbids). Headings that opt into
font-sans keep their weight.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* fix(design): drop empty className left by the weight sweep

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Jakob Wennberg <311770904+jakobwennberg-oss@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Jakob Wennberg
2026-08-13 11:27:25 +02:00
committed by GitHub
co-authored by Claude Fable 5 Jakob Wennberg
parent e51a2c8102
commit 314efe8b22
41 changed files with 75 additions and 74 deletions
@@ -14,7 +14,7 @@ export default function EmptyExtensionState({
return (
<div className="flex flex-col items-center justify-center py-16 text-center">
{icon ?? <Puzzle className="h-12 w-12 text-muted-foreground/40 mb-4" />}
<h3 className="text-lg font-medium text-foreground">{title}</h3>
<h3 className="text-lg text-foreground">{title}</h3>
<p className="text-sm text-muted-foreground mt-1 max-w-md">{description}</p>
</div>
)
+1 -1
View File
@@ -45,7 +45,7 @@ export default function SetupPrompt({ title, description, fields, onSave }: Setu
<div className="inline-flex items-center justify-center w-12 h-12 rounded-full bg-muted mb-3">
<Settings className="h-6 w-6 text-muted-foreground" />
</div>
<h3 className="font-semibold">{title}</h3>
<h3>{title}</h3>
<p className="text-sm text-muted-foreground mt-1">{description}</p>
</div>
<form onSubmit={handleSubmit} className="space-y-4">