Skip to content

Commit 2214bf6

Browse files
authored
Merge pull request #3 from cwickham/brand
Simple Brand Example
2 parents 01f078e + cb01c03 commit 2214bf6

File tree

8 files changed

+111
-0
lines changed

8 files changed

+111
-0
lines changed

brand/brand-simple/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/.quarto/
2+
_site/

brand/brand-simple/README.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# brand-simple
2+
3+
4+
This is a simple example of using
5+
[**brand.yml**](https://posit-dev.github.io/brand-yml/) across a range
6+
of Quarto supported formats.
7+
8+
The project is a website with a single document `index.qmd` that is
9+
rendered multiple formats: `html`, `revealjs`, `dashboard`, `typst`.
10+
11+
The brand information stored in `_brand.yml` is:
12+
13+
``` yaml
14+
color:
15+
palette:
16+
dark-grey: "#222222"
17+
blue: "#ddeaf1"
18+
background: blue
19+
foreground: dark-grey
20+
primary: black
21+
22+
logo:
23+
medium: logo.png
24+
25+
typography:
26+
fonts:
27+
- family: Jura
28+
source: google
29+
base: Jura
30+
headings: Jura
31+
```
32+
33+
To preview locally, run:
34+
35+
``` bash
36+
quarto preview
37+
```

brand/brand-simple/README.qmd

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: brand-simple
3+
format: gfm
4+
---
5+
6+
<https://examples.quarto.pub/brand-simple/>
7+
8+
This is a simple example of using [**brand.yml**](https://posit-dev.github.io/brand-yml/) across a range of Quarto supported formats.
9+
10+
The project is a website with a single document `index.qmd` that is rendered multiple formats: `html`, `revealjs`, `dashboard`, `typst`.
11+
12+
13+
The brand information stored in `_brand.yml` is:
14+
15+
```{.yaml}
16+
{{< include _brand.yml >}}
17+
```
18+
19+
To preview locally, run:
20+
21+
```bash
22+
quarto preview
23+
```

brand/brand-simple/_brand.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
color:
2+
palette:
3+
dark-grey: "#222222"
4+
blue: "#ddeaf1"
5+
background: blue
6+
foreground: dark-grey
7+
primary: black
8+
9+
logo:
10+
medium: logo.png
11+
12+
typography:
13+
fonts:
14+
- family: Jura
15+
source: google
16+
base: Jura
17+
headings: Jura

brand/brand-simple/_publish.yml

Whitespace-only changes.

brand/brand-simple/_quarto.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
project:
2+
type: website
3+
4+
website:
5+
title: "Simple Brand Example"
6+
navbar:
7+
title: "Demo CO"
8+
tools:
9+
- icon: github
10+
href: https://github.com/quarto-dev/quarto-examples/brand/brand-simple/

brand/brand-simple/index.qmd

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
title: "Brand"
3+
format:
4+
html:
5+
other-links:
6+
- href: index-dashboard.html
7+
icon: speedometer
8+
text: Dashboard
9+
typst: default
10+
revealjs:
11+
output-file: index-reveal.html
12+
dashboard:
13+
output-file: index-dashboard.html
14+
---
15+
16+
## Overview
17+
18+
This is a document themed using [**brand.yml**](https://posit-dev.github.io/brand-yml/)
19+
20+
## Subheading
21+
22+
{{< lipsum 1 >}}

brand/brand-simple/logo.png

12.5 KB
Loading

0 commit comments

Comments
 (0)