Skip to content

How can the font-family be modified? #204

Answered by bracketsberlin
ppazos asked this question in Help
Discussion options

You must be logged in to vote

@ppazos I know my answer comes a bit late to the party but maybe it's helpful to someone else in the future.

Out of the box, the following font families are set as a default:
$font-family-base: Helvetica, Arial, sans-serif !default;

To customize it, I am using a custom styles.scss in which I'm overriding the SCSS variables and then import the bootstrap-email-styles.

Minimal example of my styles.scss

/* Override Typography Variables */
$font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
$headings-font-family: $font-family-base;

body, table, td {
  font-family: $font-family-base !i…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by stuyam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants