Socket
Socket
Sign inDemoInstall

fontsource-source-code-pro

Package Overview
Dependencies
0
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.2 to 2.1.3

4

package.json
{
"name": "fontsource-source-code-pro",
"version": "2.1.2",
"version": "2.1.3",
"description": "Source Code Pro font in NPM glory.",

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

"repository": "https://github.com/DecliningLotus/fontsource/tree/master/packages/source-code-pro",
"gitHead": "20a37d921586944d665401920dd5794639156011"
"gitHead": "a267ada4e111247efe8062ca5e49acf7339cdddb"
}
# Fontsource Source Code Pro
[![npm version](https://badge.fury.io/js/fontsource-source-code-pro.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-source-code-pro.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 “Source Code Pro” 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-source-code-pro/index";
@import "~fontsource-source-code-pro/vietnamese-300-italic";
@import "~fontsource-source-code-pro/index.css";
@import "~fontsource-source-code-pro/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: "Source Code Pro";
}
```
## Licensing

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc