Skip to content

Commit

Permalink
Update webapp/src/Twig/TwigExtension.php
Browse files Browse the repository at this point in the history
Co-authored-by: MCJ Vasseur <[email protected]>
  • Loading branch information
nickygerritsen and vmcj authored Mar 1, 2025
1 parent 3f80a77 commit ebb0ebd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion webapp/src/Twig/TwigExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -1166,7 +1166,6 @@ private function relativeLuminance(string $rgb): float
private function apcaContrast(string $fgColor, string $bgColor): float
{
// Based on WCAG 3.x (https://www.w3.org/TR/wcag-3.0/)

$luminanceForeground = $this->relativeLuminance($fgColor);
$luminanceBackground = $this->relativeLuminance($bgColor);

Expand Down

0 comments on commit ebb0ebd

Please sign in to comment.