diff options
Diffstat (limited to 'docs/inter-ui.css')
-rw-r--r-- | docs/inter-ui.css | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/inter-ui.css b/docs/inter-ui.css index 76bfc9379..499df863b 100644 --- a/docs/inter-ui.css +++ b/docs/inter-ui.css @@ -116,6 +116,11 @@ html { } } +BUGS: +- Safari 12.0 will default to italic instead of regular when font-weight + is provided in a @font-face declaration. + Workaround: Use "Inter UI var safari-fix" for Safari, or explicitly set + `font-variation-settings:"slnt" DEGREE`. */ @font-face { font-family: 'Inter UI var'; @@ -124,3 +129,9 @@ html { 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"); } +@font-face { + font-family: 'Inter UI var safari-fix'; + 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"); +} |