2021-02-13 00:03:57 +00:00
|
|
|
-- Copyright (c) 2020-2021 shadmansaleh
|
|
|
|
-- MIT license, see LICENSE for more details.
|
2021-02-04 20:02:53 +00:00
|
|
|
-- Credit: Lokesh Krishna(lightline)
|
|
|
|
local M = {}
|
2021-03-15 23:37:46 +00:00
|
|
|
-- LuaFormatter off
|
2021-02-04 20:02:53 +00:00
|
|
|
local colors = {
|
|
|
|
fg = '#eeffff',
|
|
|
|
bg = '#263238',
|
|
|
|
blue = '#82aaff',
|
|
|
|
green = '#c3e88d',
|
|
|
|
purple = '#c792ea',
|
|
|
|
red1 = '#f07178',
|
|
|
|
red2 = '#ff5370',
|
|
|
|
yellow = '#ffcb6b',
|
|
|
|
gray1 = '#314549',
|
|
|
|
gray2 = '#2E3C43',
|
|
|
|
gray3 = '#515559',
|
|
|
|
}
|
2021-03-15 23:37:46 +00:00
|
|
|
-- LuaFormatter on
|
2021-02-04 20:02:53 +00:00
|
|
|
|
|
|
|
M.normal = {
|
2021-03-15 23:37:46 +00:00
|
|
|
a = {fg = colors.bg, bg = colors.blue, gui = 'bold'},
|
|
|
|
b = {fg = colors.fg, bg = colors.gray3},
|
|
|
|
c = {fg = colors.fg, bg = colors.gray2}
|
2021-02-04 20:02:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
M.insert = {
|
2021-04-25 22:24:29 +00:00
|
|
|
a = {fg = colors.bg, bg = colors.green, gui = 'bold'},
|
2021-03-15 23:37:46 +00:00
|
|
|
b = {fg = colors.fg, bg = colors.gray3}
|
2021-02-04 20:02:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
M.visual = {
|
2021-04-25 22:24:29 +00:00
|
|
|
a = {fg = colors.bg, bg = colors.purple, gui = 'bold'},
|
2021-03-15 23:37:46 +00:00
|
|
|
b = {fg = colors.fg, bg = colors.gray3}
|
2021-02-04 20:02:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
M.replace = {
|
2021-03-15 23:37:46 +00:00
|
|
|
a = {fg = colors.bg, bg = colors.red1, gui = 'bold'},
|
|
|
|
b = {fg = colors.fg, bg = colors.gray3}
|
2021-02-04 20:02:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
M.inactive = {
|
2021-03-15 23:37:46 +00:00
|
|
|
a = {fg = colors.fg, bg = colors.bg, gui = 'bold'},
|
|
|
|
b = {fg = colors.fg, bg = colors.bg},
|
|
|
|
c = {fg = colors.fg, bg = colors.gray2}
|
2021-02-04 20:02:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
return M
|