summaryrefslogtreecommitdiffstats
path: root/colors/summit.vim
blob: d2060962d933d98dd8b0522f86c4d253574cc6e6 (plain) (blame)
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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
hi clear
syntax reset
set background=light

let g:colors_name = "summit"

function! s:hi(group, fg, bg, gui, sp)
	let l:res = "hi " . a:group

	if a:fg != ""
		let l:res = l:res . " guifg=" . a:fg
	endif

	if a:bg != ""
		let l:res = l:res . " guibg=" . a:bg
	endif

	if a:gui != ""
		let l:res = l:res . " gui=" . a:gui
		let l:res = l:res . " cterm=". a:gui
	endif

	if a:sp != ""
		let l:res = l:res . " guisp=" . a:sp
	endif

	execute l:res
endfunction

function! s:reset(group)
	execute "hi! " . a:group . " term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE"
endfunction

let s:accent           = "#5c4bc8"
let s:base0            = "#47414a"
let s:base1            = "#332f36"
let s:base2            = "#93836c"
let s:base3            = "#b9a992"
let s:base4            = "#e4ddd2"
let s:base5            = "#f1ece4"
let s:base6            = "#f2f0f4"
let s:base7            = "#f2eeed"
let s:base8            = "#ffffff"
let s:blue_text        = "#5f6e8c"
let s:blue_text_dark   = "#3f495d"
let s:diff_add         = "#bbe4b4"
let s:diff_change      = "#e2f1f8"
let s:diff_change_dark = "#a6dcf8"
let s:diff_delete      = "#f7cdcc"
let s:green_text       = "#3d4031"
let s:grey             = "#908e9f"
let s:lime_bg          = "#ccf3df"
let s:lime_bg_tint     = "#9ce8c1"
let s:orange_bg        = "#fbf2e6"
let s:orange_text      = "#726554"
let s:pink             = "#ff6195"
let s:red              = "#9f253e"
let s:red_bg           = "#fc5854"
let s:red_text         = "#403531"
let s:teal_bg          = "#e0f1eb"
let s:violet           = "#554e6a"
let s:violet_bg        = "#e6e0f5"
let s:warning          = "#cb4600"
let s:warning_sp       = "#ff9957"

call s:reset("Title")
call s:reset("Underlined")
call s:reset("Error")

call s:hi ("Bold",         "",               "",                 "bold", "")
call s:hi ("ColorColumn",  "",               s:base7,            "none", "")
call s:hi ("Comment",      s:grey,           "",                 "italic", "")
call s:hi ("CursorLineNr", s:base0,          s:base4,            "bold", "")
call s:hi ("CursorLine",   "",               s:base4,            "none", "")
call s:hi ("DiffAdd",      s:green_text,     s:diff_add,         "none", "")
call s:hi ("DiffChange",   s:blue_text,      s:diff_change,      "none", "")
call s:hi ("DiffDelete",   s:red_text,       s:diff_delete,      "none", "")
call s:hi ("DiffText",     s:blue_text_dark, s:diff_change_dark, "none", "")
call s:hi ("Error",        s:red,            "",                 "bold", "")
call s:hi ("ErrorMsg",     s:base8,          s:red_bg,           "none", "")
call s:hi ("FoldColumn",   s:base2,          s:base4,            "bold", "")
call s:hi ("Folded",       s:orange_text,    s:orange_bg,        "none", "")
call s:hi ("IncSearch",    s:base1,          s:lime_bg_tint,     "underline", "")
call s:hi ("Include",      s:base1,          "",                 "none", "")
call s:hi ("Italic",       "",               "",                 "italic", "")
call s:hi ("LineNr",       s:base2,          s:base8,            "none", "")
call s:hi ("MatchParen",   s:base8,          s:accent,           "bold,inverse", "")
call s:hi ("MoreMsg",      s:base1,          "",                 "bold", "")
call s:hi ("NonText",      s:base3,          "",                 "none", "")
call s:hi ("Normal",       s:base1,          s:base8,            "none", "")
call s:hi ("Pmenu",        s:base0,          s:violet_bg,        "none", "")
call s:hi ("PmenuSbar",    s:base0,          s:violet_bg,        "none", "")
call s:hi ("PmenuSel",     s:base8,          s:violet,           "bold", "")
call s:hi ("PmenuThumb",   s:base8,          s:base1,            "none", "")
call s:hi ("Search",       s:base1,          s:lime_bg,          "none", "")
call s:hi ("SignColumn",   s:base1,          s:base5,            "none", "")
call s:hi ("Special",      s:accent,         "",                 "none", "")
call s:hi ("Statement",    s:base1,          "",                 "none", "")
call s:hi ("StatusLine",   s:base8,          s:violet,           "bold", "")
call s:hi ("StatusLineNC", s:base0,          s:violet_bg,        "none", "")
call s:hi ("String",       s:accent,         "",                 "none", "")
call s:hi ("TabLine",      s:base0,          s:violet_bg,        "none", "")
call s:hi ("TabLineFill",  s:base0,          s:violet_bg,        "none", "")
call s:hi ("TabLineSel",   s:base8,          s:violet,           "bold", "")
call s:hi ("TabLineSel",   s:base8,          s:violet,           "bold", "")
call s:hi ("Title",        "",               "",                 "bold", "")
call s:hi ("Todo",         s:base8,          s:pink,             "none", "")
call s:hi ("Underlined",   "",               "",                 "underline", "")
call s:hi ("VertSplit",    s:base2,          s:base8,            "none", "")
call s:hi ("Visual",       "",               s:teal_bg,          "none", "")
call s:hi ("WarningMsg",   s:red,            "",                 "none", "")

call s:hi ("SpellBad", "", "", "", s:red_bg)
call s:hi ("SpellCap", "", "", "", s:accent)
call s:hi ("SpellRare", "", "", "", s:violet)
call s:hi ("SpellLocal", "", "", "", s:diff_add)

call s:hi ("DiagnosticError", s:red, "", "", "")
call s:hi ("DiagnosticWarn", s:warning, "", "", "")
call s:hi ("DiagnosticInfo", s:accent, "", "", "")
call s:hi ("DiagnosticHint", s:grey, "", "", "")
call s:hi ("DiagnosticOk", "NvimDarkGreen", "", "", "")

call s:hi ("DiagnosticUnderlineError", "fg", "", "underline", s:red_bg)
call s:hi ("DiagnosticUnderlineWarn", "fg", "", "undercurl", s:warning_sp)
call s:hi ("DiagnosticUnderlineInfo", "fg", "", "undercurl", s:accent)
call s:hi ("DiagnosticUnderlineHint", "fg", "", "undercurl", s:grey)
call s:hi ("DiagnosticUnderlineOk", "fg", "", "undercurl", s:diff_add)

hi! link FloatBorder Normal
hi! link NormalFloat Normal

hi! link Directory Special
hi! link ModeMsg MoreMsg
hi! link Question MoreMsg

hi! link CurSearch Search
hi! link QuickFixLine Search

hi! link Conceal Comment
hi! link Constant Normal
hi! link Delimiter Normal
hi! link Identifier Normal
hi! link Keyword Normal
hi! link Number Normal
hi! link Operator Normal
hi! link Type Normal
hi! link Function Normal

hi! link PreProc Special
hi! link SpecialKey Special

hi! link Macro Include
hi! link PreCondit Include

hi! link diffAdded DiffAdd
hi! link diffChanged DiffText
hi! link diffLine Special
hi! link diffRemoved DiffDelete

hi! link gitHash Special

hi! link beanTag Comment
hi! link beanMeta Comment

hi! link helpHyperTextJump Bold

hi! link dosiniHeader Bold

hi! link pythonFunction Italic
hi! link pythonStatement Bold

hi! link GentooPackageUseUse Special
hi! link GentooPackageUseUnuse WarningMsg

hi! link mailQuoted1 Comment
hi! link mailQuoted2 Comment

hi! link DiagnosticVirtualTextError Comment
hi! link DiagnosticVirtualTextWarn Comment
hi! link DiagnosticVirtualTextInfo Comment
hi! link DiagnosticVirtualTextHint Comment
hi! link DiagnosticVirtualTextOk Comment

let g:terminal_color_0  = "#0a0a0a"
let g:terminal_color_1  = "#9f253e"
let g:terminal_color_2  = "#377945"
let g:terminal_color_3  = "#c86324"
let g:terminal_color_4  = "#5c4bc8"
let g:terminal_color_5  = "#b537a4"
let g:terminal_color_6  = "#29887d"
let g:terminal_color_7  = "#ccf3df"
let g:terminal_color_8  = "#202020"
let g:terminal_color_9  = "#d3405e"
let g:terminal_color_10 = "#50af64"
let g:terminal_color_11 = "#de8249"
let g:terminal_color_12 = "#8578d6"
let g:terminal_color_13 = "#cd5abd"
let g:terminal_color_14 = "#3bc4b4"
let g:terminal_color_15 = "#ecfaf3"