@fontsource/kanit
Advanced tools
Comparing version 5.0.1 to 5.0.2
{ | ||
"name": "@fontsource/kanit", | ||
"version": "5.0.1", | ||
"version": "5.0.2", | ||
"description": "Self-host the Kanit font in a neatly bundled NPM package.", | ||
@@ -29,3 +29,3 @@ "main": "index.css", | ||
}, | ||
"publishHash": "a0f43ef4285f88e3" | ||
"publishHash": "1dc2eda1be41a2bd" | ||
} |
@@ -9,3 +9,3 @@ # Fontsource Kanit | ||
Fontsource has a variety of methods to import CSS, such as using a bundler like Webpack. Alternatively, it supports SASS. Full documentation can be found [here](https://fontsource.org/docs/getting-started/introduction). | ||
Fontsource offers multiple methods to import the CSS, including using a bundler like Vite or using SASS. You can find full documentation [here](https://fontsource.org/docs/getting-started/introduction). | ||
@@ -22,3 +22,2 @@ ```javascript | ||
import "@fontsource/kanit/400-italic.css"; // Specify weight and style | ||
``` | ||
@@ -31,2 +30,4 @@ | ||
> Note: `italic` may not be supported by all fonts. To learn more about what weights and styles are supported, please visit the [Fontsource website](https://fontsource.org/fonts/kanit). | ||
Finally, you can reference the font name in a CSS stylesheet, CSS Module, or CSS-in-JS. | ||
@@ -41,4 +42,3 @@ | ||
## Licensing | ||
It is important to always read the license for every font that you use. | ||
Most of the fonts in the collection use the SIL Open Font License, v1.1. Some fonts use the Apache 2 license. The Ubuntu fonts use the Ubuntu Font License v1.0. | ||
Always make sure to read the license for each font you use. Most of the fonts in the collection use the SIL Open Font License, v1.1. Some fonts use the Apache 2 license. The Ubuntu fonts use the Ubuntu Font License v1.0. | ||
@@ -50,2 +50,3 @@ Copyright 2020 The Kanit Project Authors (https://github.com/cadsondemak/kanit) | ||
Font version (provided by source): `v12`. | ||
Feel free to star and contribute new ideas to this repository that aim to improve the performance of font loading, as well as expanding the existing library we already have. Any suggestions or ideas can be voiced via an [issue](https://github.com/fontsource/fontsource/issues). | ||
If you have any suggestions or ideas to improve the performance of font loading or expand the existing library, feel free to star and contribute to this repository. You can share your suggestions or ideas by creating an [issue](https://github.com/fontsource/fontsource/issues). |
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
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
1978560
47