mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-06-02 03:58:36 +01:00
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:
@@ -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,
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user