| brand_css | R Documentation |
Generate CSS from brand configuration
brand_css(brand = "block", output_file = NULL, minify = FALSE)
brand |
Name of the brand |
output_file |
Path to save CSS file (NULL to return as string) |
minify |
Minify the CSS output (default: FALSE) |
CSS content as string (invisibly if saved to file)
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.