Solarized - Color scheme for vim, mutt, terminal emulators
ethanschoonover.com
ethanschoonover.com
its a refreshing change, awesome work
As an aside. I have a nominal post in my head contrasting the development and refinement of a colorscheme like this vs the infamous 41 shades of blue. There is room for refinement and testing in design, but I think it has to be coupled with a clear design goals and opinions.
It would be very interesting to learn about the methods you used to create this.
Are you planning to create a palette with more shades? Some time ago I needed lighter Tango tones and created this extended palette: http://emilis.info/other/extended_tango/
My favorite for gvim/MacVim is molokai: http://winterdom.com/2008/08/molokaiforvim , seconded by vividchalk when i'm on the terminal: https://github.com/tpope/vim-vividchalk
Haven't found any good color scheme for iterm2 yet. Currently i'm using thayer: http://ecto-plazm.deviantart.com/gallery/
http://natestedman.com/post/morrowind-for-textmate-xcode/
I am sitting on a mostly-done vim version right now as well, the GUI colors are all good, but I wiped out the terminal colors (I want them to just be the defaults). I'm not exactly a vim expert and I almost always use the terminal vim exclusively for git commits, which don't really need highlighting, so the motivation to fix those sort of disappeared.
https://github.com/NateStedman/morrowind
Will upload the vim one later after I finish it up.
This is supposed to be the version for Eclipse, but it seems that the colors are kind of different, which is a pity:
http://blog.nozav.org/post/2010/07/12/Updated-tangotango-ema...
[1] http://www.vim.org/scripts/script.php?script_id=2215
Molokai ain't perfect, but I have yet to find one I like more for daily use.
For iTerm2 I copied over the colors from Visor.app's theme.. but Solarized looks really nice, so maybe I'll soon be using that instead.
If anyone is interested, the theme is here:
http://notendur.hi.is/ths46/thor.vim
The .vim file started out as IR_black, I just hacked at the colors until I was satisfied, so the code's not clean or anything :)
[I also have a OS X terminal theme to go with it, and an emacs version.]
Screenshot with semi-transparent background: https://picasaweb.google.com/lh/photo/3ORpqSeM1kvLV0lceHpOjw...
I actually tend to read (and write) comments a LOT. Which is why, I simply am not able to use any colorscheme that tries to hide comments.
IR_Black for Textmate though
I am not sure how it handles terminal colors. So I just configured Console2 to use Solarized colors and then tried every colorscheme in Vim.
"morning" scheme worked best for me. It is so much easier to read my coworkers crammed code.
https://github.com/strange/dotfiles/blob/master/.vim/colors/...
Python: http://files.pipsq.com/strange/python.png Erlang: http://files.pipsq.com/strange/erlang.png
What's your terminal setup like?
I run tmux inside iTerm2.
I'll clean the theme up a little and make an isolated repository.
Looks decent in 8-color terminal as well.
You can download it here: http://www.vim.org/scripts/script.php?script_id=1975
Make sure to enable 256 colors.
I may try to break out the images as another subtree or make a website subtree. It was lower on my list of priorities, but clearly a pain to others cloning/forking. I'll try to sort it before beta2.
/apps/gnome-terminal/palette: #070736364242:#D3D336368282:#B5B589890000:#CBCB4B4B1616:#2A2AA1A19898:#6C6C7171C4C4:#858599990000:#EEEEE8E8D5D5:#00002B2B3636:#D3D301010202:#58586E6E7575:#65657B7B8383:#838394949696:#26268B8BD2D2:#9393A1A1A1A1:#FDFDF6F6E3E3
/apps/gnome-terminal/background_color: #00002B2B3636
/apps/gnome-terminal/foreground_color: #65657B7B8383
Edit: Ok, I pulled down the source for gnome-terminal since I couldn't find a way to export/import color schemes. The color palettes are all hard-coded, so that is unfortunate :(.(All values are in /apps/gnome-terminal/profiles/Default):
palette: #070736364242:#D3D301010202:#858599990000:#B5B589890000:#26268B8BD2D2:#D3D336368282:#2A2AA1A19898:#EEEEE8E8D5D5:#00002B2B3636:#CBCB4B4B1616:#58586E6E7575:#65657B7B8383:#838394949696:#6C6C7171C4C4:#9393A1A1A1A1:#FDFDF6F6E3E3
background_color: #00002B2B3636
foreground_color: #65657B7B8383palette: #070736364242:#D3D301010202:#858599990000:#B5B589890000:#26268 B8BD2D2:#D3D336368282:#2A2AA1A19898:#EEEEE8E8D5D5:#00002B2B363 6:#CBCB4B4B1616:#58586E6E7575:#65657B7B8383:#838394949696:#6C6 C7171C4C4:#9393A1A1A1A1:#FDFDF6F6E3E3
background_color: #FDFDF6F6E3E3
foreground_color: #00002B2B3636
(Same palette, just different FG and BG colours)
https://github.com/sellout/solarized/tree/master/emacs-color...
https://github.com/purcell/color-theme-sanityinc-solarized
The color fix will probably get into sellout's repo, so interested parties should prefer that one over mine.
https://github.com/phiggins/solarized/commit/b3c2170ec01fb7d...
https://github.com/purcell/color-theme-sanityinc-solarized
(Using the latest Emacs under OS X, it suffers from the same color issues mentioned elsewhere in this comment thread, but hopefully Emacs will soon get fixed up accordingly.)
I'll stick with Zenburn[1].
Blurby enough? ;-)
CIELAB might not be pseudo-science, but the claim that the application of CIELAB makes this a good scheme is, at best, dubious.
The bright red and pink don't blend with the other colors at all. Their jarring contrast (and red hue) could be adequate for an alert message, but not for innocent and frequent syntax elements.
Maybe there is a math model that captures all relevant aspects that make a good syntax highlighting color scheme. But this model clearly doesn't.
Lab was actually a big part of the initial inspiration for the colorscheme. I work a lot in lab space (Lab is more correct, but cumbersome to type) and for anything related to actual human vision it is head and shoulders above other color models/spaces. It's also awkward if you think in RGB and notoriously poorly supported outside of Photoshop (though most OS color management systems that I'm aware of translate everything back into Lab or a Lab equivalent).
The color relations are also foundational to palette creation in traditional graphic design. They are super useful in creating a palette that feels harmonious and (subjectively) unified.
I'd be happy to go into more detail, but I tend to go on at length and, much like when I get into talking about code with people not interested in code, talking about color spaces with those not interested is a sure fire turn off :)
Maybe it looks better on a different monitor? (I have a Samsung LCD.)
Using a Dell monitor attached to a mac via DVI though, and calibrated to the best of my ability using the OSX calibration tool.
If on Windows XP. Display Properties > Appearance > Effects
Thanks!
You might have tried this already (and it might not actually be related to your issue), but there is a variable you stick in your vimrc (let g:solarized_termtrans=1) to force it to take the background of your terminal emulator (useful only if you are running with the solarized colors in terminal mode).
I should come up with a some recommendations on setting TERM to ensure proper colorscheme support, but that way lies madness (for me at least).
https://github.com/altercation/solarized/tree/master/osx-ter...
Once you've activated that theme in Terminal.app's preferences, all your colors in the shell will use the colors defined in the colorscheme. So red will be the red in the colorscheme, blue -> blue, etc.
I've forked Mark's version and added a bunch of specific styles for the Light version, specifically a lot of rules for PHP and CSS.
It's not 100% yet, but it's already the best TextMate theme I've ever used.
I'm working on cleaning up some of the build scripts that generated specific files (the mutt directory has an ugly shell script as an example, there are better ways of course).
http://labs.ideeinc.com/multicolr/#colors=073642,586e75,8394...; http://labs.ideeinc.com/multicolr/#colors=002b36,073642,586e...; http://labs.ideeinc.com/multicolr/#colors=657b83,93a1a1,eee8...; http://labs.ideeinc.com/multicolr/#colors=657b83,839496,93a1...; http://labs.ideeinc.com/multicolr/#colors=073642,93a1a1,eee8...;
A search with just the base colours:
http://labs.ideeinc.com/multicolr/#colors=002b36,073642,586e...;
Thanks. Great links.
https://github.com/varikin/solarized/tree/master/xcode4-colo...
base03 = background base02 = background highlight base01 = background data (comments, etc.) base0 = normal text
The scheme was designed to allow for: base1 = optional bold/emphasis
Just swap the zeros (initially I was using minus/plus, e.g. base-1 and base+1 but this isn't usable across all apps) to swap dark and light modes. There is a good example of this in the vim script as well as the sass snippet (and the mutt compile script if you are a glutton for ugly bash scripts).
base3 = light background base2 = dark background etc.
You shouldn't need to do any of this manually, however. The vim script has a light/dark mode built in and where there isn't a way to toggle modes I am distributing light and dark versions (the terminal color schemes).
I installed the thing as instructed. I installed SIMBL and the SIMBL plugin, installed Solarized Dark Terminal.app theme, installed vim using pathogen, and set .vimrc with the additional g:solorized_termcolors=16 option.
Currently I use TwilightMod, which is as the name suggests, a modification of Twilight.
This is what it looks like: http://i.imgur.com/u802t.png
Get it here https://gist.github.com/809720
edit: http://imgur.com/OMjdR
With that said, if it's not working with urxvt/xterm, what is the Xdefaults working with?
for one thing, at least one of the bold text colors is the same as the background, this makes this text not even show up when it's present
it would be nice if not for this