create_colors_xml: Create custom color xml schemes
Description
Create custom color themes that can be used with wb_set_base_colors(). The color input will be checked with wb_color(), so it must be either a color R from grDevices::colors() or a hex value.
Default values for the dark argument are: black, white, darkblue and lightgray. For the accent argument, the six inner values of grDevices::palette(). The link argument uses blue and purple by default for active and visited links.
Usage
create_colors_xml(name = "Base R", dark = NULL, accent = NULL, link = NULL)
Arguments
name
the color name
dark
four colors: dark, light, brighter dark, darker light