themes: check if theme properties valid