SliderDefaults
object SliderDefaults
Functions
Link copied to clipboard
fun colors(thumbColor: Color = SparkTheme.colors.main, activeTrackColor: Color = SparkTheme.colors.main, activeTickColor: Color = SparkTheme.colors.onMain.copy(alpha = TickMarksContainerOpacity), inactiveTrackColor: Color = SparkTheme.colors.neutralContainer, inactiveTickColor: Color = SparkTheme.colors.onNeutralContainer.copy(alpha = TickMarksContainerOpacity), disabledThumbColor: Color = SparkTheme.colors.onSurface
.copy(alpha = DisabledOpacity)
.compositeOver(SparkTheme.colors.surface), disabledActiveTrackColor: Color = SparkTheme.colors.onSurface.copy(alpha = DisabledOpacity), disabledActiveTickColor: Color = disabledActiveTrackColor, disabledInactiveTrackColor: Color = SparkTheme.colors.onSurface.copy(alpha = DisabledInactiveTrackOpacity), disabledInactiveTickColor: Color = disabledActiveTrackColor): SliderColors