I have installed Material Theme UI and it made my IDE blackish. Later I decided to remove and and removed plugin. Unfortunately, this didn't give default colors back, some parts of IDE, for example Project pane, remained blackish.
How ro recover?
How to remove material theme from IntelliJ / PyCharm?
settings > appearance > theme
?
you can go to the Preferences->Plugins on the search bar, type Material UI then press on the Uninstall button .
You should:
Go to Settings->Plugins and remove Material UI plugin Switch to Default theme in Settings->Editor->Color Scheme
If it does not help (it happened to me) and you still have some colors/fonts from removed Material UI - looks like Material UI theme override some default colors. You should then close Intellij, go to Intellij config folder (on Windows it is C:/Users/<your username>/.IntellijIdeaXXXX.X/config
) and remove this config
folder and restart Intellij. It should show you a dialog window to import settings from previous version or use defaults (like when you install Intellij and make the first start). After that everything will be switched to default colors/fonts.
From the material-theme-jetbrains repo:
File Colors stuck after uninstallation The File Status Colors feature is also a feature that sticks outside of the realm of the plugin as it modifies the IDE itself. Therefore when uninstalling/disabling the plugin the colors will stuck. If you want to reset to the default colors, open the Settings at Version Control -> File Status Colors in 2017.3+. In previous versions, you will need to go to the config directory and delete the _@user_Darcula.icls color scheme manually.
None of these worked for me as an acceptable solution. So here is what I figured out:
Go to plugins, uninstall Material UI. Ensure colour scheme is Default/Darcula. Restart Idea.
At this point most changes were back to default, but some things like colour of current tab, error highlights, modified files etc were still not back to usual. So I followed the advice of deleting config
and things returned to normal. But with this option you lose everything, even the installed plugins. And worst thing was, I was using a settings repository to sync settings, few minutes later the colours were back! So I did a diff with older config directory and then a git log
revealed that these files are the culprits.
Delete these 4 files from this path: .IntelliJIdea<version>/config/settingsRepository/repository/
colors/_@user_Darcula.icls colors/_@user_Default.icls material_custom_theme. xml material_theme.xml
Then do a git commit
and git push
to ensure these are synced to your repository. And finally theme was back to normal!
Unfortunately whatever I was doing from the settings, I've couldn't get rid of that theme. So I uninstalled the program and reinstalled it again without material theme. Hope there will be better solution.
Tested with intellij 2018.3 go to settings->Type material then untick the material theme after that restart ide should fix the issue.
A tad brute force, but you could try and delete the theme directly.
Close IntelliJ Go to: ..\JetBrains\themes Delete Material UI Open IntelliJ
Press Command + , (comma)
(Shortcut to preferences) and search for material. Uninstall the material in plugins section.
If you are wondering how to do it in PHPStorm 2020.2 and above:
Settings (Alt + Ctrl + S) -> Plugins -> Uncheck the MaterialUI.
After unchecking, you would then be able to see an option to uninstall from the dropdown arrow found next to the install button.
Uninstall Material Theme UI plugin: Settings->Plugins Delete colors from the config folder: C:\Users\User name\<.IdeaIC2018.2>\config\colors (don't remove the whole config folder because all the previous settings and tasks will be removed) Delete material_theme file: C:\Users\User name\<.IdeaIC2018.2>\options\material_theme
2019 version File > Settings (or alt + f7 on windows), search for material theme ui
if you have the stupid accents persisting through uninstalling the plugin, deleting config files and so on the solution is under:
appearance and behavior > file colors > delete all of them
Another 2019 version (worked in my case):
open the settings editor (File->Settings)
search for Plugins page
inside the Plugins page, search for the Material UI plugin and uninstall it
search for Appearance & Behaviour->Appearance page
select the theme you prefer (IntelliJ or Darkula or High contrast). If your theme is already selected, chose another theme, apply the changes, than select back your preferred theme.
close IntelliJ (or PyCharm/WebStorm/etc)
open .IntelliJIdea
remove the following files: material_theme.xml colors/_@user_Darcula.icls or colors/_@user_Dafault.icls (beware: you may loose custom configurations you may have done)
material_theme.xml
colors/_@user_Darcula.icls or colors/_@user_Dafault.icls (beware: you may loose custom configurations you may have done)
Done.
Success story sharing