Skip to content

Commit 59fd806

Browse files
authored
Use DM Sans font (GoogleCloudPlatform#575)
1 parent 6099643 commit 59fd806

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

src/emailservice/templates/confirmation.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818
<html>
1919
<head>
2020
<title>Your Order Confirmation</title>
21-
<link href="https://fonts.googleapis.com/css?family=Roboto:100,400,500" rel="stylesheet">
21+
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
2222
</head>
2323
<style>
2424
body{
25-
font-family: 'Roboto', sans-serif;
25+
font-family: 'DM Sans', sans-serif;
2626
}
2727
</style>
2828
<body>

src/frontend/static/styles/styles.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ html, body {
2222

2323
body {
2424
color: #111111;
25-
font-family: 'Roboto', sans-serif;
25+
font-family: 'DM Sans', sans-serif;
2626
display: flex;
2727
flex-direction: column;
2828
}

src/frontend/templates/header.html

+3-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@
2525
<title>Online Boutique</title>
2626
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB"
2727
crossorigin="anonymous">
28-
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet">
28+
<link rel="preconnect" href="https://fonts.googleapis.com">
29+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
30+
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
2931
<link rel="stylesheet" type="text/css" href="/static/styles/styles.css">
3032
<link rel="stylesheet" type="text/css" href="/static/styles/cart.css">
3133
<link rel="stylesheet" type="text/css" href="/static/styles/order.css">

0 commit comments

Comments
 (0)