Skip to content

Instantly share code, notes, and snippets.

@AndBondStyle
Last active May 31, 2021 01:00
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save AndBondStyle/4951e36afd0d939f54870ed553ea350d to your computer and use it in GitHub Desktop.
Save AndBondStyle/4951e36afd0d939f54870ed553ea350d to your computer and use it in GitHub Desktop.
PyCharm's Darcula theme for Python's IDLE IDE
[Darcula]
normal-foreground = #A9B7C6
normal-background = #2B2B2B
definition-foreground = #A9B7C6
definition-background = #2B2B2B
keyword-foreground = #CC7832
keyword-background = #2B2B2B
builtin-foreground = #8888C6
builtin-background = #2B2B2B
string-foreground = #008080
string-background = #2B2B2B
comment-foreground = #808080
comment-background = #2B2B2B
cursor-foreground = #BBBBBB
error-foreground = #A9B7C6
error-background = #532B2E
hit-foreground = #A9B7C6
hit-background = #155221
hilite-foreground = #A9B7C6
hilite-background = #214283
break-foreground = #A9B7C6
break-background = #3A2323
console-foreground = #007E09
console-background = #2B2B2B
stdout-foreground = #BBBBBB
stdout-background = #2B2B2B
stderr-foreground = #FF6B68
stderr-background = #2B2B2B
@AndBondStyle
Copy link
Author

AndBondStyle commented Nov 7, 2017

Inspired by @dsosby's Obsidian theme

Installation:

  1. Ensure IDLE is closed
  2. Find .idlerc or idlelib folder somwhere in your home / user / python directory
    Common locations: C:\Users\.idlerc - C:\Users\%user%\.idlerc - Python\Lib\idlelib - /home/.idlerc
  3. Edit / create config-highlight.cfg or config-highlight.def file and paste provided config
  4. Open IDLE and go to Options > Configure > Highlighting
  5. Select "Darcula" theme under "Custom" or "Built-in" option (depending on 3rd step filename)

Alternative string (string-foreground) colors: #629755 (docstring) - #A5C261 (default string) - #008080 (unicode string)

Preview:

preview

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment