posit-dev / brand-yml

Unified branding with a single yaml file.
https://posit-dev.github.io/brand-yml/
MIT License
1 stars 0 forks source link

feat: Default font source is now "system" #28

Closed gadenbuie closed 3 days ago

gadenbuie commented 3 days ago

For brand_yaml but is configurable via an envvar so that the application can make the call, e.g. Shiny will use BRAND_YAML_DEFAULT_FONT_SOURCE="google".

In the future we might consider consulting a value in defaults, e.g.

typography:
  base: Open Sans
  headings: Roboto Slab
  monospace: Fira Code
defaults:
  brand-yaml:
    font-source: google

but I'd want to have a clear use case for more than one option before implementing this.

For #21