Socket
Socket
Sign inDemoInstall

@hig/fonts

Package Overview
Dependencies
Maintainers
6
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hig/fonts - npm Package Compare versions

Comparing version 1.1.0 to 2.0.0

17

CHANGELOG.md

@@ -0,1 +1,18 @@

# [@hig/fonts-v2.0.0](https://github.com/Autodesk/hig/compare/@hig/fonts@1.1.0...@hig/fonts@2.0.0) (2022-05-14)
### Documentation
* update font imports ([3e047c1](https://github.com/Autodesk/hig/commit/3e047c1))
### Features
* point to new font cdn ([bb02fb0](https://github.com/Autodesk/hig/commit/bb02fb0))
### BREAKING CHANGES
* Fonts are pointing to a new cdn
# [@hig/fonts-v1.1.0](https://github.com/Autodesk/hig/compare/@hig/fonts@1.0.3...@hig/fonts@1.1.0) (2022-01-24)

@@ -2,0 +19,0 @@

2

package.json
{
"name": "@hig/fonts",
"version": "1.1.0",
"version": "2.0.0",
"description": "HIG Fonts",

@@ -5,0 +5,0 @@ "author": "Autodesk Inc.",

@@ -21,28 +21,1 @@ # Fonts

```
### Import additional weights
If you need more granular control, you can import each font your app uses, including weights beyond those reccommended in the desing system.
```js
/* ArtifaktElement font weights individually */
import "@hig/fonts/build/ArtifaktElement100.css";
import "@hig/fonts/build/ArtifaktElement200.css";
import "@hig/fonts/build/ArtifaktElement300.css";
import "@hig/fonts/build/ArtifaktElement400.css";
import "@hig/fonts/build/ArtifaktElement500.css";
import "@hig/fonts/build/ArtifaktElement600.css";
import "@hig/fonts/build/ArtifaktElement700.css";
import "@hig/fonts/build/ArtifaktElement800.css";
import "@hig/fonts/build/ArtifaktElement900.css";
```
### Import all weights
You can import all weights at once, but do so with caution. Importing unused font weights may unneccesarily increase package size.
```js
/* ArtifaktElement font w/ weights used in the design system (400, 600, and 700) */
import "@hig/fonts/build/ArtifaktElementAll.css";
```

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc