Skip to content

Commit

Permalink
dev: update font weight
Browse files Browse the repository at this point in the history
  • Loading branch information
Myriad-Dreamin committed Jul 16, 2024
1 parent a21e7d6 commit b994e26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typ/templates/page.typ
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@
) if is-web-target

// set text style
set text(weight: "regular") if is-web-target
set text(
font: main-font,
size: main-size,
Expand Down Expand Up @@ -165,7 +166,6 @@

// Set text, spacing for headings
// Render a hash to hint headings instead of bolding it as well if it's for web.
show heading: set text(weight: "regular") if is-web-target
show heading: it => {
let it = {
set text(size: heading-sizes.at(it.level))
Expand Down

0 comments on commit b994e26

Please sign in to comment.