Skip to content

Commit ad8a523

Browse files
committed
fix(theming): replace elementColor dark value with better contrast #8c8c8c
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
1 parent 45f9f55 commit ad8a523

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/theming/lib/Util.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public function elementColor($color, bool $brightBackground = true) {
9191

9292
if (!$brightBackground && $luminance < 0.2) {
9393
// If the color is too dark in dark mode, we fall back to a brighter gray
94-
return '#555555';
94+
return '#8c8c8c';
9595
}
9696

9797
return $color;

0 commit comments

Comments
 (0)