]> cat aescling's git repositories - mastodon.git/commitdiff
Fix audio player controls color in mastodon-light theme (#14338)
authorThibG <thib@sitedethib.com>
Fri, 17 Jul 2020 05:07:18 +0000 (07:07 +0200)
committerGitHub <noreply@github.com>
Fri, 17 Jul 2020 05:07:18 +0000 (07:07 +0200)
Fixes #14337

The new audio player sets the background and foreground colors automatically
based on the thumbnail of the audio file, but the mastodon-light theme
overrides the controls' colors with a hardcoded color, which sometimes make
them unreadable.

app/javascript/styles/mastodon-light/diff.scss

index 7a846bcc678ff44aae2e7aa3c648462da62cf5ec..8c8d69fc47e284e3e9eb0057d01f53b5a47e618f 100644 (file)
@@ -767,10 +767,3 @@ html {
 .compose-form .compose-form__warning {
   box-shadow: none;
 }
-
-.audio-player .video-player__controls button,
-.audio-player .video-player__time-sep,
-.audio-player .video-player__time-current,
-.audio-player .video-player__time-total {
-  color: $primary-text-color;
-}