File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed
res/css/_sc/feature-improvement/consistency__TextEvent Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -23,5 +23,6 @@ limitations under the License.
23
23
@define-mixin consistency__TextEvent {
24
24
@mixin EventTile_line_color ;
25
25
@mixin EventTile_line_font ;
26
+ @mixin EventTile_line_M ;
26
27
@mixin DecryptionFailureBody ;
27
28
}
Original file line number Diff line number Diff line change @@ -57,3 +57,23 @@ limitations under the License.
57
57
}
58
58
}
59
59
}
60
+
61
+ /* Speficy color and font for files which start with mx_M */
62
+ @define-mixin EventTile_line_M {
63
+ .mx_EventTile_line {
64
+ [class^ ="mx_M" ] {
65
+ /* Unset opacity of mx_MNoticeBody and mx_MjolnirBody */
66
+ opacity : unset;
67
+
68
+ /* For mx_MNoticeBody */
69
+ /* See #fdroid:f-droid.org/$jrVZxdvY2NqNYvXigQ_sTZNeOadpOuFGFsraHy8GR3Y for an example */
70
+ .mx_EventTile_body.markdown-body {
71
+ --font : var (--cpd-font-body-sm-regular ); /* Replace with js when needed */
72
+
73
+ /* !important flag is required as it is used on the upstream */
74
+ color : $tertiary-content !important ;
75
+ font : var (--font ) !important ;
76
+ }
77
+ }
78
+ }
79
+ }
You can’t perform that action at this time.
0 commit comments