diff --git a/R/gt_theme_538.R b/R/gt_theme_538.R index fa4a83a..b3b616e 100644 --- a/R/gt_theme_538.R +++ b/R/gt_theme_538.R @@ -73,8 +73,9 @@ gt_theme_538 <- function(gt_object, ..., quiet = FALSE) { weight = 200 ) ), - locations = gt::cells_column_labels( - columns = gt::everything() + locations = list( + gt::cells_column_labels(), + gt::cells_stubhead() ) ) %>% tab_style( diff --git a/R/gt_theme_dark.R b/R/gt_theme_dark.R index 0cc78e9..688f48f 100644 --- a/R/gt_theme_dark.R +++ b/R/gt_theme_dark.R @@ -47,7 +47,10 @@ gt_theme_dark <- function(gt_object, ...) { font = google_font("Source Sans Pro"), transform = "uppercase" ), - locations = cells_column_labels(everything()) + locations = list( + cells_column_labels(), + cells_stubhead() + ) ) %>% tab_style( style = cell_text( diff --git a/R/gt_theme_nytimes.R b/R/gt_theme_nytimes.R index 0b86bef..c266f37 100644 --- a/R/gt_theme_nytimes.R +++ b/R/gt_theme_nytimes.R @@ -43,7 +43,10 @@ gt_theme_nytimes <- function(gt_object, ...) { font = google_font("Source Sans Pro"), transform = "uppercase" ), - locations = cells_column_labels(everything()) + locations = list( + gt::cells_column_labels(), + gt::cells_stubhead() + ) ) %>% tab_style( style = cell_text( diff --git a/R/gt_theme_pff.R b/R/gt_theme_pff.R index 637697c..f0902a5 100644 --- a/R/gt_theme_pff.R +++ b/R/gt_theme_pff.R @@ -157,6 +157,9 @@ gt_theme_pff <- function(gt_object, ..., divider, spanners, rank_col) { weight = px(2.5) ) ), - locations = gt::cells_column_labels() + locations = list( + gt::cells_column_labels(), + gt::cells_stubhead() + ) ) }