@extends('admin.settings.layout') @php use App\Models\Setting; $debug_mode = true; // Check actual database values for debugging $dbPrimary = Setting::where('key', 'primary_color')->first()?->value; $dbSecondary = Setting::where('key', 'secondary_color')->first()?->value; @endphp @section('settings_content')
Pengaturan Tampilan
@if($debug_mode)
Debug Info: DB primary_color = {{ $dbPrimary }} | secondary_color = {{ $dbSecondary }}
@endif
@csrf
Warna utama website (sidebar, button, dll)
Warna sekunder untuk aksen

Preview Warna

Contoh teks dengan warna sekunder


@endsection @push('scripts') @if($debug_mode) @endif @endpush