From 80bba28f3a31db78d24aa1a0547d46a3d5d1c2ac Mon Sep 17 00:00:00 2001 From: Pier Fumagalli Date: Thu, 26 Sep 2024 12:02:29 +0200 Subject: [PATCH] Wipe outdated files --- src/assets/Roboto.css | 15 --------------- src/assets/genfonts.js | 27 --------------------------- 2 files changed, 42 deletions(-) delete mode 100644 src/assets/Roboto.css delete mode 100644 src/assets/genfonts.js diff --git a/src/assets/Roboto.css b/src/assets/Roboto.css deleted file mode 100644 index 0436d39..0000000 --- a/src/assets/Roboto.css +++ /dev/null @@ -1,15 +0,0 @@ -@font-face { - font-family: 'Roboto'; - font-style: normal; - font-weight: 100; - src: url('Montserrat-Thin.woff2') format('woff2'), - url('Montserrat-Thin.woff') format('woff'); -} - -@font-face { - font-family: 'Montserrat'; - font-style: italic; - font-weight: 100; - src: url('Montserrat-ThinItalic.woff2') format('woff2'), - url('Montserrat-ThinItalic.woff') format('woff'); -} diff --git a/src/assets/genfonts.js b/src/assets/genfonts.js deleted file mode 100644 index 4c6a3b2..0000000 --- a/src/assets/genfonts.js +++ /dev/null @@ -1,27 +0,0 @@ -const weights = { - Thin: 100, - Light: 300, - Regular: 400, - Medium: 500, - Bold: 700, - Black: 900, -} - -for (const [ name, weight ] of Object.entries(weights)) { - console.log(` -@font-face { - font-family: 'Roboto'; - font-style: normal; - font-weight: ${weight}; - src: url('Roboto-${name}.woff2') format('woff2'), - url('Roboto-${name}.ttf') format('truetype'); -} - -@font-face { - font-family: 'Roboto'; - font-style: italic; - font-weight: ${weight}; - src: url('Roboto-${name}Italic.woff2') format('woff2'), - url('Roboto-${name}Italic.ttf') format('truetype'); -}`) -}