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

@@ -1,5 +1,5 @@
<!-- Main Sidebar Container -->
<aside class="main-sidebar sidebar-dark-primary d-print-none">
<aside class="main-sidebar sidebar-dark-<?php echo $config_theme_side_nav_accent_color; ?> d-print-none">
<!-- Sidebar -->
<div class="sidebar">
@@ -68,6 +68,14 @@
<li class="nav-header mt-3">SETTINGS</li>
<li class="nav-item">
<a class="nav-link <?php if(basename($_SERVER["PHP_SELF"]) == "settings_theme.php") { echo "active"; } ?>"
href="settings_theme.php">
<i class="nav-icon fa fa-palette"></i>
<p>Theme</p>
</a>
</li>
<li class="nav-item">
<a class="nav-link <?php if(basename($_SERVER["PHP_SELF"]) == "settings_mail.php") { echo "active"; } ?>"
href="settings_mail.php">