Comment out unused fonts to reduce bundle size
This commit is contained in:
parent
fb3d578bc4
commit
b5c34a278f
1 changed files with 100 additions and 73 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
/*
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Iosevka Aile Web';
|
font-family: 'Iosevka Aile Web';
|
||||||
|
@ -68,77 +69,93 @@
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
src: url('woff2/iosevka-aile-extralightitalic.woff2') format('woff2'), url('woff/iosevka-aile-extralightitalic.woff') format('woff'), url('ttf/iosevka-aile-extralightitalic.ttf') format('truetype');
|
src: url('woff2/iosevka-aile-extralightitalic.woff2') format('woff2'), url('woff/iosevka-aile-extralightitalic.woff') format('woff'), url('ttf/iosevka-aile-extralightitalic.ttf') format('truetype');
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Iosevka Aile Web';
|
font-family: "Iosevka Aile Web";
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
font-stretch: normal;
|
font-stretch: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
src: url('woff2/iosevka-aile-light.woff2') format('woff2'), url('woff/iosevka-aile-light.woff') format('woff'), url('ttf/iosevka-aile-light.ttf') format('truetype');
|
src: url("woff2/iosevka-aile-light.woff2") format("woff2"),
|
||||||
|
url("woff/iosevka-aile-light.woff") format("woff"),
|
||||||
|
url("ttf/iosevka-aile-light.ttf") format("truetype");
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Iosevka Aile Web';
|
font-family: "Iosevka Aile Web";
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
font-stretch: normal;
|
font-stretch: normal;
|
||||||
font-style: oblique;
|
font-style: oblique;
|
||||||
src: url('woff2/iosevka-aile-lightoblique.woff2') format('woff2'), url('woff/iosevka-aile-lightoblique.woff') format('woff'), url('ttf/iosevka-aile-lightoblique.ttf') format('truetype');
|
src: url("woff2/iosevka-aile-lightoblique.woff2") format("woff2"),
|
||||||
|
url("woff/iosevka-aile-lightoblique.woff") format("woff"),
|
||||||
|
url("ttf/iosevka-aile-lightoblique.ttf") format("truetype");
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Iosevka Aile Web Oblique';
|
font-family: "Iosevka Aile Web Oblique";
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
font-stretch: normal;
|
font-stretch: normal;
|
||||||
src: url('woff2/iosevka-aile-lightoblique.woff2') format('woff2'), url('woff/iosevka-aile-lightoblique.woff') format('woff'), url('ttf/iosevka-aile-lightoblique.ttf') format('truetype');
|
src: url("woff2/iosevka-aile-lightoblique.woff2") format("woff2"),
|
||||||
|
url("woff/iosevka-aile-lightoblique.woff") format("woff"),
|
||||||
|
url("ttf/iosevka-aile-lightoblique.ttf") format("truetype");
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Iosevka Aile Web';
|
font-family: "Iosevka Aile Web";
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
font-stretch: normal;
|
font-stretch: normal;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
src: url('woff2/iosevka-aile-lightitalic.woff2') format('woff2'), url('woff/iosevka-aile-lightitalic.woff') format('woff'), url('ttf/iosevka-aile-lightitalic.ttf') format('truetype');
|
src: url("woff2/iosevka-aile-lightitalic.woff2") format("woff2"),
|
||||||
|
url("woff/iosevka-aile-lightitalic.woff") format("woff"),
|
||||||
|
url("ttf/iosevka-aile-lightitalic.ttf") format("truetype");
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Iosevka Aile Web';
|
font-family: "Iosevka Aile Web";
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-stretch: normal;
|
font-stretch: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
src: url('woff2/iosevka-aile-regular.woff2') format('woff2'), url('woff/iosevka-aile-regular.woff') format('woff'), url('ttf/iosevka-aile-regular.ttf') format('truetype');
|
src: url("woff2/iosevka-aile-regular.woff2") format("woff2"),
|
||||||
|
url("woff/iosevka-aile-regular.woff") format("woff"),
|
||||||
|
url("ttf/iosevka-aile-regular.ttf") format("truetype");
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Iosevka Aile Web';
|
font-family: "Iosevka Aile Web";
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-stretch: normal;
|
font-stretch: normal;
|
||||||
font-style: oblique;
|
font-style: oblique;
|
||||||
src: url('woff2/iosevka-aile-oblique.woff2') format('woff2'), url('woff/iosevka-aile-oblique.woff') format('woff'), url('ttf/iosevka-aile-oblique.ttf') format('truetype');
|
src: url("woff2/iosevka-aile-oblique.woff2") format("woff2"),
|
||||||
|
url("woff/iosevka-aile-oblique.woff") format("woff"),
|
||||||
|
url("ttf/iosevka-aile-oblique.ttf") format("truetype");
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Iosevka Aile Web Oblique';
|
font-family: "Iosevka Aile Web Oblique";
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-stretch: normal;
|
font-stretch: normal;
|
||||||
src: url('woff2/iosevka-aile-oblique.woff2') format('woff2'), url('woff/iosevka-aile-oblique.woff') format('woff'), url('ttf/iosevka-aile-oblique.ttf') format('truetype');
|
src: url("woff2/iosevka-aile-oblique.woff2") format("woff2"),
|
||||||
|
url("woff/iosevka-aile-oblique.woff") format("woff"),
|
||||||
|
url("ttf/iosevka-aile-oblique.ttf") format("truetype");
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Iosevka Aile Web';
|
font-family: "Iosevka Aile Web";
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-stretch: normal;
|
font-stretch: normal;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
src: url('woff2/iosevka-aile-italic.woff2') format('woff2'), url('woff/iosevka-aile-italic.woff') format('woff'), url('ttf/iosevka-aile-italic.ttf') format('truetype');
|
src: url("woff2/iosevka-aile-italic.woff2") format("woff2"),
|
||||||
|
url("woff/iosevka-aile-italic.woff") format("woff"),
|
||||||
|
url("ttf/iosevka-aile-italic.ttf") format("truetype");
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Iosevka Aile Web';
|
font-family: 'Iosevka Aile Web';
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
|
@ -208,42 +225,50 @@
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
src: url('woff2/iosevka-aile-semibolditalic.woff2') format('woff2'), url('woff/iosevka-aile-semibolditalic.woff') format('woff'), url('ttf/iosevka-aile-semibolditalic.ttf') format('truetype');
|
src: url('woff2/iosevka-aile-semibolditalic.woff2') format('woff2'), url('woff/iosevka-aile-semibolditalic.woff') format('woff'), url('ttf/iosevka-aile-semibolditalic.ttf') format('truetype');
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Iosevka Aile Web';
|
font-family: "Iosevka Aile Web";
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-stretch: normal;
|
font-stretch: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
src: url('woff2/iosevka-aile-bold.woff2') format('woff2'), url('woff/iosevka-aile-bold.woff') format('woff'), url('ttf/iosevka-aile-bold.ttf') format('truetype');
|
src: url("woff2/iosevka-aile-bold.woff2") format("woff2"),
|
||||||
|
url("woff/iosevka-aile-bold.woff") format("woff"),
|
||||||
|
url("ttf/iosevka-aile-bold.ttf") format("truetype");
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Iosevka Aile Web';
|
font-family: "Iosevka Aile Web";
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-stretch: normal;
|
font-stretch: normal;
|
||||||
font-style: oblique;
|
font-style: oblique;
|
||||||
src: url('woff2/iosevka-aile-boldoblique.woff2') format('woff2'), url('woff/iosevka-aile-boldoblique.woff') format('woff'), url('ttf/iosevka-aile-boldoblique.ttf') format('truetype');
|
src: url("woff2/iosevka-aile-boldoblique.woff2") format("woff2"),
|
||||||
|
url("woff/iosevka-aile-boldoblique.woff") format("woff"),
|
||||||
|
url("ttf/iosevka-aile-boldoblique.ttf") format("truetype");
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Iosevka Aile Web Oblique';
|
font-family: "Iosevka Aile Web Oblique";
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-stretch: normal;
|
font-stretch: normal;
|
||||||
src: url('woff2/iosevka-aile-boldoblique.woff2') format('woff2'), url('woff/iosevka-aile-boldoblique.woff') format('woff'), url('ttf/iosevka-aile-boldoblique.ttf') format('truetype');
|
src: url("woff2/iosevka-aile-boldoblique.woff2") format("woff2"),
|
||||||
|
url("woff/iosevka-aile-boldoblique.woff") format("woff"),
|
||||||
|
url("ttf/iosevka-aile-boldoblique.ttf") format("truetype");
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Iosevka Aile Web';
|
font-family: "Iosevka Aile Web";
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-stretch: normal;
|
font-stretch: normal;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
src: url('woff2/iosevka-aile-bolditalic.woff2') format('woff2'), url('woff/iosevka-aile-bolditalic.woff') format('woff'), url('ttf/iosevka-aile-bolditalic.ttf') format('truetype');
|
src: url("woff2/iosevka-aile-bolditalic.woff2") format("woff2"),
|
||||||
|
url("woff/iosevka-aile-bolditalic.woff") format("woff"),
|
||||||
|
url("ttf/iosevka-aile-bolditalic.ttf") format("truetype");
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Iosevka Aile Web';
|
font-family: 'Iosevka Aile Web';
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
|
@ -313,3 +338,5 @@
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
src: url('woff2/iosevka-aile-heavyitalic.woff2') format('woff2'), url('woff/iosevka-aile-heavyitalic.woff') format('woff'), url('ttf/iosevka-aile-heavyitalic.ttf') format('truetype');
|
src: url('woff2/iosevka-aile-heavyitalic.woff2') format('woff2'), url('woff/iosevka-aile-heavyitalic.woff') format('woff'), url('ttf/iosevka-aile-heavyitalic.ttf') format('truetype');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
Reference in a new issue