Home / Type/ SystemFallbacksProvider Type — astro Architecture

SystemFallbacksProvider Type — astro Architecture

Architecture documentation for the SystemFallbacksProvider type/interface in definitions.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  4ec9ccf3_2ff2_590c_d142_484742e81dc2["SystemFallbacksProvider"]
  acedbcbd_1f43_e7eb_ce1b_cea2d1105273["definitions.ts"]
  4ec9ccf3_2ff2_590c_d142_484742e81dc2 -->|defined in| acedbcbd_1f43_e7eb_ce1b_cea2d1105273
  style 4ec9ccf3_2ff2_590c_d142_484742e81dc2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/assets/fonts/definitions.ts lines 44–47

export interface SystemFallbacksProvider {
	getLocalFonts: (fallback: GenericFallbackName) => Array<string> | null;
	getMetricsForLocalFont: (family: string) => FontFaceMetrics;
}

Frequently Asked Questions

What is the SystemFallbacksProvider type?
SystemFallbacksProvider is a type/interface in the astro codebase, defined in packages/astro/src/assets/fonts/definitions.ts.
Where is SystemFallbacksProvider defined?
SystemFallbacksProvider is defined in packages/astro/src/assets/fonts/definitions.ts at line 44.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free