Skip to content

Commit

Permalink
Fix regression of status colors in actions modal in web UI
Browse files Browse the repository at this point in the history
Fixes mastodon#17900

Regression in mastodon#17844 (mastodon#17851 restored the code in the wrong place…)
  • Loading branch information
ClearlyClaire committed Mar 29, 2022
1 parent 22c19ee commit b4a6f90
Showing 1 changed file with 37 additions and 37 deletions.
74 changes: 37 additions & 37 deletions app/javascript/styles/mastodon/components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1009,6 +1009,43 @@
.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%);
}
}
}
}
}

.status__relative-time,
Expand Down Expand Up @@ -1154,43 +1191,6 @@
.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 {
Expand Down

0 comments on commit b4a6f90

Please sign in to comment.