How to remove material theme (or reset to defaults

2019-04-17 19:30发布

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?

10条回答
成全新的幸福
2楼-- · 2019-04-17 20:16

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.

Reference: https://github.com/ChrisRM/material-theme-jetbrains#file-colors-stuck-after-uninstallation

查看更多
老娘就宠你
3楼-- · 2019-04-17 20:16

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.

查看更多
冷血范
4楼-- · 2019-04-17 20:17

None of these worked for me as an acceptable solution. So here is what I figured out:

  1. Go to plugins, uninstall Material UI.
  2. Ensure colour scheme is Default/Darcula.
  3. 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/

  1. colors/_@user_Darcula.icls
  2. colors/_@user_Default.icls
  3. material_custom_theme. xml
  4. 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!

查看更多
Fickle 薄情
5楼-- · 2019-04-17 20:17

Tested with intellij 2018.3 go to settings->Type material then untick the material theme after that restart ide should fix the issue.

查看更多
登录 后发表回答