theme_helpers: Create a theme for a plotting or table package

theme_colors_flextableR Documentation

Create a theme for a plotting or table package

Description

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)

Arguments

bg

The background color

fg

The foreground color

brand_yml

The path to a brand.yml file

Details

The use of the theme will depend on the package. See the vignettes for usage examples.


quarto-dev/quarto-r documentation built on June 14, 2025, 3:45 a.m.