


Please note that Custom UI Theme ( *.theme.json) files also contain ScrollBar.* name attributes, but these are for scroll bars outside the context of the editor. Customizing Editor Scroll Bar ColorsĮditor scroll bar colors should be coordinated with, and switch together with an editor color scheme. The example below adds an editor scheme named "Lightning" to the Theme Basics custom UI Theme:įor additional examples of FILESTATUS color name attributes, see the editor color scheme XML file for the High Contrast editor scheme. The value is the name of the editor color scheme file. In the UI Theme file (in this example theme_), replace the name of the generated editor scheme file ( theme_basics.xml) with the new ( Lightning.xml) file name. In this case, the action is to replace theme_basics.xml with Lightning.xml. Replace the default generated custom editor color scheme XML file (in this example, theme_basics.xml) in the project's resources folder with the exported custom editor color scheme. The next step is to add the color scheme to the UI Theme plugin project: Incorporating the Editor Color Scheme in the Custom UI Theme See Customizing Editor Scroll Bar Colors to change the colors of editor scroll bars. In this example, the result is Lightning.xml. Once exported, change the file extension from *.icls to *.xml. In this example, the file is exported to Lightning.icls. Use the following procedure to customize an editor color scheme for a UI Theme:Ĭreate the desired custom editor color scheme using the IDE preferences.Įxport the custom editor color scheme to the desired file name. Note that editor Colors and Fonts, and Colors for Version Control File Status are customized in different sections of Settings/Preferences. Creating a Custom Editor Scheme Using Settings/PreferencesĬustom editor color schemes can be specified and exported using the IDE Settings/Preferences dialog. These custom color and font settings are called Editor Color Schemes. Users of IntelliJ Platform-based IDEs, such as Intellij IDEA, can set preferences to configure the colors and fonts used in the Editor. UI Themes can also provide custom color and font settings, as well as custom images for display in the IDE application window. UI Themes - Editor Schemes and Background Images
