Skip to content

Instantly share code, notes, and snippets.

@WANGJIEKE
Forked from AndBondStyle/config-highlight.cfg
Last active June 13, 2019 06:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save WANGJIEKE/2c2c967e5f016eea397f19d3f674bddf to your computer and use it in GitHub Desktop.
Save WANGJIEKE/2c2c967e5f016eea397f19d3f674bddf to your computer and use it in GitHub Desktop.
A dark highlighting theme for Python's IDLE IDE based on PyCharm Darcula color scheme
[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 = #507842
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
context-foreground = #424242
context-background = #b4b4b4
@WANGJIEKE
Copy link
Author

How to Use

macOS Mojave

  1. Put config-highlight.cfg inside ~/.idlerc/;
  2. Open IDLE;
  3. Click "IDLE" in the menu bar, then click "Preferences... ⌘,";
  4. Click "Highlights" in the pop-up menu, then choose "a Custom Theme"; then select "Darcula" in the drop down menu; click "OK" to save.

Windows 10

  1. Put config-highlight.cfg inside C:\Users\your_user_name\.idlerc;
  2. Open IDLE;
  3. Click "Options" in the menu bar, then click "Configure IDLE";
  4. Click "Highlights" in the pop-up menu, then choose "a Custom Theme"; then select "Darcula" in the drop down menu; click "OK" to save.

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