Skip to content

Commit

Permalink
chore(google fonts): switch to using fonts hosted by google (#620)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelez committed Dec 14, 2021
1 parent b482394 commit daa4167
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 93 deletions.
64 changes: 0 additions & 64 deletions src/assets/style/_font.scss

This file was deleted.

28 changes: 0 additions & 28 deletions src/assets/style/main.scss
@@ -1,4 +1,3 @@
@import "./font";
@import "./theme";
@import "./layout";
@import "./elements";
Expand All @@ -9,33 +8,6 @@
body {
font-family: Roboto, "Helvetica Neue", sans-serif;
margin: 0;
// overflow: hidden;
}

// material icons
.material-icons {
font-family: "Material Icons";
font-weight: normal;
font-style: normal;
font-size: 24px; /* Preferred icon size */
display: inline-block;
line-height: 1;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;
white-space: nowrap;
direction: ltr;

/* Support for all WebKit browsers. */
-webkit-font-smoothing: antialiased;
/* Support for Safari and Chrome. */
text-rendering: optimizeLegibility;

/* Support for Firefox. */
-moz-osx-font-smoothing: grayscale;

/* Support for IE. */
font-feature-settings: "liga";
}

// The following styles will override material design!
Expand Down
8 changes: 7 additions & 1 deletion src/index.html
Expand Up @@ -8,7 +8,13 @@

<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="./favicon.ico">


<!-- https://material.io/resources/icons/?style=baseline -->
<link href="https://fonts.googleapis.com/css2?family=Material+Icons"
rel="stylesheet">

<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet">

<!-- Fathom - beautiful, simple website analytics -->
<script
src="https://cdn.usefathom.com/script.js"
Expand Down

0 comments on commit daa4167

Please sign in to comment.