@php $generalOptions = getThemeOption('general') ?? []; $theme_color = str_replace(' ', '', $generalOptions['primary_color'] ?? '#059669'); $theme_color_two = str_replace(' ', '', $generalOptions['secondary_color'] ?? '#1f1f1f'); $hex = ltrim($theme_color, '#'); $r = hexdec(substr($hex, 0, 2)); $g = hexdec(substr($hex, 2, 2)); $b = hexdec(substr($hex, 4, 2)); $gradient_color = "$r,$g,$b"; $custom_css = getThemeOption('custom_css')['custom_css'] ?? ''; @endphp @if(!empty($custom_css)) @endif