A complete theme that applies both AidData's visual style and color scales. This function combines theme_aiddata() with appropriate color scales.
Usage
theme_aiddata_complete(
  base_font = "Open Sans",
  title_font = "Roboto",
  base_size = 11,
  grid = TRUE,
  palette = "default",
  discrete_fill = TRUE
)Examples
# \donttest{
library(ggplot2)
# Set up ragg device
ragg::agg_png(tempfile(), width = 600, height = 400, units = "px")
# Basic usage with color
p <- ggplot(mtcars, aes(wt, mpg, color = factor(cyl))) +
  geom_point() +
  labs(title = "MPG by Weight and Cylinders") +
  theme_aiddata_complete()
#> Warning: Recommended fonts not found. Using fallback fonts:
#>   Base font: sans
#>   Title font: sans
#> Use install_aiddata_fonts() to install recommended fonts.
print(p)
invisible(dev.off())
# }
