brand-yml

Solid

Create and use brand.yml files for consistent branding across Shiny apps and Quarto documents. Covers: (1) Creating new _brand.yml files, (2) Applying to Shiny (R and Python), (3) Using in Quarto, (4) Modifying existing files, and (5) Troubleshooting. Includes complete specifications and integration guides.

Data & Documents 396 stars 34 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 91/100

Stars 20%
87
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# brand.yml Skill Create and use `_brand.yml` files for consistent branding across Shiny applications and Quarto documents. ## What is brand.yml? brand.yml is a YAML-based format that translates brand guidelines into a machine-readable file usable across Shiny and Quarto. A single `_brand.yml` file defines: - **Colors** - Palette and semantic colors (primary, success, warning, etc.) - **Typography** - Fonts, sizes, weights, line heights - **Logos** - Multiple sizes and light/dark variants - **Meta** - Company name, links, identity information ## File Naming Convention - **Standard name**: `_brand.yml` (auto-discovered by Shiny and Quarto) - **Custom names**: Any name like `company-brand.yml` (requires explicit paths) - **Location**: Typically at project root, or in `_brand/` or `brand/` subdirectories ## Decision Tree Determine the user's goal and follow the appropriate workflow: 1. **Creating a new _brand.yml file?** → Follow "Creating brand.yml Files" 2. **Using brand.yml in Shiny for R?** → Read `references/shiny-r.md` 3. **Using brand.yml in Shiny for Python?** → Read `references/shiny-python.md` 4. **Using brand.yml in Quarto?** → Read `references/quarto.md` 5. **Using brand.yml in R (general)?** → Read `references/brand-yml-in-r.md` (R Markdown, theming functions, programmatic access) 6. **Modifying existing _brand.yml?** → Follow "Modifying Existing Files" 7. **Troubleshooting integration?** → Follow "Troubleshooting" ## Creating brand.yml Files When creatin...

Details

Author
posit-dev
Repository
posit-dev/skills
Created
6 months ago
Last Updated
yesterday
Language
R
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category