I am using a theme with custom colors for primary, secondary, etc. but when I set the color option to primary, the actionBttn() does not recognize my theme color. How do I change the actionBttn color to match my theme?
library(shiny)
library(bslib)
library(shinyWidgets)
ui <- page_sidebar(
title = "My dashboard",
theme = bs_theme(primary = "purple"),
sidebar = sidebar("Sidebar",
actionBttn("go", "Go", color = "primary")),
"Main"
)
shinyApp(ui, function(input, output) {})