void (UIDefaults defaults) { defaults.put("ui.theme.is.dark", theme.isDark()); defaults.put("ClassLoader", theme.getProviderClassLoader()); theme.applyTheme(defaults); IconPathPatcher patcher = theme.patcher; if (patcher != null) { IconLoader.installPathPatcher(patcher); } SvgKt.setSelectionColorPatcherProvider(theme.selectionColorPatcher); SVGLoader.SvgElementColorPatcherProvider colorPatcher = theme.getColorPatcher(); if (colorPatcher != null) { SVGLoader.setColorPatcherProvider(colorPatcher); } installBackgroundImage(); AppUIUtil.updateForDarcula(theme.isDark()); isInitialized = true; }