Learn R Programming

gooseR (version 0.1.2)

brand_css: Generate CSS from brand configuration

Description

Generate CSS from brand configuration

Usage

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

Value

CSS content as string (invisibly if saved to file)

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)

Examples

Run this code
if (FALSE) {
# 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")
}

Run the code above in your browser using DataLab