Slightly (but only slightly) less hacky subtheme system