use global config values instead of manuall checking of used theme plus classes