Skip to content

Commit 2ae350d

Browse files
committed
new-design: Use Fira Sans font
1 parent 64fbd30 commit 2ae350d

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

app/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
<link rel="stylesheet" href="{{rootURL}}assets/vendor.css">
1515
<link rel="stylesheet" href="{{rootURL}}assets/cargo.css">
16+
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,400;0,600;0,800;1,400;1,600;1,800&display=swap">
1617

1718
<link rel="manifest" href="{{rootURL}}manifest.webmanifest">
1819
<meta name="msapplication-config" content="{{rootURL}}browserconfig.xml">

app/styles/application.module.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
--header-bg-color: var(--dark-green);
77
--footer-bg-color: var(--dark-green);
88

9+
/* Use the modern font stack inspired by Bootstrap 4 */
10+
--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
11+
912
--main-color: #383838;
1013
--main-color-light: #858585;
1114
--main-bg: #f9f7ec;
@@ -20,6 +23,8 @@
2023
--header-bg-color: var(--violet);
2124
--main-bg: white;
2225
--footer-bg-color: var(--dark-grey);
26+
27+
--font-family: "Fira Sans", sans-serif;
2328
}
2429

2530
* {
@@ -35,8 +40,7 @@ html, body {
3540
}
3641

3742
body {
38-
/* Use the modern font stack inspired by Bootstrap 4 */
39-
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
43+
font-family: var(--font-family);
4044
font-size: 16px;
4145
display: flex;
4246
flex-direction: column;
@@ -119,6 +123,7 @@ noscript {
119123
background: white;
120124
box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
121125
color: black;
126+
font-family: sans-serif;
122127
cursor: pointer;
123128

124129
&:hover {

0 commit comments

Comments
 (0)