diff --git a/brand/brand-simple/.gitignore b/brand/brand-simple/.gitignore new file mode 100644 index 0000000..92d902f --- /dev/null +++ b/brand/brand-simple/.gitignore @@ -0,0 +1,2 @@ +/.quarto/ +_site/ \ No newline at end of file diff --git a/brand/brand-simple/README.md b/brand/brand-simple/README.md new file mode 100644 index 0000000..3f9fc80 --- /dev/null +++ b/brand/brand-simple/README.md @@ -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 +``` diff --git a/brand/brand-simple/README.qmd b/brand/brand-simple/README.qmd new file mode 100644 index 0000000..0870160 --- /dev/null +++ b/brand/brand-simple/README.qmd @@ -0,0 +1,23 @@ +--- +title: brand-simple +format: gfm +--- + + + +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 +``` \ No newline at end of file diff --git a/brand/brand-simple/_brand.yml b/brand/brand-simple/_brand.yml new file mode 100644 index 0000000..973ee75 --- /dev/null +++ b/brand/brand-simple/_brand.yml @@ -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 diff --git a/brand/brand-simple/_publish.yml b/brand/brand-simple/_publish.yml new file mode 100644 index 0000000..e69de29 diff --git a/brand/brand-simple/_quarto.yml b/brand/brand-simple/_quarto.yml new file mode 100644 index 0000000..a62672f --- /dev/null +++ b/brand/brand-simple/_quarto.yml @@ -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/ \ No newline at end of file diff --git a/brand/brand-simple/index.qmd b/brand/brand-simple/index.qmd new file mode 100644 index 0000000..178d828 --- /dev/null +++ b/brand/brand-simple/index.qmd @@ -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 >}} diff --git a/brand/brand-simple/logo.png b/brand/brand-simple/logo.png new file mode 100644 index 0000000..16023c1 Binary files /dev/null and b/brand/brand-simple/logo.png differ