Skip to content

Commit

Permalink
match theme_ft_aagi more closely
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhsparks committed Aug 1, 2024
1 parent a85cb95 commit 2df09cc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion R/theme_gt_aagi.R
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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,
Expand Down

0 comments on commit 2df09cc

Please sign in to comment.