@extends('layouts.admin') @section('title', isset($theme) ? 'Edit Theme' : 'Add Theme') @section('page_title', isset($theme) ? 'Edit Theme' : 'Add New Theme') @section('content')
{{ isset($theme) ? 'Edit Theme Colors' : 'Theme Configuration' }}
@csrf @if(isset($theme)) @method('PUT') @endif
@error('name')
{{ $message }}
@enderror
Color Scheme
Main brand color
Accent/secondary brand color
For positive actions
For destructive actions
For alerts and warnings
For informational messages
Primary text color
Page background color
Additional custom CSS rules for this theme @error('custom_css')
{{ $message }}
@enderror
is_active : 0) == 1 ? 'checked' : '' }}>
Note: Activating this theme will deactivate all other themes
Cancel
Color Preview
Primary
Secondary
Success
Danger
Warning
Info
Quick Info
@if(isset($theme))
Theme ID

#{{ $theme->id }}

Status

@if($theme->is_active) Active @else Inactive @endif

Created

{{ $theme->created_at->format('M d, Y') }}

Last Updated

{{ $theme->updated_at->format('M d, Y H:i') }}

@else

Create a new theme with custom colors

@endif
@endsection