lualine.nvim/lua/lualine/themes/modus-vivendi.lua
shadmansaleh 32727039a9 |DEPRECATION| enhance(themes): Auto colorscheme detection and more
- `auto` theme now auto loads available theme for colorschme based on
  g:color_name . If that fails then it generates a theme for that
  colorschme like before.
- Theme from external source is preferred over bundled version in
  lualine . This means if user has a colorschme that provided the same
  theme as lualine the one from colorschme will be loaded.
- Default value of theme is changed to `auto` from `gruvbox`.
- Now when users theme from config fails lualine will fallbavk to
  `auto`. If `auto` fails then lualine will fallback to `gruvbox`
- Some themes have been renamed to their actual name (g:color_name).
  older names have been deprecated. [DEPRECATION]
    oceanicnext -> OceanicNext
    papercolor -> PaperColor
    tomorrow -> Tomorrow
    gruvbox_material -> gruvbox-material
    modus_vivendi -> modus-vivendi
- A few more adaptive themes added (aye, gruvbox, iceberg)
- Updated THEMES.md to reflect changes in theme name
2021-08-14 12:35:08 +06:00

49 lines
1.5 KiB
Lua

-- Copyright (c) 2020-2021 ronniedroid
-- MIT license, see LICENSE for more details.
-- 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
return {
normal = {
a = {bg = colors.blue, fg = colors.lightgray, gui = 'bold'},
b = {bg = colors.lightgray, fg = colors.blue},
c = {bg = colors.gray, fg = colors.white}
},
insert = {
a = {bg = colors.cyan, fg = colors.lightgray, gui = 'bold'},
b = {bg = colors.lightgray, fg = colors.cyan},
c = {bg = colors.gray, fg = colors.white}
},
visual = {
a = {bg = colors.magenta, fg = colors.lightgray, gui = 'bold'},
b = {bg = colors.lightgray, fg = colors.magenta},
c = {bg = colors.gray, fg = colors.white}
},
replace = {
a = {bg = colors.red, fg = colors.lightgray, gui = 'bold'},
b = {bg = colors.lightgray, fg = colors.red},
c = {bg = colors.gray, fg = colors.white}
},
command = {
a = {bg = colors.green, fg = colors.lightgray, gui = 'bold'},
b = {bg = colors.lightgray, fg = colors.green},
c = {bg = colors.gray, fg = colors.white}
},
inactive = {
a = {bg = colors.darkgray, fg = colors.lightgray, gui = 'bold'},
b = {bg = colors.darkgray, fg = colors.lightgray},
c = {bg = colors.darkgray, fg = colors.lightgray}
}
}