Comparing version
{ | ||
"name": "inter-ui", | ||
"version": "3.19.2", | ||
"version": "3.19.3", | ||
"description": "Font files for the Inter font family.", | ||
@@ -29,2 +29,7 @@ "main": "inter.css", | ||
"url": "https://emaxime.com/" | ||
}, | ||
{ | ||
"name": "Thomas Kräftner", | ||
"email": "thomas@kraftner.com", | ||
"url": "http://kraftner.com/" | ||
} | ||
@@ -31,0 +36,0 @@ ], |
@@ -68,8 +68,20 @@ # The Inter Typeface (npm distribution) | ||
If you're using the Apache web server to serve the font files, you will have to | ||
[adapt its configuration](https://serverfault.com/questions/159152/apache-treating-files-with-var-in-their-names-as-type-maps) | ||
to make it serve variable fonts as expected. This is because the font files contain | ||
`.var.` in their name, which causes Apache to interpret those files in a special way | ||
(and will result in a *500 Internal Server Error* by default). | ||
If you're using the Apache web server to serve the font files, you will probably | ||
encounter a *500 Internal Server Error* by default. This is because the font files contain | ||
`.var.` in their name, which causes Apache to interpret those files in a special way. | ||
There are two ways to solve this: | ||
Either [adapt its configuration](https://serverfault.com/questions/159152/apache-treating-files-with-var-in-their-names-as-type-maps) | ||
to make it serve variable fonts as expected. | ||
Alternatively you can copy/rename the font files removing the `.var` in their name and use the | ||
SCSS variable `$inter-font-variable-suffix` to change the filename in the CSS: | ||
```scss | ||
@use "~inter-ui/variable" with ( | ||
$inter-font-variable-suffix: '' | ||
); | ||
``` | ||
## Modular imports | ||
@@ -76,0 +88,0 @@ |
Sorry, the diff of this file is not supported yet
16063587
0135
9.76%