add_color {Rigma} | R Documentation |
Add color to design table data
Description
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
.
Usage
add_color(design_tibble, hex = TRUE)
Arguments
design_tibble |
Tabular data to be augmented with color colomn. |
hex |
logical. If |
Value
Adds color column to design_tibble
data
Examples
## Not run:
file_key <- "sFHgQh9dL6369o5wrZHmdR"
resp <- get_file_styles(file_key) %>%
as_design_tibble() %>%
add_color()
## End(Not run)
[Package Rigma version 0.3.0 Index]