Compress fonts to woff2

This commit is contained in:
furo 2023-08-02 14:36:30 +02:00
parent 5f1ae962d6
commit 4d98d3e7d3
8 changed files with 14 additions and 7 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,34 +1,41 @@
@font-face { @font-face {
font-family: 'Manrope XLight'; font-family: 'Manrope XLight';
src: url('/assets/Manrope/Manrope-ExtraLight.ttf'); src: url('/assets/Manrope/Manrope-ExtraLight.woff2') format('woff2'),
url('/assets/Manrope/Manrope-ExtraLight.ttf') format('truetype');
} }
@font-face { @font-face {
font-family: 'Manrope Light'; font-family: 'Manrope Light';
src: url('/assets/Manrope/Manrope-Light.ttf'); src: url('/assets/Manrope/Manrope-Light.woff2') format('woff2'),
url('/assets/Manrope/Manrope-Light.ttf') format('truetype');
} }
@font-face { @font-face {
font-family: 'Manrope Regular'; font-family: 'Manrope Regular';
src: url('/assets/Manrope/Manrope-Regular.ttf'); src: url('/assets/Manrope/Manrope-Regular.woff2') format('woff2'),
url('/assets/Manrope/Manrope-Regular.ttf') format('truetype');
} }
@font-face { @font-face {
font-family: 'Manrope Medium'; font-family: 'Manrope Medium';
src: url('/assets/Manrope/Manrope-Medium.ttf'); src: url('/assets/Manrope/Manrope-Medium.woff2') format('woff2'),
url('/assets/Manrope/Manrope-Medium.ttf') format('truetype');
} }
@font-face { @font-face {
font-family: 'Manrope SemiBold'; font-family: 'Manrope SemiBold';
src: url('/assets/Manrope/Manrope-SemiBold.ttf'); src: url('/assets/Manrope/Manrope-SemiBold.woff2') format('woff2'),
url('/assets/Manrope/Manrope-SemiBold.ttf') format('truetype');
} }
@font-face { @font-face {
font-family: 'Manrope Bold'; font-family: 'Manrope Bold';
src: url('/assets/Manrope/Manrope-Bold.ttf'); src: url('/assets/Manrope/Manrope-Bold.woff2') format('woff2'),
url('/assets/Manrope/Manrope-Bold.ttf') format('truetype');
} }
@font-face { @font-face {
font-family: 'Manrope XBold'; font-family: 'Manrope XBold';
src: url('/assets/Manrope/Manrope-ExtraBold.ttf'); src: url('/assets/Manrope/Manrope-ExtraBold.woff2') format('woff2'),
url('/assets/Manrope/Manrope-ExtraBold.ttf') format('truetype');
} }