Skip to main content

stargazer-theme

Touying stargazer theme.

Example:

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

Consider using:

#set text(font: "Fira Sans", weight: "light", size: 20pt)`
#show math.equation: set text(font: "Fira Math")
#set strong(delta: 100)
#set par(justify: true)

The default colors:

config-colors(
primary: rgb("#005bac"),
primary-dark: rgb("#004078"),
secondary: rgb("#ffffff"),
tertiary: rgb("#005bac"),
neutral-lightest: rgb("#ffffff"),
neutral-darkest: rgb("#000000"),
)
Parameters

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

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

align : alignment    default: horizon

is the alignment of the content. The default is horizon.

title : content | function

is the title in the header of the slide. The default is self => utils.display-current-heading(depth: self.slide-level).

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

is the right part of the header. The default is self => self.info.logo.

is the footer of the slide. The default is none.

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

progress-bar : boolean    default: true

is whether to show the progress bar in the footer. The default is true.

is the columns of the footer. The default is (25%, 25%, 1fr, 5em).

is the left part of the footer. The default is self => self.info.author.

is the second left part of the footer. The default is self => utils.display-info-date(self).

is the second right part of the footer. The default is self => if self.info.short-title == auto { self.info.title } else { self.info.short-title }.

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