VicoTheme
VicoTheme
houses default
chart colors. Functions like rememberColumnCartesianLayer
and rememberLineCartesianLayer
use these for their default arguments. You can use ProvideVicoTheme
to provide a custom instance. Use vicoTheme
to access the provided value (for example, vicoTheme.textColor
).
You can use rememberM2VicoTheme
or rememberM3VicoTheme
to create a VicoTheme
with the colors from your app’s Material Theme. These functions come from the compose-m2
and compose-m3
modules.