40 lines
971 B
Lua
40 lines
971 B
Lua
-- Copyright (c) 2020-2021 shadmansaleh
|
|
-- MIT license, see LICENSE for more details.
|
|
-- Credit: Zoltan Dalmadi(lightline)
|
|
local M = {}
|
|
-- LuaFormatter off
|
|
local colors = {
|
|
blue = '#61afef',
|
|
green = '#98c379',
|
|
purple = '#c678dd',
|
|
red1 = '#e06c75',
|
|
red2 = '#be5046',
|
|
yellow = '#e5c07b',
|
|
fg = '#abb2bf',
|
|
bg = '#282c34',
|
|
gray1 = '#5c6370',
|
|
gray2 = '#2c323d',
|
|
gray3 = '#3e4452',
|
|
}
|
|
-- LuaFormatter on
|
|
|
|
M.normal = {
|
|
a = {fg = colors.bg, bg = colors.green, gui = 'bold'},
|
|
b = {fg = colors.fg, bg = colors.gray3},
|
|
c = {fg = colors.fg, bg = colors.gray2}
|
|
}
|
|
|
|
M.insert = {a = {fg = colors.bg, bg = colors.blue, gui = 'bold'}}
|
|
|
|
M.visual = {a = {fg = colors.bg, bg = colors.purple, gui = 'bold'}}
|
|
|
|
M.replace = {a = {fg = colors.bg, bg = colors.red1, gui = 'bold'}}
|
|
|
|
M.inactive = {
|
|
a = {fg = colors.gray1, bg = colors.bg, gui = 'bold'},
|
|
b = {fg = colors.gray1, bg = colors.bg},
|
|
c = {fg = colors.gray1, bg = colors.gray2}
|
|
}
|
|
|
|
return M
|