Generates a plot of available brick themes.

build_themes(show_themes = "all", .names_only = FALSE)

Arguments

show_themes

Defaults to "all". Pass an array of theme names to only plot a subset.

.names_only

Logical. Return an array of the theme names. Does not plot.

Value

A table and ggplot of brick colors & ID numbers.

See also

Examples

#Generate plot of themes build_themes()
build_themes(c("ducks", "ocean", "space"))
#Print list of themes build_themes(.names_only = TRUE)
#> [1] "classic" "city" "duplo" "elves" #> [5] "friends" "hp" "jurassic" "movie" #> [9] "ninja" "superhero" "sw_light" "sw_dark" #> [13] "classy" "blue" "ducks" "ocean" #> [17] "rainbow7" "rainbow13" "doublerainbow" "space" #> [21] "80s"