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

bootswatch theme rending secondary color rather than navbar color #403

Open
libjohn opened this issue Nov 10, 2022 · 1 comment
Open

bootswatch theme rending secondary color rather than navbar color #403

libjohn opened this issue Nov 10, 2022 · 1 comment

Comments

@libjohn
Copy link

libjohn commented Nov 10, 2022

Using either Rmarkdown template "Flex Dahsboard" or "Flex Dahsboard themed with {bslib}" and the bootwatch sandstone theme renders the navbar chartuse (green ; color = #93c54b) rather than a sandstone color.

title: "Untitled"
output: 
  flexdashboard::flex_dashboard:
    theme:
      bootswatch: sandstone
    orientation: columns
    vertical_layout: fill

I'm expecting the navbar to be color = #3e3f3a

But instead it's the color of the "success" button ; color = #93c54b

@cpsievert
Copy link
Collaborator

cpsievert commented Nov 10, 2022

As a workaround, you should be able to do:

theme:
      bootswatch: sandstone
      navbar-bg: "#3e3f3a"

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

No branches or pull requests

2 participants