]> git.r.bdr.sh - rbdr/dotfiles/blob - vim/colors/two2tango.vim
Add vim again :)
[rbdr/dotfiles] / vim / colors / two2tango.vim
1 " Vim color file
2 " Name: two2tango
3 " Maintainer: Erik Falor <ewfalor@gmail.com>
4 " Version: 1.1
5 "
6 " Big props to Panos Laganakos <panos.laganakos@gmail.com>
7 " for the original darktango.vim colorscheme upon which
8 " this scheme is based.
9
10 set background=dark
11 if version > 580
12 " no guarantees for version 5.8 and below, but this makes it stop
13 " complaining
14 hi clear
15 if exists("syntax_on")
16 syntax reset
17 endif
18 endif
19
20 let g:colors_name="two2tango"
21
22 "Tango palette
23 "http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines
24 " {{{
25 let s:Butter = ['#fce94f', '#edd400', '#c4a000']
26 let s:Chameleon = ['#8ae234', '#73d216', '#4e9a06']
27 let s:Orange = ['#fcaf3e', '#f57900', '#ce5c00']
28 let s:SkyBlue = ['#729fcf', '#3465a4', '#204a87']
29 let s:Plum = ['#ad7fa8', '#75507b', '#5c3566']
30 let s:Chocolate = ['#e9b96e', '#c17d11', '#8f5902']
31 let s:ScarletRed = ['#ef2929', '#cc0000', '#a40000']
32 let s:Aluminium = ['#eeeeec', '#d3d7cf', '#babdb6',
33 \'#888a85', '#555753', '#2e3436']
34 "This color isn't part of the Tango Palette; I use it because there
35 "isn't a Tango color that provides enough contrast
36 let s:Background = '#212628'
37 " }}}
38
39 hi Normal guibg=#2e3436 guifg=#d3d7cf
40 execute "hi Normal guibg=" . s:Aluminium[5] . " guifg=" . s:Aluminium[1]
41
42 " {{{ syntax
43 execute "hi Comment gui=italic guifg=" . s:Aluminium[4]
44 execute "hi Conditional gui=bold guifg=" . s:Butter[2]
45 execute "hi Constant guifg=" . s:Chocolate[1]
46 execute "hi Error guifg=" . s:Aluminium[0] . " guibg=" . s:ScarletRed[2]
47 execute "hi Identifier guifg=" . s:Orange[2]
48 execute "hi Ignore guifg=" . s:Aluminium[5] . " guibg=" . s:Aluminium[5]
49 execute "hi Operator guifg=" . s:Butter[1]
50 execute "hi PreProc guifg=" . s:Chocolate[0]
51 execute "hi Repeat gui=bold guifg=" . s:Butter[2]
52 execute "hi Special guifg=" . s:SkyBlue[1]
53 execute "hi Statement guifg=" . s:Aluminium[3]
54 execute "hi String guifg=" . s:SkyBlue[0]
55 execute "hi Title guifg=" . s:Aluminium[0]
56 execute "hi Todo gui=bold guisp=NONE guibg=" . s:Orange[2]
57 \. " guifg=" . s:Aluminium[0]
58 execute "hi Type guifg=" . s:Orange[2]
59 execute "hi Underlined gui=underline guifg=" . s:SkyBlue[0]
60 " }}}
61
62 " {{{ groups
63 execute "hi Cursor guibg=" . s:ScarletRed[0] . " guifg=" . s:Aluminium[5]
64 execute "hi CursorLine guibg=" . s:Background
65 execute "hi CursorColumn guibg=" . s:Background
66 "hi CursorIM TODO
67 execute "hi Directory guifg=" . s:SkyBlue[0]
68 execute "hi ErrorMsg guifg=" . s:Aluminium[0] . " guibg=" . s:ScarletRed[2]
69 execute "hi FoldColumn guibg=" . s:Aluminium[5] . " guifg=" . s:Aluminium[4]
70 execute "hi Folded guibg=" . s:Aluminium[4] . " guifg=" . s:Aluminium[2]
71 execute "hi IncSearch gui=none guibg=" . s:Butter[0] . " guifg=" . s:Butter[2]
72 execute "hi LineNr guibg=" . s:Aluminium[5] . " guifg=" . s:Aluminium[4]
73 execute "hi MatchParen guibg=" . s:Aluminium[2] . " guifg=" . s:Aluminium[5]
74 "hi Menu TODO
75 execute "hi ModeMsg guifg=" . s:Orange[2]
76 execute "hi MoreMsg guifg=" . s:Orange[2]
77 execute "hi NonText guibg=" . s:Aluminium[5] . " guifg=" . s:Aluminium[4]
78 execute "hi Pmenu guibg=" . s:Aluminium[2] . " guifg=" . s:Aluminium[4]
79 execute "hi PmenuSel guibg=" . s:Aluminium[0] . " guifg=" . s:Aluminium[5]
80 execute "hi Question guifg=" . s:Plum[0]
81 "hi Scrollbar TODO
82 execute "hi Search guibg=" . s:Butter[0] . " guifg=" . s:Butter[2]
83 execute "hi SpecialKey guifg=" . s:Orange[2]
84 execute "hi StatusLine gui=none guibg=" . s:Orange[2] . " guifg=" . s:Aluminium[0]
85 execute "hi StatusLineNC gui=none guibg=" . s:Aluminium[3] . " guifg=" . s:Aluminium[5]
86 "hi TabLine TODO - non-active tab page label
87 "hi TabLineFill TODO - fill color where there are no tabs
88 "hi TabLineSel TODO - active tab page label
89 execute "hi Tooltip gui=none guibg=" . s:SkyBlue[0] . " guifg=" . s:Aluminium[0]
90 execute "hi VertSplit gui=none guibg=" . s:Aluminium[3] . " guifg=" . s:Aluminium[5]
91 execute "hi Visual guibg=" . s:Orange[0] . " guifg=" . s:Orange[2]
92 "hi VisualNOS TODO - Visual mode selection when vim is "Not Owning the Selection".
93 execute "hi WarningMsg guifg=" . s:Orange[0]
94 execute "hi WildMenu guifg=" . s:Butter[2] . " guibg=" . s:Butter[0]
95 " }}}
96
97 " {{{ terminal
98 " TODO
99 " }}}
100
101 " vim: sw=4 foldmethod=marker