Skip to content

Commit 7d9e24b

Browse files
committed
fix: match header wordmark to product typography
Render the SQLStack header wordmark in Space Grotesk 700 with normal letter-spacing, matching the product names, while keeping its 22px size.
1 parent 8f97688 commit 7d9e24b

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

‎styles.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ img { display: block; object-fit: contain; }
6868
.site-header { border-bottom: 1px solid var(--line); }
6969
.header-inner { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
7070
.brand { display: inline-flex; align-items: center; gap: 3px; color: var(--ink); text-decoration: none; }
71-
.brand span { font-size: 22px; font-weight: 750; letter-spacing: -.8px; }
71+
.brand span { font-family: "Space Grotesk", sans-serif; font-size: 22px; font-weight: 700; letter-spacing: 0; }
7272
.nav-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; color: var(--muted); }
7373
.nav-icon:hover { color: var(--ink); }
7474
.nav-icon:focus-visible { outline-offset: 3px; }

‎tests/website.spec.mjs‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ test('approved products, sharing assets and responsive navigation work in both t
5050
await expect(page.getByRole('heading', { level: 1 })).toHaveText('Your data stack. Engineered for safer change.');
5151
await expect(page.locator('.hero .lede')).toHaveText('Rust-backed SQL and Python tools for data engineers.');
5252
await expect(page.getByRole('heading', { level: 3 })).toHaveText(names);
53+
const wordmark = page.locator('.brand span');
54+
for (const [property, value] of [['font-family', '"Space Grotesk", sans-serif'], ['font-weight', '700'], ['letter-spacing', 'normal'], ['font-size', '22px']]) {
55+
await expect(wordmark).toHaveCSS(property, value);
56+
}
5357
await expect(page.getByRole('link', { name: 'SQLStack on GitHub', exact: true })).toHaveAttribute('href', 'https://github.com/sqlstack-io');
5458
for (const [name, website] of [['SQLBuild', 'https://sqlbuild.com'], ['SQLTide', 'https://sqltide.io/'], ['SQLClean', 'https://sqlclean.io'], ['Fensu', 'https://fensu.io/']]) {
5559
const card = page.getByRole('article', { name, exact: true });

0 commit comments

Comments
 (0)