Skip to content

Commit

Permalink
Specify text color with color property instead of opacity for propert…
Browse files Browse the repository at this point in the history
…ies which start with mx_M

Signed-off-by: Suguru Hirahara <[email protected]>
  • Loading branch information
luixxiul committed Mar 4, 2024
1 parent 7f32c7c commit 330315c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ limitations under the License.
@define-mixin consistency__TextEvent {
@mixin EventTile_line_color;
@mixin EventTile_line_font;
@mixin EventTile_line_M;
@mixin DecryptionFailureBody;
}
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,21 @@ limitations under the License.
}
}
}

/* Specify text color with color property instead of opacity for properties
which start with mx_M */
@define-mixin EventTile_line_M {
.mx_EventTile_line {
[class^="mx_M"] {
opacity: unset;
}

.mx_MNoticeBody {
/* See #fdroid:f-droid.org/$jrVZxdvY2NqNYvXigQ_sTZNeOadpOuFGFsraHy8GR3Y for an example */
.mx_EventTile_body.markdown-body {
/* !important flag is required as it is used on the upstream */
color: $tertiary-content !important;
}
}
}
}

0 comments on commit 330315c

Please sign in to comment.