register_palette: Register the option for which palette to use.

View source: R/grattan_pal.R

register_paletteR Documentation

Register the option for which palette to use.

Description

Grattan now has an old palette and a new palette. Depending which is needed users can set options("grattan_palette" = "old") to have the colours map to the old colours. Otherwise the colours default to the new colours.

Usage

register_palette()

MattCowgill/grattantheme documentation built on Nov. 2, 2024, 8:52 p.m.