diff --git a/src/lib/media/player.svelte b/src/lib/media/player.svelte index 2f552de..986ec31 100644 --- a/src/lib/media/player.svelte +++ b/src/lib/media/player.svelte @@ -7,9 +7,17 @@ let { tracks, cover, // album cover (optional, currently unused) + + // we're doing this manually instead of letting the computer calculate optimal colours because... it's easier this way. might as well spend the 2 seconds setting two booleans rather than 2 hours trying to make this work halfway decently, lol + customColor, + useDarkText, + useDarkHoverText, }: { tracks: Track[]; cover?: string; + customColor: string; + useDarkText?: boolean; + useDarkHoverText?: boolean; } = $props(); let selectedTrackId: number = $state(0); @@ -44,7 +52,11 @@ } -
+