set_swatch: Change the swatch colours in a ggthemr theme

Description Usage Arguments

Description

Edit an existing theme's swatch. The swatch contains the main colours used in a ggplot outside of the colours for the title, axes text, axes lines, gridlines, background etc.

The first colour of the swatch is separate from the others. It is used in special cases e.g. the outline colour for geom_boxplot(). This colour should have good contrast with at least the second colour of the swatch.

Usage

1
set_swatch(swatch_colours)

Arguments

swatch_colours

new colours to use in themr swatch


YTLogos/ggthemr documentation built on May 7, 2019, 10:37 a.m.