[FIX] fixes #252 Add an error message when using a wrong theme for
compilation