R/plots.R
ctheme.Rd
Creates a custom theme for ggplot2 visualizations with support for dark and light modes
ctheme(mode = "dark")
Character string specifying the theme mode ("dark" or "light")
A ggplot2 theme object
if (FALSE) { # \dontrun{ # Dark mode theme_set(ctheme("dark")) # Light mode theme_set(ctheme("light")) } # }