Home / Type/ LocalFamilyOptions Type — astro Architecture

LocalFamilyOptions Type — astro Architecture

Architecture documentation for the LocalFamilyOptions type/interface in local.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  4b496ca6_6a9c_b870_55c8_ef0d9ed7b633["LocalFamilyOptions"]
  58255ece_c750_2cc1_8857_7a8e6a866fc7["local.ts"]
  4b496ca6_6a9c_b870_55c8_ef0d9ed7b633 -->|defined in| 58255ece_c750_2cc1_8857_7a8e6a866fc7
  style 4b496ca6_6a9c_b870_55c8_ef0d9ed7b633 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/assets/fonts/providers/local.ts lines 59–64

export interface LocalFamilyOptions {
	/**
	 * The `options.variants` property is required. Each variant represents a [`@font-face` declaration](https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/) and requires a `src`.
	 */
	variants: [Variant, ...Array<Variant>];
}

Frequently Asked Questions

What is the LocalFamilyOptions type?
LocalFamilyOptions is a type/interface in the astro codebase, defined in packages/astro/src/assets/fonts/providers/local.ts.
Where is LocalFamilyOptions defined?
LocalFamilyOptions is defined in packages/astro/src/assets/fonts/providers/local.ts at line 59.

Analyze Your Own Codebase

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

Try Supermodel Free