This site uses the PT Serif font
In config/_default/params.toml
set
1customCSS = [
2"https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap"
3]
And then in file assets/main/scss/_custom.scss
add
1:root {
2 --hbs-body-font-family: 'PT Serif', sans-serif;
3}
To set the default font size specify the --hbs-body-font-size
variable in the same place e.g.
1:root {
2 --hbs-body-font-family: 'PT Serif', sans-serif;
3 --hbs-body-font-size: 1.1rem
4}