Skip to content

Commit

Permalink
Support multiple fonts from Google
Browse files Browse the repository at this point in the history
Strip interpolation to prevent the font list from being unexpectedly
merged into one single string element.
  • Loading branch information
kuanyili committed Aug 10, 2024
1 parent 712aa05 commit 6b0d4d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ $td-fonts-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
"Segoe UI Symbol";

@if $td-enable-google-fonts {
$td-fonts-serif: join("#{$google_font_name}", $td-fonts-serif);
$td-fonts-serif: join($google_font_name, $td-fonts-serif);
}

$font-family-sans-serif: $td-fonts-serif !default; // TODO: consider moving into UG SCSS or namespace the var (td-)
Expand Down

0 comments on commit 6b0d4d8

Please sign in to comment.