]> cat aescling's git repositories - mastodon.git/commitdiff
Fix regression of status colors in actions modal in web UI (#17851)
authorEugen Rochko <eugen@zeonfederated.com>
Tue, 22 Mar 2022 17:20:08 +0000 (18:20 +0100)
committerGitHub <noreply@github.com>
Tue, 22 Mar 2022 17:20:08 +0000 (18:20 +0100)
Regression in #17844

app/javascript/styles/mastodon/components.scss

index d1b36d33bd7dc87043944675b59705795a844b10..d627d9557cdb270c88deb3506835f70e9eb32382 100644 (file)
   .audio-player {
     margin-top: 8px;
   }
+
+  &.light {
+    .status__relative-time,
+    .status__visibility-icon {
+      color: $light-text-color;
+    }
+
+    .status__display-name {
+      color: $inverted-text-color;
+    }
+
+    .display-name {
+      color: $light-text-color;
+
+      strong {
+        color: $inverted-text-color;
+      }
+    }
+
+    .status__content {
+      color: $inverted-text-color;
+
+      a {
+        color: $highlight-text-color;
+      }
+
+      a.status__content__spoiler-link {
+        color: $primary-text-color;
+        background: $ui-primary-color;
+
+        &:hover,
+        &:focus {
+          background: lighten($ui-primary-color, 8%);
+        }
+      }
+    }
+  }
 }
 
 .detailed-status__meta {