]>
Commit | Line | Data |
---|---|---|
1 | " Vim color file | |
2 | " Name: xoria256.vim | |
3 | " Version: 0.3.2 | |
4 | " License: Public Domain | |
5 | " Maintainer: Dmitriy Y. Zotikov (xio) <xio@ungrund.org> | |
6 | " | |
7 | " Heavily based on 'moria' color scheme. | |
8 | " | |
9 | " Sould work in a 256 color terminal (like latest versions of xterm, konsole, | |
10 | " etc). Will not, however, work in 88 color terminals like urxvt. | |
11 | " | |
12 | " Color numbers (0-255) see: | |
13 | " http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html | |
14 | " | |
15 | " TODO: | |
16 | " - Diff (currently *VERY* ugly) | |
17 | " - Html | |
18 | ||
19 | ||
20 | ||
21 | if &t_Co != 256 && ! has("gui_running") | |
22 | echomsg "" | |
23 | echomsg "err: please use GUI or a 256-color terminal (so that t_Co=256 could be set)" | |
24 | echomsg "" | |
25 | finish | |
26 | endif | |
27 | ||
28 | set background=dark | |
29 | hi clear | |
30 | if exists("syntax_on") | |
31 | syntax reset | |
32 | endif | |
33 | ||
34 | " Which one is right? | |
35 | "let colors_name = "xoria256" | |
36 | let g:colors_name = "xoria256" | |
37 | ||
38 | ||
39 | ||
40 | hi Normal cterm=none ctermfg=252 ctermbg=234 gui=none guifg=#d0d0d0 guibg=#202020 | |
41 | ||
42 | hi Cursor cterm=none ctermfg=bg ctermbg=214 gui=none guifg=bg guibg=#ffaf00 | |
43 | hi CursorColumn cterm=none ctermbg=238 gui=none guibg=#444444 | |
44 | hi CursorLine cterm=none ctermbg=238 gui=none guibg=#444444 | |
45 | hi lCursor cterm=none ctermfg=0 ctermbg=40 gui=none guifg=#000000 guibg=#00df00 | |
46 | "hi CursorIM cterm= ctermfg= ctermbg= gui= guifg= guibg= | |
47 | hi IncSearch cterm=none ctermfg=0 ctermbg=223 gui=none guifg=#000000 guibg=#ffdfaf | |
48 | hi Search cterm=none ctermfg=0 ctermbg=149 gui=none guifg=#000000 guibg=#afdf5f | |
49 | hi ErrorMsg cterm=none ctermfg=15 ctermbg=160 gui=bold guifg=#ffffff guibg=#df0000 | |
50 | hi WarningMsg cterm=bold ctermfg=196 ctermbg=bg gui=bold guifg=#ff0000 guibg=bg | |
51 | hi ModeMsg cterm=bold ctermfg=fg ctermbg=bg gui=bold guifg=fg guibg=bg | |
52 | hi MoreMsg cterm=bold ctermfg=250 ctermbg=bg gui=bold guifg=#bcbcbc guibg=bg | |
53 | hi Question cterm=bold ctermfg=113 ctermbg=bg gui=bold guifg=#87df7f guibg=bg | |
54 | ||
55 | hi StatusLine cterm=bold ctermfg=fg ctermbg=239 gui=bold guifg=fg guibg=#4e4e4e | |
56 | hi StatusLineNC cterm=none ctermfg=fg ctermbg=237 gui=none guifg=fg guibg=#3a3a3a | |
57 | hi User1 cterm=none ctermfg=15 ctermbg=20 gui=none guifg=#ffffff guibg=#0000df | |
58 | hi User2 cterm=none ctermfg=46 ctermbg=20 gui=none guifg=#00ff00 guibg=#0000df | |
59 | hi User3 cterm=none ctermfg=46 ctermbg=20 gui=none guifg=#00ff00 guibg=#0000df | |
60 | hi User4 cterm=none ctermfg=50 ctermbg=20 gui=none guifg=#00ffdf guibg=#0000df | |
61 | hi User5 cterm=none ctermfg=46 ctermbg=20 gui=none guifg=#00ff00 guibg=#0000df | |
62 | hi VertSplit cterm=reverse ctermfg=fg ctermbg=237 gui=reverse guifg=fg guibg=#3a3a3a | |
63 | ||
64 | hi WildMenu cterm=bold ctermfg=0 ctermbg=184 gui=bold guifg=#000000 guibg=#dfdf00 | |
65 | "hi Menu cterm= ctermfg= ctermbg= gui= guifg= guibg= | |
66 | "hi Scrollbar cterm= ctermfg= ctermbg= gui= guifg= guibg= | |
67 | "hi Tooltip cterm= ctermfg= ctermbg= gui= guifg= guibg= | |
68 | ||
69 | "hi MBENormal cterm= ctermfg= ctermbg= gui= guifg= guibg= | |
70 | "hi MBEChanged cterm= ctermfg= ctermbg= gui= guifg= guibg= | |
71 | "hi MBEVisibleNormal cterm= ctermfg= ctermbg= gui= guifg= guibg= | |
72 | "hi MBEVisibleChanged cterm= ctermfg= ctermbg= gui= guifg= guibg= | |
73 | ||
74 | "hi DiffText cterm=bold ctermfg=fg ctermbg=20 gui=bold guifg=fg guibg=#0000df | |
75 | "hi DiffDelete cterm=none ctermfg=fg ctermbg=88 gui=none guifg=fg guibg=#870000 | |
76 | "hi DiffChange cterm=none ctermfg=fg ctermbg=18 gui=none guifg=fg guibg=#000087 | |
77 | "hi DiffAdd cterm=none ctermfg=fg ctermbg=28 gui=none guifg=fg guibg=#008700 | |
78 | ||
79 | hi Folded cterm=none ctermfg=255 ctermbg=60 gui=none guifg=#eeeeee guibg=#5f5f87 | |
80 | "hi Folded cterm=none ctermfg=251 ctermbg=240 gui=bold guifg=#c6c6c6 guibg=#585858 | |
81 | "hi Folded cterm=none ctermfg=251 ctermbg=95 gui=none guifg=#c6c6c6 guibg=#585858 | |
82 | hi FoldColumn cterm=none ctermfg=248 ctermbg=58 gui=none guifg=#a8a8a8 guibg=bg | |
83 | hi SignColumn cterm=none ctermfg=248 ctermbg=bg gui=none guifg=#a8a8a8 guibg=bg | |
84 | ||
85 | hi Directory cterm=none ctermfg=39 ctermbg=bg gui=none guifg=#00afff guibg=bg | |
86 | hi LineNr cterm=none ctermfg=248 gui=none guifg=#a8a8a8 | |
87 | hi NonText cterm=bold ctermfg=248 ctermbg=bg gui=bold guifg=#a8a8a8 guibg=bg | |
88 | hi SpecialKey cterm=none ctermfg=77 ctermbg=bg gui=none guifg=#5fdf5f guibg=bg | |
89 | hi Title cterm=none ctermfg=0 ctermbg=184 gui=none guifg=#000000 guibg=#dfdf00 | |
90 | hi Visual cterm=none ctermfg=24 ctermbg=153 gui=none guifg=#005f87 guibg=#afdfff | |
91 | "hi Visual cterm=none ctermfg=18 ctermbg=153 gui=none guifg=#005f87 guibg=#afdfff | |
92 | hi VisualNOS cterm=bold,underline ctermfg=247 ctermbg=bg gui=bold,underline guifg=#9e9e9e guibg=bg | |
93 | ||
94 | hi Comment cterm=none ctermfg=244 ctermbg=bg gui=none guifg=#808080 guibg=bg | |
95 | """ COLD | |
96 | hi Constant cterm=none ctermfg=187 ctermbg=bg gui=none guifg=#dfdfaf guibg=bg | |
97 | """ COLD-DARK | |
98 | "hi Constant cterm=none ctermfg=223 ctermbg=bg gui=none guifg=#ffdfaf guibg=bg | |
99 | """ NEUTRAL | |
100 | "hi Constant cterm=none ctermfg=229 ctermbg=bg gui=none guifg=#ffffaf guibg=bg | |
101 | """ WARM | |
102 | "hi Constant cterm=none ctermfg=222 ctermbg=bg gui=none guifg=#ffdf87 guibg=bg | |
103 | "hi String cterm= ctermfg= ctermbg= gui= guifg= guibg= | |
104 | hi Error cterm=none ctermfg=196 ctermbg=bg gui=none guifg=#ff0000 guibg=bg | |
105 | """ COLD | |
106 | "hi Identifier cterm=none ctermfg=115 ctermbg=bg gui=none guifg=#87dfaf guibg=bg | |
107 | """ NEUTRAL | |
108 | "hi Identifier cterm=none ctermfg=114 ctermbg=bg gui=none guifg=#87df87 guibg=bg | |
109 | """ WARM | |
110 | hi Identifier cterm=none ctermfg=150 ctermbg=bg gui=none guifg=#afdf87 guibg=bg | |
111 | hi Ignore cterm=none ctermfg=238 ctermbg=bg gui=none guifg=#444444 guibg=bg | |
112 | hi Number cterm=none ctermfg=180 ctermbg=bg gui=none guifg=#dfaf87 guibg=bg | |
113 | "hi Number cterm=none ctermfg=222 ctermbg=bg gui=none guifg=#ffaf87 guibg=bg | |
114 | "hi Number cterm=none ctermfg=215 ctermbg=bg gui=none guifg=#ffaf87 guibg=bg | |
115 | "hi Number cterm=none ctermfg=209 ctermbg=0 gui=none guifg=#ff875f guibg=#000000 | |
116 | "hi Number cterm=none ctermfg=210 ctermbg=0 gui=none guifg=#ff8787 guibg=#000000 | |
117 | hi PreProc cterm=none ctermfg=182 ctermbg=bg gui=none guifg=#dfafdf guibg=bg | |
118 | "hi PreProc cterm=none ctermfg=218 ctermbg=bg gui=none guifg=#ffafdf guibg=bg | |
119 | """ LIGHT | |
120 | "hi Special cterm=none ctermfg=174 ctermbg=bg gui=none guifg=#ffafaf guibg=bg | |
121 | """ DARK | |
122 | hi Special cterm=none ctermfg=174 ctermbg=bg gui=none guifg=#df8787 guibg=bg | |
123 | "hi Special cterm=none ctermfg=114 ctermbg=bg gui=none guifg=#87df87 guibg=bg | |
124 | "hi SpecialChar cterm= ctermfg= ctermbg= gui= guifg= guibg= | |
125 | hi Statement cterm=none ctermfg=74 ctermbg=bg gui=none guifg=#5fafdf guibg=bg | |
126 | "hi Statement cterm=none ctermfg=75 ctermbg=bg gui=none guifg=#5fafff guibg=bg | |
127 | hi Todo cterm=none ctermfg=0 ctermbg=184 gui=none guifg=#000000 guibg=#dfdf00 | |
128 | "hi Type cterm=none ctermfg=153 ctermbg=bg gui=none guifg=#afdfff guibg=bg | |
129 | hi Type cterm=none ctermfg=146 ctermbg=bg gui=none guifg=#afafdf guibg=bg | |
130 | hi Underlined cterm=underline ctermfg=39 ctermbg=bg gui=underline guifg=#00afff guibg=bg | |
131 | ||
132 | "hi htmlBold cterm= ctermbg=0 ctermfg=15 guibg=bg guifg=fg gui=bold | |
133 | "hi htmlBoldItalic cterm= ctermbg=0 ctermfg=15 guibg=bg guifg=fg gui=bold,italic | |
134 | "hi htmlBoldUnderline cterm= ctermbg=0 ctermfg=15 guibg=bg guifg=fg gui=bold,underline | |
135 | "hi htmlBoldUnderlineItalic cterm= ctermbg=0 ctermfg=15 guibg=bg guifg=fg gui=bold,underline,italic | |
136 | "hi htmlItalic cterm= ctermbg=0 ctermfg=15 guibg=bg guifg=fg gui=italic | |
137 | "hi htmlUnderline cterm= ctermbg=0 ctermfg=15 guibg=bg guifg=fg gui=underline | |
138 | "hi htmlUnderlineItalici cterm= ctermbg=0 ctermfg=15 guibg=bg guifg=fg gui=underline,italic | |
139 | ||
140 | ||
141 | " For taglist plugin | |
142 | if exists('loaded_taglist') | |
143 | hi TagListTagName cterm=none ctermfg=16 ctermbg=28 gui=none guifg=#000000 guibg=#008700 | |
144 | hi TagListTagScope cterm=none ctermfg=16 ctermbg=28 gui=none guifg=#000000 guibg=#008700 | |
145 | hi TagListTitle cterm=none ctermfg=199 ctermbg=16 gui=none guifg=#ff00af guibg=#000000 | |
146 | hi TagListComment cterm=none ctermfg=16 ctermbg=28 gui=none guifg=#000000 guibg=#008700 | |
147 | hi TagListFileName cterm=none ctermfg=15 ctermbg=90 gui=none guifg=#ffffff guibg=#870087 | |
148 | endif | |
149 | ||
150 | ||
151 | " For features in vim v.7.0 and higher | |
152 | if v:version >= 700 | |
153 | hi Pmenu cterm=none ctermfg=0 ctermbg=246 gui=none guifg=#000000 guibg=#949494 | |
154 | hi PmenuSel cterm=none ctermfg=0 ctermbg=243 gui=none guifg=#000000 guibg=#767676 | |
155 | hi PmenuSbar cterm=none ctermfg=fg ctermbg=243 gui=none guifg=fg guibg=#767676 | |
156 | hi PmenuThumb cterm=none ctermfg=bg ctermbg=252 gui=none guifg=bg guibg=#d0d0d0 | |
157 | ||
158 | " if has("spell") | |
159 | " hi SpellBad guisp=#ee2c2c gui=undercurl | |
160 | " hi SpellCap guisp=#2c2cee gui=undercurl | |
161 | " hi SpellLocal guisp=#2ceeee gui=undercurl | |
162 | " hi SpellRare guisp=#ee2cee gui=undercurl | |
163 | " endif | |
164 | ||
165 | hi MatchParen cterm=none ctermfg=188 ctermbg=68 gui=bold guifg=#dfdfdf guibg=#5f87df | |
166 | "hi MatchParen cterm=none ctermfg=24 ctermbg=153 gui=none guifg=#005f87 guibg=#afdfff | |
167 | "hi MatchParen cterm=none ctermfg=117 ctermbg=31 gui=bold guifg=#87dfff guibg=#0087af | |
168 | "hi MatchParen cterm=none ctermfg=187 ctermbg=67 gui=none guifg=#005f87 guibg=#afdfff | |
169 | ||
170 | hi TabLineSel cterm=bold ctermfg=fg ctermbg=bg gui=bold guifg=fg guibg=bg | |
171 | hi TabLine cterm=underline ctermfg=fg ctermbg=242 gui=underline guifg=fg guibg=#666666 | |
172 | hi TabLineFill cterm=underline ctermfg=fg ctermbg=242 gui=underline guifg=fg guibg=#666666 | |
173 | endif |