lualine.nvim/lua/lualine/themes/modus_vivendi.lua
Hubert Pelczarski 82826ef661
refactor: moved loading to new module (#182)
* refactor: moved loading to new module
* refactor: check_single_separator
* refactor: simplified separator fixing
* refactor: tests/ -> lua/tests/
* refactor: moved to nvim_err_writeln for errors

* feat: moved config parsing to config.lua
* feat: get config directly from config module
* feat: added load_all function

* tests: config parsing tests

* added assert to luacheck globals
2021-05-09 23:11:18 +02:00

58 lines
1.6 KiB
Lua

-- Copyright (c) 2020-2021 ronniedroid
-- MIT license, see LICENSE for more details.
local modus_vivendi = {}
-- LuaFormatter off
local colors = {
black = '#000000',
white = '#eeeeee',
red = '#ffa0a0',
green = '#88cf88',
blue = '#92baff',
magenta = '#feacd0',
cyan = '#a0bfdf',
gray = '#2f2f2f',
darkgray = '#202020',
lightgray = '#434343'
}
-- LuaFormatter on
modus_vivendi.normal = {
a = {bg = colors.blue, fg = colors.lightgray, gui = 'bold'},
b = {bg = colors.lightgray, fg = colors.blue},
c = {bg = colors.gray, fg = colors.white}
}
modus_vivendi.insert = {
a = {bg = colors.cyan, fg = colors.lightgray, gui = 'bold'},
b = {bg = colors.lightgray, fg = colors.cyan},
c = {bg = colors.gray, fg = colors.white}
}
modus_vivendi.visual = {
a = {bg = colors.magenta, fg = colors.lightgray, gui = 'bold'},
b = {bg = colors.lightgray, fg = colors.magenta},
c = {bg = colors.gray, fg = colors.white}
}
modus_vivendi.replace = {
a = {bg = colors.red, fg = colors.lightgray, gui = 'bold'},
b = {bg = colors.lightgray, fg = colors.red},
c = {bg = colors.gray, fg = colors.white}
}
modus_vivendi.command = {
a = {bg = colors.green, fg = colors.lightgray, gui = 'bold'},
b = {bg = colors.lightgray, fg = colors.green},
c = {bg = colors.gray, fg = colors.white}
}
modus_vivendi.terminal = modus_vivendi.normal
modus_vivendi.inactive = {
a = {bg = colors.darkgray, fg = colors.lightgray, gui = 'bold'},
b = {bg = colors.darkgray, fg = colors.lightgray},
c = {bg = colors.darkgray, fg = colors.lightgray}
}
return modus_vivendi