Merge pull request #50 from tmshv/refactoring/google-fonts

google fonts import changed
This commit is contained in:
tmshv authored and GitHub committed 2020-05-29 00:59:49 +03:00
commit cfc286b706
3 files changed
+13 -4

No files matched your search

+11 -1
View File
@@ -40,7 +40,17 @@ export default class MyApp extends App {
href="/feed.xml"
/>
<link href='/static/shadow-font/style.css' rel='stylesheet' />
<link
href="/static/shadow-font/style.css"
rel="stylesheet"
/>
{/* Google Fonts */}
<link
href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;900&display=swap"
rel="preload"
as="style"
/>
{/* Opa */}
<script src="/static/opa.js" />
+2 -1
View File
@@ -1,5 +1,6 @@
@font-face {
font-family: "Shadow";
font-family: "Shadow";
font-display: swap;
src: url("Shadow-Regular.eot");
src: url("Shadow-Regular.woff") format("woff"),
url("Shadow-Regular.otf") format("opentype"),
-2
View File
@@ -1,5 +1,3 @@
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;900&display=swap');
:root {
/* FONTS */
--title-font: Shadow, Georgia, serif;