chat: fade images on dark mode

Adds 60% opacity to dim images within messages in dark mode.
This commit is contained in:
Matilde Park 2020-01-06 08:09:53 -05:00
parent d45be05c26
commit 4143b0060f
4 changed files with 6 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -180,6 +180,9 @@ h2 {
.invert-d {
filter: invert(1);
}
.o-60-d {
opacity: .6;
}
a {
color: #fff;
}

View File

@ -38,6 +38,7 @@ export class Message extends Component {
if (imgMatch) {
contents = (
<img
className="o-60-d"
src={letter.url}
style={{
width: "50%",