Skip to content

Commit f413416

Browse files
authored
Merge pull request element-hq#3479 from t3chguy/t3chguy/dark-theme-invert-inconsistency-fix
dark theme invert inconsistent across browsers
2 parents bc67b1c + 05148b6 commit f413416

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

‎AUTHORS.rst‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ include:
1010

1111
* Florent VIOLLEAU (https://github.com/floviolleau) <floviolleau at gmail dot com>
1212
Improve README.md for a better understanding of installation instructions
13+
14+
* Michael Telatynski (https://github.com/t3chguy)
15+
Improved consistency of inverted elements in dark theme across browsers

‎src/skins/vector/css/themes/_dark.scss‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,17 +115,17 @@ $progressbar-color: #000;
115115
// better match the theme. Typically applied to dark grey 'off' buttons or
116116
// light grey 'on' buttons.
117117
.mx_filterFlipColor {
118-
filter: invert();
118+
filter: invert(1);
119119
}
120120

121121
.gm-scrollbar .thumb {
122-
filter: invert();
122+
filter: invert(1);
123123
}
124124

125125
// markdown overrides:
126126
.mx_EventTile_content .markdown-body {
127127
pre, code {
128-
filter: invert();
128+
filter: invert(1);
129129
}
130130

131131
pre code {

0 commit comments

Comments
 (0)