fix(app.scss): Move fonts from public to fonts directory so that it can be included in bundle as well (#2251)

This commit is contained in:
Aakansha Doshi 2020-10-19 23:06:44 +05:30 committed by GitHub
parent b50c54f855
commit 12b73aaac6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 4 additions and 4 deletions

View File

@ -112,14 +112,14 @@
/* http://www.eaglefonts.com/fg-virgil-ttf-131249.htm */
@font-face {
font-family: "Virgil";
src: url("/FG_Virgil.woff2");
src: url("../src/fonts/FG_Virgil.woff2");
font-display: swap;
}
/* https://github.com/microsoft/cascadia-code */
@font-face {
font-family: "Cascadia";
src: url("/Cascadia.woff2");
src: url("../src/fonts/Cascadia.woff2");
font-display: swap;
}

View File

@ -1,14 +1,14 @@
/* http://www.eaglefonts.com/fg-virgil-ttf-131249.htm */
@font-face {
font-family: "Virgil";
src: url("/FG_Virgil.woff2");
src: url("../fonts/FG_Virgil.woff2");
font-display: swap;
}
/* https://github.com/microsoft/cascadia-code */
@font-face {
font-family: "Cascadia";
src: url("/Cascadia.woff2");
src: url("../fonts/Cascadia.woff2");
font-display: swap;
}