Create a theme using background and foreground colors (theme_colors_*
) or
using a brand.yml file (theme_brand_*
).
Usage
theme_colors_flextable(bg, fg)
theme_brand_flextable(brand_yml)
theme_colors_ggplot2(bg, fg)
theme_brand_ggplot2(brand_yml)
theme_colors_gt(bg, fg)
theme_brand_gt(brand_yml)
theme_colors_plotly(bg, fg)
theme_brand_plotly(brand_yml)
theme_colors_thematic(bg, fg)
theme_brand_thematic(brand_yml)
Details
The use of the theme will depend on the package. Please see
light/dark renderings examples
for examples using each supported package with dark mode, theme_brand_*
,
and renderings: [light, dark]
,
or theme helper article
for examples using each package and theme_colors_*
to specify the
background and foreground colors directly.