tailwind_pal_scale: Create a scale palette using tailwind colours

Description Usage Arguments

View source: R/tailwind_pal_scale.R

Description

Generate a palette function object with a start hex, end hex and optional middle colour that the scale will go through.

Usage

1
tailwind_pal_scale(start = "green-500", end = "red-500", middle = NULL, ...)

Arguments

start

Character name from tailwind_palettes for the low end of the resulting scale

end

Character name from tailwind_palettes for the high end of the resulting scale

middle

Optional character name from tailwind_palettes for the scale to go through

...

Additional options to pass to colorRampPalette


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