Skip to content

Commit

Permalink
fix: fix dewdrop theme
Browse files Browse the repository at this point in the history
  • Loading branch information
OrangeX4 committed Sep 2, 2024
1 parent a6ff1cd commit 2145de5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions themes/dewdrop.typ
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,10 @@
///
/// Example: `config-common(new-section-slide-fn: new-section-slide.with(numbered: false))`
///
/// - `title` is the title of the section. It will be pass by touying automatically.
#let new-section-slide(..args, title) = touying-slide-wrapper(self => {
/// - `title` is the title of the slide. Default is `utils.i18n-outline-title`.
///
/// - `body` is the contents of the slide.
#let new-section-slide(title: utils.i18n-outline-title, ..args, body) = touying-slide-wrapper(self => {
self = utils.merge-dicts(
self,
config-page(
Expand All @@ -213,7 +215,7 @@
1.2em,
fill: self.colors.primary,
weight: "bold",
utils.call-or-display(self, self.store.outline-title),
utils.call-or-display(self, title),
),
text(
fill: self.colors.neutral-darkest,
Expand Down

0 comments on commit 2145de5

Please sign in to comment.