updates to theme implementation for api /rendering