Skip to content

Commit

Permalink
fix: fix some bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
OrangeX4 committed Sep 1, 2024
1 parent 4b02e7f commit fc91053
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions themes/simple.typ
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
config-page(
header: header,
footer: footer,
fill: self.colors.neutral-lightest,
),
config-common(subslide-preamble: self.store.subslide-preamble),
)
Expand Down Expand Up @@ -143,13 +144,9 @@
..args,
body,
) = {
set text(fill: foreground, size: 25pt)
show footnote.entry: set text(size: .6em)

show: touying-slides.with(
config-page(
paper: "presentation-" + aspect-ratio,
fill: background,
margin: 2em,
),
config-common(
Expand All @@ -160,6 +157,8 @@
),
config-methods(
init: (self: none, body) => {
set text(fill: self.colors.neutral-darkest, size: 25pt)
show footnote.entry: set text(size: .6em)
show strong: self.methods.alert.with(self: self)
show heading.where(level: self.slide-level + 1): set text(1.4em)

Expand Down
2 changes: 1 addition & 1 deletion themes/university.typ
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
}
let body = {
if info.logo != none {
align(right, text(fill: self.colors.primary, info.logo))
place(right, text(fill: self.colors.primary, info.logo))
}
align(
center + horizon,
Expand Down

0 comments on commit fc91053

Please sign in to comment.