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

geist

Package Overview
Dependencies
Maintainers
8
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

geist - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0-beta.1

dist/fonts/geist-mono/GeistMono-Variable.woff2

144

font.d.ts

@@ -5,7 +5,12 @@ import { NextFontWithVariable } from "next/dist/compiled/@next/font";

/**
* Geist Sans font, with `className` and `variable` properties,
* @deprecated - Import from `geist/font/sans` instead.
*
* Geist Sans variable font, with `className` and `variable` properties,
* meant to be attached to DOM elements via `className`
*
* Included weights: 100, 200, 300, 400, 500, 600, 700, 800, 900
* `GeistSans`—approximately 30kb—is preferred in almost all cases. Use `GeistSansNonVariable`—approximately
* 300kb—if you need to support browsers that {@link https://caniuse.com/variable-fonts cannot display variable fonts}
*
* Included weights: 100 through 900
*
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#app-router View App Router Example}

@@ -20,8 +25,57 @@ *

export const GeistSans: NextFontWithVariable;
/**
* @deprecated - Import from `geist/font/sans-non-variable` instead.
*
* Geist Sans font, with `className` and `variable` properties,
* meant to be attached to DOM elements via `className`
*
* `GeistSans`—approximately 30kb—is preferred in almost all cases. Use `GeistSansNonVariable`—approximately
* 300kb—if you need to support browsers that {@link https://caniuse.com/variable-fonts cannot display variable fonts}
*
* Included weights: 100 through 900
*
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#app-router View App Router Example}
*
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#with-tailwind-css View Tailwind Example}
*
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#pages-router View Pages Router Example}
*
* * {@link https://github.com/vercel/geist-font/releases Download Font Files}
* @deprecated Use `GeistSans` instead
*/
export const GeistSansNonVariable: NextFontWithVariable;
/**
* @deprecated - Import from `geist/font/mono` instead.
*
* Geist Mono variable font, with `className` and `variable` properties,
* meant to be attached to DOM elements via `className`
*
* `GeistMono`—approximately 30kb—is preferred in almost all cases. Use `GeistMonoNonVariable`—approximately
* 300kb—if you need to support browsers that {@link https://caniuse.com/variable-fonts cannot display variable fonts}
*
* Included weights: 100 through 900.
*
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#app-router View App Router Example}
*
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#with-tailwind-css View Tailwind Example}
*
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#pages-router View Pages Router Example}
*
* * {@link https://github.com/vercel/geist-font/releases Download Font Files}
*/
export const GeistMono: NextFontWithVariable;
/**
* @deprecated - Import from `geist/font/mono-non-variable` instead.
*
* Geist Mono font, with `className` and `variable` properties,
* meant to be attached to DOM elements via `className`
*
* Included weights: 100, 200, 300, 400, 500, 600, 700, 800, 900
* `GeistMono`—approximately 30kb—is preferred in almost all cases. Use `GeistMonoNonVariable`—approximately
* 300kb—if you need to support browsers that {@link https://caniuse.com/variable-fonts cannot display variable fonts}
*
* Included weights: 100 through 900.
*
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#app-router View App Router Example}

@@ -35,3 +89,87 @@ *

*/
export const GeistMonoNonVariable: NextFontWithVariable;
}
declare module "geist/font/mono" {
/**
* Geist Mono variable font, with `className` and `variable` properties,
* meant to be attached to DOM elements via `className`
*
* `GeistMono`—approximately 30kb—is preferred in almost all cases. Use `GeistMonoNonVariable`—approximately
* 300kb—if you need to support browsers that {@link https://caniuse.com/variable-fonts cannot display variable fonts}
*
* Included weights: 100 through 900.
*
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#app-router View App Router Example}
*
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#with-tailwind-css View Tailwind Example}
*
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#pages-router View Pages Router Example}
*
* * {@link https://github.com/vercel/geist-font/releases Download Font Files}
*/
export const GeistMono: NextFontWithVariable;
}
declare module "geist/font/mono-non-variable" {
/**
* Geist Mono font, with `className` and `variable` properties,
* meant to be attached to DOM elements via `className`
*
* `GeistMono`—approximately 30kb—is preferred in almost all cases. Use `GeistMonoNonVariable`—approximately
* 300kb—if you need to support browsers that {@link https://caniuse.com/variable-fonts cannot display variable fonts}
*
* Included weights: 100 through 900.
*
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#app-router View App Router Example}
*
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#with-tailwind-css View Tailwind Example}
*
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#pages-router View Pages Router Example}
*
* * {@link https://github.com/vercel/geist-font/releases Download Font Files}
*/
export const GeistMonoNonVariable: NextFontWithVariable;
}
declare module "geist/font/sans" {
/**
* Geist Sans font, with `className` and `variable` properties,
* meant to be attached to DOM elements via `className`
*
* `GeistSans`—approximately 30kb—is preferred in almost all cases. Use `GeistSansNonVariable`—approximately
* 300kb—if you need to support browsers that {@link https://caniuse.com/variable-fonts cannot display variable fonts}
*
* Included weights: 100 through 900
*
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#app-router View App Router Example}
*
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#with-tailwind-css View Tailwind Example}
*
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#pages-router View Pages Router Example}
*
* * {@link https://github.com/vercel/geist-font/releases Download Font Files}
*/
export const GeistSans: NextFontWithVariable;
}
declare module "geist/font/sans-non-variable" {
/**
* Geist Sans font, with `className` and `variable` properties,
* meant to be attached to DOM elements via `className`
*
* `GeistSans`—approximately 30kb—is preferred in almost all cases. Use `GeistSansNonVariable`—approximately
* 300kb—if you need to support browsers that {@link https://caniuse.com/variable-fonts cannot display variable fonts}
*
* Included weights: 100 through 900.
*
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#app-router View App Router Example}
*
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#with-tailwind-css View Tailwind Example}
*
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#pages-router View Pages Router Example}
*
* * {@link https://github.com/vercel/geist-font/releases Download Font Files}
*/
export const GeistSansNonVariable: NextFontWithVariable;
}
{
"name": "geist",
"version": "1.0.1",
"version": "1.1.0-beta.1",
"description": "Geist is a new font family for Vercel, created by Vercel in collaboration with Basement Studio.",

@@ -32,2 +32,22 @@ "main": "./dist/font.js",

"default": "./dist/index.d.ts"
},
"./font/mono": {
"import": "./dist/mono.js",
"require": "./dist/mono.js",
"default": "./dist/index.d.ts"
},
"./font/mono-non-variable": {
"import": "./dist/mono-non-variable.js",
"require": "./dist/mono-non-variable.js",
"default": "./dist/index.d.ts"
},
"./font/sans": {
"import": "./dist/sans.js",
"require": "./dist/sans.js",
"default": "./dist/index.d.ts"
},
"./font/sans-non-variable": {
"import": "./dist/sans-non-variable.js",
"require": "./dist/sans-non-variable.js",
"default": "./dist/index.d.ts"
}

@@ -34,0 +54,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