Add possibility to change fonts. This fixes #88
This commit is contained in:
@@ -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.
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user