-
-
Save jaimergp/10285906 to your computer and use it in GitHub Desktop.
# 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 |
I am a beginner programmer and I have absolutely no idea what I need to do (I have a Mac). Can somebody help?
anyone?
@4mp3r3: I am a beginner programmer and I have absolutely no idea what I need to do (I have a Mac). Can somebody help?
Hi. As the comments in the top part of the file say, you have to download this file (or copy its contents in a new one) under the directory ~/.idlerc
. Since this directory starts with a .
, it will be hidden by default. I don't know how you can show them in a Mac, but in the terminal, you can do cd ~/.idlerc
and then use a terminal text editor (nano
, vi
, emacs
, etc) to create that file. After having that file, you will have the theme available in your IDLE configuration GUI.
Awesome work. Thanks!
Thanks a lot, it's very beautiful!.
My eyes are delighted. Thank you Sir!
Thanks bro, it's amazing
👍
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.
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! 😁
Thanks! I can work now.