Lines Matching defs:value

36         //'white', css value for now otherwise we don't know the value when tinting
37 //'gray', css value for now otherwise we don't know the value when tinting
215 // the value is a bootstrap name
292 * have value as bootstrap
293 * @param float $value
296 private static function round(float $value): float
298 $rest = fmod($value, 1);
300 return round($value, 0, PHP_ROUND_HALF_DOWN);
302 return round($value, 0, PHP_ROUND_HALF_UP);
456 throw new ExceptionCompile("This is not possible, the red value ({$color2->getBlue()}) with the percentage $weight could not be unmixed. They were not calculated with color mixing.");
460 throw new ExceptionCompile("This is not possible, the green value ({$color2->getGreen()}) with the percentage $weight could not be unmixed. They were not calculated with color mixing.");
464 throw new ExceptionCompile("This is not possible, the blue value ({$color2->getBlue()}) with the percentage $weight could not be unmixed. They were not calculated with color mixing.");
480 throw new ExceptionBadArgument("The color value ($hex) does not start with a #, this is not valid CSS hexadecimal color value");
497 throw new ExceptionBadArgument("The digit color value ($hex) is not 3 or 6 in length, this is not a valid CSS hexadecimal color value");
501 throw new ExceptionBadArgument("The digit color value ($hex) is not a hexadecimal value, this is not a valid CSS hexadecimal color value");
794 throw new ExceptionBadArgument("The value is not an hexadecimal color value ($color)");
853 LogUtility::msg("The primary color cannot be set with the value primary. Default to bootstrap color.", self::BRANDING_COLOR_CANONICAL);
862 LogUtility::msg("The secondary color cannot be set with the value secondary. Default to bootstrap color.", self::BRANDING_COLOR_CANONICAL);