Arguments
- font
A
character
vector indicating the name of fonts/typefaces categories present in thetypography
section of the_brand.yml
file.
Value
A character
vector with fonts/typeface names.
See also
Other utility functions:
get_brand_color()
,
get_brand_color_mix()
,
get_brand_color_tint()
Examples
get_brand_font("base")
#> [1] "Open Sans"
#> [1] "Open Sans" # Expected
get_brand_font("headings")
#> [1] "Rubik"
#> [1] "Rubik" # Expected
get_brand_font("monospace")
#> [1] "IBM Plex Mono"
#> [1] "IBM Plex Mono" # Expected
get_brand_font("monospace-block")
#> [1] "IBM Plex Mono"
#> [1] "IBM Plex Mono" # Expected
get_brand_font(c("base", "headings"))
#> [1] "Open Sans" "Rubik"
#> [1] "Open Sans" "Rubik" # Expected