Extract bslib palette
Arguments
- design_tibble
A design_tibble returned bu the
add_color()
function- version
Bootstrap version to use for extracting color variables
Details
This function filters for bslib high level color variables published as styles of a Figma file and/or team. The color should be extracted and added as a variable to the retrieved data.
Examples
if (FALSE) { # \dontrun{
file_key <- "sFHgQh9dL6369o5wrZHmdR"
file_key %>%
get_file_styles() %>%
as_design_tibble() %>%
add_color() %>%
extract_bslib_palette()
} # }