define_swatch: Create a ggthemr_swatch object

View source: R/define_swatch.R

define_swatchR Documentation

Create a ggthemr_swatch object

Description

Given a vectors of colors, checks will be carried out to make sure colours are not duplicated and are valid. See define_palette for more details.

Usage

define_swatch(x)

ggthemr_swatch(x)

Arguments

x

Vector of colours

Value

Object of type ggthemr_swatch


cttobin/ggthemr documentation built on April 19, 2022, 3:31 a.m.