diff options
Diffstat (limited to 'view/theme/redbasic/php/theme_init.php')
-rw-r--r-- | view/theme/redbasic/php/theme_init.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/view/theme/redbasic/php/theme_init.php b/view/theme/redbasic/php/theme_init.php index 54e6e7be3..cffe22de6 100644 --- a/view/theme/redbasic/php/theme_init.php +++ b/view/theme/redbasic/php/theme_init.php @@ -1,4 +1,6 @@ <?php +use Zotlabs\Lib\Config; + require_once('view/php/theme_init.php'); head_add_css('/library/fork-awesome/css/fork-awesome.min.css'); @@ -24,8 +26,8 @@ if (App::$profile_uid) { } if (!$redbasic_mode) { - $redbasic_mode = ((get_config('redbasic', 'dark_mode')) ? 'dark' : 'light'); - $redbasic_navbar_mode = ((get_config('redbasic', 'navbar_dark_mode')) ? 'dark' : 'light'); + $redbasic_mode = ((Config::Get('redbasic', 'dark_mode')) ? 'dark' : 'light'); + $redbasic_navbar_mode = ((Config::Get('redbasic', 'navbar_dark_mode')) ? 'dark' : 'light'); } App::$page['color_mode'] = 'data-bs-theme="' . $redbasic_mode . '"'; |