summaryrefslogtreecommitdiff
path: root/docs/inter-ui.css
diff options
context:
space:
mode:
authorRasmus Andersson <rasmus@figma.com>2019-02-10 20:16:58 +0300
committerRasmus Andersson <rasmus@figma.com>2019-02-10 20:16:58 +0300
commitcf174f2cd434cf60065e1f33bff177959f2eb564 (patch)
tree2ced687c540e76e544dedb4cacff5445b46e79a2 /docs/inter-ui.css
parent034a240d75f2b94259385ece271226d7e16b0c34 (diff)
downloadinter-cf174f2cd434cf60065e1f33bff177959f2eb564.tar.xz
website: Simplifies css for var fonts to just use woff2 src directive
Diffstat (limited to 'docs/inter-ui.css')
-rw-r--r--docs/inter-ui.css11
1 files changed, 3 insertions, 8 deletions
diff --git a/docs/inter-ui.css b/docs/inter-ui.css
index 844b11878..b3b7c5549 100644
--- a/docs/inter-ui.css
+++ b/docs/inter-ui.css
@@ -170,8 +170,7 @@ BUGS:
font-family: 'Inter UI var';
font-weight: 100 900;
font-style: oblique 0deg 10deg;
- src: url("font-files/Inter.var.woff2?v={{font_v}}") format("woff2-variations"),
- url("font-files/Inter.var.woff2?v={{font_v}}") format("woff2");
+ src: url("font-files/Inter.var.woff2?v={{font_v}}") format("woff2");
}
/* --------------------------------------------------------------------------
@@ -190,16 +189,12 @@ BUGS:
font-weight: 100 900;
font-style: normal;
font-named-instance: 'Regular';
- src: url("font-files/Inter-upright.var.woff2?v={{font_v}}") format("woff2 supports variations(gvar)"),
- url("font-files/Inter-upright.var.woff2?v={{font_v}}") format("woff2-variations"),
- url("font-files/Inter-upright.var.woff2?v={{font_v}}") format("woff2");
+ src: url("font-files/Inter-upright.var.woff2?v={{font_v}}") format("woff2");
}
@font-face {
font-family: 'Inter UI var alt';
font-weight: 100 900;
font-style: italic;
font-named-instance: 'Italic';
- src: url("font-files/Inter-italic.var.woff2?v={{font_v}}") format("woff2 supports variations(gvar)"),
- url("font-files/Inter-italic.var.woff2?v={{font_v}}") format("woff2-variations"),
- url("font-files/Inter-italic.var.woff2?v={{font_v}}") format("woff2");
+ src: url("font-files/Inter-italic.var.woff2?v={{font_v}}") format("woff2");
}