I believe all the writers are liberals except one.
Also, Matthew Perry and Christian Slater both played conservatives... Matthew Perry was portrayed as particularly intelligent.
Yeah, most of the time Hollywood doesn't bother to move beyond the evil stereotype, but sometimes they do get it and write multi-layered Republicans.
The real West Wing was a Republican creation. It was built in 1902 for Teddy Roosevelt to alleviate crowding of the upper floor of the White House where the President quarters and offices were located. His family of 6 children overtaxed the facility and the West Wing was a temporary addition which eventually became permanent.