Skip to main content

simple-theme

Touying simple theme.

Example:

#show: simple-theme.with(aspect-ratio: "16-9", config-colors(primary: blue))`

The default colors:

config-colors(
neutral-light: gray,
neutral-lightest: rgb("#ffffff"),
neutral-darkest: rgb("#000000"),
primary: aqua.darken(50%),
)
Parameters

aspect-ratio : string    default: "16-9"

The aspect ratio of the slides. Default is 16-9.

The header of the slides. Default is self => utils.display-current-heading(setting: utils.fit-to-width.with(grow: false, 100%), depth: self.slide-level).

header-right : content    default: self => self.info.logo

The right part of the header. Default is self.info.logo.

The footer of the slides. Default is none.

The right part of the footer. Default is context utils.slide-counter.display() + " / " + utils.last-slide-number.

primary : color    default: aqua.darken(50%)

The primary color of the slides. Default is aqua.darken(50%).

subslide-preamble : content

The preamble of the subslides. Default is block(below: 1.5em, text(1.2em, weight: "bold", utils.display-current-heading(level: 2))).