We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c61d969 commit f7d7631Copy full SHA for f7d7631
webapp/src/Utils/Utils.php
@@ -413,6 +413,7 @@ public static function hexToForegroundAndBorder(string $rgb): array
413
$background = Utils::parseHexColor($rgb);
414
415
// Pick a border that's a bit darker.
416
+ // We explicit keep the alpha channel as-is.
417
$darker = $background;
418
$darker[0] = max($darker[0] - 64, 0);
419
$darker[1] = max($darker[1] - 64, 0);
0 commit comments