We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d654c13 commit 4fd3634Copy full SHA for 4fd3634
R/theme.R
@@ -82,7 +82,7 @@ theme_brand_ggplot <- function(brand_yml) {
82
#' @param fg The foreground color
83
#'
84
#' @export
85
-gt <- function(bg, fg) {
+theme_colors_gt <- function(bg, fg) {
86
(function(table) {
87
table |>
88
gt::tab_options(
@@ -100,7 +100,7 @@ gt <- function(bg, fg) {
100
101
theme_brand_gt <- function(brand_yml) {
102
brand <- yaml::yaml.load_file(brand_yml)
103
- gt(brand$color$background, brand$color$foreground)
+ theme_colors_gt(brand$color$background, brand$color$foreground)
104
}
105
106
#' Create a plotly theme using background and foreground colors
0 commit comments