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 Apr 29, 2024
1 parent 06a7923 commit 179bc30
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 @@ -56,7 +56,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 179bc30

Please sign in to comment.