Use background()
to modify shiny<U+2019>s action buttons.
actionButton("id", "Take action") %>%
background("green")
Take action
With a couple other functions we can take our improvement a step
further.
actionButton("id", "Take action") %>%
background("green") %>%
border("green") %>%
shadow("small")
Take action
Shiny<U+2019>s download buttons include ...
, so we can use the .style
pronoun!
downloadButton(
.style %>%
background("white") %>%
border("blue"),
outputId = "dwnld",
label = "Do a download",
class = NULL
)