powered by
Extracts color for design data collected from the Figma API. Can convert to hex. Infered color data are added in a new column named as color.
color
add_color(design_tibble, hex = TRUE)
Adds color column to design_tibble data
design_tibble
Tabular data to be augmented with color colomn.
logical. If TRUE hex data are added to color column else nested data for RGBA channels.
TRUE
RGBA
if (FALSE) { file_key <- "sFHgQh9dL6369o5wrZHmdR" resp <- get_file_styles(file_key) %>% as_design_tibble() %>% add_color() }
Run the code above in your browser using DataLab