" Name: mono.vim " Version: 0.1 " Maintainer: Matt Singleton (matt@xcolour.net) " License: The MIT License (MIT) " " A mostly black and white 256 color scheme. " " Adapted from: " https://github.com/pbrisbin/vim-colors-off " Which was adapted from: " https://github.com/reedes/vim-colors-pencil " """ hi clear if exists('syntax on') syntax reset endif let g:colors_name='mono' " Foreground colors let b:black = { "gui": "#303030", "cterm": "236" } let b:light_black = { "gui": "#585858", "cterm": "240" } let b:blue_fg = { "gui": "#00005f", "cterm": "17" } let b:green_fg = { "gui": "#005f00", "cterm": "22" } let b:cyan_fg = { "gui": "#005f5f", "cterm": "23" } let b:red_fg = { "gui": "#5f0000", "cterm": "52" } let b:purple_fg = { "gui": "#5f005f", "cterm": "53" } let b:yellow_fg = { "gui": "#5f5f00", "cterm": "58" } " background colors let b:white = { "gui": "#ffffff", "cterm": "231" } let b:light_gray = { "gui": "#eeeeee", "cterm": "255" } let b:blue_bg = { 'gui': '#d7d7ff', 'cterm': '189' } let b:green_bg = { 'gui': '#d7ffd7', 'cterm': '194' } let b:cyan_bg = { 'gui': '#d7ffff', 'cterm': '195' } let b:red_bg = { 'gui': '#ffd7d7', 'cterm': '224' } let b:purple_bg = { 'gui': '#ffd7ff', 'cterm': '225' } let b:yellow_bg = { 'gui': '#ffffd7', 'cterm': '230' } let b:bg = b:white let b:bg_subtle = b:light_gray let b:norm = b:black let b:blue = b:blue_fg let b:purple = b:purple_fg let b:cyan = b:cyan_fg let b:green = b:green_fg let b:red = b:red_fg let b:yellow = b:yellow_fg let b:visual = b:cyan_bg " https://github.com/noahfrederick/vim-hemisu/ function! s:h(group, style) execute "highlight" a:group \ "guifg=" (has_key(a:style, "fg") ? a:style.fg.gui : "NONE") \ "guibg=" (has_key(a:style, "bg") ? a:style.bg.gui : "NONE") \ "guisp=" (has_key(a:style, "sp") ? a:style.sp.gui : "NONE") \ "gui=" (has_key(a:style, "gui") ? a:style.gui : "NONE") \ "ctermfg=" (has_key(a:style, "fg") ? a:style.fg.cterm : "NONE") \ "ctermbg=" (has_key(a:style, "bg") ? a:style.bg.cterm : "NONE") \ "cterm=" (has_key(a:style, "cterm") ? a:style.cterm : "NONE") endfunction call s:h("Normal", {"bg": b:bg, "fg": b:norm}) call s:h("Comment", {"fg": b:light_black}) call s:h("Constant", {"fg": b:cyan}) "hi! link Constant Normal hi! link Character Constant hi! link Number Constant hi! link Boolean Constant hi! link Float Constant hi! link String Constant "call s:h("Identifier", {"fg": b:text_blue}) hi! link Identifier Normal hi! link Function Identifier "call s:h("Statement", {"fg": b:text_green}) call s:h("Statement", {"gui": "bold", "cterm": "bold"}) "hi! link Statement Normal hi! link Conditonal Statement hi! link Repeat Statement hi! link Label Statement hi! link Operator Statement hi! link Keyword Statement hi! link Exception Statement "call s:h("PreProc", {"fg": b:text_red}) call s:h("PreProc", {"cterm": "bold"}) "hi! link PreProc Normal hi! link Include PreProc hi! link Define PreProc hi! link Macro PreProc hi! link PreCondit PreProc "call s:h("Type", {"fg": b:text_purple}) hi! link Type Normal hi! link StorageClass Type hi! link Structure Type hi! link Typedef Type "call s:h("Special", {"fg": b:text_red}) hi! link Special Normal hi! link SpecialChar Special hi! link Tag Special hi! link Delimiter Special hi! link SpecialComment Special hi! link Debug Special call s:h("Underlined", {"fg": b:norm, "gui": "underline", "cterm": "underline"}) call s:h("Ignore", {"fg": b:bg}) call s:h("Error", {"fg": b:white, "bg": b:red, "cterm": "bold"}) call s:h("Todo", {"fg": b:red_fg, "bg": b:red_bg, "gui": "bold,underline", "cterm": "bold,underline"}) call s:h("SpecialKey", {"fg": b:yellow}) call s:h("NonText", {"fg": b:light_black}) call s:h("Directory", {"fg": b:blue}) call s:h("ErrorMsg", {"fg": b:red}) call s:h("IncSearch", {"bg": b:yellow_bg, "fg": b:red_fg, "gui": "bold,underline", "cterm": "bold,underline"}) call s:h("Search", {"bg": b:yellow_bg}) call s:h("MoreMsg", {"fg": b:light_black, "cterm": "bold", "gui": "bold"}) hi! link ModeMsg MoreMsg call s:h("LineNr", {"fg": b:bg_subtle}) call s:h("CursorLineNr", {"fg": b:blue, "bg": b:bg_subtle}) call s:h("Question", {"fg": b:red}) call s:h("StatusLine", {"bg": b:bg_subtle}) call s:h("StatusLineNC", {"bg": b:bg_subtle, "fg": b:light_black}) call s:h("VertSplit", {"bg": b:bg_subtle, "fg": b:bg_subtle}) call s:h("Title", {"fg": b:blue}) call s:h("Visual", {"bg": b:visual}) call s:h("VisualNOS", {"bg": b:bg_subtle}) call s:h("WarningMsg", {"fg": b:red}) call s:h("WildMenu", {"fg": b:bg, "bg": b:norm}) call s:h("Folded", {"fg": b:light_black}) call s:h("FoldColumn", {"fg": b:bg_subtle}) call s:h("DiffAdd", {"fg": b:green}) call s:h("DiffDelete", {"fg": b:red}) call s:h("DiffChange", {"fg": b:yellow}) call s:h("DiffText", {"fg": b:blue}) call s:h("SignColumn", {"fg": b:yellow}) if has("gui_running") call s:h("SpellBad", {"gui": "underline", "sp": b:red}) call s:h("SpellCap", {"gui": "underline", "sp": b:yellow}) call s:h("SpellRare", {"gui": "underline", "sp": b:purple}) call s:h("SpellLocal", {"gui": "underline", "sp": b:green}) else call s:h("SpellBad", {"cterm": "underline", "fg": b:red}) call s:h("SpellCap", {"cterm": "underline", "fg": b:yellow}) call s:h("SpellRare", {"cterm": "underline", "fg": b:purple}) call s:h("SpellLocal", {"cterm": "underline", "fg": b:green}) endif call s:h("Pmenu", {"fg": b:norm, "bg": b:bg_subtle}) call s:h("PmenuSel", {"fg": b:white, "bg": b:blue}) call s:h("PmenuSbar", {"fg": b:norm, "bg": b:bg_subtle}) call s:h("PmenuThumb", {"fg": b:norm, "bg": b:bg_subtle}) call s:h("TabLine", {"fg": b:norm, "bg": b:bg_subtle}) call s:h("TabLineSel", {"fg": b:blue, "bg": b:bg_subtle, "gui": "bold", "cterm": "bold"}) call s:h("TabLineFill", {"fg": b:norm, "bg": b:bg_subtle}) call s:h("CursorColumn", {"bg": b:bg_subtle}) call s:h("CursorLine", {"fg": b:norm, "bg": b:bg_subtle}) call s:h("ColorColumn", {"bg": b:bg_subtle}) call s:h("MatchParen", {"bg": b:bg_subtle, "fg": b:red}) call s:h("qfLineNr", {"fg": b:light_black}) call s:h("htmlH1", {"bg": b:bg, "fg": b:norm}) call s:h("htmlH2", {"bg": b:bg, "fg": b:norm}) call s:h("htmlH3", {"bg": b:bg, "fg": b:norm}) call s:h("htmlH4", {"bg": b:bg, "fg": b:norm}) call s:h("htmlH5", {"bg": b:bg, "fg": b:norm}) call s:h("htmlH6", {"bg": b:bg, "fg": b:norm}) hi link diffRemoved DiffDelete hi link diffAdded DiffAdd " Signify, git-gutter hi link SignifySignAdd LineNr hi link SignifySignDelete LineNr hi link SignifySignChange LineNr hi! GitGutterAdd guifg=#10A778 ctermfg=2 hi! GitGutterChange guifg=#A89C14 ctermfg=3 hi! GitGutterDelete guifg=#C30771 ctermfg=1 hi! GitGutterChangeDelete guifg=#C30771 ctermfg=1 " Fuzzy Search, Telescope & CtrlP hi! CtrlPMatch ctermbg=235 ctermfg=250 guibg=NONE guifg=#5FD7A7 cterm=NONE gui=NONE hi! TelescopeMatching guifg=#5FD7A7 guibg=#303030 ctermbg=NONE highlight TelescopeSelection guifg=NONE gui=bold guibg=#303030