Skip to content

Commit 871c9e6

Browse files
author
Luke Barnard
committed
Add bing mention pill CSS
Useful with matrix-org/matrix-react-sdk#1234
1 parent 0e71ea7 commit 871c9e6

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

src/skins/vector/css/matrix-react-sdk/views/elements/_RichText.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,12 @@
1414
/* More specific to override `.markdown-body a` color */
1515
.mx_EventTile_content .markdown-body a.mx_UserPill,
1616
.mx_UserPill {
17+
color: $primary-fg-color;
18+
}
19+
20+
.mx_EventTile_highlight .mx_EventTile_content .markdown-body a.mx_UserPill_me {
1721
color: $accent-fg-color;
18-
background-color: $accent-color;
22+
background-color: $mention-user-pill-bg-color;
1923
}
2024

2125
/* More specific to override `.markdown-body a` color */

src/skins/vector/css/themes/_base.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ $focus-brightness: 125%;
1919

2020
// red warning colour
2121
$warning-color: #ff0064;
22+
$mention-user-pill-bg-color: #ff0064;
2223

2324
$preview-bar-bg-color: #f7f7f7;
2425

0 commit comments

Comments
 (0)