full site update
This commit is contained in:
48
node_modules/astro/dist/assets/fonts/providers/index.d.ts
generated
vendored
Normal file
48
node_modules/astro/dist/assets/fonts/providers/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
import type { providers } from 'unifont';
|
||||
import type { AstroFontProvider } from '../types.js';
|
||||
/** [Adobe](https://fonts.adobe.com/) */
|
||||
declare function adobe(config: Parameters<typeof providers.adobe>[0]): {
|
||||
entrypoint: string | URL;
|
||||
config?: Record<string, any> | undefined;
|
||||
};
|
||||
/** [Bunny](https://fonts.bunny.net/) */
|
||||
declare function bunny(): {
|
||||
entrypoint: string | URL;
|
||||
config?: Record<string, any> | undefined;
|
||||
};
|
||||
/** [Fontshare](https://www.fontshare.com/) */
|
||||
declare function fontshare(): {
|
||||
entrypoint: string | URL;
|
||||
config?: Record<string, any> | undefined;
|
||||
};
|
||||
/** [Fontsource](https://fontsource.org/) */
|
||||
declare function fontsource(): {
|
||||
entrypoint: string | URL;
|
||||
config?: Record<string, any> | undefined;
|
||||
};
|
||||
/** [Google](https://fonts.google.com/) */
|
||||
declare function google(config?: Parameters<typeof providers.google>[0]): {
|
||||
entrypoint: string | URL;
|
||||
config?: Record<string, any> | undefined;
|
||||
};
|
||||
/**
|
||||
* Astro re-exports most [unifont](https://github.com/unjs/unifont/) providers:
|
||||
* - [Adobe](https://fonts.adobe.com/)
|
||||
* - [Bunny](https://fonts.bunny.net/)
|
||||
* - [Fontshare](https://www.fontshare.com/)
|
||||
* - [Fontsource](https://fontsource.org/)
|
||||
* - [Google](https://fonts.google.com/)
|
||||
*/
|
||||
export declare const fontProviders: {
|
||||
adobe: typeof adobe;
|
||||
bunny: typeof bunny;
|
||||
fontshare: typeof fontshare;
|
||||
fontsource: typeof fontsource;
|
||||
google: typeof google;
|
||||
};
|
||||
/** A type helper for defining Astro font providers config objects */
|
||||
export declare function defineAstroFontProvider(provider: AstroFontProvider): {
|
||||
entrypoint: string | URL;
|
||||
config?: Record<string, any> | undefined;
|
||||
};
|
||||
export {};
|
Reference in New Issue
Block a user