Docs
Storefront
Stencil
Themes
Page context
Theme object reference
Elements
font

font

Used to select font value on theme setting.

font: theme settings
{
  "type": "font",
  "label": "i18n.BodyTextFontFamily",
  "id": "body-font",
  "options": [
    {
      "group": "i18n.Karla",
      "label": "i18n.Karla",
      "value": "Google_Karla_400"
    },
    {
      "group": "i18n.Roboto",
      "label": "i18n.Roboto",
      "value": "Google_Roboto_400"
    },
    {
      "group": "i18n.SourceSansPro",
      "label": "i18n.SourceSansPro",
      "value": "Google_Source+Sans+Pro_400"
    }
  ]
}

Required fields: type, label, id, and options.

Optional field: force_reload.

https://storage.googleapis.com/bigcommerce-production-dev-center/images/theme_styles_font.png

Did you find what you were looking for?