> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# brandKitFontFamiliesAdd

> Add custom font families to the store's brand kit from font files, as the Brand kit page's Add font does. Redo downloads each file, reads its family, style, weight and italics, and hosts it. Files of a family the brand kit already has add only the styles it lacks, and that family takes the new fallback font and a new id. Each file draws on the upload quota. Returns the brand kit after the change. Fails with BAD_USER_INPUT (400), and adds nothing, when a URL isn't a public https URL, can't be downloaded, is over 10 MB or isn't a font Redo can read; the error names the URL.

**Required scopes:** [`account_write`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-account_write)

## Arguments

**input** `[BrandKitFontFamiliesAddInput!](/docs/api-reference/v3/reference/account/brand-kit-font-families-add-input)` *required*

The font files to add.

**fields**

**fallbackFont** `[BrandKitFallbackFont](/docs/api-reference/v3/reference/account/brand-kit-fallback-font)`

The email-safe font the added families fall back to. Left out, they fall back to the reader's sans-serif font.

**fontFileUrls** `[String!]!` *required*

Public https URLs of the font files: .ttf, .otf, .woff or .woff2, each at most 10 MB, 1 to 30 of them.

## Returns

**brandKitFontFamiliesAdd** `[BrandKit!](/docs/api-reference/v3/reference/account/brand-kit)` *required*

How the store's brand looks on the emails, portals and pages Redo sends in its name. These are the settings on the merchant app's Brand kit page, except the SMS contact card, which is edited there only.

**fields**

**buttons** `[BrandKitButtons!](/docs/api-reference/v3/reference/account/brand-kit-buttons)` *required*

The button styles.

**fields**

**primary** `[BrandKitButtonStyle!](/docs/api-reference/v3/reference/account/brand-kit-button-style)` *required*

The main call to action.

**fields**

**backgroundColor** `String`

The fill, as a hex color. Null when the element has none.

**border** `[BrandKitBorder!](/docs/api-reference/v3/reference/account/brand-kit-border)` *required*

The element's edge.

**fontReference** `[BrandKitFontReference!](/docs/api-reference/v3/reference/account/brand-kit-font-reference)` *required*

The text style the element takes its font size and weight from.

**paddingPx** `Float!` *required*

The space between the element's edge and its text, in pixels.

**textColor** `String!` *required*

The text color, as a hex color.

**secondary** `[BrandKitButtonStyle!](/docs/api-reference/v3/reference/account/brand-kit-button-style)` *required*

A supporting action.

**fields**

**backgroundColor** `String`

The fill, as a hex color. Null when the element has none.

**border** `[BrandKitBorder!](/docs/api-reference/v3/reference/account/brand-kit-border)` *required*

The element's edge.

**fontReference** `[BrandKitFontReference!](/docs/api-reference/v3/reference/account/brand-kit-font-reference)` *required*

The text style the element takes its font size and weight from.

**paddingPx** `Float!` *required*

The space between the element's edge and its text, in pixels.

**textColor** `String!` *required*

The text color, as a hex color.

**tertiary** `[BrandKitButtonStyle!](/docs/api-reference/v3/reference/account/brand-kit-button-style)` *required*

The least prominent action.

**fields**

**backgroundColor** `String`

The fill, as a hex color. Null when the element has none.

**border** `[BrandKitBorder!](/docs/api-reference/v3/reference/account/brand-kit-border)` *required*

The element's edge.

**fontReference** `[BrandKitFontReference!](/docs/api-reference/v3/reference/account/brand-kit-font-reference)` *required*

The text style the element takes its font size and weight from.

**paddingPx** `Float!` *required*

The space between the element's edge and its text, in pixels.

**textColor** `String!` *required*

The text color, as a hex color.

**colors** `[BrandKitColors!](/docs/api-reference/v3/reference/account/brand-kit-colors)` *required*

The brand's colors.

**fields**

**accent** `String!` *required*

The accent color, as a hex color.

**background** `String!` *required*

The background color, as a hex color.

**customFontFamilies** `[\[BrandKitCustomFontFamily!\]!](/docs/api-reference/v3/reference/account/brand-kit-custom-font-family)` *required*

The custom font families the store added, on the Brand kit page or with `brandKitFontFamiliesAdd`.

**fields**

**fallbackFont** `String!` *required*

The font a reader sees when the family can't load: an email-safe font or a generic one such as sans-serif.

**fontFamily** `String!` *required*

The family's name, which `fonts.headerFontFamily` and `fonts.bodyFontFamily` accept.

**id** `ID!` *required*

The family's id, to remove it with `brandKitFontFamilyRemove`.

**styles** `[\[BrandKitCustomFontStyle!\]!](/docs/api-reference/v3/reference/account/brand-kit-custom-font-style)` *required*

The family's styles, one per font file.

**fields**

**file** `[File!](/docs/api-reference/v3/reference/common/file)` *required*

The font file, hosted by Redo. Emails and portals load the style from its URL.

**fontName** `String!` *required*

The family name the font file declares.

**fontStyle** `String!` *required*

The style name the font file declares, such as Regular or Bold Italic.

**id** `ID!` *required*

The style's id.

**italic** `Boolean!` *required*

Whether the style is italic.

**weight** `String!` *required*

The CSS font weight: a number such as 400, or for a variable font the range it covers, such as 100 900.

**customerFacingDomain** `String`

The domain Redo's customer portals send shoppers to instead of the store's own, such as shop.example.com. Null when none is set, so the portals use the store's domain.

**faviconUrl** `String`

The store's favicon. Null when none is set.

**fonts** `[BrandKitFonts!](/docs/api-reference/v3/reference/account/brand-kit-fonts)` *required*

The brand's font families.

**fields**

**bodyFontFamily** `String!` *required*

The font family of body text.

**headerFontFamily** `String!` *required*

The font family of headings.

**inputStyle** `[BrandKitInputStyle!](/docs/api-reference/v3/reference/account/brand-kit-input-style)` *required*

The form input style.

**fields**

**backgroundColor** `String`

The fill, as a hex color. Null when the element has none.

**border** `[BrandKitBorder!](/docs/api-reference/v3/reference/account/brand-kit-border)` *required*

The element's edge.

**fields**

**cornerRadiusPx** `Float!` *required*

How rounded the corners are, in pixels.

**stroke** `[BrandKitBorderStroke!](/docs/api-reference/v3/reference/account/brand-kit-border-stroke)` *required*

The outline.

**errorColor** `String!` *required*

The color of an input's error state, as a hex color.

**fontReference** `[BrandKitFontReference!](/docs/api-reference/v3/reference/account/brand-kit-font-reference)` *required*

The text style the element takes its font size and weight from.

**paddingPx** `Float!` *required*

The space between the element's edge and its text, in pixels.

**textColor** `String!` *required*

The text color, as a hex color.

**logoUrl** `String`

The store's logo. Null when none is set.

**socialLinks** `[BrandKitSocialLinks!](/docs/api-reference/v3/reference/account/brand-kit-social-links)` *required*

The store's default social media links, which email templates' social blocks use unless a template sets its own.

**fields**

**appleUrl** `String`

The store's page on this platform. Null when none is set.

**discordUrl** `String`

The store's page on this platform. Null when none is set.

**facebookUrl** `String`

The store's page on this platform. Null when none is set.

**githubUrl** `String`

The store's page on this platform. Null when none is set.

**googleUrl** `String`

The store's page on this platform. Null when none is set.

**instagramUrl** `String`

The store's page on this platform. Null when none is set.

**linkedinUrl** `String`

The store's page on this platform. Null when none is set.

**pinterestUrl** `String`

The store's page on this platform. Null when none is set.

**redditUrl** `String`

The store's page on this platform. Null when none is set.

**snapchatUrl** `String`

The store's page on this platform. Null when none is set.

**tiktokUrl** `String`

The store's page on this platform. Null when none is set.

**twitterUrl** `String`

The store's page on this platform. Null when none is set.

**youtubeUrl** `String`

The store's page on this platform. Null when none is set.

## Example

```graphql theme={null}
mutation {
  brandKitFontFamiliesAdd(input: { ... }) {
    customerFacingDomain
    faviconUrl
    logoUrl
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.