Skip to content

Custom fonts ‚Äč

You can set specific self-hosted and Google Fonts for your needs. You can override default fonts and use only your own set of fonts. Furthermore, you can even provide your completely custom font by providing @font-face in your hosted file.

DANGER

When dealing with fonts, make sure to always set appropriate web-safe fonts and OS fonts as fallback. Custom fonts are very limited in various email clients.

DANGER

Please keep in mind that font names with space (two or more words), needs to be inside brackets, e.g. '"Verdana Pro", sans-serif' or "'Verdana Pro', sans-serif"

js
customFonts: {
    override: false,
    fonts: [
        {
          label: 'Mukta',
          style: "Mukta, sans-serif",
          url: 'https://fonts.googleapis.com/css2?family=Mukta:wght@400;700'
        }
    ]
},