This function saves the current _brand.yml file from an existing froggeR
Quarto project to your global (system-wide) froggeR configuration. This allows
you to reuse brand settings across multiple projects.
Details
This function:
Reads the project-level
_brand.ymlfileSaves it to your system-wide froggeR config directory
Optionally copies the
logosdirectory for reuse in future projectsPrompts for confirmation if a global configuration already exists
The saved configuration is stored in rappdirs::user_config_dir('froggeR')
and will automatically be used in new froggeR projects created with
init or write_brand.
Examples
# Save brand settings from current project to global config
if (interactive()) save_brand()
# Save brand settings but skip logos
if (interactive()) save_brand(save_logos = FALSE)