Skip to content

Instantly share code, notes, and snippets.

@adscriven
Last active September 25, 2020 23:03
Show Gist options
  • Save adscriven/3982ae33a409350ab385b2805165276d to your computer and use it in GitHub Desktop.
Save adscriven/3982ae33a409350ab385b2805165276d to your computer and use it in GitHub Desktop.
Basic dark colorscheme with colours for limited syntax :-o with good separation. For non-Vim users and no-syntax-whiners when pair programming.
" colors/sylfaenol.vim
hi clear
let s:name = expand('<sfile>:t:r')
let colors_name = s:name
hi Normal ctermfg=249 ctermbg=233 cterm=NONE guifg=#b2b2b2 guibg=#121212 gui=NONE guisp=NONE
hi Boolean ctermfg=249 ctermbg=233 cterm=NONE guifg=#b2b2b2 guibg=#121212 gui=NONE guisp=NONE
hi Character ctermfg=249 ctermbg=233 cterm=NONE guifg=#b2b2b2 guibg=#121212 gui=NONE guisp=NONE
hi ColorColumn ctermfg=NONE ctermbg=0 cterm=NONE guifg=NONE guibg=#000000 gui=NONE guisp=NONE
hi Comment ctermfg=37 ctermbg=NONE cterm=NONE guifg=#00afaf guibg=NONE gui=NONE guisp=NONE
hi Conceal ctermfg=239 ctermbg=NONE cterm=NONE guifg=#4e4e4e guibg=NONE gui=NONE guisp=NONE
hi Conditional ctermfg=143 ctermbg=NONE cterm=NONE guifg=#afaf5f guibg=NONE gui=NONE guisp=NONE
hi Constant ctermfg=249 ctermbg=233 cterm=NONE guifg=#b2b2b2 guibg=#121212 gui=NONE guisp=NONE
hi Cursor ctermfg=231 ctermbg=160 cterm=NONE guifg=#ffffff guibg=#d70000 gui=NONE guisp=NONE
hi CursorColumn ctermfg=NONE ctermbg=237 cterm=NONE guifg=NONE guibg=#3a3a3a gui=NONE guisp=NONE
hi CursorIM ctermfg=231 ctermbg=21 cterm=NONE guifg=#ffffff guibg=#0000ff gui=NONE guisp=NONE
hi CursorLine ctermfg=NONE ctermbg=236 cterm=NONE guifg=NONE guibg=#303030 gui=NONE guisp=NONE
hi CursorLineNr ctermfg=NONE ctermbg=236 cterm=NONE guifg=NONE guibg=#303030 gui=NONE guisp=NONE
hi Debug ctermfg=249 ctermbg=233 cterm=NONE guifg=#b2b2b2 guibg=#121212 gui=NONE guisp=NONE
hi debugBreakpoint ctermfg=NONE ctermbg=88 cterm=NONE guifg=NONE guibg=#870000 gui=NONE guisp=NONE
hi debugPC ctermfg=NONE ctermbg=22 cterm=NONE guifg=NONE guibg=#005f00 gui=NONE guisp=NONE
hi Define ctermfg=67 ctermbg=NONE cterm=NONE guifg=#5f87af guibg=NONE gui=NONE guisp=NONE
hi Delimiter ctermfg=249 ctermbg=233 cterm=NONE guifg=#b2b2b2 guibg=#121212 gui=NONE guisp=NONE
hi DiffAdd ctermfg=183 ctermbg=54 cterm=NONE guifg=#d7afff guibg=#5f0087 gui=NONE guisp=NONE
hi DiffChange ctermfg=244 ctermbg=234 cterm=NONE guifg=#808080 guibg=#1c1c1c gui=NONE guisp=NONE
hi DiffDelete ctermfg=244 ctermbg=234 cterm=NONE guifg=#808080 guibg=#1c1c1c gui=NONE guisp=NONE
hi DiffText ctermfg=183 ctermbg=54 cterm=underline guifg=#d7afff guibg=#5f0087 gui=underline guisp=NONE
hi Directory ctermfg=37 ctermbg=NONE cterm=NONE guifg=#00afaf guibg=NONE gui=NONE guisp=NONE
hi EndOfBuffer ctermfg=239 ctermbg=NONE cterm=NONE guifg=#4e4e4e guibg=NONE gui=NONE guisp=NONE
hi Error ctermfg=231 ctermbg=124 cterm=bold guifg=#ffffff guibg=#af0000 gui=bold guisp=NONE
hi ErrorMsg ctermfg=249 ctermbg=233 cterm=NONE guifg=#b2b2b2 guibg=#121212 gui=NONE guisp=NONE
hi Exception ctermfg=143 ctermbg=NONE cterm=NONE guifg=#afaf5f guibg=NONE gui=NONE guisp=NONE
hi Float ctermfg=249 ctermbg=233 cterm=NONE guifg=#b2b2b2 guibg=#121212 gui=NONE guisp=NONE
hi FoldColumn ctermfg=238 ctermbg=233 cterm=NONE guifg=#444444 guibg=#121212 gui=NONE guisp=NONE
hi Folded ctermfg=244 ctermbg=NONE cterm=NONE guifg=#808080 guibg=NONE gui=NONE guisp=NONE
hi Function ctermfg=249 ctermbg=233 cterm=NONE guifg=#b2b2b2 guibg=#121212 gui=NONE guisp=NONE
hi helpCommand ctermfg=74 ctermbg=NONE cterm=NONE guifg=#5fafd7 guibg=NONE gui=NONE guisp=NONE
hi helpExample ctermfg=143 ctermbg=NONE cterm=NONE guifg=#afaf5f guibg=NONE gui=NONE guisp=NONE
hi helpHeader ctermfg=253 ctermbg=NONE cterm=bold guifg=#dadada guibg=NONE gui=bold guisp=NONE
hi helpHyperTextEntry ctermfg=239 ctermbg=NONE cterm=NONE guifg=#4e4e4e guibg=NONE gui=NONE guisp=NONE
hi helpHyperTextJump ctermfg=74 ctermbg=NONE cterm=NONE guifg=#5fafd7 guibg=NONE gui=NONE guisp=NONE
hi helpOption ctermfg=74 ctermbg=NONE cterm=NONE guifg=#5fafd7 guibg=NONE gui=NONE guisp=NONE
hi htmlArg ctermfg=37 ctermbg=NONE cterm=NONE guifg=#00afaf guibg=NONE gui=NONE guisp=NONE
hi htmlComment ctermfg=239 ctermbg=NONE cterm=NONE guifg=#4e4e4e guibg=NONE gui=NONE guisp=NONE
hi htmlCommentPart ctermfg=239 ctermbg=NONE cterm=NONE guifg=#4e4e4e guibg=NONE gui=NONE guisp=NONE
hi htmlEndTag ctermfg=143 ctermbg=NONE cterm=NONE guifg=#afaf5f guibg=NONE gui=NONE guisp=NONE
hi htmlString ctermfg=67 ctermbg=NONE cterm=NONE guifg=#5f87af guibg=NONE gui=NONE guisp=NONE
hi htmlTag ctermfg=143 ctermbg=NONE cterm=NONE guifg=#afaf5f guibg=NONE gui=NONE guisp=NONE
hi htmlTagName ctermfg=143 ctermbg=NONE cterm=NONE guifg=#afaf5f guibg=NONE gui=NONE guisp=NONE
hi htmlValue ctermfg=67 ctermbg=NONE cterm=NONE guifg=#5f87af guibg=NONE gui=NONE guisp=NONE
hi Identifier ctermfg=249 ctermbg=233 cterm=NONE guifg=#b2b2b2 guibg=#121212 gui=NONE guisp=NONE
hi Ignore ctermfg=239 ctermbg=NONE cterm=NONE guifg=#4e4e4e guibg=NONE gui=NONE guisp=NONE
hi Include ctermfg=67 ctermbg=NONE cterm=NONE guifg=#5f87af guibg=NONE gui=NONE guisp=NONE
hi IncSearch ctermfg=16 ctermbg=231 cterm=bold guifg=#000000 guibg=#ffffff gui=bold guisp=NONE
hi Keyword ctermfg=143 ctermbg=NONE cterm=NONE guifg=#afaf5f guibg=NONE gui=NONE guisp=NONE
hi Label ctermfg=143 ctermbg=NONE cterm=NONE guifg=#afaf5f guibg=NONE gui=NONE guisp=NONE
hi lCursor ctermfg=231 ctermbg=40 cterm=NONE guifg=#ffffff guibg=#00d700 gui=NONE guisp=NONE
hi LineNr ctermfg=239 ctermbg=NONE cterm=NONE guifg=#4e4e4e guibg=NONE gui=NONE guisp=NONE
hi LineNrAbove ctermfg=239 ctermbg=NONE cterm=NONE guifg=#4e4e4e guibg=NONE gui=NONE guisp=NONE
hi LineNrBelow ctermfg=239 ctermbg=NONE cterm=NONE guifg=#4e4e4e guibg=NONE gui=NONE guisp=NONE
hi Macro ctermfg=67 ctermbg=NONE cterm=NONE guifg=#5f87af guibg=NONE gui=NONE guisp=NONE
hi MatchParen ctermfg=253 ctermbg=238 cterm=bold,underline guifg=#dadada guibg=#444444 gui=bold,underline guisp=NONE
hi ModeMsg ctermfg=249 ctermbg=233 cterm=NONE guifg=#b2b2b2 guibg=#121212 gui=NONE guisp=NONE
hi MoreMsg ctermfg=249 ctermbg=233 cterm=NONE guifg=#b2b2b2 guibg=#121212 gui=NONE guisp=NONE
hi NonText ctermfg=239 ctermbg=NONE cterm=NONE guifg=#4e4e4e guibg=NONE gui=NONE guisp=NONE
hi Number ctermfg=167 ctermbg=NONE cterm=NONE guifg=#d75f5f guibg=NONE gui=NONE guisp=NONE
hi Operator ctermfg=249 ctermbg=233 cterm=NONE guifg=#b2b2b2 guibg=#121212 gui=NONE guisp=NONE
hi Pmenu ctermfg=233 ctermbg=248 cterm=NONE guifg=#121212 guibg=#a8a8a8 gui=NONE guisp=NONE
hi PmenuSbar ctermfg=233 ctermbg=246 cterm=NONE guifg=#121212 guibg=#949494 gui=NONE guisp=NONE
hi PmenuSel ctermfg=255 ctermbg=25 cterm=NONE guifg=#eeeeee guibg=#005faf gui=NONE guisp=NONE
hi PmenuThumb ctermfg=16 ctermbg=243 cterm=NONE guifg=#000000 guibg=#767676 gui=NONE guisp=NONE
hi PreCondit ctermfg=67 ctermbg=NONE cterm=NONE guifg=#5f87af guibg=NONE gui=NONE guisp=NONE
hi PreProc ctermfg=67 ctermbg=NONE cterm=NONE guifg=#5f87af guibg=NONE gui=NONE guisp=NONE
hi Question ctermfg=249 ctermbg=233 cterm=NONE guifg=#b2b2b2 guibg=#121212 gui=NONE guisp=NONE
hi QuickFixLine ctermfg=NONE ctermbg=236 cterm=NONE guifg=NONE guibg=#303030 gui=NONE guisp=NONE
hi Repeat ctermfg=143 ctermbg=NONE cterm=NONE guifg=#afaf5f guibg=NONE gui=NONE guisp=NONE
hi Search ctermfg=16 ctermbg=143 cterm=bold guifg=#000000 guibg=#afaf5f gui=bold guisp=NONE
hi SignColumn ctermfg=238 ctermbg=233 cterm=NONE guifg=#444444 guibg=#121212 gui=NONE guisp=NONE
hi Special ctermfg=249 ctermbg=233 cterm=NONE guifg=#b2b2b2 guibg=#121212 gui=NONE guisp=NONE
hi SpecialChar ctermfg=37 ctermbg=NONE cterm=NONE guifg=#00afaf guibg=NONE gui=NONE guisp=NONE
hi SpecialComment ctermfg=249 ctermbg=233 cterm=NONE guifg=#b2b2b2 guibg=#121212 gui=NONE guisp=NONE
hi SpecialKey ctermfg=244 ctermbg=NONE cterm=NONE guifg=#808080 guibg=NONE gui=NONE guisp=NONE
hi SpellBad ctermfg=NONE ctermbg=NONE cterm=underline guifg=NONE guibg=NONE gui=underline guisp=NONE
hi SpellCap ctermfg=NONE ctermbg=NONE cterm=underline guifg=NONE guibg=NONE gui=underline guisp=NONE
hi SpellLocal ctermfg=NONE ctermbg=NONE cterm=underline guifg=NONE guibg=NONE gui=underline guisp=NONE
hi SpellRare ctermfg=NONE ctermbg=NONE cterm=underline guifg=NONE guibg=NONE gui=underline guisp=NONE
hi Statement ctermfg=143 ctermbg=NONE cterm=NONE guifg=#afaf5f guibg=NONE gui=NONE guisp=NONE
hi StatusLine ctermfg=235 ctermbg=247 cterm=NONE guifg=#262626 guibg=#9e9e9e gui=NONE guisp=NONE
hi StatusLineNC ctermfg=16 ctermbg=242 cterm=NONE guifg=#000000 guibg=#6c6c6c gui=NONE guisp=NONE
hi StatusLineTerm ctermfg=255 ctermbg=31 cterm=NONE guifg=#eeeeee guibg=#0087af gui=NONE guisp=NONE
hi StatusLineTermNC ctermfg=145 ctermbg=24 cterm=NONE guifg=#afafaf guibg=#005f87 gui=NONE guisp=NONE
hi StorageClass ctermfg=249 ctermbg=233 cterm=NONE guifg=#b2b2b2 guibg=#121212 gui=NONE guisp=NONE
hi String ctermfg=67 ctermbg=NONE cterm=NONE guifg=#5f87af guibg=NONE gui=NONE guisp=NONE
hi Structure ctermfg=249 ctermbg=233 cterm=NONE guifg=#b2b2b2 guibg=#121212 gui=NONE guisp=NONE
hi TabLine ctermfg=16 ctermbg=242 cterm=NONE guifg=#000000 guibg=#6c6c6c gui=NONE guisp=NONE
hi TabLineFill ctermfg=16 ctermbg=242 cterm=NONE guifg=#000000 guibg=#6c6c6c gui=NONE guisp=NONE
hi TabLineSel ctermfg=235 ctermbg=247 cterm=NONE guifg=#262626 guibg=#9e9e9e gui=NONE guisp=NONE
hi Tag ctermfg=249 ctermbg=233 cterm=NONE guifg=#b2b2b2 guibg=#121212 gui=NONE guisp=NONE
hi Terminal ctermfg=249 ctermbg=233 cterm=NONE guifg=#b2b2b2 guibg=#121212 gui=NONE guisp=NONE
hi Title ctermfg=253 ctermbg=NONE cterm=bold guifg=#dadada guibg=NONE gui=bold guisp=NONE
hi Todo ctermfg=44 ctermbg=NONE cterm=NONE guifg=#00d7d7 guibg=NONE gui=NONE guisp=NONE
hi ToolbarButton ctermfg=253 ctermbg=241 cterm=NONE guifg=#dadada guibg=#626262 gui=NONE guisp=NONE
hi ToolbarLine ctermfg=250 ctermbg=238 cterm=NONE guifg=#bcbcbc guibg=#444444 gui=NONE guisp=NONE
hi Type ctermfg=249 ctermbg=233 cterm=NONE guifg=#b2b2b2 guibg=#121212 gui=NONE guisp=NONE
hi Typedef ctermfg=249 ctermbg=233 cterm=NONE guifg=#b2b2b2 guibg=#121212 gui=NONE guisp=NONE
hi Underlined ctermfg=NONE ctermbg=NONE cterm=underline guifg=NONE guibg=NONE gui=underline guisp=NONE
hi VertSplit ctermfg=244 ctermbg=NONE cterm=NONE guifg=#808080 guibg=NONE gui=NONE guisp=NONE
hi vimoption ctermfg=133 ctermbg=NONE cterm=NONE guifg=#af5faf guibg=NONE gui=NONE guisp=NONE
hi Visual ctermfg=235 ctermbg=247 cterm=NONE guifg=#262626 guibg=#9e9e9e gui=NONE guisp=NONE
hi VisualNOS ctermfg=235 ctermbg=247 cterm=NONE guifg=#262626 guibg=#9e9e9e gui=NONE guisp=NONE
hi WarningMsg ctermfg=249 ctermbg=233 cterm=NONE guifg=#b2b2b2 guibg=#121212 gui=NONE guisp=NONE
hi WildMenu ctermfg=16 ctermbg=231 cterm=bold guifg=#000000 guibg=#ffffff gui=bold guisp=NONE
let s:restore = {
\ 'helpHeader': 'PreProc',
\ 'htmlTagName': 'htmlStatement',
\ 'htmlString': 'String',
\ 'helpOption': 'Type',
\ 'htmlCommentPart': 'Comment',
\ 'htmlComment': 'Comment',
\ 'helpExample': 'Comment',
\ 'htmlTag': 'Function',
\ 'vimOption': 'PreProc',
\ 'helpCommand': 'Comment',
\ 'helpHyperTextentry': 'String',
\ 'helpHyperTextJump': 'Identifier',
\ 'htmlEndTag': 'Identifier',
\ 'htmlValue': 'String',
\ 'htmlArg': 'Type'}
function s:fixlinks(restore)
for [group, link] in items(a:restore)
exe 'hi! link ' . group . ' ' . link
endfor
endfunction
function s:aufixlinks()
if !has('patch-8.2.1703')
exe 'augroup colorscheme_' . s:name
au!
au colorschemepre * call s:fixlinks(s:restore) | exe 'au! colorscheme_' . s:name
augroup END
endif
endfunction
call s:aufixlinks()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment