vim/vim/colors/monotonous2.erb

776 lines
32 KiB
Plaintext

<%
# RNB, A VIM COLORSCHEME TEMPLATE
# Author: Romain Lafourcade (https://github.com/romainl)
# Canonical URL: https://gist.github.com/romainl/5cd2f4ec222805f49eca
# This template is designed to help vimmers create their own colorschemes
# without much effort.
#
# You will need Ruby to generate your colorscheme but Ruby knowledge is
# not needed at all.
#
# The process is divided in four steps:
# 1. start by editing your colorscheme's information,
# 2. define your colors,
# 3. define your highlight groups and links,
# 4. and generate your colorscheme.
# Step 1: information
#
# Make sure the name of your colorscheme is unique and attractive.
# The description should fit in a single line with no linefeed.
# 'background' can be "light" or "dark".
information = {
author: "studiovx",
email: "studiovx@studiovx.co.uk",
name: "monotonous2",
description: "",
background: "dark",
webpage: ""
}
# Step 2: colors
#
# black = [ give each color a distinctive name
# "#000000", hexadecimal color for GVim/MacVim and "true colors" terminals
# 0, integer between 0 and 255 for terminals supporting 256 colors
# "black" color name for less capable color terminals, can be "darkred", "red",
# "darkgreen", "green", "darkyellow", "yellow", "darkblue", "blue",
# "darkmagenta", "magenta", "black", "darkgrey", "grey", "white"
# ]
#
# If your colors are defined correctly, the resulting colorscheme is guaranteed
# to work in GVim (Windows/Linux), MacVim, and any properly set up terminal emulator.
black = ["#131313", 0, "black"]
gray0 = ["#1f2121", 232, "black"]
colorcolumn = ["#272829", 232, "gray"]
gray_bg = ["#2a2c2d", 234, "black"]
gray1 = ["#333535", 237, "black"]
gray_deco = ["#3f3f3f", 238, "gray"]
gray2 = ["#494545", 238, "gray"]
gray3 = ["#5d5959", 240, "gray"]
gray3_pure = ["#5d5d5d", 240, "gray"]
gray4 = ["#716c6c", 243, "gray"]
gray_fg = ["#767070", 243, "gray"]
gray5 = ["#857f7f", 244, "darkgray"]
gray6 = ["#9a9393", 247, "darkgray"]
gray7 = ["#aeadad", 250, "white"]
white = ["#eee4e4", 255, "white"]
# need red, green , blue, etc colors for syntax
grayred0 = ["#373030", 237, "black"]
grayred3 = ["#6b5d5d", 52, "darkred"]
red1 = ["#866b6b", 52, "darkred"]
red2 = ["#967978", 52, "darkred"]
red3 = ["#a78685", 88, "darkred"]
red4 = ["#b79392", 88, "darkred"]
red5 = ["#c4a6a5", 88, "darkred"]
red6 = ["#cab0af", 124, "darkred"]
red7 = ["#d1bab9", 124, "darkred"]
graygreen0 = ["#303730", 237, "black"]
green1 = ["#6b866c", 22, "darkgreen"]
green2 = ["#7a9678", 22, "darkgreen"]
green3 = ["#85a786", 28, "darkgreen"]
green4 = ["#95b792", 28, "green"]
green5 = ["#a5c4a5", 28, "green"]
green6 = ["#b1caaf", 34, "green"]
green7 = ["#b9d1bb", 34, "green"]
grayblue0 = ["#303237", 237, "black"]
blue1 = ["#5c6191", 17, "darkblue"]
blue2 = ["#6a6f9b", 18, "darkblue"]
blue3 = ["#7378b4", 19, "darkblue"]
blue4 = ["#7e84c6", 19, "blue"]
blue5 = ["#898fcb", 20, "blue"]
blue6 = ["#959ad0", 20, "blue"]
blue7 = ["#a1a5d5", 21, "blue"]
grayindigo0 = ["#323037", 237, "black"]
indigo1 = ["#6c6b86", 17, "darkblue"]
indigo2 = ["#787896", 18, "darkblue"]
indigo3 = ["#8685a7", 19, "darkblue"]
indigo4 = ["#9292b7", 19, "blue"]
indigo5 = ["#a6a5c4", 20, "blue"]
indigo6 = ["#b0afca", 20, "blue"]
indigo7 = ["#beb9d1", 21, "blue"]
grayyellow0 = ["#373730", 237, "black"]
yellow1 = ["#90905c", 22, "darkyellow"]
yellow2 = ["#a2a268", 22, "darkyellow"]
yellow3 = ["#b4b473", 28, "darkyellow"]
yellow4 = ["#c3c67e", 28, "yellow"]
yellow5 = ["#c6c689", 28, "yellow"]
yellow6 = ["#d0d095", 34, "yellow"]
yellow7 = ["#d5d5a1", 34, "yellow"]
# UI Colours
red_diff = ["#282020", 52, "darkred"]
red_bg = ["#463838", 52, "darkred"]
red_ui1 = ["#655757", 124, "red"]
red_ui2 = ["#7b6a6a", 124, "red"]
red_ui3 = ["#725454", 124, "red"]
red_ui4 = ["#916c6c", 124, "red"]
green_diff = ["#202820", 22, "darkgreen"]
green_ui1 = ["#515b51", 34, "green"]
green_ui2 = ["#626e62", 34, "green"]
green_ui3 = ["#496349", 34, "green"]
blue_diff = ["#242528", 17, "darkblue"]
blue_bg0 = ["#384046", 17, "darkblue"]
blue_bg1 = ["#49535a", 17, "darkblue"]
blue_bg2 = ["#93adc2", 17, "darkblue"]
blue_ui1 = ["#62626c", 19, "blue"]
blue_diff_text = ["#656a7c", 21, "white"]
blue_ui2 = ["#777783", 19, "blue"]
blue_ui3 = ["#596171", 19, "blue"]
purple_ui3 = ["#5c4a5a", 126, "magenta"]
error = ["#c74444", 196, "red"]
error_ui = ["#833838", 196, "red"]
error_ui_dark = ["#6a2e2e", 196, "red"]
warning = ["#a67038", 166, "yellow"]
warning_ui = ["#775538", 166, "yellow"]
warning_ui_dark = ["#553d2b", 166, "yellow"]
info = ["#797532", 247, "darkgray"]
info_ui = ["#615b41", 247, "darkgray"]
info_ui_dark = ["#44402e", 247, "darkgray"]
menubg = gray1
menufg = gray5
menusel = gray7
# Step 3: highlights
#
# You can define highlight groups like this:
#
# [ "Normal", name of the highlight group
# white, the color used for background color, or use "NONE", "fg" or "bg"
# darkgray, the color used for foreground color, or use "NONE", "fg" or "bg"
# "NONE" style, can be "bold", "underline", "reverse", "italic",
# "standout", "NONE" or "undercurl"
# ]
#
# The sample above tells Vim to render normal text in dark gray against a white
# background, without any styling.
#
# or link an highlight group to another:
#
# [ "Title", "Normal" ]
#
# In GUI Vim, there is an additional color for the undercurl used to
# highlight spelling mistakes:
#
# [ "SpellBad", name of the highlight group
# "NONE", the color used for background color, or use "NONE", "fg" or "bg"
# red, the color used for foreground color, or use "NONE", "fg" or "bg"
# "undercurl", style
# red color used for the undercurl
# ]
#
# The sample above tells Vim to render badly spelled words in red against the current
# background, with a red undercurl.
#
# You can add any custom highlight group to the standard list below but you shouldn't
# TODO example
# remove any if you want a working colorscheme.
highlights = [
[ "Normal", gray_bg, gray_fg, "NONE" ],
[ "Special", "NONE", red6, "bold" ],
[ "NonText", "NONE", red7, "NONE" ],
[ "Tag", grayred0, "NONE", "NONE" ],
[ "Identifier", "NONE", red4, "NONE" ],
[ "Function", "NONE", red5, "bold" ],
[ "Type", "NONE", red2, "NONE" ],
[ "StorageClass", "NONE", red1, "bold" ],
[ "Structure", "StorageClass"],
[ "TypeDef", "StorageClass"],
[ "Constant", "NONE", white, "italic" ],
[ "String", "NONE", gray7, "italic" ],
[ "Character", "String" ],
[ "Number", "String" ],
[ "Boolean", "String" ],
[ "Float", "String" ],
[ "Folded", "NONE", gray7, "NONE" ],
[ "Statement", "NONE", gray_fg, "NONE" ],
[ "Conditional", "NONE", gray7, "bold" ],
[ "Repeat", "NONE", gray6, "bold" ],
[ "Label", "NONE", gray5, "bold" ],
[ "Operator", "NONE", gray6, "bold" ],
[ "Keyword", "NONE", gray7, "bold" ],
[ "Exception", "NONE", grayred3, "bold" ],
[ "PreProc", "NONE", gray2, "bold" ],
[ "Include", "NONE", gray2, "NONE" ],
[ "Comment", "NONE", gray3_pure, "italic" ],
[ "SpecialComment", "NONE", gray5, "italic"],
[ "Todo", "NONE", gray6, "italic" ],
[ "Ignore", "NONE", gray_bg, "NONE" ],
[ "Error", "NONE", error, "bold" ],
[ "Underlined", "NONE", "NONE", "underline" ],
[ "StatusLine", gray_deco, gray7, "NONE" ],
[ "StatusLineNC", gray_deco, gray4, "NONE" ],
[ "TabLine", gray_deco, gray4, "NONE" ],
[ "TabLineFill", gray_deco, gray_deco, "NONE" ],
[ "TabLineSel", gray_deco, gray7, "NONE" ],
[ "VertSplit", gray_bg, gray_deco, "NONE" ],
[ "FoldColumn", gray_bg, gray2, "NONE" ],
[ "ColorColumn", colorcolumn, "NONE", "NONE" ],
[ "SignColumn", gray_bg, gray7, "NONE" ],
[ "CursorLine", colorcolumn, "NONE", "NONE" ],
[ "Title", "NONE", gray6, "bold" ],
[ "LineNr", gray_bg, gray3, "NONE" ],
[ "CursorLineNr", gray_bg, gray5, "NONE" ],
# [ "helpLeadBlank", "NONE", grayfg, "NONE" ],
# [ "helpNormal", "NONE", grayfg, "NONE" ],
[ "Pmenu", menubg, menufg, "NONE" ],
[ "PmenuSbar", menubg, menubg, "NONE" ],
[ "PmenuSel", menubg, menusel, "bold" ],
[ "PmenuThumb", menufg, menufg, "NONE" ],
[ "SpecialKey", "NONE", red_ui1, "NONE" ],
[ "DiffAdd", green_diff, "NONE", "NONE" ],
[ "DiffChange", blue_diff, "NONE", "NONE" ],
[ "DiffDelete", red_diff, "NONE", "NONE" ],
[ "DiffText", blue_diff, blue_diff_text, "NONE" ],
[ "IncSearch", blue_bg2, gray_bg, "NONE" ],
[ "Search", blue_bg1, gray7, "NONE" ],
[ "Visual", blue_bg0, "NONE", "NONE" ],
[ "VisualNOS", red_bg, "NONE", "NONE" ],
[ "Directory", "NONE", gray7, "NONE" ],
[ "MatchParen", blue_bg1, "NONE", "bold" ],
[ "SpellBad", "NONE", error, "NONE", error ],
[ "SpellCap", "NONE", warning, "NONE", warning ],
[ "SpellLocal", "NONE", info, "NONE", warning ],
[ "SpellRare", "NONE", info, "NONE", warning ],
[ "WildMenu", gray_deco, white, "bold" ],
[ "ErrorMsg", "NONE", error, "bold" ],
[ "ModeMsg", "NONE", white, "bold" ],
[ "MoreMsg", "NONE", white, "NONE" ],
[ "Question", "NONE", info, "NONE" ],
[ "WarningMsg", "NONE", warning, "bold" ],
# [ "Cursor", "NONE", "NONE", "NONE" ],
# [ "CursorColumn", "NONE", "NONE", "NONE" ],
[ "EndOfBuffer", gray_bg, gray_bg, "NONE" ],
[ "Noise", "NONE", gray3, "NONE"],
# tabline, statusline
[ "TabLineNum", gray_deco, gray4, "bold"],
[ "TabLineNumSel", gray_deco, gray5, "bold"],
[ "StatusLineNoise", gray_deco, gray3, "NONE"],
[ "StatusLineNoiseActive", gray_deco, gray4, "NONE"],
[ "StatusLineBufferNr", gray_deco, gray6, "bold"],
[ "StatusLineBufferNrActive", gray_deco, gray7, "bold"],
[ "StatusLinePercent", gray_deco, gray4, "bold"],
[ "StatusLinePercentActive", gray_deco, gray6, "bold"],
[ "StatusLineLinecount", gray_deco, gray4, "bold"],
[ "StatusLineLinecountActive", gray_deco, gray5, "bold"],
[ "StatusLineDivActive", gray4, gray4, "NONE"],
[ "StatusLineDivInput", blue_bg0, blue_bg0, "NONE"],
[ "StatusLineDivMod", red_ui1, red_ui1, "NONE"],
[ "StatusLineDivModActive", red_ui4, red_ui4, "NONE"],
[ "StatusLineFileInfo", "NONE", gray4, "italic"],
[ "StatusLineFile", gray_deco, gray6, "italic"],
[ "StatusLineFileActive", gray_deco, gray7, "italic"],
[ "StatusLineDir", gray_deco, gray4, "italic"],
[ "StatusLineDirActive", gray_deco, gray4, "italic"],
[ "StatusLineExt", gray_deco, gray4, "italic"],
[ "StatusLineExtActive", gray_deco, gray5, "italic"],
[ "StatusLineDot", gray_deco, gray3, "italic"],
[ "StatusLineDotActive", gray_deco, gray3, "italic"],
[ "StatusLineFileReadOnly", gray_deco, red_ui3, "italic"],
[ "StatusLineFileReadOnlyActive", "NONE", red_ui3, "italic"],
[ "StatusLineWarning", gray_deco, gray5, "bold"],
[ "StatusLineWarningActive", "NONE", red_ui3, "bold"],
[ "LinterDash", "NONE", gray2, "NONE"],
[ "LinterDashActive", "NONE", gray3, "NONE"],
[ "LinterError", "NONE", error_ui_dark, "bold"],
[ "LinterErrorActive", "NONE", error_ui, "bold"],
[ "LinterErrorStyle", "NONE", error_ui_dark, "NONE"],
[ "LinterErrorStyleActive", "NONE", error_ui, "NONE"],
[ "LinterWarning", "NONE", warning_ui_dark, "bold"],
[ "LinterWarningActive", "NONE", warning_ui, "bold"],
[ "LinterWarningStyle", "NONE", warning_ui_dark, "NONE"],
[ "LinterWarningStyleActive", "NONE", warning_ui, "NONE"],
[ "LinterInfo", "NONE", info_ui_dark, "bold"],
[ "LinterInfoActive", "NONE", info_ui, "bold"],
[ "GitGutterDelete", "NONE", red_ui3, "bold"],
[ "GitGutterChange", "NONE", blue_ui3, "bold"],
[ "GitGutterAdd", "NONE", green_ui3, "bold"],
[ "GitGutterChangeDelete", "NONE", purple_ui3, "bold"],
# css, scss
[ "cssIdentifier", "NONE", green6, "bold" ],
[ "cssClass", "NONE", green5, "NONE" ],
[ "cssFunction", "NONE", gray5, "bold" ],
[ "cssProp", "NONE", gray4, "NONE" ],
[ "scssVariable", "NONE", green7, "bold" ],
[ "cssAttr", "String"],
[ "cssIdentifierAttr", "Noise" ],
[ "cssClassAttr", "cssIdentifierAttr" ],
[ "cssAttrNoise", "Noise" ],
[ "atKeyword", "PreProc" ],
[ "cssIdentifier", "cssIdentifier" ],
[ "cssClassName", "cssClass" ],
[ "cssClassNameDot", "cssClass" ],
[ "cssPseudoClassId", "cssClassName" ],
[ "cssKeyFrameSelector", "Label" ],
[ "cssFunctionName", "cssIdentifier" ],
[ "cssBraces", "Noise" ],
[ "cssUnitDecorators", "NONE", gray6, "NONE" ],
[ "scssSelector", "cssClass" ],
[ "scssSelectorName", "scssSelector" ],
[ "scssSelectorChar", "cssIdentifier" ],
[ "scssFunctionName", "cssFunction" ],
[ "scssMixin", "keyword" ],
[ "scssMixinName", "cssFunction" ],
[ "scssampersand", "scssSelectorName" ],
[ "scssAtRoot", "atKeyword" ],
[ "vue_scss", "cssIdentifier" ],
#html
["htmlTagName", "NONE", blue3, "NONE"],
["htmlSpecialTagName", "NONE", blue4, "bold"],
["htmlLink", "NONE", blue7, "underline"],
[ "htmlNormal", "Normal" ],
[ "htmlTitle", "Title" ],
[ "htmlH1", "htmlTitle" ],
[ "htmlTag", "Noise" ],
[ "htmlEndTag", "htmlTag" ],
[ "htmlArg", "PreProc" ],
[ "htmlValue", "String" ],
[ "htmlSpecialChar", "Special" ],
[ "htmlPreStmt", "PreProc" ],
[ "htmlPreError", "Error" ],
[ "htmlPreProc", "PreProc" ],
[ "htmlPreAttr", "String" ],
[ "htmlPreProcAttrName", "PreProc" ],
[ "htmlPreProcAttrError", "Error" ],
[ "htmlSpecial", "Special" ],
[ "htmlSpecialChar", "Special" ],
[ "htmlString", "String" ],
[ "htmlStatement", "Statement" ],
[ "htmlComment", "Comment" ],
[ "htmlCommentPart", "Comment" ],
[ "htmlValue", "String" ],
[ "htmlCommentError", "htmlError" ],
[ "htmlTagError", "htmlError" ],
[ "htmlEvent", "javaScript" ],
[ "htmlError", "Error" ],
[ "javaScript", "Special" ],
[ "javaScriptExpression", "javaScript" ],
[ "htmlCssStyleComment", "Comment" ],
[ "htmlCssDefinition", "Special" ],
[ "htmlImgArg", "htmlArg" ],
[ "htmlSrcValue", "String" ],
[ "htmlSrcsetValue", "htmlSrcValue" ],
[ "htmlAltValue", "String" ],
[ "htmlDataArg", "htmlTagName" ],
[ "htmlDataValue", "Constant" ],
[ "htmlHrefArg", "htmlArg" ],
[ "htmlHrefValue", "htmlSrcValue" ],
# vue
[ "vueTagSpecial", "NONE", indigo5, "bold" ],
[ "vueTagComponentName", "NONE", indigo3, "bold" ],
[ "vueDynamicComponent", "NONE", indigo1, "bold" ],
[ "vueTransitionComponent", "vueDynamicComponent" ],
[ "vueTransitionName", "cssIdentifier" ],
[ "vueTransitionMode", "String" ],
[ "vueDirective", "Identifier" ],
[ "vueEvent", "Function" ],
[ "vueConditional", "Special" ],
[ "vueFor", "vueConditional" ],
[ "vueRef", "vueDirective" ],
[ "vueSlot", "Noise" ],
[ "vueDirectiveValue", "Type" ],
[ "vueEventValue", "vueDirectiveValue" ],
[ "vueConditionalValue", "vueDirectiveValue" ],
[ "vueForValue", "vueConditionalValue" ],
[ "vueRefValue", "Constant" ],
[ "vueSlotName", "Constant" ],
[ "vueObjectKey", "cssClass" ],
[ "vueObjectValue", "vueDirectiveValue" ],
[ "vueDirectiveClass", "Noise" ],
[ "vueMustache", "Type" ],
# javascript
[ "jsFunctionKey", "Function" ],
[ "jsFuncCall", "NONE", red3, "bold" ],
[ "jsFuncCall", "Identifier" ],
[ "jsOperator", "Operator" ],
[ "jsVariableDef", "Identifier" ],
[ "jsGlobalObjects", "NONE", gray6, "bold" ],
[ "jsGlobalNodeObjects", "jsGlobalObjects" ],
[ "jsExceptions", "jsGlobalObjects" ],
[ "jsBuiltins", "jsGlobalObjects" ],
[ "jsStorageClass", "Include" ],
[ "jsObjectKey", "NONE", red4, "NONE"],
[ "jsObjectProp", "Type" ],
[ "jsObjectValue", "NONE", red1, "NONE" ],
[ "jsModuleKeyword", "Type" ],
[ "jsOperatorKeyword", "Label" ],
[ "jsThis", "jsGlobalObjects" ],
[ "jsArrowFunction", "Function" ],
# python
[ "pythonBuiltin", "Type" ],
[ "pythonBuiltinObj", "Special" ],
[ "pythonDottedName", "Identifier" ],
[ "pythonBrackets", "Noise" ],
[ "pythonQuotes", "Noise" ],
[ "pythonDot", "Noise" ],
[ "pythonNoise", "Noise" ],
[ "pythonExtraOperator", "Operator" ],
# sql
[ "sqlOperator", "Operator" ],
# vim
[ "vimFoldMarker", "NONE", gray2, "NONE"],
[ "vimMap", "Noise" ],
[ "vimAbb", "vimMap" ],
[ "VimCommand", "Statement" ],
[ "VimOption", "String" ],
[ "vimFunction", "Function" ],
[ "vimFuncKey", "Special" ],
[ "vimHighlight", "Noise" ],
[ "vimAuGroupKey", "Noise" ],
[ "vimAutoCmd", "Noise" ],
[ "vimHiTerm", "Include" ],
[ "vimHiAttrib", "Number" ],
[ "VimIsCommand", "Type" ],
[ "vimNotation", "StorageClass" ],
[ "vimMapLhs", "Special" ],
[ "vimMapRhs", "Label" ],
[ "vimNotFunc", "Conditional" ],
[ "vimSep", "Noise" ],
[ "vimParenSep", "vimSep" ],
[ "vimContinue", "vimSep" ],
[ "vimBracket", "vimSep" ],
[ "vimOperParen", "Normal" ],
[ "vimUserFunc", "Identifier" ],
# yaml
["yamlKeyValueDelimiter", "Noise" ],
["yamlFowIndicator", "Noise" ],
# config highlighting
[ "confComment", "Comment" ],
# extra whitespace
[ "ExtraWhitespace", error_ui_dark ,"NONE", "NONE" ],
# php
[ "phpRegion", "Normal" ],
[ "phpComparison", "Operator" ],
# quickfix
[ "QuickfixLine", "NONE", gray6, "bold" ],
[ "qfLineNr", "NONE", gray3, "italic"],
[ "qfFilename", "NONE", gray5, "bold" ],
[ "qfSeparator", "Ignore" ],
[ "qfError", "ErrorMsg" ],
# json
[ "jsonKeyword", "Identifier" ],
[ "jsonValue", "String" ],
[ "jsonQuote", "Noise" ],
# plugins
[ "LspErrorText", "ErrorMsg" ],
[ "LspWarningText", "WarningMsg" ],
[ "LspInformationText", "NONE", info, "bold" ],
[ "LspHintText", "NONE", info, "NONE" ],
# ctrl-p highlighting
# :h ctrlp-customization
[ "CtrlPPrtBase", gray6, gray3, "bold" ],
[ "CtrlPPrtText", gray6, gray0, "bold"],
[ "CtrlPMatch", "NONE", gray6, "bold"],
[ "CtrlPMode1", "NONE", gray7, "bold"],
[ "CtrlPMode2", "NONE", gray5, "NONE"],
[ "CtrlPNoEntries", "NONE", red_ui4, "bold" ],
[ "CtrlPBufferNr", "NONE", gray6, "bold" ],
[ "CtrlPBufferInd", "NONE", white, "bold" ],
[ "CtrlPBufferPath", "NONE", gray3, "NONE" ],
[ "CtrlPBufferHid", "NONE", gray4, "NONE" ],
[ "CtrlPBufferHidMod", "NONE", red_ui2, "NONE" ],
[ "CtrlPBufferVis", "Normal" ],
[ "CtrlPBufferVisMod", "NONE", red_ui3, "NONE" ],
[ "CtrlPBufferCur", "NONE", gray7, "bold" ],
[ "CtrlPBufferCurMod", "NONE", red_ui4, "NONE" ],
# to be implemented
# "" #shell highlighting
# "{{{
# "hi! def link shConditional shLoop
# "hi! def link shFunctionTwo mIdentifierBright
# "hi! def link shFunction mIdentifier
# "hi! def link shFunctionKey mStatement
# "hi! def link shCaseEsac mValue
# "hi! def link shCaseBar mNoise
# "hi! def link shEcho mNoiseBright
# "hi! def link bashSpecialVariables mSpecial
# "hi! def link shCmdSubRegion mNoiseBright
# "hi! def link shCommandSub mSpecialDark
# "hi! def link shEscape mNoise
# "hi! def link shTestOpr mNoise
# "hi! def link shSnglCase mNoise
# hi! def link shDerefSimple Type
# hi! def link shDerefVar shDerefSimple
# hi! def link shDerefOp Conditional
# hi! def link shDerefPattern shDerefOp
# hi! def link shCommandSub Type
# hi! def link shOption StorageClass
# ""}}}
# "" vim-fugitive
# ""{{{
# "hi! def link gitCommitBranch mValueDarkItalic
# "hi! def link gitCommitDiscarded mNoiseDark
# "hi! def link gitCommitComment mNoiseDark
# "hi! def link gitCommitOnBranch mNoise
# "hi! def link gitCommitWarning mInterfaceError
# "hi! def link gitCommitDiscardedType mNoise
# "hi! def link gitCommitSelectedType mNoise
# "hi! def link gitCommitSelectedFile mValueDarkerItalic
# "hi! def link gitCommitDiscardedFile mInterfaceWarning
# "hi! def link gitCommitUntrackedFile mStatementBright
# "hi! def link gitCommitNumber mInterfaceError
# "hi! def link gitCommitAhead gitCommitNumber
# "hi! def link gitCommitBehind gitCommitNumber
# ""}}}
# "" #netrw highlighting
# ""{{{
# "hi! def link netrwVersion mInterfaceH3
# "hi! def link netrwComment mInterfaceNormalNormal
# "hi! def link netrwClassify mInterfaceNormal
# "hi! def link netrwTreebar mInterfaceNormalDark
# "hi! def link netrwCmdNote mInterfaceHelpBright
# "hi! def link netrwQuickHelp netrwCmdNote
# "hi! def link netrwList mInterfaceSpecial
# "hi! def link netrwHidePat mInterfaceSpecial
# "hi! def link netrwQHTopic mInterfaceKeyword
# "hi! def link netrwHelpCmd mInterfaceKey
# ""}}}
# "" #tagbar highlighting
# "" TagbarHighlight defined in vimrc as it gets overridden
# "" by plugin when defined in here
# "" hi! def link TagbarFoldIcon InterfaceNormal
#
# "" hi! def link TagbarHelp InterfaceHelp
# "" hi! def link TagbarHelpKey InterfaceHelpDark
# "" hi! def link TagbarHelpTitle InterfaceHelpBright
#
# "" hi! def link TagbarKind InterfaceH1
# "" hi! def link TagbarNestedKind InterfaceH1
#
# "" hi! def link TagbarScope InterfaceH1
# "" hi! def link TagbarType InterfaceH1
# "" hi! def link TagbarSignature InterfaceNormal
# "" hi! def link TagbarPseudoID InterfaceNormal
# "" hi! def link TagbarHighlight InterfaceCurrent
#
# "" hi! def link TagbarAccessPublic InterfaceH2
# "" hi! def link TagbarAccessProtected InterfaceH2
# "" hi! def link TagbarAccessPrivate InterfaceH2
#
# "" hi! TagbarHighlight ctermfg=255 guifg=#eeeeee ctermbg=240 guibg=#585858
# "" #vimwiki highlighting
# "" hi VimwikiLink ctermfg=252 guifg=#d0d0d0 ctermbg=234 guibg=#1c1c1c
# "" hi! def link VimwikiHeaderChar CRNoiseDark
# "" hi VimwikiHeader1 ctermbg=242 guibg=#666666 ctermfg=255 guifg=#eeeeee
# "" hi VimwikiHeader2 ctermbg=238 guibg=#444444 ctermfg=255 guifg=#eeeeee
# "" hi VimwikiHeader3 ctermbg=236 guibg=#303030 guibg=#303030 ctermfg=255 guifg=#eeeeee
# "" hi VimwikiHeader4 ctermbg=236 guibg=#303030 guibg=#303030 ctermfg=251 guifg=#c6c6c6
# "" hi VimwikiHeader5 ctermbg=236 guibg=#303030 guibg=#303030 ctermfg=246 guifg=#949494
# "" hi VimwikiHeader6 ctermbg=236 guibg=#303030 guibg=#303030 ctermfg=244 guifg=#808080
# "" hi VimwikiListTodo ctermbg=233 guibg=#121212 ctermfg=255 guifg=#eeeeee
]
# Step 4: generation
#
# From a separate shell:
#
# $ erb -T - bar.erb > bar.vim
#
# From Vim:
#
# :!erb -T - % > %:r.vim
# These online resources can help you design your colorscheme:
#
# * http://upload.wikimedia.org/wikipedia/en/1/15/Xterm_256color_chart.svg
# the xterm palette
# * http://whatcolor.herokuapp.com/
# play with hexadecimal colors right in the address bar (currently down)
# * http://color.hailpixel.com/
# similar concept, fuzzier implementation
# * http://colourco.de/
# similar concept, fancier implementation
# * http://www.colr.org/
# extract a palette from an image
# * http://colores.manugarri.com/
# search for 'word', get images and color palettes
# * http://www.colourlovers.com/palettes
# user-created palettes
# * http://www.perbang.dk/color+scheme/
# a no-nonsense colorscheme generator
# * https://color.adobe.com/
# Adobe's fancy colorscheme generator
# * http://paletton.com/
# The classic 'Color Scheme Designer', rebranded
# * http://vrl.cs.brown.edu/color
# A very smart palette generator
# * https://cmcenroe.me/2018/04/03/colour-scheme.html
# "I Made My Own Colour Scheme and You Can Too!"
# A few general advices:
#
# * The Windows console is limited to the 16 so-called "ANSI" colors but it has
# a few of them interverted which makes numbers impractical. Use color names
# instead of numbers: :help cterm-colors
# * The Windows console (yeah…) doesn't do italics, underlines or bolded text;
# it is limited to normal and reverse. Keep that in mind if you want
# your colorscheme to be usable in as many environments as possible by as many
# people as possible.
# * All of the terminal emulators in use these days allow their users to
# change the 16 so-called "ANSI" colors. It is also possible on some platforms
# to change some or all of the 256 colors in the xterm palette. Don't take
# anything for granted.
# * When used against a light background, strong colors work better than muted
# ones. Light or dark doesn't really matters. Also, it is harder to discriminate
# between two similar colors on a light background.
# * Both strong and muted colors work well against a dark background. It is also
# easier to work with similar colors, but dark colors don't work at all.
# * Use as many text samples as possible. String-heavy languages may look completely
# different than keyword-heavy ones. This can have an impact on the usability
# of your colorscheme.
# * Most terminal emulators and terminal multiplexers currently in use on unix-like
# systems support 256 colors but they almost always default to a '$TERM' that tells
# Vim otherwise. Your users will need to make sure their terminal emulator/multiplexer
# is correctly set up if they want to enjoy the best possible experience.
# Many thanks to Barry Arthur (https://github.com/dahu) for the original idea.
# You don't need to edit anything beyond this line.
-%>
" <%= information[:name] %>.vim -- Vim color scheme.
" Author: <%= information[:author] %> (<%= information[:email] %>)
" Webpage: <%= information[:webpage] %>
" Description: <%= information[:description] %>
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "<%= information[:name] %>"
if ($TERM =~ '256' || &t_Co >= 256) || has("gui_running")
<% for highlight in highlights -%>
<% if highlight.length == 2 -%>
hi link <%= highlight[0] %> <%= highlight[1] %>
<% elsif highlight.length == 4 -%>
hi <%= highlight[0] %> ctermbg=<%= highlight[1].kind_of?(String) ? highlight[1] : highlight[1][1] %> ctermfg=<%= highlight[2].kind_of?(String) ? highlight[2] : highlight[2][1] %> cterm=<%= highlight[3] %> guibg=<%= highlight[1].kind_of?(String) ? highlight[1] : highlight[1][0] %> guifg=<%= highlight[2].kind_of?(String) ? highlight[2] : highlight[2][0] %> gui=<%= highlight[3] %>
<% if highlight[0] == "Normal" -%>
set background=<%= information[:background] %>
<% end -%>
<% else -%>
hi <%= highlight[0] %> ctermbg=<%= highlight[1].kind_of?(String) ? highlight[1] : highlight[1][1] %> ctermfg=<%= highlight[2].kind_of?(String) ? highlight[2] : highlight[2][1] %> cterm=<%= highlight[3] %> guibg=<%= highlight[1].kind_of?(String) ? highlight[1] : highlight[1][0] %> guifg=<%= highlight[2].kind_of?(String) ? highlight[2] : highlight[2][0] %> gui=<%= highlight[3] %> guisp=<%= highlight[4].kind_of?(String) ? highlight[4] : highlight[4][0] %>
<% end -%>
<% end -%>
elseif &t_Co == 8 || $TERM !~# '^linux' || &t_Co == 16
set t_Co=16
<% for highlight in highlights -%>
<% if highlight.length == 2 -%>
hi link <%= highlight[0] %> <%= highlight[1] %>
<% else -%>
hi <%= highlight[0] %> ctermbg=<%= highlight[1].kind_of?(String) ? highlight[1] : highlight[1][2] %> ctermfg=<%= highlight[2].kind_of?(String) ? highlight[2] : highlight[2][2] %> cterm=<%= highlight[3] %>
<% if highlight[0] == "Normal" -%>
set background=<%= information[:background] %>
<% end -%>
<% end -%>
<% end -%>
endif
augroup cursorlinebg
au!
au InsertEnter * hi CursorLine ctermbg=232 ctermfg=NONE cterm=NONE guibg=#384046 guifg=NONE gui=NONE
au InsertLeave * hi CursorLine ctermbg=232 ctermfg=NONE cterm=NONE guibg=#272829 guifg=NONE gui=NONE
augroup END