Trevixal API
    Preparing search index...

    Interface FontDefinition

    interface FontDefinition {
        family: string;
        label?: string;
        source?: { src: string; style?: string; weight?: string };
        stack?: string;
        url?: string;
    }
    Index
    family: string

    Family name used in the document's font-family.

    label?: string

    Label for the font select; the family name by default.

    source?: { src: string; style?: string; weight?: string }

    Font file to register through @font-face instead of a stylesheet.

    stack?: string

    CSS stack, e.g. "Merriweather", Georgia, serif".

    url?: string

    Web font to load: a Google Fonts URL, or any stylesheet.