I really like the Light Table color scheme but despite lots of Googling I can't seem to find an Emacs theme. I've made an attempt to recreate it but surely someone else has done this already.
It's a dark theme that looks like:
There's a load more example images on the Kickstarter page.
I made a theme based on the LightTable color scheme, I've just released it as a gist.
https://gist.github.com/3027622
FYI I'm publishing several new themes for Emacs24. There's a couple of other dark themes at https://emacsfodder.github.io/
Update
Here's a view of the font-lock (i.e. language generics, which are used by major modes to provide syntax highlighting.) definition with rainbow-mode.
Note:
In Emacs Lisp mode (CommonLisp & EmacsLisp are the closest things I know to Clojure.)
We can see that even local function usage isn't added to syntax highlighting:
(Having done a small check with clojure-mode, I can see the same thing going on there, defn's show their function name highlighted, but usage is in the default face color.)
For completeness it's probably worth adding this new answer here. There is now a LightTable theme for Emacs. It's called Noctilux:
https://github.com/stafu/noctilux-theme
Lighttable theme for Doom Emacs
Related
Using Helm, I noticed that helm isn't obeying (being compliant with) the theme colors, for example, on file selection?
Any simple way (preferably without messing on the theme file) to make helm comply with the theme colors?
Using emacs26 on linux
Simply...
If a theme doesn't have a configuration for the face in question, then that face won't be themed. A "face" is basically the term for the collection of properties of a given bit of text. For example, the lisp keyword lambda has the face font-lock-keyword-face. By default this has the property :foreground Purple giving you purple text on the default background. If I use a theme, Solarized for example, font-lock-keyword-face will be set to #859900 a lovely pale-ish green. Thus lambda (and any other bit of text defined as a "keyword") will be that color too.
Now, if the text you're looking at has the face helm-directory-selection-face for example (I made that face name up. I don't use helm), you'll be out of luck as you can see that Solarized doesn't have a config for for helm-directory-selection-face. At this point you really have two options, 1) change the definition of helm-directory-selection to use a different face or 2) add helm-directory-selection-face to your theme. If you want to do that, put the point (cursor) in the bit of text in question, then do C-u C-x =. This will generate a new *Help* window with all the properties at the point's location. Towards the bottom will be a small table of the text-properties. You'll want to add the value of face to your theme.
Most active theme authors are happy to take requests via their chosen support mechanism (github, email, etc.), especially if you provide a patch.
tl;dr
Just because a theme exists, doesn't mean that everything is themed. Add, the face in question to your theme, or hit up the theme's author, preferably with a patch.
I've seen number of times emacs screenshots where modline is in color like this one:
How can I do this in emacs?
See the Elisp manual, node Properties in Mode.
Mode-line constructs can be complex - or simple. At their simplest they are strings. And you can propertize strings, i.e., give them text properties, including properties such as face that provide visual effects such as foreground and background color.
You can try packages like powerline, smart-mode-line which do lot of customization to mode line and has some inbuilt themes.
You can get various themes from airline-themes
Here is a screenshot of powerline theme
In the terminal when I try to use emacs the colors are not good, most of the times I can't properly see the text.
In vim I know I can change the colorscheme with :colo <colorscheme_name>
Is there something similar in emacs?
A tutorial on the proper steps to change the colors would be appreciated.
I'm not sure of tutorial, but off top of my head, what you probably will want to do is: M-x customize then navigate to the section called "Faces" - you'll get a bunch of settings related to the color scheme and other font-related settings.
But Emacs has tons of customizations related to how text is displayed. I'm using this http://www.nongnu.org/color-theme/ but you can find a lot of info here: http://emacswiki.org/emacs/ColorTheme (emacswiki is basically the resource to be consulted first when you have any Emacs-related problem).
Obviously, you can do that in your .emacs file by adding different settings, but I'd suggest to use what's generated by the changed settings first, see how it works and then add on top of that yourself (once you modify settings from the customization buffer, it will save the changes into .emacs file - you can then open it and see what exactly did it do).
M-x load-theme
then use arrows to select a theme.
Adding here for easy reference ( #deong shared this answer via comment under the accepted answer).
Is there any themes for emacs which looks like this one?
http://www.lnbogen.com/VisualStudioNet2005Colors.aspx
Might be worth having a look at package color-theme, although I can't see anything that matches precisely what you want on the sample page.
See here for screenshots (links at the bottom of the page), and here for the code.
Looks like a variation of the zenburn theme, which is also available for emacs.
It easy to make your own color theme, for instance you can see in my init.el file (search for global-font-lock-mode to get to the interresting part) how easily it can be done.
Is there a Zenburn theme for Netbeans?
You can try Aloha color theme for Netbeans. It's similar to Zenburn.
UPDATE: for NetBeans 6.9 - zenburn color scheme
I had set one up manually for it, just like I did with a bunch of other editors/IDEs. Then eventually I just gave up and started using gvim for everything. Things are much easier now.
In all seriousness, when I was trying to do it for Netbeans, there seemed to be some limitations as to what you could change in the colors/syntax-highlighting. Though I don't recall specific examples offhand, there were a few things I couldn't get quite right, and it used to bother me.
If you want a color reference though, I have one on my wiki, for when I used to set up Zenburn in random editors, feel free to use it: http://wiki.steam-punk.net/zenburn
Oh how I wish there was, however it is possible to change the colors manually.
Preferences > Fonts & Colors > Syntax