Saturday, January 15, 2011

Tango theme for IDLE (Python's default IDE)

Tango theme for IDLE (Python's default IDE)

Add the following text to ~/.idlerc/config-highlight.cfg.

[tango]
definition-foreground = #fce94f
error-foreground = #fa8072
string-background = #2e3436
keyword-foreground = #8cc4ff
normal-foreground = #ffffff
comment-background = #2e3436
hit-foreground = #ffffff
break-foreground = #000000
builtin-background = #2e3436
stdout-foreground = #eeeeec
cursor-foreground = #fce94f
hit-background = #2e3436
comment-foreground = #73d216
hilite-background = #edd400
definition-background = #2e3436
stderr-background = #2e3436
break-background = #2e3436
console-foreground = #87ceeb
normal-background = #2e3436
builtin-foreground = #ad7fa8
stdout-background = #2e3436
console-background = #2e3436
stderr-foreground = #ff3e40
keyword-background = #2e3436
string-foreground = #e9b96e
hilite-foreground = #2e3436
error-background = #2e3436

In the IDLE window, go to Options->Configure IDLE. Click on the Highlighting tab. Select the a Custom Theme. From the drop down menu below, select tango. Click on Apply.

HTML generated by org-mode 7.3 in emacs 23

No comments:

Post a Comment