Comparing version 1.1.0 to 2.0.0
@@ -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 @@ |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6635
4
48
21
1