Color reply prefix in room delegate last message

This commit is contained in:
miruka
2021-04-15 07:27:54 -04:00
parent a208ba3991
commit de7e14f9ca
2 changed files with 8 additions and 6 deletions

View File

@@ -127,8 +127,10 @@ HTile {
return text.replace(
/< *span +class=['"]?quote['"]? *>(.+?)<\/ *span *>/g,
`<font color="${subColor}">` +
`$1</font>`,
`<font color="${subColor}">$1</font>`,
).replace(
/< *mx-reply *>(.+?)<\/ *mx-reply *>/g,
`<font color="${theme.colors.accentText}">$1</font>`,
)
}
}