Skip to contents

Theme color functions.

Usage

theme_primary()

theme_secondary()

theme_success()

theme_danger()

theme_warning()

theme_info()

theme_light()

theme_dark()

Value

A character string.

Examples


library(htmltools)

div(
  .style %>%
    background_color("primary")
)
#> <div class="bg-primary"></div>

div(
  .style %>%
    background_color(theme_primary())
)
#> <div class="bg-primary"></div>