Skip to content

Commit 6f8ce66

Browse files
authored
Update body font to 'Google Sans Text' (#5095)
Fixes #3792
1 parent 9fbfb5e commit 6f8ce66

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

src/_includes/head.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
<link href="https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500;700&display=swap" rel="stylesheet">
6262
<link href="https://fonts.googleapis.com/css2?family=Google+Sans+Display:wght@400&display=swap" rel="stylesheet">
6363
<link href="https://fonts.googleapis.com/css2?family=Google+Sans+Mono:wght@400;500;700&display=swap" rel="stylesheet">
64-
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet">
64+
<link href="https://fonts.googleapis.com/css2?family=Google+Sans+Text:wght@400;500;700&display=swap" rel="stylesheet">
6565
<link href="https://fonts.googleapis.com/icon?family=Material+Icons&display=swap" rel="stylesheet">
6666

6767
<link rel="stylesheet" href="{{ '/assets/css/main.css' | append: cache_bust }}">

src/_sass/components/_banner.scss

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@
88
z-index: 1000;
99

1010
&__text {
11-
font-family: $site-font-family-base;
11+
font-family: $site-font-family-alt;
1212
font-size: 16px;
13-
font-weight: 300;
1413

1514
color: white;
1615

src/_sass/core/_variables.scss

+1-2
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,9 @@ $content-padding: 32px;
7171
$top-content-padding: 55px;
7272

7373
// Fonts
74-
$site-font-family-roboto: 'Roboto', sans-serif;
7574
$site-font-family-gsans: 'Google Sans', 'Roboto', sans-serif;
7675
$site-font-family-gsans-display: 'Google Sans Display', 'Google Sans', 'Roboto', sans-serif;
77-
$site-font-family-base: $site-font-family-roboto;
76+
$site-font-family-base: 'Google Sans Text', 'Roboto', sans-serif;
7877
$site-font-family-alt: $site-font-family-gsans;
7978
$site-font-family-icon: 'Material Icons';
8079
$site-font-family-monospace: 'Google Sans Mono', 'Roboto Mono', Menlo, 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', Monaco, Consolas, monospace;

0 commit comments

Comments
 (0)