Merge branch 'ent-9870-barra-progreso-cola-de-politicas-queda-mal-en-modo-oscuro' into 'develop'

Ent 9870 barra progreso cola de politicas queda mal en modo oscuro

See merge request artica/pandorafms!5760
This commit is contained in:
Daniel Rodriguez 2023-05-16 09:01:01 +00:00
commit 5e598b3671
1 changed files with 5 additions and 1 deletions

View File

@ -344,7 +344,11 @@ function drawRating($rating, $width, $height, $font, $out_of_lim_str, $mode, $fo
$image = imagecreate($width, $height);
// colors
$back = imagecolorallocate($image, 241, 241, 241);
if ($config['style'] === 'pandora_black') {
$back = imagecolorallocate($image, 34, 34, 34);
} else {
$back = imagecolorallocate($image, 241, 241, 241);
}
$bordercolor = imagecolorallocate($image, 241, 241, 241);
$text = imagecolorallocate($image, 74, 74, 74);