Skip to content

Commit 046390d

Browse files
committed
update again - realized i was defining font family in multiple places
1 parent bb24efa commit 046390d

File tree

2 files changed

+11
-17
lines changed

2 files changed

+11
-17
lines changed

_sass/_font.scss

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
1-
/* sans serif */
2-
body {
3-
font-family: system-ui, -apple-system, BlinkMacSystemFont,
4-
"Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
5-
}
6-
71
/* eb-garamond-regular - latin */
8-
@font-face {
9-
font-family: 'EB Garamond';
10-
font-style: normal;
11-
font-weight: 400;
12-
font-display: swap;
13-
src:
14-
url('#{$asset_url}/fonts/eb-garamond-v9-latin-regular.woff2') format('woff2'),
15-
url('#{$asset_url}/fonts/eb-garamond-v9-latin-regular.woff') format('woff'),
16-
url('#{$asset_url}/fonts/eb-garamond-v9-latin-regular.ttf') format('truetype');
17-
}
2+
// @font-face {
3+
// font-family: 'EB Garamond';
4+
// font-style: normal;
5+
// font-weight: 400;
6+
// font-display: swap;
7+
// src:
8+
// url('#{$asset_url}/fonts/eb-garamond-v9-latin-regular.woff2') format('woff2'),
9+
// url('#{$asset_url}/fonts/eb-garamond-v9-latin-regular.woff') format('woff'),
10+
// url('#{$asset_url}/fonts/eb-garamond-v9-latin-regular.ttf') format('truetype');
11+
// }

_sass/_variables.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ $brand-color: #f3f2ef;
22
$highlight: lighten($brand-color, 35%);
33
$text-color: #2b2a26;
44
$muted-text-color: #474641;
5-
$font-family: 'EB Garamond', serif;
5+
$font-family: 'EB Garamond', 'Garamond', serif;
66

77
$on-bigphone: 375px;
88
$on-tablet: 768px;

0 commit comments

Comments
 (0)