Skip to content

Instantly share code, notes, and snippets.

@broedli
Last active March 9, 2016 04:35
Show Gist options
  • Save broedli/c2c5b2147d21aa5a0fa1 to your computer and use it in GitHub Desktop.
Save broedli/c2c5b2147d21aa5a0fa1 to your computer and use it in GitHub Desktop.
Modified themes for VIM
" /usr/share/vim/vimfiles/colors/mango.vim
" Vim color file -- Mango
" Maintainer: Josh Perez <[email protected]>
" Version: 1.5.1
" mango.vim {{{
set t_Co=256
let g:colors_name = "mango"
let bgcolor = &background
highlight clear SignColumn
" }}}
" Colors: {{{
if bgcolor == "light"
let Black = "guifg=#707070 guibg=NONE gui=NONE ctermfg=15 ctermbg=NONE cterm=NONE"
let Orange = "guifg=#f9a657 guibg=NONE gui=NONE ctermfg=11 ctermbg=NONE cterm=NONE"
let Peach = "guifg=#57b2b0 guibg=NONE gui=NONE ctermfg=14 ctermbg=NONE cterm=NONE"
let Red = "guifg=#d15252 guibg=NONE gui=NONE ctermfg=9 ctermbg=NONE cterm=NONE"
endif
if bgcolor == "dark"
let Black = "guifg=#585858 guibg=NONE gui=NONE ctermfg=240 ctermbg=NONE cterm=NONE"
let Orange = "guifg=#ffaf00 guibg=NONE gui=NONE ctermfg=214 ctermbg=NONE cterm=NONE"
let Peach = "guifg=#ffd787 guibg=NONE gui=NONE ctermfg=222 ctermbg=NONE cterm=NONE"
let Red = "guifg=#ff5f5f guibg=NONE gui=NONE ctermfg=203 ctermbg=NONE cterm=NONE"
endif
let Green = "guifg=#a1d569 guibg=NONE gui=NONE ctermfg=10 ctermbg=NONE cterm=NONE"
let Gray = "guifg=#b3b3b3 guibg=NONE gui=NONE ctermfg=8 ctermbg=NONE cterm=NONE"
let Blue = "guifg=#58bee0 guibg=NONE gui=NONE ctermfg=12 ctermbg=NONE cterm=NONE"
let Pink = "guifg=#d1649c guibg=NONE gui=NONE ctermfg=4 ctermbg=NONE cterm=NONE"
let Purple = "guifg=#9b7adf guibg=NONE gui=NONE ctermfg=14 ctermbg=NONE cterm=NONE"
let Silver = "guifg=#909090 guibg=NONE gui=NONE ctermfg=15 ctermbg=NONE cterm=NONE"
let White = "guifg=#ebebeb guibg=NONE gui=NONE ctermfg=0 ctermbg=NONE cterm=NONE"
" }}}
" Light Background: {{{
if bgcolor == "light"
exe "hi Boolean " .Red
exe "hi Constant " .Purple
exe "hi Character " .Green
exe "hi Comment " .Gray
exe "hi Conditional " .Peach
exe "hi Debug " .Gray
exe "hi Define " .Purple
exe "hi Delimiter " .Black
exe "hi Exception " .Peach
exe "hi Float " .Blue
exe "hi Function " .Black
exe "hi Identifier " .Black
exe "hi Ignore " .Blue
exe "hi Include " .Purple
exe "hi Keyword " .Peach
exe "hi Label " .Peach
exe "hi LineNr " .Gray
exe "hi Macro " .Purple
exe "hi Noise " .Silver
exe "hi Normal " .Black
exe "hi Number " .Blue
exe "hi Operator " .Peach
exe "hi PreCondit " .Purple
exe "hi PreProc " .Purple
exe "hi Repeat " .Peach
exe "hi Special " .Pink
exe "hi SpecialChar " .Pink
exe "hi SpecialComment " .Blue
exe "hi Statement " .Peach
exe "hi StorageClass " .Orange
exe "hi String " .Green
exe "hi Structure " .Orange
exe "hi Tag " .Black
exe "hi Type " .Orange
exe "hi TypeDef " .Orange
hi CursorLine guifg=NONE guibg=#ffffff gui=NONE ctermfg=NONE ctermbg=231 cterm=NONE
hi ColorColumn guifg=#ff0000 guibg=#ffffff gui=NONE ctermfg=4 ctermbg=231 cterm=NONE
endif
" }}}
" Dark Background: {{{
if bgcolor == "dark"
exe "hi Boolean " .Red
exe "hi Constant " .Purple
exe "hi Character " .Green
exe "hi Comment " .Black
exe "hi Conditional " .Peach
exe "hi Debug " .Black
exe "hi Define " .Purple
exe "hi Delimiter " .White
exe "hi Exception " .Peach
exe "hi Float " .Blue
exe "hi Function " .White
exe "hi Identifier " .White
exe "hi Ignore " .Blue
exe "hi Include " .Purple
exe "hi Keyword " .Peach
exe "hi Label " .Peach
exe "hi LineNr " .Black
exe "hi Macro " .Purple
exe "hi Normal " .White
exe "hi Noise " .White
exe "hi Number " .Blue
exe "hi Operator " .Peach
exe "hi PreCondit " .Purple
exe "hi PreProc " .Purple
exe "hi Repeat " .Peach
exe "hi Special " .Pink
exe "hi SpecialChar " .Pink
exe "hi SpecialComment " .Pink
exe "hi Statement " .Peach
exe "hi StorageClass " .Orange
exe "hi String " .Green
exe "hi Structure " .Orange
exe "hi Tag " .White
exe "hi Type " .Orange
exe "hi TypeDef " .Orange
hi CursorLine guifg=NONE guibg=#1c1c1c gui=NONE ctermfg=NONE ctermbg=234 cterm=NONE
hi ColorColumn guifg=#ff0000 guibg=#1c1c1c gui=NONE ctermfg=203 ctermbg=234 cterm=NONE
endif
" }}}
hi Error guifg=#eeeeee guibg=#ff0000 gui=NONE ctermfg=255 ctermbg=196 cterm=NONE
hi Todo guifg=#080808 guibg=#ffd700 gui=NONE ctermfg=232 ctermbg=220 cterm=NONE
hi Underlined guifg=NONE guibg=NONE gui=underline ctermfg=NONE ctermbg=NONE cterm=underline
" MIT LICENSE {{{
" The MIT License (MIT)
" Copyright 2012 Josh Perez, http://www.goatslacker.com
"
" Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
"
" The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
"
" THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
" }}}
" vim:foldmethod=marker:foldlevel=0
" /usr/share/vim/vimfiles/autoload/lightline/colorscheme/wombat.vim
" =============================================================================
" Filename: autoload/lightline/colorscheme/wombat.vim
" Author: itchyny
" License: MIT License
" Last Change: 2015/11/30 08:37:43.
" =============================================================================
let s:base03 = [ '#242424', 240 ]
let s:base023 = [ '#353535 ', 240 ]
let s:base02 = [ '#444444 ', 254 ]
let s:base01 = [ '#585858', 250 ]
let s:base00 = [ '#666666', 231 ]
let s:base0 = [ '#808080', 240 ]
let s:base1 = [ '#969696', 236 ]
let s:base2 = [ '#a8a8a8', 242 ]
let s:base3 = [ '#d0d0d0', 255 ]
let s:yellow = [ '#cae682', 3 ]
let s:orange = [ '#e5786d', 11 ]
let s:red = [ '#e5786d', 9 ]
let s:magenta = [ '#f2c68a', 13 ]
let s:blue = [ '#8ac6f2', 12 ]
let s:cyan = [ '#8ac6f2', 14 ]
let s:green = [ '#95e454', 10 ]
let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}}
let s:p.normal.left = [ [ s:base00, s:blue ], [ s:base3, s:base01 ] ]
let s:p.normal.right = [ [ s:base02, s:base0 ], [ s:base1, s:base01 ] ]
let s:p.inactive.right = [ [ s:base023, s:base01 ], [ s:base00, s:base02 ] ]
let s:p.inactive.left = [ [ s:base1, s:base02 ], [ s:base00, s:base023 ] ]
let s:p.insert.left = [ [ s:base02, s:green ], [ s:base3, s:base01 ] ]
let s:p.replace.left = [ [ s:base023, s:red ], [ s:base3, s:base01 ] ]
let s:p.visual.left = [ [ s:base00, s:orange ], [ s:base3, s:base01 ] ]
let s:p.normal.middle = [ [ s:base2, s:base02 ] ]
let s:p.inactive.middle = [ [ s:base1, s:base023 ] ]
let s:p.tabline.left = [ [ s:base3, s:base01 ] ]
let s:p.tabline.tabsel = [ [ s:base3, s:base03 ] ]
let s:p.tabline.middle = [ [ s:base2, s:base02 ] ]
let s:p.tabline.right = [ [ s:base3, s:base03 ] ]
let s:p.normal.error = [ [ s:base00, s:red ] ]
let s:p.normal.warning = [ [ s:base00, s:yellow ] ]
let g:lightline#colorscheme#wombat#palette = lightline#colorscheme#flatten(s:p)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment