The categorical chart palette (--shad-chart-1 … --shad-chart-6) for a
theme, converted to hex for use with R plotting libraries.
Arguments
- n
Number of colors (recycled past 6, with a warning).
- preset
Theme preset (see
shad_tokens());NULL= base.- dark
If
TRUE, use dark-mode values.
See also
Other shadshiny theming:
shad_current_theme(),
shad_theme(),
shad_theme_echarts4r(),
shad_theme_from_registry(),
shad_theme_ggplot2(),
shad_theme_plotly(),
shad_theme_scope(),
shad_tokens()