XediX

πŸ–₯οΈπŸ’» XediX is a text editor for coding in 🐍 Python built with wxPython.


Project maintained by mostypc123 Hosted on GitHub Pages — Theme by mattgraham

XediX Custom Theme Documentation

JSON Theme Configuration

XediX supports custom themes through JSON configuration. Place your theme configuration in theme.xcfg to override the default themes.

Basic Structure

{
  "background": "#1B1F2B",
  "foreground": "#FFFFFF",
  "comment": "#68C147",
  "keyword": "#569CD6",
  "string": "#BA9EFE",
  "number": "#FFDD54",
  "operator": "#D4D4D4",
  "lineNumberBg": "#1B1F2B"
}

Color Properties

Color Format

Example Themes

Dark Theme

{
  "background": "#1B1F2B",
  "foreground": "#FFFFFF",
  "comment": "#68C147",
  "keyword": "#569CD6",
  "string": "#BA9EFE",
  "number": "#FFDD54",
  "operator": "#D4D4D4"
}

Light Theme

{
  "background": "#FFFFFF",
  "foreground": "#000000",
  "comment": "#008000",
  "keyword": "#0000FF",
  "string": "#A31515",
  "number": "#098658",
  "operator": "#000000"
}

Implementation Notes

  1. The theme configuration is read when opening files
  2. If JSON parsing fails, XediX falls back to built-in themes
  3. Missing properties will use default values
  4. Changes require reopening files to take effect

Built-in Theme Configuration

XediX provides several built-in themes that can be configured using simple string values in theme.xcfg. To use a built-in theme, simply write the theme name in theme.xcfg.

Available Themes

Dark Theme

Light Theme

Night Theme

Obsidian Theme

Solarized Themes

GitHub Themes

Usage

  1. Open theme.xcfg
  2. Write just the theme name (e.g., dark or github-light)
  3. Save and restart XediX

Example theme.xcfg:

dark