The guide is being migrated; some links to the API reference may be missing. Use the search bar in the API reference.

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).

ProvideVicoTheme(remember(/* ... */) { VicoTheme(/* ... */) }) { /* ... */ }