7460fe5aa2
* Added notermguicolor support and special effects * Added notermgui support * Exposed special parameters for highlight(like bold,italic) to themes with gui like to bold "B" in normal mode do normal.b.gui = 'bold' * Changed CONTRIBUTING.md to reflect current notermguicolor support * Added calculating cterm values from rgb * refactored highlight function * Removed 'bold' default for a element * Updated themes * Adding function genarated cterm values to themes * Updating CONTRIBUTING.md * made colorschemes more compact Co-authored-by: hoob3rt <pelczarskihubert@gmail.com>
52 lines
1.4 KiB
Lua
52 lines
1.4 KiB
Lua
local dracula = {}
|
|
|
|
local colors = {
|
|
grey = {"#44475a", 238},
|
|
light_gray = {"#5f6a8e", 60 },
|
|
orange = {"#ffb86c", 215},
|
|
purple = {"#bd93f9", 141},
|
|
red = {"#ff5555", 203},
|
|
yellow = {"#f1fa8c", 228},
|
|
green = {"#50fa7b", 84 },
|
|
white = {"#f8f8f2", 255},
|
|
black = {"#282a36", 236},
|
|
}
|
|
|
|
dracula.normal = {
|
|
a = { bg = colors.purple, fg = colors.black, gui = 'bold', },
|
|
b = { bg = colors.light_gray, fg = colors.white, },
|
|
c = { bg = colors.grey, fg = colors.white, }
|
|
}
|
|
|
|
dracula.insert = {
|
|
a = { bg = colors.green, fg = colors.black, gui = 'bold', },
|
|
b = { bg = colors.light_gray, fg = colors.white, },
|
|
c = { bg = colors.grey, fg = colors.white, }
|
|
}
|
|
|
|
dracula.visual = {
|
|
a = { bg = colors.yellow, fg = colors.black, gui = 'bold', },
|
|
b = { bg = colors.light_gray, fg = colors.white, },
|
|
c = { bg = colors.grey, fg = colors.white, },
|
|
}
|
|
|
|
dracula.replace = {
|
|
a = { bg = colors.red, fg = colors.black, gui = 'bold', },
|
|
b = { bg = colors.light_gray, fg = colors.white, },
|
|
c = { bg = colors.grey, fg = colors.white, },
|
|
}
|
|
|
|
dracula.command = {
|
|
a = { bg = colors.grey, fg = colors.white, gui = 'bold', },
|
|
b = { bg = colors.light_gray, fg = colors.white, },
|
|
c = { bg = colors.purple, fg = colors.white },
|
|
}
|
|
|
|
dracula.inactive = {
|
|
a = { bg = colors.white, fg = colors.purple, gui = 'bold', },
|
|
b = { bg = colors.grey, fg = colors.purple, },
|
|
c = { bg = colors.purple, fg = colors.purple, },
|
|
}
|
|
|
|
return dracula
|