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

Bootstrap navbar variables not working in bslib 0.6.1 but working in 0.5 #978

Open
zross opened this issue Feb 2, 2024 · 0 comments
Open

Comments

@zross
Copy link

zross commented Feb 2, 2024

@gadenbuie and @cpsievert asked me to report this bug so I'm not following the guidelines :)

I'm finding that the bootstrap 5 navbar variables are not working for me using bslib version 0.6.1.

Note that the bootstrap variable body-bg works in both versions.

# This shows a red nav bar in bslib 0.5 but not in 0.6.1
library(shiny)
library(bslib)

ui <- page_navbar(
  theme = bs_theme(version = 5, "navbar-bg" = "red"),
  title = "My App",
  nav_panel(title = "One", p("First page content.")),
)

server <- function(...) { }

shinyApp(ui, server)
@gadenbuie gadenbuie added this to the v1.7.0 milestone Mar 11, 2024
@cpsievert cpsievert removed this from the v0.7.0 milestone Mar 15, 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

No branches or pull requests

3 participants