List<String> themes = (List<String>) configMap.get("themes");
if (themes != null) {
try {
DefinitionService ds = Aura.getDefinitionService();
for (String theme : themes) {
context.appendThemeDescriptor(ds.getDefDescriptor(theme, ThemeDef.class));
}
} catch (QuickFixException e) {
throw new AuraRuntimeException(e);
}
}