tailwind_pal: Create palette function using tailwind_palettes

Description Usage Arguments

View source: R/tailwind_pal.R

Description

This is a function to generate a palette function from tailwind_palettes for us with discrete_scale and ggplot functions.

Usage

1
tailwind_pal(palette = "main", reverse = FALSE, ...)

Arguments

palette

Character name from tailwind_palettes

reverse

Boolean, whether you want to flip palette order

...

Additional options to pass to colorRampPalette


willcanniford/ggtailwind documentation built on Jan. 30, 2021, 9:30 a.m.