aboutsummaryrefslogtreecommitdiff
path: root/themes/base16-black-metal-khold.rasi
blob: 08852d413ed498e762537f2277c399b3e3598263 (plain)
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
/**
 * Base16 Black Metal (Khold) ROFI Color theme
 *
 * Authors
 *  Scheme: metalelf0 (https://github.com/metalelf0)
 *  Template: Jordi Pakey-Rodriguez (https://github.com/0xdec), Andrea Scarpino (https://github.com/ilpianista)
 */

* {
    red:                         rgba ( 95, 135, 135, 100 % );
    blue:                        rgba ( 136, 136, 136, 100 % );
    lightfg:                     rgba ( 153, 153, 153, 100 % );
    lightbg:                     rgba ( 18, 18, 18, 100 % );
    foreground:                  rgba ( 193, 193, 193, 100 % );
    background:                  rgba ( 0, 0, 0, 100 % );
    background-color:            rgba ( 0, 0, 0, 0 % );
    separatorcolor:              @foreground;
    border-color:                @foreground;
    selected-normal-foreground:  @lightbg;
    selected-normal-background:  @lightfg;
    selected-active-foreground:  @background;
    selected-active-background:  @blue;
    selected-urgent-foreground:  @background;
    selected-urgent-background:  @red;
    normal-foreground:           @foreground;
    normal-background:           @background;
    active-foreground:           @blue;
    active-background:           @background;
    urgent-foreground:           @red;
    urgent-background:           @background;
    alternate-normal-foreground: @foreground;
    alternate-normal-background: @lightbg;
    alternate-active-foreground: @blue;
    alternate-active-background: @lightbg;
    alternate-urgent-foreground: @red;
    alternate-urgent-background: @lightbg;
    spacing:                     2;
}
window {
    background-color: @background;
    border:           1;
    padding:          5;
}
mainbox {
    border:           0;
    padding:          0;
}
message {
    border:           1px dash 0px 0px ;
    border-color:     @separatorcolor;
    padding:          1px ;
}
textbox {
    text-color:       @foreground;
}
listview {
    fixed-height:     0;
    border:           2px dash 0px 0px ;
    border-color:     @separatorcolor;
    spacing:          2px ;
    scrollbar:        true;
    padding:          2px 0px 0px ;
}
element {
    border:           0;
    padding:          1px ;
}
element normal.normal {
    background-color: @normal-background;
    text-color:       @normal-foreground;
}
element normal.urgent {
    background-color: @urgent-background;
    text-color:       @urgent-foreground;
}
element normal.active {
    background-color: @active-background;
    text-color:       @active-foreground;
}
element selected.normal {
    background-color: @selected-normal-background;
    text-color:       @selected-normal-foreground;
}
element selected.urgent {
    background-color: @selected-urgent-background;
    text-color:       @selected-urgent-foreground;
}
element selected.active {
    background-color: @selected-active-background;
    text-color:       @selected-active-foreground;
}
element alternate.normal {
    background-color: @alternate-normal-background;
    text-color:       @alternate-normal-foreground;
}
element alternate.urgent {
    background-color: @alternate-urgent-background;
    text-color:       @alternate-urgent-foreground;
}
element alternate.active {
    background-color: @alternate-active-background;
    text-color:       @alternate-active-foreground;
}
scrollbar {
    width:            4px ;
    border:           0;
    handle-color:     @normal-foreground;
    handle-width:     8px ;
    padding:          0;
}
sidebar {
    border:           2px dash 0px 0px ;
    border-color:     @separatorcolor;
}
button {
    spacing:          0;
    text-color:       @normal-foreground;
}
button selected {
    background-color: @selected-normal-background;
    text-color:       @selected-normal-foreground;
}
inputbar {
    spacing:          0px;
    text-color:       @normal-foreground;
    padding:          1px ;
    children:         [ prompt,textbox-prompt-colon,entry,case-indicator ];
}
case-indicator {
    spacing:          0;
    text-color:       @normal-foreground;
}
entry {
    spacing:          0;
    text-color:       @normal-foreground;
}
prompt {
    spacing:          0;
    text-color:       @normal-foreground;
}
textbox-prompt-colon {
    expand:           false;
    str:              ":";
    margin:           0px 0.3000em 0.0000em 0.0000em ;
    text-color:       inherit;
}
.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
-- base16-nvim (https://github.com/wincent/base16-nvim)
-- by Greg Hurrell (https://github.com/wincent)
-- based on
-- base16-vim (https://github.com/chriskempson/base16-vim)
-- by Chris Kempson (http://chriskempson.com)
-- Equilibrium Dark scheme by Carlo Abelli

local gui00 = "0c1118"
local gui01 = "181c22"
local gui02 = "22262d"
local gui03 = "7b776e"
local gui04 = "949088"
local gui05 = "afaba2"
local gui06 = "cac6bd"
local gui07 = "e7e2d9"
local gui08 = "f04339"
local gui09 = "df5923"
local gui0A = "bb8801"
local gui0B = "7f8b00"
local gui0C = "00948b"
local gui0D = "008dd1"
local gui0E = "6a7fd2"
local gui0F = "e3488e"

local cterm00 = "00"
local cterm03 = "08"
local cterm05 = "07"
local cterm07 = "15"
local cterm08 = "01"
local cterm0A = "03"
local cterm0B = "02"
local cterm0C = "06"
local cterm0D = "04"
local cterm0E = "05"
local cterm01 = "10"
local cterm02 = "11"
local cterm04 = "12"
local cterm06 = "13"
local cterm09 = "09"
local cterm0F = "14"

vim.cmd [[
  highlight clear
  syntax reset
]]
vim.g.colors_name = "base16-equilibrium-dark"

local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp)
  attr = attr or ""
  guisp = guisp or ""

  local command = ""

  if guifg ~= "" then
    command = command .. " guifg=#" .. guifg
  end
  if guibg ~= "" then
    command = command .. " guibg=#" .. guibg
  end
  if ctermfg ~= "" then
    command = command .. " ctermfg=" .. ctermfg
  end
  if ctermbg ~= "" then
    command = command .. " ctermbg=" .. ctermbg
  end
  if attr ~= "" then
    command = command .. " gui=" .. attr .. " cterm=" .. attr
  end
  if guisp ~= "" then
    command = command .. " guisp=#" .. guisp
  end

  if command ~= "" then
    vim.cmd("highlight " .. group .. command)
  end
end

-- Vim editor colors
highlight("Normal",        gui05, gui00, cterm05, cterm00, "", "")
highlight("Bold",          "", "", "", "", "bold", "")
highlight("Debug",         gui08, "", cterm08, "", "", "")
highlight("Directory",     gui0D, "", cterm0D, "", "", "")
highlight("Error",         gui00, gui08, cterm00, cterm08, "", "")
highlight("ErrorMsg",      gui08, gui00, cterm08, cterm00, "", "")
highlight("Exception",     gui08, "", cterm08, "", "", "")
highlight("FoldColumn",    gui0C, gui01, cterm0C, cterm01, "", "")
highlight("Folded",        gui03, gui01, cterm03, cterm01, "", "")
highlight("IncSearch",     gui01, gui09, cterm01, cterm09, "none", "")
highlight("Italic",        "", "", "", "", "none", "")
highlight("Macro",         gui08, "", cterm08, "", "", "")
highlight("MatchParen",    "", gui03, "", cterm03,  "", "")
highlight("ModeMsg",       gui0B, "", cterm0B, "", "", "")
highlight("MoreMsg",       gui0B, "", cterm0B, "", "", "")
highlight("Question",      gui0D, "", cterm0D, "", "", "")
highlight("Search",        gui01, gui0A, cterm01, cterm0A,  "", "")
highlight("Substitute",    gui01, gui0A, cterm01, cterm0A, "none", "")
highlight("SpecialKey",    gui03, "", cterm03, "", "", "")
highlight("TooLong",       gui08, "", cterm08, "", "", "")
highlight("Underlined",    gui08, "", cterm08, "", "", "")
highlight("Visual",        "", gui02, "", cterm02, "", "")
highlight("VisualNOS",     gui08, "", cterm08, "", "", "")
highlight("WarningMsg",    gui08, "", cterm08, "", "", "")
highlight("WildMenu",      gui08, gui0A, cterm08, "", "", "")
highlight("Title",         gui0D, "", cterm0D, "", "none", "")
highlight("Conceal",       gui0D, gui00, cterm0D, cterm00, "", "")
highlight("Cursor",        gui00, gui05, cterm00, cterm05, "", "")
highlight("NonText",       gui03, "", cterm03, "", "", "")
highlight("LineNr",        gui03, gui01, cterm03, cterm01, "", "")
highlight("SignColumn",    gui03, gui01, cterm03, cterm01, "", "")
highlight("StatusLine",    gui04, gui02, cterm04, cterm02, "none", "")
highlight("StatusLineNC",  gui03, gui01, cterm03, cterm01, "none", "")
highlight("VertSplit",     gui02, gui02, cterm02, cterm02, "none", "")
highlight("ColorColumn",   "", gui01, "", cterm01, "none", "")
highlight("CursorColumn",  "", gui01, "", cterm01, "none", "")
highlight("CursorLine",    "", gui01, "", cterm01, "none", "")
highlight("CursorLineNr",  gui04, gui01, cterm04, cterm01, "", "")
highlight("QuickFixLine",  "", gui01, "", cterm01, "none", "")
highlight("PMenu",         gui05, gui01, cterm05, cterm01, "none", "")
highlight("PMenuSel",      gui01, gui05, cterm01, cterm05, "", "")
highlight("TabLine",       gui03, gui01, cterm03, cterm01, "none", "")
highlight("TabLineFill",   gui03, gui01, cterm03, cterm01, "none", "")
highlight("TabLineSel",    gui0B, gui01, cterm0B, cterm01, "none", "")

-- Standard syntax highlighting
highlight("Boolean",      gui09, "", cterm09, "", "", "")
highlight("Character",    gui08, "", cterm08, "", "", "")
highlight("Comment",      gui03, "", cterm03, "", "", "")
highlight("Conditional",  gui0E, "", cterm0E, "", "", "")
highlight("Constant",     gui09, "", cterm09, "", "", "")
highlight("Define",       gui0E, "", cterm0E, "", "none", "")
highlight("Delimiter",    gui0F, "", cterm0F, "", "", "")
highlight("Float",        gui09, "", cterm09, "", "", "")
highlight("Function",     gui0D, "", cterm0D, "", "", "")
highlight("Identifier",   gui08, "", cterm08, "", "none", "")
highlight("Include",      gui0D, "", cterm0D, "", "", "")
highlight("Keyword",      gui0E, "", cterm0E, "", "", "")
highlight("Label",        gui0A, "", cterm0A, "", "", "")
highlight("Number",       gui09, "", cterm09, "", "", "")
highlight("Operator",     gui05, "", cterm05, "", "none", "")
highlight("PreProc",      gui0A, "", cterm0A, "", "", "")
highlight("Repeat",       gui0A, "", cterm0A, "", "", "")
highlight("Special",      gui0C, "", cterm0C, "", "", "")
highlight("SpecialChar",  gui0F, "", cterm0F, "", "", "")
highlight("Statement",    gui08, "", cterm08, "", "", "")
highlight("StorageClass", gui0A, "", cterm0A, "", "", "")
highlight("String",       gui0B, "", cterm0B, "", "", "")
highlight("Structure",    gui0E, "", cterm0E, "", "", "")
highlight("Tag",          gui0A, "", cterm0A, "", "", "")
highlight("Todo",         gui0A, gui01, cterm0A, cterm01, "", "")
highlight("Type",         gui0A, "", cterm0A, "", "none", "")
highlight("Typedef",      gui0A, "", cterm0A, "", "", "")

-- C highlighting
highlight("cOperator",   gui0C, "", cterm0C, "", "", "")
highlight("cPreCondit",  gui0E, "", cterm0E, "", "", "")

-- C# highlighting
highlight("csClass",                 gui0A, "", cterm0A, "", "", "")
highlight("csAttribute",             gui0A, "", cterm0A, "", "", "")
highlight("csModifier",              gui0E, "", cterm0E, "", "", "")
highlight("csType",                  gui08, "", cterm08, "", "", "")
highlight("csUnspecifiedStatement",  gui0D, "", cterm0D, "", "", "")
highlight("csContextualStatement",   gui0E, "", cterm0E, "", "", "")
highlight("csNewDecleration",        gui08, "", cterm08, "", "", "")

-- CSS highlighting
highlight("cssBraces",      gui05, "", cterm05, "", "", "")
highlight("cssClassName",   gui0E, "", cterm0E, "", "", "")
highlight("cssColor",       gui0C, "", cterm0C, "", "", "")

-- Diff highlighting
highlight("DiffAdd",      gui0B, gui01,  cterm0B, cterm01, "", "")
highlight("DiffChange",   gui03, gui01,  cterm03, cterm01, "", "")
highlight("DiffDelete",   gui08, gui01,  cterm08, cterm01, "", "")
highlight("DiffText",     gui0D, gui01,  cterm0D, cterm01, "", "")
highlight("DiffAdded",    gui0B, gui00,  cterm0B, cterm00, "", "")
highlight("DiffFile",     gui08, gui00,  cterm08, cterm00, "", "")
highlight("DiffNewFile",  gui0B, gui00,  cterm0B, cterm00, "", "")
highlight("DiffLine",     gui0D, gui00,  cterm0D, cterm00, "", "")
highlight("DiffRemoved",  gui08, gui00,  cterm08, cterm00, "", "")

-- Git highlighting
highlight("gitcommitOverflow",       gui08, "", cterm08, "", "", "")
highlight("gitcommitSummary",        gui0B, "", cterm0B, "", "", "")
highlight("gitcommitComment",        gui03, "", cterm03, "", "", "")
highlight("gitcommitUntracked",      gui03, "", cterm03, "", "", "")
highlight("gitcommitDiscarded",      gui03, "", cterm03, "", "", "")
highlight("gitcommitSelected",       gui03, "", cterm03, "", "", "")
highlight("gitcommitHeader",         gui0E, "", cterm0E, "", "", "")
highlight("gitcommitSelectedType",   gui0D, "", cterm0D, "", "", "")
highlight("gitcommitUnmergedType",   gui0D, "", cterm0D, "", "", "")
highlight("gitcommitDiscardedType",  gui0D, "", cterm0D, "", "", "")
highlight("gitcommitBranch",         gui09, "", cterm09, "", "bold", "")
highlight("gitcommitUntrackedFile",  gui0A, "", cterm0A, "", "", "")
highlight("gitcommitUnmergedFile",   gui08, "", cterm08, "", "bold", "")
highlight("gitcommitDiscardedFile",  gui08, "", cterm08, "", "bold", "")
highlight("gitcommitSelectedFile",   gui0B, "", cterm0B, "", "bold", "")

-- GitGutter highlighting
highlight("GitGutterAdd",     gui0B, gui01, cterm0B, cterm01, "", "")
highlight("GitGutterChange",  gui0D, gui01, cterm0D, cterm01, "", "")
highlight("GitGutterDelete",  gui08, gui01, cterm08, cterm01, "", "")
highlight("GitGutterChangeDelete",  gui0E, gui01, cterm0E, cterm01, "", "")

-- HTML highlighting
highlight("htmlBold",    gui0A, "", cterm0A, "", "", "")
highlight("htmlItalic",  gui0E, "", cterm0E, "", "", "")
highlight("htmlEndTag",  gui05, "", cterm05, "", "", "")
highlight("htmlTag",     gui05, "", cterm05, "", "", "")

-- JavaScript highlighting
highlight("javaScript",        gui05, "", cterm05, "", "", "")
highlight("javaScriptBraces",  gui05, "", cterm05, "", "", "")
highlight("javaScriptNumber",  gui09, "", cterm09, "", "", "")

-- pangloss/vim-javascript highlighting
highlight("jsOperator",          gui0D, "", cterm0D, "", "", "")
highlight("jsStatement",         gui0E, "", cterm0E, "", "", "")
highlight("jsReturn",            gui0E, "", cterm0E, "", "", "")
highlight("jsThis",              gui08, "", cterm08, "", "", "")
highlight("jsClassDefinition",   gui0A, "", cterm0A, "", "", "")
highlight("jsFunction",          gui0E, "", cterm0E, "", "", "")
highlight("jsFuncName",          gui0D, "", cterm0D, "", "", "")
highlight("jsFuncCall",          gui0D, "", cterm0D, "", "", "")
highlight("jsClassFuncName",     gui0D, "", cterm0D, "", "", "")
highlight("jsClassMethodType",   gui0E, "", cterm0E, "", "", "")
highlight("jsRegexpString",      gui0C, "", cterm0C, "", "", "")
highlight("jsGlobalObjects",     gui0A, "", cterm0A, "", "", "")
highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "")
highlight("jsExceptions",        gui0A, "", cterm0A, "", "", "")
highlight("jsBuiltins",          gui0A, "", cterm0A, "", "", "")

-- Mail highlighting
highlight("mailQuoted1",  gui0A, "", cterm0A, "", "", "")
highlight("mailQuoted2",  gui0B, "", cterm0B, "", "", "")
highlight("mailQuoted3",  gui0E, "", cterm0E, "", "", "")
highlight("mailQuoted4",  gui0C, "", cterm0C, "", "", "")
highlight("mailQuoted5",  gui0D, "", cterm0D, "", "", "")
highlight("mailQuoted6",  gui0A, "", cterm0A, "", "", "")
highlight("mailURL",      gui0D, "", cterm0D, "", "", "")
highlight("mailEmail",    gui0D, "", cterm0D, "", "", "")

-- Markdown highlighting
highlight("markdownCode",              gui0B, "", cterm0B, "", "", "")
highlight("markdownError",             gui05, gui00, cterm05, cterm00, "", "")
highlight("markdownCodeBlock",         gui0B, "", cterm0B, "", "", "")
highlight("markdownHeadingDelimiter",  gui0D, "", cterm0D, "", "", "")

-- NERDTree highlighting
highlight("NERDTreeDirSlash",  gui0D, "", cterm0D, "", "", "")
highlight("NERDTreeExecFile",  gui05, "", cterm05, "", "", "")

-- PHP highlighting
highlight("phpMemberSelector",  gui05, "", cterm05, "", "", "")
highlight("phpComparison",      gui05, "", cterm05, "", "", "")
highlight("phpParent",          gui05, "", cterm05, "", "", "")
highlight("phpMethodsVar",      gui0C, "", cterm0C, "", "", "")

-- Python highlighting
highlight("pythonOperator",  gui0E, "", cterm0E, "", "", "")
highlight("pythonRepeat",    gui0E, "", cterm0E, "", "", "")
highlight("pythonInclude",   gui0E, "", cterm0E, "", "", "")
highlight("pythonStatement", gui0E, "", cterm0E, "", "", "")

-- Ruby highlighting
highlight("rubyAttribute",               gui0D, "", cterm0D, "", "", "")
highlight("rubyConstant",                gui0A, "", cterm0A, "", "", "")
highlight("rubyInterpolationDelimiter",  gui0F, "", cterm0F, "", "", "")
highlight("rubyRegexp",                  gui0C, "", cterm0C, "", "", "")
highlight("rubySymbol",                  gui0B, "", cterm0B, "", "", "")
highlight("rubyStringDelimiter",         gui0B, "", cterm0B, "", "", "")

-- SASS highlighting
highlight("sassidChar",     gui08, "", cterm08, "", "", "")
highlight("sassClassChar",  gui09, "", cterm09, "", "", "")
highlight("sassInclude",    gui0E, "", cterm0E, "", "", "")
highlight("sassMixing",     gui0E, "", cterm0E, "", "", "")
highlight("sassMixinName",  gui0D, "", cterm0D, "", "", "")

-- Signify highlighting
highlight("SignifySignAdd",     gui0B, gui01, cterm0B, cterm01, "", "")
highlight("SignifySignChange",  gui0D, gui01, cterm0D, cterm01, "", "")
highlight("SignifySignDelete",  gui08, gui01, cterm08, cterm01, "", "")

-- Spelling highlighting
highlight("SpellBad",     "", "", "", "", "undercurl", gui08)
highlight("SpellLocal",   "", "", "", "", "undercurl", gui0C)
highlight("SpellCap",     "", "", "", "", "undercurl", gui0D)
highlight("SpellRare",    "", "", "", "", "undercurl", gui0E)

-- Startify highlighting
highlight("StartifyBracket",  gui03, "", cterm03, "", "", "")
highlight("StartifyFile",     gui07, "", cterm07, "", "", "")
highlight("StartifyFooter",   gui03, "", cterm03, "", "", "")
highlight("StartifyHeader",   gui0B, "", cterm0B, "", "", "")
highlight("StartifyNumber",   gui09, "", cterm09, "", "", "")
highlight("StartifyPath",     gui03, "", cterm03, "", "", "")
highlight("StartifySection",  gui0E, "", cterm0E, "", "", "")
highlight("StartifySelect",   gui0C, "", cterm0C, "", "", "")
highlight("StartifySlash",    gui03, "", cterm03, "", "", "")
highlight("StartifySpecial",  gui03, "", cterm03, "", "", "")

-- Java highlighting
highlight("javaOperator",     gui0D, "", cterm0D, "", "", "")

-- vim: filetype=lua