brand extension does not support separate light, dark brands

Open
#13,222 0 comments 2 reactions 1 assignee View on GitHub

@gordonwoodhull is already working on this.

Since Aug 15, 2025.

Assessment

This issue has not been assessed yet.

Description

brand enhancement extensions

For consistency and for advanced customization, this should be allowed in _extension.yml:

contributes:
  metadata:
    project:
      brand:
        light: light-brand.yml
        dark: dark-brand.yml

Currently we only use a string, although I have added a schema for project.brand to accept string | {light?: string, dark?: string}.

(Ideally _quarto.yml should also use this schema for root brand, since we don't accept brand metadata embedded in the project. But I don't know if it's possible to configure this differently from the document schema.)

It's not hard, but I didn't want to delay the release of the brand extension any further.

Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from quarto-dev/quarto-cli

All issues in quarto-dev/quarto-cli

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.