diff --git a/lib/core/custom-theme/theme/custom-palette-creator.scss b/lib/core/custom-theme/theme/custom-palette-creator.scss index 10d8c8c3d5..54730f2fca 100644 --- a/lib/core/custom-theme/theme/custom-palette-creator.scss +++ b/lib/core/custom-theme/theme/custom-palette-creator.scss @@ -22,7 +22,7 @@ $value: math.div($value, 255); @if ($value < 0.0393) { - $value: $value / 12.92; + $value: math.div($value, 12.92); } @else { $value: math.div($value + 0.055, 1.055); $value: math.pow($value, 2.4);