Convert Figtree fonts to WOFF2 (58% smaller), remove TTF
This commit is contained in:
1 parent
ad6377c72f
commit
7887b64304
9 files changed
+4
-4
No files matched your search
@@ -12,28 +12,28 @@
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: url('fonts/figtree-400.ttf') format('truetype');
|
||||
src: url('fonts/figtree-400.woff2') format('woff2');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Figtree';
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-display: swap;
|
||||
src: url('fonts/figtree-500.ttf') format('truetype');
|
||||
src: url('fonts/figtree-500.woff2') format('woff2');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Figtree';
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
font-display: swap;
|
||||
src: url('fonts/figtree-600.ttf') format('truetype');
|
||||
src: url('fonts/figtree-600.woff2') format('woff2');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Figtree';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-display: swap;
|
||||
src: url('fonts/figtree-700.ttf') format('truetype');
|
||||
src: url('fonts/figtree-700.woff2') format('woff2');
|
||||
}
|
||||
|
||||
:root {
|
||||
|
||||
Reference in new issue
Block a user