Reference: Creating Custom Themes in IntelliJ SDK Docs
Custom themes are available beginning in version 2019.1.
Creating a custom theme is a process of choosing a base IDE Theme (Light or Darcula) then changing aspects of the base Theme definition. Custom themes can:
- substitute icons,
- change the colors of icons and UI controls,
- alter the borders and insets of UI controls,
- provide custom editor schemes,
- add background images.
Theme Basics plugin depends on the IntelliJ Platform SDK and DevKit as a build system.
The main plugin definition file is stored in the plugin.xml file, which is created according to the Plugin Configuration File documentation. It describes definitions of the actions, extensions, or listeners provided by the plugin.
Name | Implementation | Extension Point Class |
---|---|---|
com.intellij.themeProvider |
theme_basics.theme.json |
Reference: Plugin Extension Points in IntelliJ SDK Docs
To run the theme_basics
plugin make sure that module SDK is correctly set up and points to IntelliJ Platform Plugin SDK, e.g. IntelliJ IDEA IC-<version>
. To check this, go to File | Project Structure | Project Settings | Modules | theme_basics and select Dependencies tab.
If the required SDK doesn't exist, it can be added in File | Project Structure | Platform Settings | SDKs by clicking the plus button and selecting Add IntelliJ Platform Plugin SDK... item.