Skip to content

Commit

Permalink
use EB Garamond (#176)
Browse files Browse the repository at this point in the history
* use EB Garamond

* remove cardo
  • Loading branch information
Rich-Harris authored Sep 29, 2024
1 parent c9a046f commit d9cc357
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/site-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"homepage": "https://github.com/sveltejs/svelte.dev/tree/main/packages/site-kit#readme",
"dependencies": {
"@fontsource/cardo": "^5.1.0",
"@fontsource/eb-garamond": "^5.1.0",
"@fontsource/fira-mono": "^5.1.0",
"@fontsource/yantramanav": "^5.1.0",
"esm-env": "^1.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/site-kit/src/lib/styles/index.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@import '@fontsource/cardo';
@import '@fontsource/cardo/400-italic.css';
@import '@fontsource/eb-garamond';
@import '@fontsource/eb-garamond/400-italic.css';
@import '@fontsource/fira-mono';

/* TODO figure out which weights we actually need */
Expand Down
4 changes: 2 additions & 2 deletions packages/site-kit/src/lib/styles/tokens.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
/* typography */
--sk-font-heading: 'Yantramanav', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
--sk-font-body: Cardo, 'Big Caslon', Palatino, 'Book Antiqua', Cambria, serif;
--sk-font-body: 'EB Garamond', 'Big Caslon', Palatino, 'Book Antiqua', Cambria, serif;
--sk-font-mono: 'Fira Mono', monospace;
--sk-text-xxl: 3.6rem;
--sk-text-xl: 3rem;
--sk-text-l: 2.4rem;
--sk-text-m: 2rem;
--sk-text-s: 1.7rem;
--sk-text-s: 1.8rem;
--sk-text-xs: 1.4rem;
--sk-line-max-width: 84rem;

Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d9cc357

Please sign in to comment.