@fontsource-variable/nunito
Advanced tools
Comparing version 5.0.2 to 5.0.3
{ | ||
"name": "@fontsource-variable/nunito", | ||
"version": "5.0.2", | ||
"version": "5.0.3", | ||
"description": "Self-host the Nunito font in a neatly bundled NPM package.", | ||
@@ -29,3 +29,3 @@ "main": "index.css", | ||
}, | ||
"publishHash": "da0b669154ed1318" | ||
"publishHash": "3d42cd7e74000665" | ||
} |
# Fontsource Nunito | ||
[![npm (scoped)](https://img.shields.io/npm/v/@fontsource/nunito?color=brightgreen)](https://www.npmjs.com/package/@fontsource/nunito) [![Generic badge](https://img.shields.io/badge/fontsource-passing-brightgreen)](https://github.com/fontsource/fontsource) [![Monthly downloads](https://badgen.net/npm/dm/@fontsource/nunito)](https://github.com/fontsource/fontsource) [![Total downloads](https://badgen.net/npm/dt/@fontsource/nunito)](https://github.com/fontsource/fontsource) [![GitHub stars](https://img.shields.io/github/stars/fontsource/fontsource.svg?style=social&label=Star)](https://github.com/fontsource/fontsource/stargazers) | ||
[![npm (scoped)](https://img.shields.io/npm/v/@fontsource-variable/nunito?color=brightgreen)](https://www.npmjs.com/package/@fontsource-variable/nunito) [![Generic badge](https://img.shields.io/badge/fontsource-passing-brightgreen)](https://github.com/fontsource/fontsource) [![Monthly downloads](https://badgen.net/npm/dm/@fontsource-variable/nunito)](https://github.com/fontsource/fontsource) [![Total downloads](https://badgen.net/npm/dt/@fontsource-variable/nunito)](https://github.com/fontsource/fontsource) [![GitHub stars](https://img.shields.io/github/stars/fontsource/fontsource.svg?style=social&label=Star)](https://github.com/fontsource/fontsource/stargazers) | ||
The CSS and web font files to easily self-host the “Nunito” font. Please visit the main [Fontsource website](https://fontsource.org/fonts/nunito) to view more details on this package. | ||
The CSS and web font files to easily self-host the “Nunito” variable font. Please visit the main [Fontsource website](https://fontsource.org/fonts/nunito) to view more details on this package. | ||
## Quick Installation | ||
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). | ||
@@ -21,3 +21,2 @@ ```javascript | ||
import "@fontsource-variable/nunito/wght-italic.css"; // Specify axis and style | ||
``` | ||
@@ -31,2 +30,4 @@ | ||
> Note: `italic` may not be supported by all fonts. To learn more about what axes and styles are supported, please visit the [Fontsource website](https://fontsource.org/fonts/nunito). | ||
Finally, you can reference the font name in a CSS stylesheet, CSS Module, or CSS-in-JS. | ||
@@ -36,14 +37,8 @@ | ||
body { | ||
font-family: "Nunito"; | ||
font-family: "Nunito Variable"; | ||
} | ||
``` | ||
## Variable Fonts | ||
This particular typeface supports [variable fonts](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide). | ||
Variable documentation can be found [here](https://fontsource.org/docs/getting-started/variable). | ||
## 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. | ||
@@ -55,2 +50,3 @@ Copyright 2014 The Nunito Project Authors (https://github.com/googlefonts/nunito) | ||
Font version (provided by source): `v25`. | ||
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
289958
48