quarto-dev / quarto-dev/quarto-cli
Improve branding of single page HTML documents
Nobody has claimed this yet.
- 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:
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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