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

@fontsource/jetbrains-mono

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fontsource/jetbrains-mono - npm Package Compare versions

Comparing version 4.1.1 to 4.2.0

12

CHANGELOG.md

@@ -15,2 +15,14 @@ # Changelog

## 4.2.x
### Features
- Added default variables to SCSS mixins. [#144](https://github.com/fontsource/fontsource/pull/144)
- Added $fontDir variable to SCSS mixins. [#146](https://github.com/fontsource/fontsource/pull/146)
- Added variable font support and $defSubset variable to SCSS mixins. [#147](https://github.com/fontsource/fontsource/pull/147)
### Documentation
- Changed package.json descriptions to something more mature. [#148](https://github.com/fontsource/fontsource/pull/148)
## 4.1.x

@@ -17,0 +29,0 @@

6

package.json
{
"name": "@fontsource/jetbrains-mono",
"version": "4.1.1",
"description": "Jetbrains Mono font in NPM glory.",
"version": "4.2.0",
"description": "Self-host the JetBrains Mono font in a neatly bundled NPM package.",
"main": "index.css",

@@ -27,3 +27,3 @@ "publishConfig": {

},
"gitHead": "6ff4f40c372c35e3c22a0c793efd638af6eb62b1"
"gitHead": "43c9423cb86c9707cfa83a7e1063868f213b0d59"
}

@@ -51,4 +51,3 @@ # Fontsource JetBrains Mono

$display: optional,
$woff2Path:
"~@fontsource/jetbrains-mono/files/jetbrains-mono-latin-500-normal.woff2",
$woff2Path: "#{$fontDir}/custom-file.woff2",
$unicodeRange: false

@@ -59,2 +58,15 @@ );

We also have default variables that you can use!
```scss
@import "~@fontsource/jetbrains-mono/scss/mixins";
$style: italic;
@include fontFace($weight: 500);
@include fontFace($weight: 600);
// Applies italic to both @includes.
```
You can see all of the existing inputtable mixin variables [here](https://github.com/fontsource/fontsource/tree/master/packages/jetbrains-mono/scss/mixins.scss).

@@ -115,2 +127,4 @@

For Sass mixins, please use fontFaceVariable() and fontFaceVariableCustom which introduces the new $type variable to choose between "wghtOnly" and "full".
_To view the available variable axes that may be included in the font, click [here](https://fonts.google.com/variablefonts). The meanings of all axes and the restrictions associated with them are explained there._

@@ -117,0 +131,0 @@

Sorry, the diff of this file is not supported yet

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