32727039a9
- `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
44 lines
1.3 KiB
Lua
44 lines
1.3 KiB
Lua
-- Copyright (c) 2020-2021 shadmansaleh
|
|
-- MIT license, see LICENSE for more details.
|
|
-- Genarated by lightline to lualine theme converter
|
|
-- https://gist.github.com/shadmansaleh/000871c9a608a012721c6acc6d7a19b9
|
|
-- LuaFormatter off
|
|
local colors = {
|
|
color0 = '#ffffff',
|
|
color1 = '#99c794',
|
|
color2 = '#65737e',
|
|
color3 = '#343d46',
|
|
color4 = '#6699cc',
|
|
color5 = '#d8dee9',
|
|
color6 = '#f99157',
|
|
color7 = '#ec5f67',
|
|
}
|
|
-- LuaFormatter on
|
|
return {
|
|
insert = {
|
|
a = {fg = colors.color0, bg = colors.color1, gui = 'bold'},
|
|
b = {fg = colors.color0, bg = colors.color2},
|
|
c = {fg = colors.color0, bg = colors.color3}
|
|
},
|
|
normal = {
|
|
a = {fg = colors.color0, bg = colors.color4, gui = 'bold'},
|
|
b = {fg = colors.color0, bg = colors.color2},
|
|
c = {fg = colors.color0, bg = colors.color3}
|
|
},
|
|
inactive = {
|
|
a = {fg = colors.color5, bg = colors.color2, gui = 'bold'},
|
|
b = {fg = colors.color5, bg = colors.color3},
|
|
c = {fg = colors.color2, bg = colors.color3}
|
|
},
|
|
visual = {
|
|
a = {fg = colors.color0, bg = colors.color6, gui = 'bold'},
|
|
b = {fg = colors.color0, bg = colors.color2},
|
|
c = {fg = colors.color0, bg = colors.color3}
|
|
},
|
|
replace = {
|
|
a = {fg = colors.color0, bg = colors.color7, gui = 'bold'},
|
|
b = {fg = colors.color0, bg = colors.color2},
|
|
c = {fg = colors.color0, bg = colors.color3}
|
|
}
|
|
}
|