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()

grattan/grattantheme documentation built on April 11, 2025, 8:56 p.m.