diff --git a/res/css/_sc/feature-improvement/consistency__TextEvent/index.pcss b/res/css/_sc/feature-improvement/consistency__TextEvent/index.pcss index 14db2c9a9a7..843b0747c51 100644 --- a/res/css/_sc/feature-improvement/consistency__TextEvent/index.pcss +++ b/res/css/_sc/feature-improvement/consistency__TextEvent/index.pcss @@ -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; } diff --git a/res/css/_sc/feature-improvement/consistency__TextEvent/views/rooms/_EventTile.pcss b/res/css/_sc/feature-improvement/consistency__TextEvent/views/rooms/_EventTile.pcss index 60aa747cf4f..d87620fe386 100644 --- a/res/css/_sc/feature-improvement/consistency__TextEvent/views/rooms/_EventTile.pcss +++ b/res/css/_sc/feature-improvement/consistency__TextEvent/views/rooms/_EventTile.pcss @@ -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; + } + } + } +}