Feature: Introduced Color Themes - Changes navbar color and accent button color on sidenav - To change theme goto settings - theme - select a theme watch it change in real time

This commit is contained in:
johnnyq
2023-01-19 18:00:35 -05:00
parent f21bb7cbe9
commit 6232a8311b
10 changed files with 110 additions and 9 deletions

View File

@@ -82,7 +82,11 @@ $config_module_enable_accounting = $row['config_module_enable_accounting'];
$config_currency_format = "US_en";
// Theme
$config_theme = $row['config_theme'];
$config_enable_dark_mode = "dark_mode";
$config_theme_navbar_color = $config_theme;
$config_theme_side_nav_accent_color = $config_theme;
$config_theme_hyperlink_accent = "";
$colors_array = array(
'green',
@@ -926,4 +930,27 @@ $asset_status_array = array(
'Retired'
);
$themes_array = array(
'blue',
'secondary',
'green',
'cyan',
'yellow',
'red',
'black',
'gray-dark',
'gray',
'light',
'indigo',
'navy',
'purple',
'fuchsia',
'pink',
'maroon',
'orange',
'lime',
'teal',
'olive'
);
?>