Skip to content

Commit

Permalink
remove DroidSerif
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxys committed Feb 5, 2020
1 parent 803dc97 commit 4ccea56
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 8 deletions.
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
- BUGFIX
- fix typos
- fix sort by weight order
* ENHANCEMENT
* remove webfont DroidSerif
* add new webfonts DroidSans and Metropolis
* set Metropolis as new header default
19 changes: 14 additions & 5 deletions src/sass/_fonts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,25 @@
}

@font-face {
font-family: "Droid Serif";
src: url("fonts/DroidSerif.woff2") format("woff2"), url("fonts/DroidSerif.woff") format("woff");
font-family: "Liberation Mono";
src: url("fonts/LiberationMono.woff2") format("woff2"), url("fonts/LiberationMono.woff") format("woff");
font-weight: normal;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: "Liberation Mono";
src: url("fonts/LiberationMono.woff2") format("woff2"), url("fonts/LiberationMono.woff") format("woff");
font-family: "Droid Sans";
src: url("fonts/DroidSans.woff2") format("woff2"), url("fonts/DroidSans.woff") format("woff");
font-weight: normal;
font-style: normal;
font-display: swap;
}


@font-face {
font-family: "Metropolis";
src: url("fonts/Metropolis.woff2") format("woff2"), url("fonts/Metropolis.woff") format("woff");
font-weight: normal;
font-style: normal;
font-display: swap;
Expand All @@ -57,5 +66,5 @@ code,
}

.gdoc-header {
font-family: "Droid Serif", serif;
font-family: "Metropolis", sans-serif;
}
Binary file added static/fonts/DroidSans.woff
Binary file not shown.
Binary file added static/fonts/DroidSans.woff2
Binary file not shown.
Binary file removed static/fonts/DroidSerif.woff
Binary file not shown.
Binary file removed static/fonts/DroidSerif.woff2
Binary file not shown.
Binary file added static/fonts/Metropolis.woff
Binary file not shown.
Binary file added static/fonts/Metropolis.woff2
Binary file not shown.

0 comments on commit 4ccea56

Please sign in to comment.