lighten_swatch: Make ggthemr swatch lighter

Description Usage Arguments Author(s) Examples

View source: R/colour_contrast.R

Description

Update a ggthemr swatch so that colours are lighter by some specified amount.

Usage

1

Arguments

amount

value between 0 and 1 indicating by how much the colours should be darker/lighter.

Author(s)

Ciaran Tobin

Examples

1
2
ggthemr('dust')
lighten_swatch(0.2)

cttobin/ggthemr documentation built on April 18, 2018, 11:36 p.m.