Skip to content

Commit 4fd3634

Browse files
fix mangled search & replace
1 parent d654c13 commit 4fd3634

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/theme.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ theme_brand_ggplot <- function(brand_yml) {
8282
#' @param fg The foreground color
8383
#'
8484
#' @export
85-
gt <- function(bg, fg) {
85+
theme_colors_gt <- function(bg, fg) {
8686
(function(table) {
8787
table |>
8888
gt::tab_options(
@@ -100,7 +100,7 @@ gt <- function(bg, fg) {
100100
#' @export
101101
theme_brand_gt <- function(brand_yml) {
102102
brand <- yaml::yaml.load_file(brand_yml)
103-
gt(brand$color$background, brand$color$foreground)
103+
theme_colors_gt(brand$color$background, brand$color$foreground)
104104
}
105105

106106
#' Create a plotly theme using background and foreground colors

0 commit comments

Comments
 (0)