| gt_theme_dark {gtExtras} | R Documentation |
Apply dark theme to a gt table
Description
Apply dark theme to a gt table
Usage
gt_theme_dark(gt_object, ...)
Arguments
gt_object |
An existing gt table object of class |
... |
Optional additional arguments to |
Value
An object of class gt_tbl.
Figures
Function ID
1-6
See Also
Other Themes:
gt_plt_bullet(),
gt_plt_conf_int(),
gt_plt_dot(),
gt_theme_538(),
gt_theme_dot_matrix(),
gt_theme_espn(),
gt_theme_excel(),
gt_theme_guardian(),
gt_theme_nytimes(),
gt_theme_pff()
Examples
library(gt)
dark_tab <- head(mtcars) %>%
gt() %>%
gt_theme_dark() %>%
tab_header(title = "Dark mode table")
[Package gtExtras version 0.5.0 Index]