SimonSimon
SimonSimon

Reputation: 67

How to obtain color codes from bs_theme() in Shiny?

I'm running R Shiny and I'm setting a theme:

theme = bs_theme(version = 5, bootswatch = "pulse")

How do I obtain the color codes for the primary color, the secondary color, and so on? I have seen an answer here where the provided CSS code is:

.fa-li {
    color: map-get($theme-colors,"primary")
}

How do I translate this to R code?

Upvotes: 2

Views: 357

Answers (0)

Related Questions