R-CMD-check / R CMD check (push) Successful in 3m41s
The logo grob uses theme_void() (transparent background), so when arrangeGrob() composites it with a dark-themed plot, the logo strip falls back to the device default (white). Extract the plot's plot.background fill and apply it to the logo grob before compositing. Fixes the issue where theme_civilytics_dark(font_size = 16) piped to civilytics_logo(variant = "dark") would show a light background in the logo/caption area.