<?php

namespace App\Http\Resources\Ui;

use Illuminate\Http\Request;
use Illuminate\Http\Resources\Json\JsonResource;

class UiStyleResource extends JsonResource
{
    public function toArray(Request $request): array
    {
        return [
            'style_color' => $this->style_color ?? null,
            'menu_color' => $this->menu_color ?? null,
            'menu_custom_bg' => $this->menu_custom_bg ?? null,
            'menu_custom_text' => $this->menu_custom_text ?? null,
            'menu_custom_mode' => $this->menu_custom_mode ?? null,
        ];
    }
}
