Brand your Quarto projects with
R-Ladies Philly
March 12, 2025 @ 11am CT
Aesthetic
Usability
Effect
_brand.yml
file.html
, dashboard
, revealjs
, typst
meta
: Identifying information, name of the company, URLs, etc.logo
: Files or links to the brand’s logos.color
: Colors in the brand’s color palette.typography
: Fonts for different elements.defaults
: Additional context-specific settings._brand.yml
structure_brand.yml
meta:
name: Example Company
link:
github: https://github.com/example-company
logo:
medium: logos/logo.png
color:
palette:
black: "#1C2826"
blue: "#0C0A3E"
neutral: "#F9F7F1"
red: "#BA274A"
violet: "#4D6CFA"
background: neutral
foreground: black
primary: blue
secondary: violet
danger: red
typography:
fonts:
- family: Nunito Sans
source: google
- family: Montserrat
source: google
- family: Fira Code
source: google
base: Nunito Sans
headings:
family: Montserrat
weight: 700
color: primary
monospace: Fira Code
link:
color: danger
decoration: underline
meta:
name:
full: Acme Corporation International
short: Acme
link:
home: https://www.acmecorp.com
docs: https://docs.acmecorp.com
github: https://github.com/acmecorp
bluesky: https://bsky.app/profile/acmecorp.bsky.social
twitter: https://twitter.com/acmecorp
linkedin: https://www.linkedin.com/company/acmecorp
facebook: https://www.facebook.com/acmecorp
description: |
Acme Corporation is a leading provider of innovative solutions for cartoon
characters worldwide.
founded: 1952
logo:
images:
icon:
path: logos/icon.png
alt: "Company icon with abstract shapes"
header:
path: logos/header-logo.png
alt: "Company name with logo"
header-white:
path: logos/header-logo-white.png
alt: "Company name with logo in white"
full:
path: logos/full-logo.svg
alt: "Full company logo with tagline"
small: icon
medium:
light: header
dark: header-white
large: full
color:
. . .
foreground: black # Main text color
background: white # Main background color
primary: blue # Primary accent color, used for hyperlinks, etc.
secondary: "#707073" # Secondary accent color, often used for lighter text
tertiary: "#C2C2C4" # Tertiary accent color
success: green # Color used for positive or successful actions
info: teal # Color used for neutral or informational actions
warning: orange # Color used for warning or cautionary actions
danger: burgundy # Color used for errors, dangerous actions
light: white # Bright color, used as a high-contrast foreground color
dark: "#404041" # Dark color, used as a high-contrast foreground color
color:
palette:
white: "#FFFFFF"
black: "#151515"
blue: "#447099"
orange: "#EE6331"
green: "#72994E"
teal: "#419599"
burgundy: "#9A4665"
foreground: black
background: white
primary: blue
secondary: "#707073"
tertiary: "#C2C2C4"
success: green
info: teal
warning: orange
danger: burgundy
light: white
dark: "#404041"
typography:
fonts:
# Local files
- family: Open Sans
source: file
files:
- path: fonts/open-sans/OpenSans-Variable.ttf
- path: fonts/open-sans/OpenSans-Variable-Italic.ttf
style: italic
# Online files
- family: Closed Sans
source: file
files:
- path: https://example.com/Closed-Sans-Bold.woff2
weight: bold
- path: https://example.com/Closed-Sans-Italic.woff2
style: italic
typography:
fonts:
- family: Open Sans
source: google
- family: Roboto Slab
source: google
- family: Fira Code
source: google
base: Open Sans # Font and appearance settings for the base (body) text
headings: Roboto Slab # Font and appearance settings for heading text
monospace: Fira Code # Font and appearance settings for monospaced text
link: Fira Code #Font and appearance settings for hyperlink text
Create a _brand.yml for {company} using the following context from {company}'s' brand guidelines
_brand.yml
valuesBeyond the automatic application of your brand file, you can also directly access _brand.yml
values in Quarto documents via the brand
shortcode.
Disable brand for a document by setting brand
to false
:
Keep in mind that _brand.yml
always takes lowest priority in styles.
Keep in mind that _brand.yml
always takes lowest priority in styles.
brand.yml allows you to collect a brand’s logos, colors, fonts, and typographic choices into a single _brand.yml
file, which you can then apply instantly across Quarto reports, Shiny apps, and more.
Join the discussion!
ivelasq-branded-quarto.share.connect.posit.cloud/