brand_css: Generate CSS from brand configuration

View source: R/branding.R

brand_cssR Documentation

Generate CSS from brand configuration

Description

Generate CSS from brand configuration

Usage

brand_css(brand = "block", output_file = NULL, minify = FALSE)

Arguments

brand

Name of the brand

output_file

Path to save CSS file (NULL to return as string)

minify

Minify the CSS output (default: FALSE)

Value

CSS content as string (invisibly if saved to file)

Examples

## Not run: 
# Save to file in temp directory
temp_file <- file.path(tempdir(), "block.css")
brand_css("block", temp_file)

# Get as string
css <- brand_css("block")

## End(Not run)

gooseR documentation built on Feb. 6, 2026, 5:07 p.m.