Skip to main content

config-store

config-store(..args)(source)

Store theme-specific private data in the presentation context.

Use this in your theme's #show: my-theme.with(...) to pass arbitrary key-value pairs that your theme needs internally. The stored values are accessible via self.store.<key> inside any theme function.

Example:

config-store(
header-height: 2em,
show-logo: true,
)
Parameters

..args : arguments

Named key-value pairs to store in self.store.

Returns: dictionary