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 e81837d commit cc56067Copy full SHA for cc56067
webapp/src/Service/CheckConfigService.php
@@ -474,6 +474,9 @@ public function checkContestsValidate(): ConfigCheckItem
474
if (empty($cp->getColor())) {
475
$result = ($result === 'E' ? 'E' : 'W');
476
$cperrors[$cid] .= " - No color for problem `" . $cp->getShortname() . "` in contest c" . $cid . "\n";
477
+ } elseif (count(Utils::parseHexColor($cp->getColor())) === 4 && Utils::parseHexColor($cp->getColor())[3] !== 255) {
478
+ $result = ($result === 'E' ? 'E' : 'W');
479
+ $cperrors[$cid] .= " - Semi-transparent color for problem `" . $cp->getShortname() . "` in contest c" . $cid . "\n";
480
}
481
482
0 commit comments