Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions brand/brand-simple/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/.quarto/
_site/
37 changes: 37 additions & 0 deletions brand/brand-simple/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# brand-simple


This is a simple example of using
[**brand.yml**](https://posit-dev.github.io/brand-yml/) across a range
of Quarto supported formats.

The project is a website with a single document `index.qmd` that is
rendered multiple formats: `html`, `revealjs`, `dashboard`, `typst`.

The brand information stored in `_brand.yml` is:

``` yaml
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
```

To preview locally, run:

``` bash
quarto preview
```
23 changes: 23 additions & 0 deletions brand/brand-simple/README.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
title: brand-simple
format: gfm
---

<https://examples.quarto.pub/brand-simple/>

This is a simple example of using [**brand.yml**](https://posit-dev.github.io/brand-yml/) across a range of Quarto supported formats.

The project is a website with a single document `index.qmd` that is rendered multiple formats: `html`, `revealjs`, `dashboard`, `typst`.


The brand information stored in `_brand.yml` is:

```{.yaml}
{{< include _brand.yml >}}
```

To preview locally, run:

```bash
quarto preview
```
17 changes: 17 additions & 0 deletions brand/brand-simple/_brand.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
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
Empty file added brand/brand-simple/_publish.yml
Empty file.
10 changes: 10 additions & 0 deletions brand/brand-simple/_quarto.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
project:
type: website

website:
title: "Simple Brand Example"
navbar:
title: "Demo CO"
tools:
- icon: github
href: https://github.com/quarto-dev/quarto-examples/brand/brand-simple/
22 changes: 22 additions & 0 deletions brand/brand-simple/index.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
title: "Brand"
format:
html:
other-links:
- href: index-dashboard.html
icon: speedometer
text: Dashboard
typst: default
revealjs:
output-file: index-reveal.html
dashboard:
output-file: index-dashboard.html
---

## Overview

This is a document themed using [**brand.yml**](https://posit-dev.github.io/brand-yml/)

## Subheading

{{< lipsum 1 >}}
Binary file added brand/brand-simple/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.