@fontsource/dm-mono
Advanced tools
Comparing version 4.5.10 to 5.0.0
# Changelog | ||
See the [Fontsource CHANGELOG.md](https://github.com/fontsource/fontsource/blob/main/CHANGELOG.md). | ||
See the [Fontsource CHANGELOG.md](https://github.com/fontsource/fontsource/blob/main/CHANGELOG.md). |
@@ -1,1 +0,19 @@ | ||
{"fontId":"dm-mono","fontName":"DM Mono","subsets":["latin","latin-ext"],"weights":[300,400,500],"styles":["italic","normal"],"defSubset":"latin","variable":false,"lastModified":"2022-09-22","version":"v10","category":"monospace","source":"https://fonts.google.com/","license":"https://fonts.google.com/attribution","type":"google"} | ||
{ | ||
"id": "dm-mono", | ||
"family": "DM Mono", | ||
"subsets": ["latin", "latin-ext"], | ||
"weights": [300, 400, 500], | ||
"styles": ["italic", "normal"], | ||
"defSubset": "latin", | ||
"variable": false, | ||
"lastModified": "2022-09-22", | ||
"version": "v10", | ||
"category": "monospace", | ||
"license": { | ||
"type": "OFL-1.1", | ||
"url": "http://scripts.sil.org/OFL", | ||
"attribution": "Copyright 2020 The DM Mono Project Authors (https://www.github.com/googlefonts/dm-mono)" | ||
}, | ||
"source": "https://github.com/google/fonts", | ||
"type": "google" | ||
} |
@@ -1,1 +0,29 @@ | ||
{"name":"@fontsource/dm-mono","version":"4.5.10","description":"Self-host the DM Mono font in a neatly bundled NPM package.","main":"index.css","publishConfig":{"access":"public"},"keywords":["fontsource","font","font family","google fonts","DM Mono","dm-mono"],"author":"Lotus <declininglotus@gmail.com>","license":"MIT","homepage":"https://github.com/fontsource/fontsource/tree/main/fonts/google/dm-mono#readme","repository":{"type":"git","url":"https://github.com/fontsource/fontsource.git","directory":"fonts/google/dm-mono"}} | ||
{ | ||
"name": "@fontsource/dm-mono", | ||
"version": "5.0.0", | ||
"description": "Self-host the DM Mono font in a neatly bundled NPM package.", | ||
"main": "index.css", | ||
"publishConfig": {"access": "public"}, | ||
"keywords": [ | ||
"fontsource", | ||
"font", | ||
"font family", | ||
"google fonts", | ||
"dm-mono", | ||
"DM Mono", | ||
"css", | ||
"sass", | ||
"front-end", | ||
"web", | ||
"typeface", | ||
"variable" | ||
], | ||
"author": "Google Inc.", | ||
"license": "OFL-1.1", | ||
"homepage": "https://fontsource.org/fonts/dm-mono", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/fontsource/font-files.git", | ||
"directory": "fonts/google/dm-mono" | ||
} | ||
} |
@@ -9,6 +9,6 @@ # Fontsource DM Mono | ||
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/introduction). | ||
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). | ||
```javascript | ||
yarn add @fontsource/dm-mono // npm install @fontsource/dm-mono | ||
npm install @fontsource/dm-mono | ||
``` | ||
@@ -19,10 +19,12 @@ | ||
```javascript | ||
import "@fontsource/dm-mono"; // Defaults to weight 400. | ||
import "@fontsource/dm-mono"; // Defaults to weight 400 | ||
import "@fontsource/dm-mono/400.css"; // Specify weight | ||
import "@fontsource/dm-mono/400-italic.css"; // Specify weight and style | ||
``` | ||
Supported variables: | ||
- Weights: `[300,400,500]` | ||
- Styles: `[italic,normal]` | ||
- Supported subsets: `[latin,latin-ext]` | ||
- Subsets: `[latin,latin-ext]` | ||
@@ -33,19 +35,15 @@ Finally, you can reference the font name in a CSS stylesheet, CSS Module, or CSS-in-JS. | ||
body { | ||
font-family: "DM Mono"; | ||
font-family: "DM Mono; | ||
} | ||
``` | ||
## 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. | ||
[Google Fonts License Attributions](https://fonts.google.com/attribution) | ||
Copyright 2020 The DM Mono Project Authors (https://www.github.com/googlefonts/dm-mono) | ||
[OFL-1.1](http://scripts.sil.org/OFL) | ||
## Other Notes | ||
Font version (provided by source): `v10`. | ||
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). | ||
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). |
@@ -1,1 +0,4 @@ | ||
{"latin-ext":"U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF","latin":"U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"} | ||
{ | ||
"latin-ext": "U+0100-02AF,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF", | ||
"latin": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 4 instances in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 6 instances in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
316
0
24
326744
55
1
90
46