add locals to theme