Add possibility to change fonts. This fixes #88

This commit is contained in:
dennis.ludwig
2021-07-02 11:55:26 +02:00
parent 1de83feb28
commit 20cbc5ef06
9 changed files with 41 additions and 20 deletions

View File

@@ -30,7 +30,7 @@ const useFetch = <D extends unknown>(url: string): D | undefined => {
.catch((error) => {
console.error(`fetch ${url} failed. Did the file exist?`, error);
});
}, []);
}, [url]);
return data;
};

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,15 +1,3 @@
@font-face {
font-family: "DIN";
src: url("./fonts/clanot-news.otf");
font-weight: normal;
}
@font-face {
font-family: "DIN";
src: url("./fonts/clanot-thin.otf");
font-weight: 300;
}
:root {
--color-gray-dark: #475157;
--color-gray-dark-alt: #4f585e;