[ui] only enable font features for inter

feat/vaults
Tomáš Mládek 2022-02-08 11:35:15 +01:00
parent f5cb98091d
commit b068f8e0a5
No known key found for this signature in database
GPG Key ID: ED21612889E75EC5
2 changed files with 20 additions and 1 deletions

View File

@ -3,6 +3,7 @@
font-style: normal;
font-weight: 100;
font-display: swap;
font-feature-settings: "ss02" on, "case" on;
src: url("Inter-Thin.woff2?v=3.15") format("woff2"),
url("Inter-Thin.woff?v=3.15") format("woff");
}
@ -11,6 +12,7 @@
font-style: italic;
font-weight: 100;
font-display: swap;
font-feature-settings: "ss02" on, "case" on;
src: url("Inter-ThinItalic.woff2?v=3.15") format("woff2"),
url("Inter-ThinItalic.woff?v=3.15") format("woff");
}
@ -20,6 +22,7 @@
font-style: normal;
font-weight: 200;
font-display: swap;
font-feature-settings: "ss02" on, "case" on;
src: url("Inter-ExtraLight.woff2?v=3.15") format("woff2"),
url("Inter-ExtraLight.woff?v=3.15") format("woff");
}
@ -28,6 +31,7 @@
font-style: italic;
font-weight: 200;
font-display: swap;
font-feature-settings: "ss02" on, "case" on;
src: url("Inter-ExtraLightItalic.woff2?v=3.15") format("woff2"),
url("Inter-ExtraLightItalic.woff?v=3.15") format("woff");
}
@ -37,6 +41,7 @@
font-style: normal;
font-weight: 300;
font-display: swap;
font-feature-settings: "ss02" on, "case" on;
src: url("Inter-Light.woff2?v=3.15") format("woff2"),
url("Inter-Light.woff?v=3.15") format("woff");
}
@ -45,6 +50,7 @@
font-style: italic;
font-weight: 300;
font-display: swap;
font-feature-settings: "ss02" on, "case" on;
src: url("Inter-LightItalic.woff2?v=3.15") format("woff2"),
url("Inter-LightItalic.woff?v=3.15") format("woff");
}
@ -54,6 +60,7 @@
font-style: normal;
font-weight: 400;
font-display: swap;
font-feature-settings: "ss02" on, "case" on;
src: url("Inter-Regular.woff2?v=3.15") format("woff2"),
url("Inter-Regular.woff?v=3.15") format("woff");
}
@ -62,6 +69,7 @@
font-style: italic;
font-weight: 400;
font-display: swap;
font-feature-settings: "ss02" on, "case" on;
src: url("Inter-Italic.woff2?v=3.15") format("woff2"),
url("Inter-Italic.woff?v=3.15") format("woff");
}
@ -71,6 +79,7 @@
font-style: normal;
font-weight: 500;
font-display: swap;
font-feature-settings: "ss02" on, "case" on;
src: url("Inter-Medium.woff2?v=3.15") format("woff2"),
url("Inter-Medium.woff?v=3.15") format("woff");
}
@ -79,6 +88,7 @@
font-style: italic;
font-weight: 500;
font-display: swap;
font-feature-settings: "ss02" on, "case" on;
src: url("Inter-MediumItalic.woff2?v=3.15") format("woff2"),
url("Inter-MediumItalic.woff?v=3.15") format("woff");
}
@ -88,6 +98,7 @@
font-style: normal;
font-weight: 600;
font-display: swap;
font-feature-settings: "ss02" on, "case" on;
src: url("Inter-SemiBold.woff2?v=3.15") format("woff2"),
url("Inter-SemiBold.woff?v=3.15") format("woff");
}
@ -96,6 +107,7 @@
font-style: italic;
font-weight: 600;
font-display: swap;
font-feature-settings: "ss02" on, "case" on;
src: url("Inter-SemiBoldItalic.woff2?v=3.15") format("woff2"),
url("Inter-SemiBoldItalic.woff?v=3.15") format("woff");
}
@ -105,6 +117,7 @@
font-style: normal;
font-weight: 700;
font-display: swap;
font-feature-settings: "ss02" on, "case" on;
src: url("Inter-Bold.woff2?v=3.15") format("woff2"),
url("Inter-Bold.woff?v=3.15") format("woff");
}
@ -113,6 +126,7 @@
font-style: italic;
font-weight: 700;
font-display: swap;
font-feature-settings: "ss02" on, "case" on;
src: url("Inter-BoldItalic.woff2?v=3.15") format("woff2"),
url("Inter-BoldItalic.woff?v=3.15") format("woff");
}
@ -122,6 +136,7 @@
font-style: normal;
font-weight: 800;
font-display: swap;
font-feature-settings: "ss02" on, "case" on;
src: url("Inter-ExtraBold.woff2?v=3.15") format("woff2"),
url("Inter-ExtraBold.woff?v=3.15") format("woff");
}
@ -130,6 +145,7 @@
font-style: italic;
font-weight: 800;
font-display: swap;
font-feature-settings: "ss02" on, "case" on;
src: url("Inter-ExtraBoldItalic.woff2?v=3.15") format("woff2"),
url("Inter-ExtraBoldItalic.woff?v=3.15") format("woff");
}
@ -139,6 +155,7 @@
font-style: normal;
font-weight: 900;
font-display: swap;
font-feature-settings: "ss02" on, "case" on;
src: url("Inter-Black.woff2?v=3.15") format("woff2"),
url("Inter-Black.woff?v=3.15") format("woff");
}
@ -147,6 +164,7 @@
font-style: italic;
font-weight: 900;
font-display: swap;
font-feature-settings: "ss02" on, "case" on;
src: url("Inter-BlackItalic.woff2?v=3.15") format("woff2"),
url("Inter-BlackItalic.woff?v=3.15") format("woff");
}
@ -166,6 +184,7 @@ Usage:
font-display: swap;
font-style: normal;
font-named-instance: 'Regular';
font-feature-settings: "ss02" on, "case" on;
src: url("Inter-roman.var.woff2?v=3.15") format("woff2");
}
@font-face {
@ -174,6 +193,7 @@ Usage:
font-display: swap;
font-style: italic;
font-named-instance: 'Italic';
font-feature-settings: "ss02" on, "case" on;
src: url("Inter-italic.var.woff2?v=3.15") format("woff2");
}

View File

@ -9,7 +9,6 @@ html {
@supports (font-variation-settings: normal) {
html {
--default-font: "Inter var", sans-serif;
font-feature-settings: "ss02" on, "case" on;
}
}