A writer who was finely attuned to the subtle aesthetics of apartheid and post-apartheid racial identities in South Africa.