Skip to content

Commit

Permalink
docs: update defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
gadenbuie committed Oct 25, 2024
1 parent 0faf94e commit dad4f7b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/brand/defaults.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,20 @@ But they are still relevant to the brand and need a place within brand.yml.

## Structure

::: callout-warning
This section of brand.yml is not as well-sepecified as the other sections, by design.
As brand.yml adoption grows, new tools will need to be able to store options specific to the tool.
This part of the brand.yml spec may change as we learn more about the needs of different tools.
:::

Currently, both Quarto and Shiny support a `bootstrap` section under `defaults` that can be used to set default values for Bootstrap Sass variables.

```{.yaml filename="brand.yml"}
defaults:
bootstrap:
enable-rounded: false
link-decoration: none
defaults:
enable-rounded: false
link-decoration: none
```

In [Shiny for Python](https://shiny.posit.co/py/api/core/ui.Theme.html), an additional `shiny.theme` section is used to set default values for Shiny-specific theme settings.
Expand Down

0 comments on commit dad4f7b

Please sign in to comment.