Remove Themes, lime dark-gray and light as their text was not very readable

This commit is contained in:
johnnyq 2023-12-27 22:37:47 -05:00
parent 58c7dfe2c8
commit 4a5b0b9202
2 changed files with 24 additions and 5 deletions

View File

@ -111,6 +111,25 @@ $config_telemetry = intval($row['config_telemetry']);
// Select Arrays
$theme_colors_array = array (
'blue',
'green',
'cyan',
'yellow',
'red',
'black',
'gray',
'indigo',
'navy',
'purple',
'fuchsia',
'pink',
'maroon',
'orange',
'teal',
'olive'
);
$colors_array = array (
'blue',
'green',

View File

@ -15,18 +15,18 @@ require_once "inc_all_settings.php";
<?php
foreach ($colors_array as $color) {
foreach ($theme_colors_array as $theme_color) {
?>
<div class="col-3 text-center mb-3">
<div class="form-group">
<div class="custom-control custom-radio">
<input class="custom-control-input" type="radio" id="customRadio<?php echo $color; ?>" name="theme" value="<?php echo $color; ?>" <?php if ($config_theme == $color) { echo "checked"; } ?>>
<label for="customRadio<?php echo $color; ?>" class="custom-control-label">
<i class="fa fa-fw fa-6x fa-circle text-<?php echo $color; ?>"></i>
<input class="custom-control-input" type="radio" id="customRadio<?php echo $theme_color; ?>" name="theme" value="<?php echo $theme_color; ?>" <?php if ($config_theme == $theme_color) { echo "checked"; } ?>>
<label for="customRadio<?php echo $theme_color; ?>" class="custom-control-label">
<i class="fa fa-fw fa-6x fa-circle text-<?php echo $theme_color; ?>"></i>
<br>
<?php echo $color; ?>
<?php echo $theme_color; ?>
</label>
</div>
</div>