@extends('admin.layouts.master-soyuz') @section('title',__('Admin Theme Colors')) @section('body') @component('admin.component.breadcumb',['secondaryactive' => 'active']) @slot('heading'){{ __('Admin Theme Colors') }}@endslot @slot('menu1'){{ __('Admin Theme Colors') }}@endslot @endcomponent @php $defaults = \App\Admincustomisation::DEFAULTS; $val = function($key) use ($color, $defaults) { $v = $color ? trim((string) ($color->{$key} ?? '')) : ''; return preg_match('/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/', $v) ? $v : $defaults[$key]; }; $fields = [ ['key' => 'sidebar_bg', 'label' => __('Sidebar Background'), 'desc' => __('Left sidebar / vertical menu')], ['key' => 'primary_color', 'label' => __('Primary Blue'), 'desc' => __('Buttons, links, active states')], ['key' => 'primary_dark', 'label' => __('Primary Dark Blue'), 'desc' => __('Hover / pressed state for primary')], ['key' => 'accent_color', 'label' => __('Accent (Saffron)'), 'desc' => __('Active sidebar item, highlights')], ['key' => 'content_bg', 'label' => __('Content Background'), 'desc' => __('Main page background')], ['key' => 'card_bg', 'label' => __('Card Background'), 'desc' => __('Card / panel surface')], ['key' => 'text_dark', 'label' => __('Text — Dark'), 'desc' => __('Primary text colour')], ['key' => 'text_muted', 'label' => __('Text — Muted'), 'desc' => __('Secondary / labels')], ]; @endphp
@endsection @section('custom-script') @endsection