@extends('layouts.app') @section('header-title', __('Appearance')) @section('content')
{{ __('Home Screens') }}
@foreach ($homeThemes as $homeTheme)
@if ($homeTheme->alias != 'upcoming')
{{ $homeTheme->theme_name }}
{{ $homeTheme->theme_name }}
@hasPermission('admin.offerBanner.index') icon @endhasPermission
@else
{{ $homeTheme->theme_name }}
@endif
@endforeach
@csrf
{{ __('Selected Color') }}
@php $allColors = $currentTheme; unset($allColors['id'], $allColors['updated_at'], $allColors['created_at'], $allColors['is_default'], $allColors['theme_name'], $allColors['secondary'], $allColors['primary']); @endphp @foreach ($allColors as $color)
{{ $color }}
@endforeach
{{ __('Available Colors palette') }}
@foreach ($themeColors as $themeColor) @php $allColors = clone $themeColor; unset($allColors['id'], $allColors['updated_at'], $allColors['created_at'], $allColors['is_default'], $allColors['theme_name'], $allColors['secondary']); @endphp
@php $shades = [50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950]; @endphp @foreach ($shades as $shade)
{{ $shade }} {{ $themeColor['variant_' . $shade] }}
@endforeach
@endforeach
@hasPermission('admin.themeColor.update')
@endhasPermission
@csrf
@endsection @push('css') @endpush @push('scripts') @endpush