summaryrefslogtreecommitdiff
path: root/docs/inter.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.css
parent034a240d75f2b94259385ece271226d7e16b0c34 (diff)
downloadinter-cf174f2cd434cf60065e1f33bff177959f2eb564.tar.xz
website: Simplifies css for var fonts to just use woff2 src directive
Diffstat (limited to 'docs/inter.css')
-rw-r--r--docs/inter.css19
1 files changed, 5 insertions, 14 deletions
diff --git a/docs/inter.css b/docs/inter.css
index 09929c5f8..95c9c2b18 100644
--- a/docs/inter.css
+++ b/docs/inter.css
@@ -151,18 +151,14 @@ Usage:
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 var';
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");
}
/* Legacy naming compatibility */
@@ -171,18 +167,14 @@ Usage:
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 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");
}
@@ -203,6 +195,5 @@ explicitly, e.g.
font-family: 'Inter var experimental';
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");
}