Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fontsource-open-sans

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fontsource-open-sans - npm Package Compare versions

Comparing version 2.1.2 to 2.1.3

4

package.json
{
"name": "fontsource-open-sans",
"version": "2.1.2",
"version": "2.1.3",
"description": "Open Sans font in NPM glory.",

@@ -17,3 +17,3 @@ "main": "index.css",

"repository": "https://github.com/DecliningLotus/fontsource/tree/master/packages/open-sans",
"gitHead": "20a37d921586944d665401920dd5794639156011"
"gitHead": "a267ada4e111247efe8062ca5e49acf7339cdddb"
}
# Fontsource Open Sans
[![npm version](https://badge.fury.io/js/fontsource-open-sans.svg)](https://github.com/DecliningLotus/fontsource) [![Generic badge](https://img.shields.io/badge/fontsource-passing-brightgreen)](https://github.com/DecliningLotus/fontsource) [![GitHub stars](https://img.shields.io/github/stars/DecliningLotus/fontsource.svg?style=social&label=Star&maxAge=2592000)](https://GitHub.com/DecliningLotus/fontsource/stargazers/)
[![npm version](https://badge.fury.io/js/fontsource-open-sans.svg)](https://github.com/DecliningLotus/fontsource) [![Generic badge](https://img.shields.io/badge/fontsource-passing-brightgreen)](https://github.com/DecliningLotus/fontsource) [![GitHub stars](https://img.shields.io/github/stars/DecliningLotus/fontsource.svg?style=social&label=Star)](https://GitHub.com/DecliningLotus/fontsource/stargazers/)

@@ -15,3 +15,3 @@ The CSS and web font files to easily self-host the “Open Sans” font. Please visit the main [Fontsource monorepo](https://github.com/DecliningLotus/fontsource) to view more details on this package.

Then within your app entry file or site component, import it in. For example in Gatsby, you could simply import it into your `layout.js` component or `gatsby-browser.js` for limited circumstances.
Then within your app entry file or site component, import it in. For example in Gatsby, you could choose to import it into a layout template (`layout.js`), page component, or `gatsby-browser.js`.

@@ -33,4 +33,4 @@ ```javascript

```scss
@import "~fontsource-open-sans/index";
@import "~fontsource-open-sans/vietnamese-300-italic";
@import "~fontsource-open-sans/index.css";
@import "~fontsource-open-sans/vietnamese-300-italic.css";
```

@@ -46,2 +46,10 @@

Finally, you can reference the font name in a CSS stylesheet, CSS Module, or CSS-in-JS.
```css
body {
font-family: "Open Sans";
}
```
## Licensing

@@ -48,0 +56,0 @@

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