From 2df09cc31b2f177669a6f6879d99d371c47abd8c Mon Sep 17 00:00:00 2001 From: "Adam H. Sparks" Date: Thu, 1 Aug 2024 14:15:24 +0800 Subject: [PATCH] match theme_ft_aagi more closely --- R/theme_gt_aagi.R | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/R/theme_gt_aagi.R b/R/theme_gt_aagi.R index ba2d480..16c318a 100644 --- a/R/theme_gt_aagi.R +++ b/R/theme_gt_aagi.R @@ -20,7 +20,7 @@ theme_gt_aagi <- function(x) { # check if Proxima Nova is installed, if not, falls back to Arial aagi_font <- set_aagi_font() - + aagi_black <- AAGIPalettes::colour_as_hex("AAGI Black") aagi_grey <- AAGIPalettes::colour_as_hex("AAGI Grey") aagi_teal <- AAGIPalettes::colour_as_hex("AAGI Teal") @@ -31,6 +31,12 @@ theme_gt_aagi <- function(x) { aagi_font, default_fonts() ) ) |> + gt::tab_style( + style = gt::cell_borders(sides = "all", + color = "#ffffff", + weight = px(2)), + locations = cells_body() + ) |> gt::tab_options( column_labels.background.color = aagi_teal, table.background.color = aagi_grey,