Fix mxid colors for dark theme

Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
Ajay Bura 2021-12-16 18:39:44 +05:30
parent 3d7e509f9a
commit 18dc02c700
7 changed files with 39 additions and 11 deletions

View file

@ -32,7 +32,7 @@ function Avatar({
iconSrc !== null
? <RawIcon size={size} src={iconSrc} />
: text !== null && (
<Text variant={textSize} primary>
<Text variant={textSize} weight="medium" primary>
{twemojify([...text][0])}
</Text>
)

View file

@ -45,7 +45,7 @@
border-radius: inherit;
.text {
color: var(--tc-primary-high);
color: var(--bg-surface);
}
}
}