Shadman 7460fe5aa2
Added notermguicolor support and special effects (#27)
* 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>
2021-01-08 02:35:09 +01:00

38 lines
861 B
Lua

local nord = {}
local colors = {
nord1 = {"#3B4252", 237},
nord3 = {"#4C566A", 240},
nord5 = {"#E5E9F0", 254},
nord6 = {"#ECEFF4", 255},
nord7 = {"#8FBCBB", 158},
nord8 = {"#88C0D0", 159},
nord13 = {"#EBCB8B", 221},
}
nord.normal = {
a = { fg = colors.nord1, bg = colors.nord8, gui = 'bold', },
b = { fg = colors.nord5, bg = colors.nord1, },
c = { fg = colors.nord5, bg = colors.nord3, }
}
nord.insert = {
a = { fg = colors.nord1, bg = colors.nord6, gui = 'bold', },
}
nord.visual = {
a = { fg = colors.nord1, bg = colors.nord7, gui = 'bold', },
}
nord.replace = {
a = { fg = colors.nord1, bg = colors.nord13, gui = 'bold', },
}
nord.inactive = {
a = { fg = colors.nord1, bg = colors.nord8, gui = 'bold', },
b = { fg = colors.nord5, bg = colors.nord1, },
c = { fg = colors.nord5, bg = colors.nord1, },
}
return nord