mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-10 01:01:45 +00:00
Update font format from 'ttf' to 'truetype' (#32493)
As per css docs `ttf` isn't a valid format specifier. Instead, for '.ttf' fonts you need to use `truetype`. https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/At-rules/@supports#font-format
This commit is contained in:
+1
-1
@@ -39,7 +39,7 @@ e.g. in config.json:
|
|||||||
"faces": [
|
"faces": [
|
||||||
{
|
{
|
||||||
"font-family": "Inter",
|
"font-family": "Inter",
|
||||||
"src": [{"url": "/fonts/Inter.ttf", "format": "ttf"}]
|
"src": [{"url": "/fonts/Inter.ttf", "format": "truetype"}]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"general": "Inter, sans",
|
"general": "Inter, sans",
|
||||||
|
|||||||
Reference in New Issue
Block a user