Last active
May 27, 2024 12:16
-
-
Save jaimergp/10285906 to your computer and use it in GitHub Desktop.
Dark highlighting theme for Python IDLE based on SublimeText's Monokai color scheme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Place this file inside your ~/.idlerc/ folder | |
# or paste its contents inside | |
# /path/to/python/idlelib/config-highlight.def | |
# Adapted from SublimeText's Monokai | |
[monokai] | |
normal-foreground= #F8F8F2 | |
normal-background= #272822 | |
keyword-foreground= #F92672 | |
keyword-background= #272822 | |
builtin-foreground= #66D9EF | |
builtin-background= #272822 | |
comment-foreground= #75715E | |
comment-background= #272822 | |
string-foreground= #FD971F | |
string-background= #272822 | |
definition-foreground= #A6E22E | |
definition-background= #272822 | |
hilite-foreground= #F8F8F2 | |
hilite-background= gray | |
break-foreground= black | |
break-background= #ffff55 | |
hit-foreground= #F8F8F2 | |
hit-background= #171812 | |
error-foreground= #ff3338 | |
error-background= #272822 | |
cursor-foreground= #F8F8F2 | |
stdout-foreground= #DDDDDD | |
stdout-background= #272822 | |
stderr-foreground= #ff3338 | |
stderr-background= #272822 | |
console-foreground= #75715E | |
console-background= #272822 |
Thank you so much!
I have made a video on Steps of how to set Monokai (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
Simp thank you 🙌🏼
Thank you! It's great.
Thank you for this.
Simple, but goes a long way. Thanks!
Thanks
Thanks, love you
print ('Thanks a lot!')
On mac you can use cmd+Shift+. to see hidden files starting with dot.
print("Thanks a lot!!")
print("You saved my eyes")
Op bro
thank you
Just like to add to the long list of appreciators, thanks, much much better than the default dark idle theme! 😁
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the next versions of Python (3.7.5+), there will be a new highlight option for line numbers, so you'll need to add "linenumber-foreground" and "linenumber-background".
BTW, it is safe to add these values to this gist, they will simply be ignored on earlier versions of Python.