home: host inter font ourselves
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
/* http://rsms.me/inter/font-files/InterVariable.woff2 */
|
||||
@font-face {
|
||||
font-family: InterVariable;
|
||||
font-style: normal;
|
||||
font-weight: 100 900;
|
||||
font-display: swap;
|
||||
src: url("../assets/InterVariable.woff2") format('woff2');
|
||||
}
|
||||
/* http://rsms.me/inter/font-files/InterVariable-Italic.woff2 */
|
||||
@font-face {
|
||||
font-family: InterVariable;
|
||||
font-style: italic;
|
||||
font-weight: 100 900;
|
||||
font-display: swap;
|
||||
src: url("../assets/InterVariable-Italic.woff2") format('woff2');
|
||||
}
|
||||
@@ -1,9 +1,6 @@
|
||||
:root {
|
||||
font-family: Inter, sans-serif;
|
||||
font-family: InterVariable, sans-serif;
|
||||
font-feature-settings: 'liga' 1, 'calt' 1;
|
||||
@supports (font-variation-settings: normal) {
|
||||
font-family: InterVariable, sans-serif;
|
||||
}
|
||||
}
|
||||
|
||||
html {
|
||||
|
||||
Reference in New Issue
Block a user