CDP Frontend SDK
    Preparing search index...

    Type Alias ComponentFonts

    ComponentFonts: Flattened<{ font: typeof fontComponents }>

    Component fonts are the fonts for the individual UI components. They inherit values from the SemanticFonts via CSS variables.

    const theme: Partial<ComponentFonts> = {
    "font-family-cta": "var(--cdp-web-font-family-mono)", // Change the font for ctas to monospace font
    };