colorDF_themes_show: Demonstrate all defined themes

View source: R/themes.R

colorDF_themes_showR Documentation

Demonstrate all defined themes

Description

Demonstrate all defined themes

Usage

colorDF_themes_show(themes = NULL, force_bg = FALSE)

Arguments

themes

character vector with theme names to show

force_bg

force background to "white" for light themes and "black" for dark themes

Details

"Themes" are simply predefined styles for colorful data frames. Some are suitable only for dark or light backgrounds, so this function is useful for choosing what looks best on your terminal.

When a colorful data frame is created with colorDF() or as.colorDF(), the default theme is assigned to it. The default theme is defined by the option "colorDF_theme" set using options() (at startup, the default theme is "light").

You can also specify the theme to use when making a data frame colorful with colorDF() by using the theme= parameter.

Examples

colorDF_themes_show()
colorDF_themes_show(themes=c("wb", "bw"))

colorDF documentation built on Sept. 26, 2022, 5:06 p.m.