Return the resolved shadshiny design tokens for a theme preset and mode, as a
named list of raw CSS values (OKLCH strings). Used by the chart adapters and
available for custom plotting. Names are the token keys without the --shad-
prefix (e.g. primary, chart-1, chart-grid).
Arguments
- preset
One of the twelve presets (
"slate","stone","zinc","mauve","olive","mist","taupe","blue","green","rose","violet","orange"), orNULLfor the base (neutral) theme.- dark
If
TRUE, return dark-mode values.- overrides
Optional named list of token overrides (without
--shad-), e.g. from ashad_theme()object, applied on top.
See also
Other shadshiny theming:
shad_chart_colors(),
shad_current_theme(),
shad_theme(),
shad_theme_echarts4r(),
shad_theme_from_registry(),
shad_theme_ggplot2(),
shad_theme_plotly(),
shad_theme_scope()