JetBrains Fleet
 

Structure of the JSON format for themes

Last modified: 28 January 2025

This topic explains the structure of the JSON theme file. This JSON file contains mappings between different UI elements and their assigned colors, as well as other theme settings.

Themes are defined in JSON files and contain four blocks:

  1. meta: metadata, such as the theme's name and type.

  2. colors: colors for UI elements, such as buttons, headers, and backgrounds.

  3. textAttributes (optional): text attributes used for syntax highlighting in the editor.

  4. palette (optional): named colors that can be used in the colors and textAttributes blocks.