diff options
Diffstat (limited to 'docs/inter-ui.css')
-rw-r--r-- | docs/inter-ui.css | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/inter-ui.css b/docs/inter-ui.css index 27227a6b4..76bfc9379 100644 --- a/docs/inter-ui.css +++ b/docs/inter-ui.css @@ -101,7 +101,9 @@ } /* -Single variable font. +------------------------------------------------------------------------------ +Alternative to the above: Single variable font. + Note that you may want to do something like this to make sure you're serving constant fonts to older browsers: @@ -117,7 +119,8 @@ html { */ @font-face { font-family: 'Inter UI var'; - font-weight: 400 900; /* safe weight range */ + font-weight: 400 900; + font-style: oblique 0deg 10deg; src: url("font-files/Inter-UI.var.woff2?v=3.0") format("woff2-variations"), url("font-files/Inter-UI.var.woff2?v=3.0") format("woff2"); } |