From fc910538144c8759863f76c97ac71775b9eb276a Mon Sep 17 00:00:00 2001 From: OrangeX4 <318483724@qq.com> Date: Mon, 2 Sep 2024 02:33:11 +0800 Subject: [PATCH] fix: fix some bugs --- themes/simple.typ | 7 +++---- themes/university.typ | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/themes/simple.typ b/themes/simple.typ index ceba0b92..c8d31c5c 100644 --- a/themes/simple.typ +++ b/themes/simple.typ @@ -51,6 +51,7 @@ config-page( header: header, footer: footer, + fill: self.colors.neutral-lightest, ), config-common(subslide-preamble: self.store.subslide-preamble), ) @@ -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( @@ -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) diff --git a/themes/university.typ b/themes/university.typ index e3b31a02..571945a0 100644 --- a/themes/university.typ +++ b/themes/university.typ @@ -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,