Registers a custom theme in the package registry, making it available to all subsequent calls in the session.
Details
A valid theme must have: - name: Character string with theme name - decimal_places: Numeric decimal places - css_properties: List of CSS properties - dimension_rules: List of dimension rules (optional)
Examples
if (FALSE) { # \dontrun{
my_theme <- create_custom_theme("MyTheme", base_theme = "nejm")
register_theme(my_theme)
} # }
