From 03a105b2d1f2fc7bd63e7aae8b218da451ec7da7 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Mon, 30 Sep 2024 23:19:16 -0400 Subject: [PATCH 1/4] freight text pro --- apps/svelte.dev/src/app.html | 2 ++ packages/site-kit/src/lib/styles/tokens.css | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/svelte.dev/src/app.html b/apps/svelte.dev/src/app.html index 4fcb83027..0a7c43e31 100644 --- a/apps/svelte.dev/src/app.html +++ b/apps/svelte.dev/src/app.html @@ -8,6 +8,8 @@ + + diff --git a/packages/site-kit/src/lib/styles/tokens.css b/packages/site-kit/src/lib/styles/tokens.css index 77ae1d684..512d60432 100644 --- a/packages/site-kit/src/lib/styles/tokens.css +++ b/packages/site-kit/src/lib/styles/tokens.css @@ -24,7 +24,7 @@ /* typography */ --sk-font-ui: 'Yantramanav', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; - --sk-font-body: 'EB Garamond', 'Big Caslon', Palatino, 'Book Antiqua', Cambria, serif; + --sk-font-body: 'freight-text-pro', 'Big Caslon', Palatino, 'Book Antiqua', Cambria, serif; --sk-font-heading: var(--sk-font-body); --sk-font-mono: 'Fira Mono', monospace; --sk-text-xxl: 3.6rem; From de295a0b64c170c705da203d9d9fd0b21bdbfb98 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Mon, 30 Sep 2024 23:26:38 -0400 Subject: [PATCH 2/4] bump weights --- apps/svelte.dev/src/routes/docs/[...path]/OnThisPage.svelte | 2 +- packages/site-kit/src/lib/docs/DocsContents.svelte | 2 +- packages/site-kit/src/lib/styles/base.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/svelte.dev/src/routes/docs/[...path]/OnThisPage.svelte b/apps/svelte.dev/src/routes/docs/[...path]/OnThisPage.svelte index 9a2914d03..6a20023eb 100644 --- a/apps/svelte.dev/src/routes/docs/[...path]/OnThisPage.svelte +++ b/apps/svelte.dev/src/routes/docs/[...path]/OnThisPage.svelte @@ -160,7 +160,7 @@ & label { font-size: var(--sk-text-m); - font-weight: 500; + font-weight: 600; display: block; &::before { diff --git a/packages/site-kit/src/lib/docs/DocsContents.svelte b/packages/site-kit/src/lib/docs/DocsContents.svelte index c5056f031..bb71a7915 100644 --- a/packages/site-kit/src/lib/docs/DocsContents.svelte +++ b/packages/site-kit/src/lib/docs/DocsContents.svelte @@ -97,7 +97,7 @@ padding-bottom: 0.8rem; font-size: var(--sk-text-m); font-family: var(--sk-font-heading); - font-weight: 500; + font-weight: 600; color: var(--sk-text-1); } diff --git a/packages/site-kit/src/lib/styles/base.css b/packages/site-kit/src/lib/styles/base.css index dadf47e14..6429e2bbf 100644 --- a/packages/site-kit/src/lib/styles/base.css +++ b/packages/site-kit/src/lib/styles/base.css @@ -85,7 +85,7 @@ h1 { :where(h1, h2, h3, h4, h5, h6) { position: relative; font-family: var(--sk-font-heading); - font-weight: 500; + font-weight: 600; line-height: 1.35; color: var(--sk-text-1); } From 054964ee39a2537a9f1e834f8ae378a5f8b301dd Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Tue, 1 Oct 2024 10:14:39 -0400 Subject: [PATCH 3/4] garamond-atf-text --- packages/site-kit/src/lib/styles/tokens.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/site-kit/src/lib/styles/tokens.css b/packages/site-kit/src/lib/styles/tokens.css index 512d60432..faf7d310a 100644 --- a/packages/site-kit/src/lib/styles/tokens.css +++ b/packages/site-kit/src/lib/styles/tokens.css @@ -24,7 +24,7 @@ /* typography */ --sk-font-ui: 'Yantramanav', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; - --sk-font-body: 'freight-text-pro', 'Big Caslon', Palatino, 'Book Antiqua', Cambria, serif; + --sk-font-body: 'garamond-atf-text', 'Big Caslon', Palatino, 'Book Antiqua', Cambria, serif; --sk-font-heading: var(--sk-font-body); --sk-font-mono: 'Fira Mono', monospace; --sk-text-xxl: 3.6rem; From 47ee8bf76501cfc409f9256307a5d38fc9ee9f22 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Tue, 1 Oct 2024 10:15:50 -0400 Subject: [PATCH 4/4] adobe-garamond-pro --- packages/site-kit/src/lib/styles/tokens.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/site-kit/src/lib/styles/tokens.css b/packages/site-kit/src/lib/styles/tokens.css index faf7d310a..082816ec4 100644 --- a/packages/site-kit/src/lib/styles/tokens.css +++ b/packages/site-kit/src/lib/styles/tokens.css @@ -24,7 +24,7 @@ /* typography */ --sk-font-ui: 'Yantramanav', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; - --sk-font-body: 'garamond-atf-text', 'Big Caslon', Palatino, 'Book Antiqua', Cambria, serif; + --sk-font-body: 'adobe-garamond-pro', 'Big Caslon', Palatino, 'Book Antiqua', Cambria, serif; --sk-font-heading: var(--sk-font-body); --sk-font-mono: 'Fira Mono', monospace; --sk-text-xxl: 3.6rem;