Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "geist", | ||
"version": "0.1.2", | ||
"main": "index.js", | ||
"license": "MIT" | ||
"version": "0.1.3", | ||
"description": "Geist is a new font family for Vercel, created by Vercel in collaboration with Basement Studio.", | ||
"main": "src/font.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/vercel/geist-font/issues" | ||
}, | ||
"homepage": "https://vercel.com/font", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/vercel/geist-font", | ||
"directory": "packages/next" | ||
}, | ||
"keywords": [ | ||
"geist", | ||
"geist mono", | ||
"geist sans", | ||
"vercel font" | ||
], | ||
"exports": { | ||
"./font": "./src/font.js" | ||
}, | ||
"license": "SIL OPEN FONT LICENSE", | ||
"dependencies": { | ||
"@next/font": "^13.5.6" | ||
} | ||
} |
@@ -1,1 +0,58 @@ | ||
# Geist | ||
![](.images/hero.png) | ||
# Geist Sans & Geist Mono | ||
Geist is a new font family for Vercel, created by [Vercel](https://vercel.com/design) in collaboration with [Basement Studio](https://basement.studio/). | ||
Geist Sans is a sans-serif typeface designed for legibility and simplicity. It is a modern, geometric typeface that is based on the principles of [classic Swiss typography](https://en.wikipedia.org/wiki/International_Typographic_Style). It is designed to be used in headlines, logos, posters, and other large display sizes. | ||
Geist Mono is a monospaced typeface that has been crafted to be the perfect partner to Geist Sans. It is designed to be used in code editors, diagrams, terminals, and other textbased interfaces where code is represented. | ||
### Installation | ||
```sh | ||
npm install geist | ||
``` | ||
### Using with Next.js | ||
#### App Router | ||
In your `app/layout.js`: | ||
```js | ||
import { sansFont } from "geist/font"; | ||
export default function RootLayout({ | ||
children, | ||
}: { | ||
children: React.ReactNode | ||
}) { | ||
return ( | ||
<html lang="en" className={sansFont.className}> | ||
<body>{children}</body> | ||
</html> | ||
) | ||
} | ||
``` | ||
#### Pages Router | ||
In your `pages/_app.js`: | ||
```js | ||
import { sansFont } from "geist/font"; | ||
export default function MyApp({ Component, pageProps }) { | ||
return ( | ||
<main className={sansFont.className}> | ||
<Component {...pageProps} /> | ||
</main> | ||
) | ||
} | ||
``` | ||
### License | ||
The Geist font family is free and open sourced under the [SIL Open Font License](./LICENSE.TXT). | ||
### Inspiration | ||
Geist has been influenced and inspired by the following typefaces: [Inter](https://fonts.google.com/specimen/Inter), [Univers](https://www.linotype.com/1567/univers-family.html), [SF Mono](https://developer.apple.com/fonts/), [SF Pro](https://developer.apple.com/fonts/), [Suisse International](https://www.swisstypefaces.com/fonts/suisse/), [ABC Diatype Mono](https://abcdinamo.com/typefaces/diatype), and [ABC Diatype](https://abcdinamo.com/typefaces/diatype). We thank the creators of these typefaces for their craft. |
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
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
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
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
650768
24
104
1
59
0
1
1
1
+ Added@next/font@^13.5.6
+ Added@next/font@13.5.6(transitive)