function($prop) { $themes = cfg('theme/options'); $currentTheme = (string)cfg('theme/key'); $currentLabel = (string)first(cfg('theme/label'), $themes[$currentTheme]['label'] ?? $currentTheme); $routePath = (string)(URL::$route['l-path'] ?? ''); $buildThemeLink = function($themeKey) use($routePath) { return URL::Link($routePath, ['theme' => $themeKey]); }; ?>
'A floating theme picker that switches between all configured starter theme families' ];