getLocalFonts() — astro Function Reference
Architecture documentation for the getLocalFonts() function in system-fallbacks-provider.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD ffd6cc42_5f25_f893_aa6e_f408b6806b54["getLocalFonts()"] b1388120_95de_3adb_2e5d_793f6264a31e["RealSystemFallbacksProvider"] ffd6cc42_5f25_f893_aa6e_f408b6806b54 -->|defined in| b1388120_95de_3adb_2e5d_793f6264a31e style ffd6cc42_5f25_f893_aa6e_f408b6806b54 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/assets/fonts/infra/system-fallbacks-provider.ts lines 72–74
getLocalFonts(fallback: GenericFallbackName): Array<string> | null {
return DEFAULT_FALLBACKS[fallback as keyof typeof DEFAULT_FALLBACKS] ?? null;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does getLocalFonts() do?
getLocalFonts() is a function in the astro codebase, defined in packages/astro/src/assets/fonts/infra/system-fallbacks-provider.ts.
Where is getLocalFonts() defined?
getLocalFonts() is defined in packages/astro/src/assets/fonts/infra/system-fallbacks-provider.ts at line 72.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free