I'm new to bslib and was excited about some of the style options it presents, but I can't seem to get them working right. I was interested to use the pulse bootswatch for the purple (https://bootswatch.com/pulse/), but I'm not seeing it ...
library(shiny)
library(bslib)
ui <- page_navbar(
title = "why is the background here not purple?",
theme = bs_theme(bootswatch = "pulse")
)
server <- function(input, output, session) {
bs_themer()
}
shinyApp(ui = ui, server = server)
Using the bs_themer in the top right of the app seems to give inconsistent results, but other bootswatches do sometimes seem to use the primary color as the header background as expected, but the pulse theme doesn't seem to work.
You need to set the primary color manually. This works: