From 1c4f22b2027c00574bf3fa73dab11ad52fbde55a Mon Sep 17 00:00:00 2001 From: "Adam H. Sparks" Date: Thu, 1 Aug 2024 14:26:31 +0800 Subject: [PATCH] Even better matching of flextable theme --- R/theme_gt_aagi.R | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/R/theme_gt_aagi.R b/R/theme_gt_aagi.R index 16c318a..6f4ab6a 100644 --- a/R/theme_gt_aagi.R +++ b/R/theme_gt_aagi.R @@ -32,10 +32,12 @@ theme_gt_aagi <- function(x) { ) ) |> gt::tab_style( - style = gt::cell_borders(sides = "all", - color = "#ffffff", - weight = px(2)), - locations = cells_body() + style = gt::cell_borders( + sides = "all", + color = "#ffffff", + weight = gt::px(2) + ), + locations = list(cells_body(), cells_column_labels()) ) |> gt::tab_options( column_labels.background.color = aagi_teal,