vico
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
vico
compose-m3
/
com.patrykandpatrick.vico.compose.m3.common
Package-level
declarations
Functions
Functions
remember
M3Vico
Theme
Link copied to clipboard
@
Composable
fun
rememberM3VicoTheme
(
candlestickCartesianLayerColors
:
VicoTheme.CandlestickCartesianLayerColors
=
VicoTheme.CandlestickCartesianLayerColors.fromDefaultColors(getDefaultColors())
,
columnCartesianLayerColors
:
List
<
Color
>
=
MaterialTheme.colorScheme.run { listOf(primary, secondary, tertiary) }
,
lineCartesianLayerColors
:
List
<
Color
>
=
columnCartesianLayerColors
,
lineColor
:
Color
=
MaterialTheme.colorScheme.outline
,
textColor
:
Color
=
MaterialTheme.colorScheme.onBackground
)
:
VicoTheme
Creates and remembers a
VicoTheme
based on
MaterialTheme.colorScheme
.