Socket
Book a DemoInstallSign in
Socket

inter-ui

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inter-ui - npm Package Compare versions

Comparing version

to
3.19.3

7

package.json
{
"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 @@ ],

22

README.md

@@ -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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.