Customise the color palette for the frontend theme. Colors apply after saving and a page reload.
@php
$colorGroups = [
'Brand Colors' => ['primary', 'primary_dark', 'accent'],
'Background & Surface' => ['background_light', 'background_dark', 'surface_light', 'surface_dark'],
'Text & Border' => ['text_main', 'text_muted', 'border_light', 'border_dark'],
];
@endphp
@foreach($colorGroups as $groupLabel => $keys)
{{ $groupLabel }}
@foreach($keys as $key)
@if(isset($colors[$key]))
@php
$current = $colors[$key]['value'] ?? $colors[$key]['default'];
$default = $colors[$key]['default'];
@endphp
@endif
@endforeach
@if(!$loop->last)