private void registerThemeResources() {
   String[] themeIds = themeManager.getRegisteredThemeIds();
   for (String themeId : themeIds) {
     Theme theme = themeManager.getTheme(themeId);
     theme.registerResources(applicationContext);
   }
 }
 private String getQxAppearanceThemeCode() {
   List<String> customAppearances = themeManager.getAppearances();
   return QxAppearanceWriter.createQxAppearanceTheme(customAppearances);
 }