The low-contrast black-on-dark-blue audio player was bugging me.
Details
The audio player isn't very customizable unless we want to go full custom controls at some point. Text/controls are white when the system is in dark mode, and black when in light mode, so I went with white background for prefers-color-scheme: light and dark blue for prefers-color-scheme: dark.
Also, the .episodePlayer class wasn't being used, so I removed some unused styling (but kept the rounded corners)
Screenshots
Here's what it looks like on Chrome:
Prefers light:
Prefers dark:
Doesn't look terrible on Firefox, although the background is a little bit different from the native player (and there doesn't appear to be a way to style the player background on FF)
What problem does this solve?
The low-contrast black-on-dark-blue audio player was bugging me.
Details
The audio player isn't very customizable unless we want to go full custom controls at some point. Text/controls are white when the system is in dark mode, and black when in light mode, so I went with white background for
prefers-color-scheme: light
and dark blue forprefers-color-scheme: dark
.Also, the
.episodePlayer
class wasn't being used, so I removed some unused styling (but kept the rounded corners)Screenshots
Here's what it looks like on Chrome:
Prefers light:
Prefers dark:
Doesn't look terrible on Firefox, although the background is a little bit different from the native player (and there doesn't appear to be a way to style the player background on FF)