fix(casting): improve current-episode contrast in episode list

The active row used a solid #a855f7 background, which hid the purple
S:E label entirely and washed out the gray overview/metadata text.
Use a translucent purple so the dark base shows through and all text
stays readable; the play-circle icon still marks the current episode.
This commit is contained in:
Gauvain
2026-06-01 23:59:35 +02:00
parent f4a68bca10
commit 211923b2ab

View File

@@ -127,7 +127,12 @@ export const ChromecastEpisodeList: React.FC<ChromecastEpisodeListProps> = ({
style={{
flexDirection: "row",
padding: 12,
backgroundColor: isCurrentEpisode ? "#a855f7" : "transparent",
// Translucent (not solid) purple so the dark base shows through and
// the row's text — incl. the purple S:E label — stays readable. The
// play-circle icon also marks the current episode.
backgroundColor: isCurrentEpisode
? "rgba(168, 85, 247, 0.25)"
: "transparent",
borderRadius: 8,
marginBottom: 8,
}}