@extends('layouts.app') @section('content')

ثيمات المتجر

{{ $store->name }}

@if($currentTheme)

الثيم الحالي

@if($currentTheme->thumbnail) {{ $currentTheme->name }} @else
@endif

{{ $currentTheme->name }}

{{ $currentTheme->description }}

الألوان الرئيسية

@foreach(json_decode($currentTheme->colors, true) as $colorName => $colorValue) @if(in_array($colorName, ['primary', 'secondary', 'accent', 'background', 'card']))
{{ $colorName }}
@endif @endforeach
@endif

الثيمات المتاحة

@foreach($themes as $theme)
@if($theme->thumbnail) {{ $theme->name }} @else
@endif @if($currentTheme && $currentTheme->id === $theme->id)
الثيم الحالي
@endif

{{ $theme->name }}

{{ $theme->description }}

@foreach(json_decode($theme->colors, true) as $colorName => $colorValue) @if(in_array($colorName, ['primary', 'secondary', 'accent']))
@endif @endforeach
معاينة @if(!$currentTheme || $currentTheme->id !== $theme->id)
@csrf @method('PUT')
@endif
@endforeach
@endsection