Rogue Code

4
4/27/13 Rogue Code: Tango theme for Python I DLE www.roguecode.net/2011/09/tango-theme-for-python-idle. html 1/4 Programming, gaming, and wandering around Rogue Code Rogue Code Sunday, September 11, 2011 Sunday, September 11, 2011 Tango t heme for Python IDLE If you're like me, you like dark themes for your de sktop applicatio ns. I m ake my XChat I RC client dark, Firefox, etc, etc. And on e thing I always like to do is get away from the standard white theme of my IDEs, whether I am using Wing IDE (which I love, by the way), IDLE, or even Notepad++. Customizing Wing IDE was easy enoug h. All I had to do was go in the settings, change the background color, and it took care of the rest. Cust omize a few colors to my liki ng and...  And so was Notepad ++... But to change IDLE was a littl e mor e work. It doesn't really offer any custom themes built- in, and you can struggle with trying to balance the colors individually on your own if you want, OR, you can just do the following: Go to your ".idlerc" folder, wherever it may be depending on your system, and paste the following into your "config-highlight.cfg" file (create it if you don't have one): [tango] definition-foreground = #fce94f error-fore ground = #fa8072 string-background = #2e3436 keyword-foreground = #8cc4ff normal-foreground = #ffffff comment-background = #2e3436 hit-foreground = #ffffff break-foreground = #000000 Dungeons of Dredmor Dungeon Crawl: SS ToME4 NetHack Brogue Cardinal Quest Votes so far: 23 Poll closed 10 (43%)  8 (34%)  4 (17%)  8 (34%)  7 (30%)  1 (4%) Favorite Roguelike? Favorite Roguelike? Search Search This Blog Search This Blog Google+: Roguelikes Roguelike Radio RogueBasin Temple of the Roguelike Planet Roguelike Radio Free Python Python - Official Site Wingware - Python IDE LXer: Linux News Links Links 2013 ( 1) 2012 (14) 2011 (77) December  (12) November  ( 7) October  (10) September  (26) Dungeons of Dredmor 1.06 imminent! Blog Archive Blog Archive 1 Share Share  More Next Blog» Create Blog  Sign In

Transcript of Rogue Code

Page 1: Rogue Code

7/21/2019 Rogue Code

http://slidepdf.com/reader/full/rogue-code 1/4

4/27/13 Rogue Code: Tango theme for Python IDLE

www.roguecode.net/2011/09/tango-theme-for-python-idle.html 1/4

Programming, gaming, and wandering around 

Rogue CodeRogue Code

Sunday, September 11, 2011Sunday, September 11, 2011

Tango theme for Python IDLE

If you're like me, you like dark themes for your desktop applications. I make my XChat IRC

client dark, Firefox, etc, etc. And one thing I always like to do is get away from the

standard white theme of my IDEs, whether I am using Wing IDE (which I love, by the way),

IDLE, or even Notepad++.

Customizing Wing IDE was easy enough. All I had to do was go in the settings, change

the background color, and it took care of the rest. Customize a few colors to my liking

and...

 And so was Notepad++...

But to change IDLE was a little more work. It doesn't really offer any custom themes built-

in, and you can struggle with trying to balance the colors individually on your own if you

want, OR, you can just do the following:

Go to your ".idlerc" folder, wherever it may be depending on your system, and paste the

following into your "config-highlight.cfg" file (create it if you don't have one):

[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

Dungeons of Dredmor 

Dungeon Crawl: SS

ToME4

NetHack

Brogue

Cardinal Quest

Votes so far: 23Poll closed

10 (43%)

  8 (34%)

  4 (17%)

  8 (34%)

  7 (30%)

  1 (4%)

Favorite Roguelike?Favorite Roguelike?

Search

Search This BlogSearch This Blog

Google+: Roguelikes

Roguelike Radio

RogueBasin

Temple of the Roguelike

Planet Roguelike

Radio Free Python

Python - Official Site

Wingware - Python IDE

LXer: Linux News

LinksLinks

► 2013 (1)

► 2012 (14)

▼ 2011 (77)

► December  (12)

► November  (7)

► October  (10)

▼ September  (26)

Dungeons of Dredmor 1.06imminent!

Blog ArchiveBlog Archive

1ShareShare   More Next Blog» Create Blog  Sign In

Page 2: Rogue Code

7/21/2019 Rogue Code

http://slidepdf.com/reader/full/rogue-code 2/4

4/27/13 Rogue Code: Tango theme for Python IDLE

www.roguecode.net/2011/09/tango-theme-for-python-idle.html 2/4

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 = #2e3436builtin-foreground = #ad7fa8

stdout-background = #2e3436

console-background = #2e3436

stderr-foreground = #ff3e40

keyword-background = #2e3436

string-foreground = #e9b96e

hilite-foreground = #2e3436

error-background = #2e3436

Then launch Python IDLE, and choose your new Tango custom theme in the settings.

Happy coding!

P.S. Here's a bonus theme called Desert. Just paste it underneath the Tango theme and it

will make itself available as a custom theme in your settings. For the record, I did not create

these themes. I just found and wanted to share them.

[desert]

definition-foreground = #98fb98

error-foreground = #ff0000

string-background = #333333

keyword-foreground = #cc6600

normal-foreground = #f0e68c

comment-background = #333333hit-foreground = #ffffff 

break-foreground = black

builtin-background = #333333

stdout-foreground = #eeeeee

cursor-foreground = #ffcc00

hit-background = #333333

comment-foreground = #87ceeb

hilite-background = gray

definition-background = #333333

stderr-background = #333333

break-background = #ffff55

console-foreground = #87ceeb

normal-background = #333333builtin-foreground = #519e51

stdout-background = #333333

console-background = #333333

Roguelike Radio:Episode 5

Python IDLEThemes

Python WeeklyNewsletter 

Dropbox - FreeCloud Service

Dwarf FortressTalk

Netpack 1.0released!

Radio FreePython:Episode 2

Microsoft NaturalErgonomicKeyboard 4000Review

Wing IDE 4.0.4

Released!Roguelike Radio:

Episode 4

MozillaThunderbird

2011 AnnualRoguelikeRelease Party

Python 3 Wall of Shame

Roguelike Radio:Episode 3

Dungeons of Dredmor Roadmap

Pygcurse libraryreleased!

Tango theme for Python IDLE

Khan Academy

Roguelike Radio:Episode 2

Dungeons of Dredmor 1.05released!

Python 3.2.2released!

Dungeon Crawl0.9.1 Released

I am Dave!Yognaut

Wing IDE

Doom, theRoguelike

►  August (14)

► July (8)

Page 3: Rogue Code

7/21/2019 Rogue Code

http://slidepdf.com/reader/full/rogue-code 3/4

4/27/13 Rogue Code: Tango theme for Python IDLE

www.roguecode.net/2011/09/tango-theme-for-python-idle.html 3/4

Newer Post Older PostHome

Subscribe to: Post Comments (Atom)

Posted by Caner Özdemir at 1:19 AM 

Labels: custom, idle, notepad++, Python, theme, wingide

stderr-foreground = #ff3e40

keyword-background = #333333

string-foreground = #ffa0a0

hilite-foreground = #000000

error-background = #000000

+1 Recommend this on Google

Enter your comment...

Comment as:  Google Account

Publish   Preview

2 comments:

 YourLocalGP  October 4, 2012 at 12:34 PM

This was exactly what I was after. White bg was blinding me. Thank you Caner.

Reply

Roger Garcia  February 25, 2013 at 4:33 AM

 AAAAAHH HH :D my eyes say THANK YOU!!!!

Reply

 

Support Rogue CodeSupport Rogue Code

Caner Özdemir 

View my complete profile

About MeAbout Me

Page 4: Rogue Code

7/21/2019 Rogue Code

http://slidepdf.com/reader/full/rogue-code 4/4

4/27/13 Rogue Code: Tango theme for Python IDLE

www.roguecode.net/2011/09/tango-theme-for-python-idle.html 4/4

There was an error in this gadget

Roguelikes on

+350

Follow

Roguelikes on Google+ Stack Exchange

 42,017

Total Pageviews

 Awesome Inc. template. Powered by Blogger .