Skip to content

Instantly share code, notes, and snippets.

@dsosby
Created August 3, 2011 15:24
Show Gist options
  • Save dsosby/1122904 to your computer and use it in GitHub Desktop.
Save dsosby/1122904 to your computer and use it in GitHub Desktop.
A dark highlighting theme for Python's IDLE IDE based on Notepad++'s Obsidian color scheme
[Obsidian]
definition-foreground = #678CB1
error-foreground = #FF0000
string-background = #293134
keyword-foreground = #93C763
normal-foreground = #E0E2E4
comment-background = #293134
hit-foreground = #E0E2E4
builtin-background = #293134
stdout-foreground = #678CB1
cursor-foreground = #E0E2E4
break-background = #293134
comment-foreground = #66747B
hilite-background = #2F393C
hilite-foreground = #E0E2E4
definition-background = #293134
stderr-background = #293134
hit-background = #000000
console-foreground = #E0E2E4
normal-background = #293134
builtin-foreground = #E0E2E4
stdout-background = #293134
console-background = #293134
stderr-foreground = #FB0000
keyword-background = #293134
string-foreground = #EC7600
break-foreground = #E0E2E4
error-background = #293134
@victorwestmann
Copy link

In Windows 10 Professional 64 bit architecture Python3.4.x is under the following path:
C:\Python34\Lib\idlelib\config-highlight.def

Thank you for this amazing theme! ;-)

In Windows 10, 64 bit architecture, using Python 3.8 (also 64 bit) it seems to be located at:

  • C:\Program Files\Python38\Lib\idlelib\config-highlight.def

@VarunSaini23
Copy link

I have made a video on steps of how to set Obsidian (or in general any theme) in IDLE for Windows 10 platform. Real thing starts from 0.50min. https://www.youtube.com/watch?v=xV4tndJX_wI

@RegisteredJustToVoteOnCataclysmFeatures

This is very helpful, thank you for taking the time to make, share and teach how to install it. I'm sure plenty of people are fine with the defaults, but for me at least I prefer something like a Nightmode every time. It's the difference between reading happily and reading with a flashlight in my face. Best wishes.

@TAGISWILD
Copy link

Oh Thanks Man, You saved my eyes....

@ItsJupiter21
Copy link

You cab use this for black theme. better for me.
[Obsidian]
definition-foreground = #678CB1
error-foreground = #FF0000
string-background = #000000
keyword-foreground = #93C763
normal-foreground = #E0E2E4
comment-background = #000000
hit-foreground = #E0E2E4
builtin-background = #000000
stdout-foreground = #678CB1
cursor-foreground = #E0E2E4
break-background = #000000
comment-foreground = #66747B
hilite-background = #2F393C
hilite-foreground = #E0E2E4
definition-background = #000000
stderr-background = #000000
hit-background = #000000
console-foreground = #E0E2E4
normal-background = #000000
builtin-foreground = #E0E2E4
stdout-background = #000000
console-background = #000000
stderr-foreground = #FB0000
keyword-background = #000000
string-foreground = #EC7600
break-foreground = #E0E2E4
error-background = #00000

@chinmay29hub
Copy link

For python = 3.10.1 in Windows 10/11 it is in :
C:\Users\Chinmay Sonawane\AppData\Local\Programs\Python\Python310\Lib\idlelib\config-highlight.def

Thank You 💯

@elysszxje
Copy link

I have a nice edition of myself. You guys can check it out. Ty <3

[elysszxje Custom theme]
definition-foreground = #3987d6
error-foreground = #fe1b1b
normal-foreground = #dcdcdc
keyword-foreground = #3987d6
hilite-foreground = #dcdcdc
comment-background = #1e1e1e
hit-foreground = #ffffff
builtin-background = #1e1e1e
stdout-foreground = #dcdcdc
string-background = #1e1e1e
break-background = #ffff55
comment-foreground = #57a64a
hilite-background = #264f78
definition-background = #1e1e1e
stderr-background = #a7a7a7
hit-background = #653306
console-foreground = #dcdcdc
normal-background = #1e1e1e
builtin-foreground = #4ec9b0
stdout-background = #1e1e1e
console-background = #1e1e1e
stderr-foreground = #fe1b1b
keyword-background = #1e1e1e
string-foreground = #d69d85
break-foreground = #000000
error-background = #1e1e1e
cursor-foreground = #dcdcdc

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