Skip to content

Commit

Permalink
Merge pull request #1431 from quarto-dev/brand
Browse files Browse the repository at this point in the history
WIP Brand Guide
  • Loading branch information
cwickham authored Nov 12, 2024
2 parents 5b4eef4 + 678de7b commit b55658e
Show file tree
Hide file tree
Showing 3 changed files with 142 additions and 87 deletions.
44 changes: 44 additions & 0 deletions docs/authoring/_brand-example.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
As an example, consider the following `_brand.yml` file:

``` {.yaml filename="_brand.yml"}
color:
palette:
dark-grey: "#222222"
blue: "#ddeaf1"
background: blue
foreground: dark-grey
primary: black
logo:
medium: logo.png
typography:
fonts:
- family: Jura
source: google
base: Jura
headings: Jura
```

When this `_brand.yml` is placed in a project, webpages, presentations, PDF reports, and dashboards will share a common appearance:

::::::: {.column-body-outset-right layout-ncol="4"}
::: {}
![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."}
:::

::: {}
![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."}
:::

::: {}
![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."}
:::

:::{}
![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."}
:::
:::


View the example: [Source](https://github.com/cwickham/quarto-examples/tree/brand/brand/brand-simple) | [Live website](https://charlotte.quarto.pub/brand-simple/)
Loading

0 comments on commit b55658e

Please sign in to comment.