Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to be able to set navbar colors from Sass #1132

Closed
Tracked by #52
gadenbuie opened this issue Nov 15, 2024 · 0 comments · Fixed by #1134
Closed
Tracked by #52

Need to be able to set navbar colors from Sass #1132

gadenbuie opened this issue Nov 15, 2024 · 0 comments · Fixed by #1134

Comments

@gadenbuie
Copy link
Member

Currently, in the Shiny preset, setting $navbar-bg does not affect the navbar in page_sidebar() and might affect the foreground – but not background – color of the navbar in page_navbar().

shinylive app

With brand.yml, setting the navbar background color is a common customization and the most natural solution that would work across Quarto and Shiny would be to use defaults.bootstrap, e.g.

defaults:
  bootstrap:
    defaults:
      navbar-bg: $brand-purple

This, however, does not work in Shiny for the Shiny preset because of dashboard-style customizations that we use.

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 a pull request may close this issue.

1 participant