diff --git a/Providers/ThemesServiceProvider.php b/Providers/ThemesServiceProvider.php index 867edf0..027a158 100644 --- a/Providers/ThemesServiceProvider.php +++ b/Providers/ThemesServiceProvider.php @@ -86,7 +86,10 @@ public function hooks() // Set theme colour. \Eventy::addFilter('layout.theme_color', function($color) { - $color = self::$themes[\Option::get('themes.theme', \Config::get('themes.theme'))]['primary']; + $theme = auth()->check() && !empty(auth()->user()->settings['themes.theme']) + ? auth()->user()->settings['themes.theme'] + : \Option::get('themes.theme', \Config::get('themes.theme')); + $color = self::$themes[$theme]['primary']; return $color; });