2021-02-13 00:03:57 +00:00
|
|
|
-- Copyright (c) 2020-2021 shadmansaleh
|
|
|
|
-- MIT license, see LICENSE for more details.
|
2021-01-31 07:27:55 +00:00
|
|
|
-- Credit: itchyny(lightline)
|
|
|
|
local M = {}
|
2021-03-15 23:37:46 +00:00
|
|
|
-- LuaFormatter off
|
2021-01-31 07:27:55 +00:00
|
|
|
local colors = {
|
|
|
|
base03 = '#002b36',
|
|
|
|
base02 = '#073642',
|
|
|
|
base01 = '#586e75',
|
|
|
|
base00 = '#657b83',
|
|
|
|
base0 = '#839496',
|
|
|
|
base1 = '#93a1a1',
|
|
|
|
base2 = '#eee8d5',
|
|
|
|
base3 = '#fdf6e3',
|
|
|
|
yellow = '#b58900',
|
|
|
|
orange = '#cb4b16',
|
|
|
|
red = '#dc322f',
|
|
|
|
magenta = '#d33682',
|
|
|
|
violet = '#6c71c4',
|
|
|
|
blue = '#268bd2',
|
|
|
|
cyan = '#2aa198',
|
|
|
|
green = '#859900',
|
|
|
|
}
|
2021-03-15 23:37:46 +00:00
|
|
|
-- LuaFormatter on
|
2021-01-31 07:27:55 +00:00
|
|
|
|
|
|
|
M.normal = {
|
2021-03-15 23:37:46 +00:00
|
|
|
a = {fg = colors.base03, bg = colors.blue, gui = 'bold'},
|
|
|
|
b = {fg = colors.base03, bg = colors.base1},
|
|
|
|
c = {fg = colors.base1, bg = colors.base02}
|
2021-01-31 07:27:55 +00:00
|
|
|
}
|
|
|
|
|
2021-03-15 23:37:46 +00:00
|
|
|
M.insert = {a = {fg = colors.base03, bg = colors.green, gui = 'bold'}}
|
2021-01-31 07:27:55 +00:00
|
|
|
|
2021-03-15 23:37:46 +00:00
|
|
|
M.visual = {a = {fg = colors.base03, bg = colors.magenta, gui = 'bold'}}
|
2021-01-31 07:27:55 +00:00
|
|
|
|
2021-03-15 23:37:46 +00:00
|
|
|
M.replace = {a = {fg = colors.base03, bg = colors.red, gui = 'bold'}}
|
2021-01-31 07:27:55 +00:00
|
|
|
|
|
|
|
M.inactive = {
|
2021-03-15 23:37:46 +00:00
|
|
|
a = {fg = colors.base0, bg = colors.base02, gui = 'bold'},
|
|
|
|
b = {fg = colors.base03, bg = colors.base00},
|
|
|
|
c = {fg = colors.base01, bg = colors.base02}
|
2021-01-31 07:27:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
return M
|