Skip to content

Commit d9cc357

Browse files
authored
use EB Garamond (#176)
* use EB Garamond * remove cardo
1 parent c9a046f commit d9cc357

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

packages/site-kit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
},
2222
"homepage": "https://github.com/sveltejs/svelte.dev/tree/main/packages/site-kit#readme",
2323
"dependencies": {
24-
"@fontsource/cardo": "^5.1.0",
24+
"@fontsource/eb-garamond": "^5.1.0",
2525
"@fontsource/fira-mono": "^5.1.0",
2626
"@fontsource/yantramanav": "^5.1.0",
2727
"esm-env": "^1.0.0",

packages/site-kit/src/lib/styles/index.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
@import '@fontsource/cardo';
2-
@import '@fontsource/cardo/400-italic.css';
1+
@import '@fontsource/eb-garamond';
2+
@import '@fontsource/eb-garamond/400-italic.css';
33
@import '@fontsource/fira-mono';
44

55
/* TODO figure out which weights we actually need */

packages/site-kit/src/lib/styles/tokens.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@
2424
/* typography */
2525
--sk-font-heading: 'Yantramanav', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
2626
Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
27-
--sk-font-body: Cardo, 'Big Caslon', Palatino, 'Book Antiqua', Cambria, serif;
27+
--sk-font-body: 'EB Garamond', 'Big Caslon', Palatino, 'Book Antiqua', Cambria, serif;
2828
--sk-font-mono: 'Fira Mono', monospace;
2929
--sk-text-xxl: 3.6rem;
3030
--sk-text-xl: 3rem;
3131
--sk-text-l: 2.4rem;
3232
--sk-text-m: 2rem;
33-
--sk-text-s: 1.7rem;
33+
--sk-text-s: 1.8rem;
3434
--sk-text-xs: 1.4rem;
3535
--sk-line-max-width: 84rem;
3636

pnpm-lock.yaml

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)