feat: M3 weighted shuffle v1 — real /api/radio with scoring #21
@@ -190,6 +190,10 @@ private fun MiniSeekBar(positionMs: Long, durationMs: Long, onSeek: (Long) -> Un
|
||||
colors = SliderDefaults.colors(
|
||||
thumbColor = MaterialTheme.colorScheme.primary,
|
||||
activeTrackColor = MaterialTheme.colorScheme.primary,
|
||||
// M3 default inactiveTrackColor is secondaryContainer, which the
|
||||
// theme doesn't override — that's where the M3-baseline purple
|
||||
// leaks in. Pin to surfaceVariant (= slate) for Flutter parity.
|
||||
inactiveTrackColor = MaterialTheme.colorScheme.surfaceVariant,
|
||||
),
|
||||
)
|
||||
}
|
||||
|
||||
@@ -409,6 +409,9 @@ private fun ScrubberRow(positionMs: Long, durationMs: Long, onSeek: (Long) -> Un
|
||||
colors = SliderDefaults.colors(
|
||||
thumbColor = accent,
|
||||
activeTrackColor = accent,
|
||||
// M3 inactive default is secondaryContainer (purple baseline);
|
||||
// pin to surfaceVariant (= slate) for Flutter parity.
|
||||
inactiveTrackColor = MaterialTheme.colorScheme.surfaceVariant,
|
||||
),
|
||||
)
|
||||
Row(
|
||||
|
||||
Reference in New Issue
Block a user