Creates R code that can be included in a package to register a theme.
Details
The returned code can be included in an R package's R/ directory to automatically register the theme when the package loads.
Examples
if (FALSE) { # \dontrun{
my_theme <- create_custom_theme("MyTheme")
code <- export_theme_to_package(my_theme)
cat(code)
} # }
