From b6a89a0cde3c769e38146b05c33ff4ca4e97bca2 Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Thu, 15 Dec 2022 21:37:02 +0000 Subject: [PATCH] feat: use variable fonts with subsetting (#2817) Co-authored-by: Dominik Pschenitschni Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/2817 Co-authored-by: Dominik Pschenitschni Co-committed-by: Dominik Pschenitschni --- index.html | 10 +- .../fonts/OpenSans-Italic[wdth,wght].ttf | Bin 0 -> 584112 bytes originalMedia/fonts/OpenSans[wdth,wght].ttf | Bin 0 -> 532636 bytes originalMedia/fonts/Quicksand[wght].ttf | Bin 0 -> 130084 bytes package.json | 5 +- public/fonts/open-sans-v15-latin-700.woff2 | Bin 14720 -> 0 bytes .../fonts/open-sans-v15-latin-700italic.woff2 | Bin 13428 -> 0 bytes public/fonts/open-sans-v15-latin-italic.woff2 | Bin 13416 -> 0 bytes .../fonts/open-sans-v15-latin-regular.woff2 | Bin 14048 -> 0 bytes public/fonts/quicksand-v7-latin-500.woff2 | Bin 19284 -> 0 bytes public/fonts/quicksand-v7-latin-700.woff2 | Bin 18792 -> 0 bytes public/fonts/quicksand-v7-latin-regular.woff2 | Bin 19264 -> 0 bytes scripts/fonts-download.sh | 56 ++++++ scripts/fonts-subset.sh | 161 ++++++++++++++++++ .../fonts/OpenSans-BoldItalic_3ff98862.woff2 | Bin 0 -> 20208 bytes src/assets/fonts/OpenSans-Bold_eb52363b.woff2 | Bin 0 -> 19204 bytes .../OpenSans-Italic[wght]_c9a8fe68.woff2 | Bin 0 -> 33708 bytes .../OpenSans-RegularItalic_48244a7a.woff2 | Bin 0 -> 20892 bytes .../fonts/OpenSans-Regular_d0acb717.woff2 | Bin 0 -> 19588 bytes .../fonts/OpenSans[wght]_54a65da5.woff2 | Bin 0 -> 31276 bytes .../fonts/Quicksand-Bold_20b26f76.woff2 | Bin 0 -> 14388 bytes .../fonts/Quicksand-Regular_3e913e7e.woff2 | Bin 0 -> 14992 bytes .../fonts/Quicksand-SemiBold_be48a442.woff2 | Bin 0 -> 15080 bytes .../fonts/Quicksand[wght]_87bdcc7f.woff2 | Bin 0 -> 27732 bytes src/components/home/navigation.vue | 6 +- .../namespace/namespace-settings-dropdown.vue | 1 + .../tasks/partials/singleTaskInList.vue | 4 +- src/styles/common-imports.scss | 3 +- src/styles/fonts.scss | 154 ++++++++++------- src/views/tasks/TaskDetailView.vue | 2 +- 30 files changed, 331 insertions(+), 71 deletions(-) create mode 100644 originalMedia/fonts/OpenSans-Italic[wdth,wght].ttf create mode 100644 originalMedia/fonts/OpenSans[wdth,wght].ttf create mode 100644 originalMedia/fonts/Quicksand[wght].ttf delete mode 100644 public/fonts/open-sans-v15-latin-700.woff2 delete mode 100644 public/fonts/open-sans-v15-latin-700italic.woff2 delete mode 100644 public/fonts/open-sans-v15-latin-italic.woff2 delete mode 100644 public/fonts/open-sans-v15-latin-regular.woff2 delete mode 100644 public/fonts/quicksand-v7-latin-500.woff2 delete mode 100644 public/fonts/quicksand-v7-latin-700.woff2 delete mode 100644 public/fonts/quicksand-v7-latin-regular.woff2 create mode 100755 scripts/fonts-download.sh create mode 100755 scripts/fonts-subset.sh create mode 100644 src/assets/fonts/OpenSans-BoldItalic_3ff98862.woff2 create mode 100644 src/assets/fonts/OpenSans-Bold_eb52363b.woff2 create mode 100644 src/assets/fonts/OpenSans-Italic[wght]_c9a8fe68.woff2 create mode 100644 src/assets/fonts/OpenSans-RegularItalic_48244a7a.woff2 create mode 100644 src/assets/fonts/OpenSans-Regular_d0acb717.woff2 create mode 100644 src/assets/fonts/OpenSans[wght]_54a65da5.woff2 create mode 100644 src/assets/fonts/Quicksand-Bold_20b26f76.woff2 create mode 100644 src/assets/fonts/Quicksand-Regular_3e913e7e.woff2 create mode 100644 src/assets/fonts/Quicksand-SemiBold_be48a442.woff2 create mode 100644 src/assets/fonts/Quicksand[wght]_87bdcc7f.woff2 diff --git a/index.html b/index.html index ddd35968..dd6d6cf5 100644 --- a/index.html +++ b/index.html @@ -9,13 +9,9 @@ - - - - - - - + + +