Merge pull request #50 from tmshv/refactoring/google-fonts
google fonts import changed
This commit is contained in:
3 files changed
+13
-4
No files matched your search
+11
-1
@@ -40,7 +40,17 @@ export default class MyApp extends App {
|
|||||||
href="/feed.xml"
|
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 */}
|
{/* Opa */}
|
||||||
<script src="/static/opa.js" />
|
<script src="/static/opa.js" />
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
@font-face {
|
@font-face {
|
||||||
font-family: "Shadow";
|
font-family: "Shadow";
|
||||||
|
font-display: swap;
|
||||||
src: url("Shadow-Regular.eot");
|
src: url("Shadow-Regular.eot");
|
||||||
src: url("Shadow-Regular.woff") format("woff"),
|
src: url("Shadow-Regular.woff") format("woff"),
|
||||||
url("Shadow-Regular.otf") format("opentype"),
|
url("Shadow-Regular.otf") format("opentype"),
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;900&display=swap');
|
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
/* FONTS */
|
/* FONTS */
|
||||||
--title-font: Shadow, Georgia, serif;
|
--title-font: Shadow, Georgia, serif;
|
||||||
|
|||||||
Reference in new issue
Block a user