Skip to content

Lua API for determining which brand modes are available #12453

Closed
@gordonwoodhull

Description

@gordonwoodhull

Maybe something like _quarto.modules.brand.has_mode(mode)

Today you could look at param("brand").light or param("brand").dark but that seems messy to me.

Metadata

Metadata

Labels

brand`_brand.yml`enhancementNew feature or requestluaIssues related to the lua codebase, filter chain, etc

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions