]>
Commit | Line | Data |
---|---|---|
0d23b6e5 BB |
1 | " Vim colour scheme |
2 | " Maintainer: Georg Dahn | |
3 | " Last Change: 26 April 2006 | |
4 | " Version: 1.6 | |
5 | " | |
6 | " This color scheme has both light and dark styles with harmonic colors | |
7 | " easy to distinguish. Terminals are not supported, therefore you should | |
8 | " only try it if you use the GUI version of Vim. | |
9 | " | |
10 | " You can choose the style by adding one of the following lines to your | |
11 | " vimrc or gvimrc file before sourcing the color scheme: | |
12 | " | |
13 | " let g:sienna_style = 'dark' | |
14 | " let g:sienna_style = 'light' | |
15 | " | |
16 | " If none of above lines is given, the light style is choosen. | |
17 | " | |
18 | " You can switch between these styles by using the :Colo command, like | |
19 | " :Colo dark or :Colo light (many thanks to Pan Shizhu). | |
20 | ||
21 | if exists("g:sienna_style") | |
22 | let s:sienna_style = g:sienna_style | |
23 | else | |
24 | let s:sienna_style = 'light' | |
25 | endif | |
26 | ||
27 | execute "command! -nargs=1 Colo let g:sienna_style = \"<args>\" | colo sienna" | |
28 | ||
29 | if s:sienna_style == 'dark' | |
30 | set background=dark | |
31 | elseif s:sienna_style == 'light' | |
32 | set background=light | |
33 | else | |
34 | finish | |
35 | endif | |
36 | ||
37 | hi clear | |
38 | if exists("syntax_on") | |
39 | syntax reset | |
40 | endif | |
41 | ||
42 | let g:colors_name = 'sienna' | |
43 | ||
44 | if s:sienna_style == 'dark' | |
45 | hi Normal gui=none guifg=Grey85 guibg=Grey15 | |
46 | ||
47 | hi Cursor guifg=Black guibg=Grey85 | |
48 | hi LineNr gui=none guifg=Grey65 | |
49 | hi NonText gui=bold guifg=Grey65 guibg=Grey20 | |
50 | hi SpecialKey gui=none guifg=SkyBlue2 | |
51 | hi Title gui=bold guifg=Grey85 | |
52 | hi Visual gui=bold guifg=Black guibg=LightSalmon1 | |
53 | ||
54 | hi FoldColumn gui=none guifg=Black guibg=Wheat3 | |
55 | hi Folded gui=none guifg=White guibg=Wheat4 | |
56 | hi StatusLine gui=bold guifg=Black guibg=Grey85 | |
57 | hi StatusLineNC gui=none guifg=White guibg=DimGray | |
58 | hi VertSplit gui=none guifg=White guibg=DimGray | |
59 | hi Wildmenu gui=bold guifg=White guibg=Black | |
60 | ||
61 | hi Pmenu guibg=Grey55 guifg=Black gui=none | |
62 | hi PmenuSbar guibg=Grey40 guifg=fg gui=none | |
63 | hi PmenuSel guibg=Yellow2 guifg=Black gui=none | |
64 | hi PmenuThumb guibg=Grey80 guifg=bg gui=none | |
65 | ||
66 | hi IncSearch gui=none guifg=Grey15 guibg=Grey85 | |
67 | hi Search gui=none guifg=Black guibg=Yellow2 | |
68 | ||
69 | hi MoreMsg gui=bold guifg=PaleGreen2 | |
70 | hi Question gui=bold guifg=PaleGreen2 | |
71 | hi WarningMsg gui=bold guifg=Red | |
72 | ||
73 | hi Comment gui=italic guifg=SkyBlue3 | |
74 | hi Error gui=none guifg=White guibg=Red2 | |
75 | hi Identifier gui=none guifg=LightSalmon2 | |
76 | hi Special gui=none guifg=SkyBlue2 | |
77 | hi PreProc gui=none guifg=SkyBlue3 | |
78 | hi Todo gui=bold guifg=Black guibg=Yellow2 | |
79 | hi Type gui=bold guifg=SkyBlue2 | |
80 | hi Underlined gui=underline guifg=DodgerBlue | |
81 | ||
82 | hi Boolean gui=bold guifg=PaleGreen2 | |
83 | hi Constant gui=none guifg=PaleGreen2 | |
84 | hi Number gui=bold guifg=PaleGreen2 | |
85 | hi String gui=none guifg=PaleGreen2 | |
86 | ||
87 | hi Label gui=bold,underline guifg=LightSalmon2 | |
88 | hi Statement gui=bold guifg=LightSalmon2 | |
89 | ||
90 | hi htmlBold gui=bold | |
91 | hi htmlItalic gui=italic | |
92 | hi htmlUnderline gui=underline | |
93 | hi htmlBoldItalic gui=bold,italic | |
94 | hi htmlBoldUnderline gui=bold,underline | |
95 | hi htmlBoldUnderlineItalic gui=bold,underline,italic | |
96 | hi htmlUnderlineItalic gui=underline,italic | |
97 | elseif s:sienna_style == 'light' | |
98 | hi Normal gui=none guifg=Black guibg=White | |
99 | ||
100 | hi Cursor guifg=White guibg=Black | |
101 | hi LineNr gui=none guifg=DarkGray | |
102 | hi NonText gui=bold guifg=DarkGray guibg=Grey95 | |
103 | hi SpecialKey gui=none guifg=RoyalBlue4 | |
104 | hi Title gui=bold guifg=Black | |
105 | hi Visual gui=bold guifg=Black guibg=Sienna1 | |
106 | ||
107 | hi FoldColumn gui=none guifg=Black guibg=Wheat2 | |
108 | hi Folded gui=none guifg=Black guibg=Wheat1 | |
109 | hi StatusLine gui=bold guifg=White guibg=Black | |
110 | hi StatusLineNC gui=none guifg=White guibg=DimGray | |
111 | hi VertSplit gui=none guifg=White guibg=DimGray | |
112 | hi Wildmenu gui=bold guifg=Black guibg=White | |
113 | ||
114 | hi Pmenu guibg=Grey65 guifg=Black gui=none | |
115 | hi PmenuSbar guibg=Grey50 guifg=fg gui=none | |
116 | hi PmenuSel guibg=Yellow guifg=Black gui=none | |
117 | hi PmenuThumb guibg=Grey75 guifg=fg gui=none | |
118 | ||
119 | hi IncSearch gui=none guifg=White guibg=Black | |
120 | hi Search gui=none guifg=Black guibg=Yellow | |
121 | ||
122 | hi MoreMsg gui=bold guifg=ForestGreen | |
123 | hi Question gui=bold guifg=ForestGreen | |
124 | hi WarningMsg gui=bold guifg=Red | |
125 | ||
126 | hi Comment gui=italic guifg=RoyalBlue3 | |
127 | hi Error gui=none guifg=White guibg=Red | |
128 | hi Identifier gui=none guifg=Sienna4 | |
129 | hi Special gui=none guifg=RoyalBlue4 | |
130 | hi PreProc gui=none guifg=RoyalBlue3 | |
131 | hi Todo gui=bold guifg=Black guibg=Yellow | |
132 | hi Type gui=bold guifg=RoyalBlue4 | |
133 | hi Underlined gui=underline guifg=Blue | |
134 | ||
135 | hi Boolean gui=bold guifg=ForestGreen | |
136 | hi Constant gui=none guifg=ForestGreen | |
137 | hi Number gui=bold guifg=ForestGreen | |
138 | hi String gui=none guifg=ForestGreen | |
139 | ||
140 | hi Label gui=bold,underline guifg=Sienna4 | |
141 | hi Statement gui=bold guifg=Sienna4 | |
142 | ||
143 | hi htmlBold gui=bold | |
144 | hi htmlItalic gui=italic | |
145 | hi htmlUnderline gui=underline | |
146 | hi htmlBoldItalic gui=bold,italic | |
147 | hi htmlBoldUnderline gui=bold,underline | |
148 | hi htmlBoldUnderlineItalic gui=bold,underline,italic | |
149 | hi htmlUnderlineItalic gui=underline,italic | |
150 | endif |