public function rules(): array 	{ 		$id = $this->id->id ?? null;  		return [ 			'color_name' => ['required', 'unique:variants,color_name,' . $id, 'string', 'max:50'], 			'color_code' => ['required', 'string', 'max:10'], 		]; 	}