Skip to content

Commit b55658e

Browse files
authored
Merge pull request #1431 from quarto-dev/brand
WIP Brand Guide
2 parents 5b4eef4 + 678de7b commit b55658e

File tree

3 files changed

+142
-87
lines changed

3 files changed

+142
-87
lines changed

docs/authoring/_brand-example.qmd

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
As an example, consider the following `_brand.yml` file:
2+
3+
``` {.yaml filename="_brand.yml"}
4+
color:
5+
palette:
6+
dark-grey: "#222222"
7+
blue: "#ddeaf1"
8+
background: blue
9+
foreground: dark-grey
10+
primary: black
11+
12+
logo:
13+
medium: logo.png
14+
15+
typography:
16+
fonts:
17+
- family: Jura
18+
source: google
19+
base: Jura
20+
headings: Jura
21+
```
22+
23+
When this `_brand.yml` is placed in a project, webpages, presentations, PDF reports, and dashboards will share a common appearance:
24+
25+
::::::: {.column-body-outset-right layout-ncol="4"}
26+
::: {}
27+
![Webpage: `html`](/docs/authoring/images/brand-html.png){.lightbox group="brand-formats" fig-alt="Screenshot of a webpage. The text is dark grey on a light blue background, using a rounded sans-serif typeface, a logo appears in the navbar."}
28+
:::
29+
30+
::: {}
31+
![Dashboard `dashboard`](/docs/authoring/images/brand-dashboard.png){.lightbox group="brand-formats" fig-alt="Screenshot of a dashboard. The text is dark grey on a light blue background, using a rounded sans-serif typeface, a logo appears in the navbar."}
32+
:::
33+
34+
::: {}
35+
![Presentation: `revealjs`](/docs/authoring/images/brand-revealjs.png){.lightbox group="brand-formats" fig-alt="Screenshot of a presentation. The text is dark grey on a light blue background, using a rounded sans-serif typeface, a logo appears in bottom left of the slide."}
36+
:::
37+
38+
:::{}
39+
![PDF: `typst`](/docs/authoring/images/brand-typst.png){.lightbox group="brand-formats" fig-alt="Screenshot of a PDF document. The text is dark grey on a light blue background, using a rounded sans-serif typeface, a logo appears in top right of the page."}
40+
:::
41+
:::
42+
43+
44+
View the example: [Source](https://github.com/cwickham/quarto-examples/tree/brand/brand/brand-simple) | [Live website](https://charlotte.quarto.pub/brand-simple/)

0 commit comments

Comments
 (0)