Skip to content

Conversation

gadenbuie
Copy link
Collaborator

@gadenbuie gadenbuie commented Nov 18, 2024

Fixes #11471

Sets $theme: "brand" !default in the brand Sass layers to achieve this desired behavior:

I think the best we can do is to use the name that the configuration deemed to be "the most important", eg theme: [brand, cosmo] gets $theme: "cosmo" and theme: [cosmo, brand] gets $theme: "brand".

Test with the example in #11471 and use this _quarto.yml:

project:
  type: website

website:
  title: "Brand navbar-bg default"
  navbar:
    left:
      - index.qmd

format:
  html:
    theme: [brand, cosmo]
    # theme: [cosmo, brand]
    # theme: brand

@cscheid
Copy link
Collaborator

cscheid commented Nov 18, 2024

Lol #11474

@gadenbuie
Copy link
Collaborator Author

Something about great minds...! I'll close mine, yours has the needed if (brand) :)

@gadenbuie gadenbuie closed this Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Brand: Website navbar-bg uses Quarto default rather than $primary

2 participants