<?php if ( forminator_array_value_exists( $properties, 'poll-colors' ) ) { ?>

	.forminator-ui.forminator-poll.forminator-poll-<?php echo $properties['form_id'] ?> .forminator-chart-legend li {
		<?php if ( forminator_array_value_exists( $properties, 'grid_labels' ) && !empty( $properties['grid_labels'] ) ) { ?>
			color: <?php echo $properties['grid_labels'] ?>;
		<?php } else { ?>
			color: #777771;
		<?php } ?>
	}

<?php } else { ?>

	.forminator-ui.forminator-poll.forminator-poll-<?php echo $properties['form_id'] ?> .forminator-chart-legend li {
		color: #777771;
	}

<?php } ?>