chore: discard old font file formats (#673)

Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/673
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
This commit is contained in:
dpschen 2021-08-23 17:42:31 +00:00 committed by konrad
parent 0660129b41
commit 19f52eb8d1
17 changed files with 9 additions and 32 deletions

View file

@ -6,10 +6,7 @@ $font-files-path: '/fonts/';
font-style: normal; font-style: normal;
font-weight: 300; font-weight: 300;
font-display: swap; font-display: swap;
src: local('Quicksand Light'), local('Quicksand-Light'), src: url($font-files-path + 'quicksand-v7-latin-300.woff2') format('woff2');
url($font-files-path + 'quicksand-v7-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
url($font-files-path + 'quicksand-v7-latin-300.woff') format('woff'), /* Modern Browsers */
url($font-files-path + 'quicksand-v7-latin-300.ttf') format('truetype'); /* Safari, Android, iOS */
} }
/* quicksand-regular - latin */ /* quicksand-regular - latin */
@ -18,10 +15,8 @@ $font-files-path: '/fonts/';
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
font-display: swap; font-display: swap;
src: local('Quicksand Regular'), local('Quicksand-Regular'), src: url($font-files-path + 'quicksand-v7-latin-regular.woff2') format('woff2');
url($font-files-path + 'quicksand-v7-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
url($font-files-path + 'quicksand-v7-latin-regular.woff') format('woff'), /* Modern Browsers */
url($font-files-path + 'quicksand-v7-latin-regular.ttf') format('truetype'); /* Safari, Android, iOS */
} }
/* quicksand-500 - latin */ /* quicksand-500 - latin */
@ -30,10 +25,7 @@ $font-files-path: '/fonts/';
font-style: normal; font-style: normal;
font-weight: 500; font-weight: 500;
font-display: swap; font-display: swap;
src: local('Quicksand Medium'), local('Quicksand-Medium'), src: url($font-files-path + 'quicksand-v7-latin-500.woff2') format('woff2');
url($font-files-path + 'quicksand-v7-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
url($font-files-path + 'quicksand-v7-latin-500.woff') format('woff'), /* Modern Browsers */
url($font-files-path + 'quicksand-v7-latin-500.ttf') format('truetype'); /* Safari, Android, iOS */
} }
/* quicksand-700 - latin */ /* quicksand-700 - latin */
@ -42,10 +34,7 @@ $font-files-path: '/fonts/';
font-style: normal; font-style: normal;
font-weight: 700; font-weight: 700;
font-display: swap; font-display: swap;
src: local('Quicksand Bold'), local('Quicksand-Bold'), src: url($font-files-path + 'quicksand-v7-latin-700.woff2') format('woff2');
url($font-files-path + 'quicksand-v7-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
url($font-files-path + 'quicksand-v7-latin-700.woff') format('woff'), /* Modern Browsers */
url($font-files-path + 'quicksand-v7-latin-700.ttf') format('truetype'); /* Safari, Android, iOS */
} }
/* open-sans-regular - latin */ /* open-sans-regular - latin */
@ -54,10 +43,7 @@ $font-files-path: '/fonts/';
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
font-display: swap; font-display: swap;
src: local('Open Sans Regular'), local('OpenSans-Regular'), src: url($font-files-path + 'open-sans-v15-latin-regular.woff2') format('woff2');
url($font-files-path + 'open-sans-v15-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
url($font-files-path + 'open-sans-v15-latin-regular.woff') format('woff'), /* Modern Browsers */
url($font-files-path + 'open-sans-v15-latin-regular.ttf') format('truetype'); /* Safari, Android, iOS */
} }
/* open-sans-italic - latin */ /* open-sans-italic - latin */
@ -66,10 +52,7 @@ $font-files-path: '/fonts/';
font-style: italic; font-style: italic;
font-weight: 400; font-weight: 400;
font-display: swap; font-display: swap;
src: local('Open Sans Italic'), local('OpenSans-Italic'), src: url($font-files-path + 'open-sans-v15-latin-italic.woff2') format('woff2');
url($font-files-path + 'open-sans-v15-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
url($font-files-path + 'open-sans-v15-latin-italic.woff') format('woff'), /* Modern Browsers */
url($font-files-path + 'open-sans-v15-latin-italic.ttf') format('truetype'); /* Safari, Android, iOS */
} }
/* open-sans-700 - latin */ /* open-sans-700 - latin */
@ -78,10 +61,7 @@ $font-files-path: '/fonts/';
font-style: normal; font-style: normal;
font-weight: 700; font-weight: 700;
font-display: swap; font-display: swap;
src: local('Open Sans Bold'), local('OpenSans-Bold'), src: url($font-files-path + 'open-sans-v15-latin-700.woff2') format('woff2');
url($font-files-path + 'open-sans-v15-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
url($font-files-path + 'open-sans-v15-latin-700.woff') format('woff'), /* Modern Browsers */
url($font-files-path + 'open-sans-v15-latin-700.ttf') format('truetype'); /* Safari, Android, iOS */
} }
/* open-sans-700italic - latin */ /* open-sans-700italic - latin */
@ -90,8 +70,5 @@ $font-files-path: '/fonts/';
font-style: italic; font-style: italic;
font-weight: 700; font-weight: 700;
font-display: swap; font-display: swap;
src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'), src: url($font-files-path + 'open-sans-v15-latin-700italic.woff2') format('woff2');
url($font-files-path + 'open-sans-v15-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
url($font-files-path + 'open-sans-v15-latin-700italic.woff') format('woff'), /* Modern Browsers */
url($font-files-path + 'open-sans-v15-latin-700italic.ttf') format('truetype'); /* Safari, Android, iOS */
} }