quarto-dev / quarto-dev/quarto-cli

Improve branding of single page HTML documents

Open
#11,627 5 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

brand enhancement html
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Description

An easy entry point to Quarto for a lot of people is stand-alone HTML pages (as opposed to HTML pages in a website).
These currently get minimal impact from brand particularly for brands with black text on white backgrounds.

Example

_brand.yml

color:
  primary: "#447099"
logo:
  small: Posit-Logos-2024_horiz-white.svg

A standalone HTML page:

---
title: Standalone document
author: Charlotte Wickham
---

## Introduction

<http://quarto.org>

{{< lipsum  1 >}}

Current treatment:
Image

Suggestions

One approach might be to fake a "navbar" just to add a band of color and logo. E.g. equivalent to adding _quarto.yml:

project: 
  type: website

website:
  search: false
  navbar: 
    pinned: true

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the standalone HTML example with _brand.yml, then compare its branding with the suggested _quarto.yml website/navbar treatment. Start from the standalone HTML rendering entry point in the Quarto CLI; done means standalone pages visibly apply the configured brand color and logo without requiring a website project.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
design, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.