File: sienna.vim

package info (click to toggle)
vim-scripts 20130814
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 4,608 kB
  • ctags: 2,511
  • sloc: perl: 452; xml: 95; makefile: 25
file content (150 lines) | stat: -rw-r--r-- 4,969 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
" Vim colour scheme
" Maintainer:	Georg Dahn
" Last Change:	26 April 2006
" Version:	1.6
"
" This color scheme has both light and dark styles with harmonic colors
" easy to distinguish. Terminals are not supported, therefore you should
" only try it if you use the GUI version of Vim.
"
" You can choose the style by adding one of the following lines to your
" vimrc or gvimrc file before sourcing the color scheme:
"
" let g:sienna_style = 'dark'
" let g:sienna_style = 'light'
"
" If none of above lines is given, the light style is choosen.
"
" You can switch between these styles by using the :Colo command, like
" :Colo dark or :Colo light (many thanks to Pan Shizhu).

if exists("g:sienna_style")
    let s:sienna_style = g:sienna_style
else
    let s:sienna_style = 'light'
endif

execute "command! -nargs=1 Colo let g:sienna_style = \"<args>\" | colo sienna"

if s:sienna_style == 'dark'
    set background=dark
elseif s:sienna_style == 'light'
    set background=light
else
    finish
endif

hi clear
if exists("syntax_on")
  syntax reset
endif

let g:colors_name = 'sienna'

if s:sienna_style == 'dark'
    hi Normal gui=none guifg=Grey85 guibg=Grey15

    hi Cursor guifg=Black guibg=Grey85
    hi LineNr gui=none guifg=Grey65
    hi NonText gui=bold guifg=Grey65 guibg=Grey20
    hi SpecialKey gui=none guifg=SkyBlue2
    hi Title gui=bold guifg=Grey85
    hi Visual gui=bold guifg=Black guibg=LightSalmon1

    hi FoldColumn gui=none guifg=Black guibg=Wheat3
    hi Folded gui=none guifg=White guibg=Wheat4
    hi StatusLine gui=bold guifg=Black guibg=Grey85
    hi StatusLineNC gui=none guifg=White guibg=DimGray
    hi VertSplit gui=none guifg=White guibg=DimGray
    hi Wildmenu gui=bold guifg=White guibg=Black

    hi Pmenu guibg=Grey55 guifg=Black gui=none
    hi PmenuSbar guibg=Grey40 guifg=fg gui=none
    hi PmenuSel guibg=Yellow2 guifg=Black gui=none
    hi PmenuThumb guibg=Grey80 guifg=bg gui=none    

    hi IncSearch gui=none guifg=Grey15 guibg=Grey85
    hi Search gui=none guifg=Black guibg=Yellow2

    hi MoreMsg gui=bold guifg=PaleGreen2
    hi Question gui=bold guifg=PaleGreen2
    hi WarningMsg gui=bold guifg=Red

    hi Comment gui=italic guifg=SkyBlue3
    hi Error gui=none guifg=White guibg=Red2
    hi Identifier gui=none guifg=LightSalmon2
    hi Special gui=none guifg=SkyBlue2
    hi PreProc gui=none guifg=SkyBlue3
    hi Todo gui=bold guifg=Black guibg=Yellow2
    hi Type gui=bold guifg=SkyBlue2
    hi Underlined gui=underline guifg=DodgerBlue

    hi Boolean gui=bold guifg=PaleGreen2
    hi Constant gui=none guifg=PaleGreen2
    hi Number gui=bold guifg=PaleGreen2
    hi String gui=none guifg=PaleGreen2

    hi Label gui=bold,underline guifg=LightSalmon2
    hi Statement gui=bold guifg=LightSalmon2

    hi htmlBold gui=bold
    hi htmlItalic gui=italic
    hi htmlUnderline gui=underline
    hi htmlBoldItalic gui=bold,italic
    hi htmlBoldUnderline gui=bold,underline
    hi htmlBoldUnderlineItalic gui=bold,underline,italic
    hi htmlUnderlineItalic gui=underline,italic
elseif s:sienna_style == 'light'
    hi Normal gui=none guifg=Black guibg=White

    hi Cursor guifg=White guibg=Black
    hi LineNr gui=none guifg=DarkGray
    hi NonText gui=bold guifg=DarkGray guibg=Grey95
    hi SpecialKey gui=none guifg=RoyalBlue4
    hi Title gui=bold guifg=Black
    hi Visual gui=bold guifg=Black guibg=Sienna1

    hi FoldColumn gui=none guifg=Black guibg=Wheat2
    hi Folded gui=none guifg=Black guibg=Wheat1
    hi StatusLine gui=bold guifg=White guibg=Black
    hi StatusLineNC gui=none guifg=White guibg=DimGray
    hi VertSplit gui=none guifg=White guibg=DimGray
    hi Wildmenu gui=bold guifg=Black guibg=White

    hi Pmenu guibg=Grey65 guifg=Black gui=none
    hi PmenuSbar guibg=Grey50 guifg=fg gui=none
    hi PmenuSel guibg=Yellow guifg=Black gui=none
    hi PmenuThumb guibg=Grey75 guifg=fg gui=none

    hi IncSearch gui=none guifg=White guibg=Black
    hi Search gui=none guifg=Black guibg=Yellow

    hi MoreMsg gui=bold guifg=ForestGreen
    hi Question gui=bold guifg=ForestGreen
    hi WarningMsg gui=bold guifg=Red

    hi Comment gui=italic guifg=RoyalBlue3
    hi Error gui=none guifg=White guibg=Red
    hi Identifier gui=none guifg=Sienna4
    hi Special gui=none guifg=RoyalBlue4
    hi PreProc gui=none guifg=RoyalBlue3
    hi Todo gui=bold guifg=Black guibg=Yellow
    hi Type gui=bold guifg=RoyalBlue4
    hi Underlined gui=underline guifg=Blue

    hi Boolean gui=bold guifg=ForestGreen
    hi Constant gui=none guifg=ForestGreen
    hi Number gui=bold guifg=ForestGreen
    hi String gui=none guifg=ForestGreen

    hi Label gui=bold,underline guifg=Sienna4
    hi Statement gui=bold guifg=Sienna4

    hi htmlBold gui=bold
    hi htmlItalic gui=italic
    hi htmlUnderline gui=underline
    hi htmlBoldItalic gui=bold,italic
    hi htmlBoldUnderline gui=bold,underline
    hi htmlBoldUnderlineItalic gui=bold,underline,italic
    hi htmlUnderlineItalic gui=underline,italic
endif