@extends('layouts.admin') @section('page-title', 'Colors') @section('content')
{{-- Header --}}

Colors

Manage product color options for your catalog

{{ $colors->total() }} {{ Str::plural('color', $colors->total()) }}
{{-- Color List --}}

Colors

@forelse($colors as $index => $color) @empty @endforelse
# Name Code Options
{{ $colors->firstItem() + $index }} {{ $color->name }} {{ $color->hex_code }}
@csrf @method('DELETE')
No colors found
@if($colors->hasPages())
{{ $colors->links() }}
@endif
{{-- Add Color Form --}}

Add New Color

@csrf
@error('name')

{{ $message }}

@enderror
#
@error('code')

{{ $message }}

@enderror
{{-- Live Preview --}}

Preview

@endsection