fix(web): the header name and sign-in headings use the display face
release / web (push) Canceled after 0s
release / android (push) Canceled after 0s
release / govulncheck (push) Canceled after 0s
release / Build signed APK (push) Canceled after 0s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Publish the release image to GHCR (dispatch only) (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / go (push) Canceled after 8s
release / integration (push) Canceled after 7s
release / web (push) Canceled after 0s
release / android (push) Canceled after 0s
release / govulncheck (push) Canceled after 0s
release / Build signed APK (push) Canceled after 0s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Publish the release image to GHCR (dispatch only) (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / go (push) Canceled after 8s
release / integration (push) Canceled after 7s
The app name in the header was Inter at weight 600, a weight the house style doesn't use, and read as a plain label beside Fraunces section titles. It is the wordmark, so it now takes Fraunces at 500, as page titles do, from 18px up. The sign-in, sign-up, reset and invite headings follow the same rule. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -70,14 +70,15 @@
|
|||||||
<header class="grid grid-cols-3 items-center border-b border-border bg-surface px-3 md:px-4 py-2 gap-3 md:gap-6">
|
<header class="grid grid-cols-3 items-center border-b border-border bg-surface px-3 md:px-4 py-2 gap-3 md:gap-6">
|
||||||
<!-- On a phone the header's left lane is a third of the width, too
|
<!-- On a phone the header's left lane is a third of the width, too
|
||||||
narrow for the full name, so it shows the mark alone, as the nav
|
narrow for the full name, so it shows the mark alone, as the nav
|
||||||
shows its icons alone; the link's label still names it. -->
|
shows its icons alone; the link's label still names it. The name is
|
||||||
|
the wordmark, so it takes the display face, as the page titles do. -->
|
||||||
<a
|
<a
|
||||||
href="/"
|
href="/"
|
||||||
aria-label={appName()}
|
aria-label={appName()}
|
||||||
class="flex items-center gap-2 font-semibold text-sm md:text-base whitespace-nowrap justify-self-start"
|
class="flex items-center gap-2 whitespace-nowrap justify-self-start"
|
||||||
>
|
>
|
||||||
<MinstrelMark size={28} class="shrink-0" />
|
<MinstrelMark size={28} class="shrink-0" />
|
||||||
<span class="hidden sm:inline" aria-hidden="true">{appName()}</span>
|
<span class="hidden sm:inline font-display text-lg md:text-xl font-medium leading-none" aria-hidden="true">{appName()}</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<nav aria-label="Primary" class="flex items-center justify-center gap-1 md:gap-2 justify-self-center">
|
<nav aria-label="Primary" class="flex items-center justify-center gap-1 md:gap-2 justify-self-center">
|
||||||
|
|||||||
@@ -49,7 +49,7 @@
|
|||||||
|
|
||||||
<main class="flex min-h-screen items-center justify-center bg-background text-text-primary">
|
<main class="flex min-h-screen items-center justify-center bg-background text-text-primary">
|
||||||
<div class="w-full max-w-sm rounded-lg border border-border bg-surface p-6 shadow-sm">
|
<div class="w-full max-w-sm rounded-lg border border-border bg-surface p-6 shadow-sm">
|
||||||
<h1 class="mb-6 text-center text-2xl font-semibold">{appName()}</h1>
|
<h1 class="mb-6 text-center font-display text-2xl font-medium">{appName()}</h1>
|
||||||
<form class="space-y-4" onsubmit={handleSubmit}>
|
<form class="space-y-4" onsubmit={handleSubmit}>
|
||||||
<label class="block">
|
<label class="block">
|
||||||
<span class="mb-1 block text-sm text-text-secondary">Username</span>
|
<span class="mb-1 block text-sm text-text-secondary">Username</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user