Skip to content

Commit cd0f0b8

Browse files
MaxDatenclaude
andcommitted
feat(fonts): use Space Grotesk for all headings and OG cards
Point --font--title to Space Grotesk (--font-logo) for h1-h5 headings and update both OG card components to use Space Grotesk for titles, creating consistent brand typography across site and social previews. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 1579125 commit cd0f0b8

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/lib/scss/typography.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ h2,
5959
h3,
6060
h4,
6161
h5 {
62-
font-family: var(--font--default);
62+
font-family: var(--font--title);
6363
line-height: var(--text-heading-leading);
6464
}
6565

src/lib/scss/variables.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
:root {
22
/* Fonts */
33
--font--default: 'Inter', sans-serif;
4-
--font--title: var(--font--default);
4+
--font--title: var(--font-logo);
55
--font-logo: 'Space Grotesk Variable', Arial, Helvetica, sans-serif;
66
--font--mono: 'JetBrains Mono', monospace;
77

src/routes/[slug]/og.jpg/OgCard.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,12 @@
143143
144144
h1 {
145145
display: flex;
146-
font-family: 'Inter Variable', 'Inter', sans-serif;
146+
font-family: 'Space Grotesk', sans-serif;
147147
font-size: 44px;
148148
line-height: 1.15;
149149
color: white;
150150
margin: 0 0 12px 0;
151-
font-weight: 800;
151+
font-weight: 700;
152152
text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
153153
}
154154

src/routes/og.jpg/ProfileOgCard.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
h1 {
129129
display: flex;
130130
flex-direction: column;
131-
font-family: 'Inter Variable', 'Inter', sans-serif;
131+
font-family: 'Space Grotesk', sans-serif;
132132
font-size: 64px;
133133
line-height: 1.1;
134134
color: white;

0 commit comments

Comments
 (0)