aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/nav.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/nav.php b/include/nav.php
index d4e9b8f92..31a447a84 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -319,6 +319,8 @@ function nav($template = 'default') {
App::$page['nav'] .= replace_macros($tpl, [
'$baseurl' => z_root(),
+ '$color_mode' => App::$page['color_mode'] ?? '',
+ '$navbar_color_mode' => App::$page['navbar_color_mode'] ?? '',
'$theme_switch_icon' => $theme_switch_icon,
'$fulldocs' => t('Help'),
'$sitelocation' => $sitelocation,