Skip to contents

Creates or opens a _brand.yml file in a Quarto project for editing. If the file already exists, it is opened directly. If global froggeR brand settings exist, those are used as the starting point. Otherwise, the template is downloaded from the frogger-templates repository.

Usage

write_brand(path = here::here(), restore_logos = TRUE)

Arguments

path

Character. Path to the project directory. Default is current project root via here.

restore_logos

Logical. Restore logo content from system configuration. Default is TRUE.

Value

Invisibly returns the path to the file.

Details

The _brand.yml file defines your visual identity for Quarto documents: colors, logos, typography, and more. See the brand.yml specification for the full list of available options.

Use save_brand to persist your project-level brand configuration to the global config directory for reuse across projects.

Examples

if (FALSE) { # \dontrun{
write_brand()
} # }