First concept
This commit is contained in:
224
node_modules/geist/font.d.ts
generated
vendored
Normal file
224
node_modules/geist/font.d.ts
generated
vendored
Normal file
@@ -0,0 +1,224 @@
|
||||
import { NextFontWithVariable } from "next/dist/compiled/@next/font";
|
||||
|
||||
declare module "geist/font" {
|
||||
/**
|
||||
* @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`
|
||||
*
|
||||
* `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;
|
||||
|
||||
/**
|
||||
* @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`
|
||||
*
|
||||
* `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/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;
|
||||
}
|
||||
|
||||
declare module "geist/font/pixel" {
|
||||
/**
|
||||
* Geist Pixel Square font, with `className` and `variable` properties,
|
||||
* meant to be attached to DOM elements via `className`
|
||||
*
|
||||
* A pixelated display font with square-shaped pixels.
|
||||
*
|
||||
* * {@link https://github.com/vercel/geist-font/releases Download Font Files}
|
||||
*/
|
||||
export const GeistPixelSquare: NextFontWithVariable;
|
||||
|
||||
/**
|
||||
* Geist Pixel Grid font, with `className` and `variable` properties,
|
||||
* meant to be attached to DOM elements via `className`
|
||||
*
|
||||
* A pixelated display font with grid-shaped pixels.
|
||||
*
|
||||
* * {@link https://github.com/vercel/geist-font/releases Download Font Files}
|
||||
*/
|
||||
export const GeistPixelGrid: NextFontWithVariable;
|
||||
|
||||
/**
|
||||
* Geist Pixel Circle font, with `className` and `variable` properties,
|
||||
* meant to be attached to DOM elements via `className`
|
||||
*
|
||||
* A pixelated display font with circle-shaped pixels.
|
||||
*
|
||||
* * {@link https://github.com/vercel/geist-font/releases Download Font Files}
|
||||
*/
|
||||
export const GeistPixelCircle: NextFontWithVariable;
|
||||
|
||||
/**
|
||||
* Geist Pixel Triangle font, with `className` and `variable` properties,
|
||||
* meant to be attached to DOM elements via `className`
|
||||
*
|
||||
* A pixelated display font with triangle-shaped pixels.
|
||||
*
|
||||
* * {@link https://github.com/vercel/geist-font/releases Download Font Files}
|
||||
*/
|
||||
export const GeistPixelTriangle: NextFontWithVariable;
|
||||
|
||||
/**
|
||||
* Geist Pixel Line font, with `className` and `variable` properties,
|
||||
* meant to be attached to DOM elements via `className`
|
||||
*
|
||||
* A pixelated display font with line-shaped pixels.
|
||||
*
|
||||
* * {@link https://github.com/vercel/geist-font/releases Download Font Files}
|
||||
*/
|
||||
export const GeistPixelLine: NextFontWithVariable;
|
||||
}
|
||||
Reference in New Issue
Block a user