Fonts: drop body antialiased so text renders at the reference weight
The <body> carried Tailwind's `antialiased` (-webkit-font-smoothing: antialiased), which inherits through the whole tree and renders every chat/message/UI text thinner & lighter than WorkClaw. WorkClaw leaves the browser default (`auto`), giving the crisper/heavier weight. Removed the class — body is now just `min-h-full`; computed -webkit-font-smoothing is `auto`. The font itself was always 14px/400 Geist; only the smoothing differed. Global rendering change → regenerated all 7 visual baselines; full suite (37) green. Co-Authored-By: Claude Fable 5 <[email protected]>
@@ -44,7 +44,11 @@ export default function RootLayout({
|
|||||||
}: Readonly<{ children: React.ReactNode }>) {
|
}: Readonly<{ children: React.ReactNode }>) {
|
||||||
return (
|
return (
|
||||||
<html lang="en" className={`${geist.variable} ${geistMono.variable} h-full`}>
|
<html lang="en" className={`${geist.variable} ${geistMono.variable} h-full`}>
|
||||||
<body className="min-h-full antialiased">
|
{/* No `antialiased` (-webkit-font-smoothing: antialiased) — it inherits
|
||||||
|
everywhere and renders text thinner/lighter than the reference. The
|
||||||
|
browser default (`auto`) gives the crisper/heavier weight WorkClaw
|
||||||
|
uses. */}
|
||||||
|
<body className="min-h-full">
|
||||||
<IdentityProvider>
|
<IdentityProvider>
|
||||||
<NuqsAdapter>{children}</NuqsAdapter>
|
<NuqsAdapter>{children}</NuqsAdapter>
|
||||||
</IdentityProvider>
|
</IdentityProvider>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 56 KiB |
|
Before Width: | Height: | Size: 198 KiB After Width: | Height: | Size: 198 KiB |
|
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 288 KiB After Width: | Height: | Size: 282 KiB |
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |