rstudio / bslib

Tools for theming Shiny and R Markdown via Bootstrap 3, 4, or 5.
https://rstudio.github.io/bslib/
Other
486 stars 58 forks source link

darkly's .navbar-inverse is different with bs4+ #384

Closed cpsievert closed 3 years ago

cpsievert commented 3 years ago

BS3's .navbar-inverse is based on the $success theme color

ui <- navbarPage(
  inverse = TRUE,
  theme = shinythemes::shinytheme("darkly"),
  tabPanel("A", "a")
)
shinyApp(ui, function(...) {})
Screen Shot 2021-10-21 at 1 22 14 PM

However, with bslib, it's currently based on $light:

ui <- navbarPage(
  title = "foo", inverse = TRUE,
  theme = bslib::bs_theme(version = 5, bootswatch = "darkly"),
  tabPanel("A", "a"), tabPanel("B", "b")
)
shinyApp(ui, function(...) {})
Screen Shot 2021-10-21 at 1 21 35 PM
github-actions[bot] commented 1 year ago

This issue has been automatically locked. If you believe you have found a related problem, please open a new issue (with a reproducible example or feature request) and link to this issue.