perf: prevent rehashing in themes for slight performance increase (#244)
This commit is contained in:
parent
292609e3ad
commit
354b76ed1a
|
@ -1,12 +1,5 @@
|
||||||
# Contributing to lualine.nvim
|
# Contributing to lualine.nvim
|
||||||
|
|
||||||
|
|
||||||
### General
|
|
||||||
|
|
||||||
please use lua-format before creating a pr :smile:
|
|
||||||
|
|
||||||
### All contributions are very welcome but themes require a lot of work on my part if not done properly so here's a guide on how to do them.
|
|
||||||
|
|
||||||
### Adding a theme
|
### Adding a theme
|
||||||
|
|
||||||
* refer to example below to see how themes are defined
|
* refer to example below to see how themes are defined
|
||||||
|
@ -30,10 +23,8 @@ But if unspecified then they default to c, b, a sections theme respectively .
|
||||||
|
|
||||||
Adding theme is really easy in lua. Here is and example of a gruvbox theme.
|
Adding theme is really easy in lua. Here is and example of a gruvbox theme.
|
||||||
```lua
|
```lua
|
||||||
local gruvbox = { }
|
|
||||||
|
|
||||||
local colors = {
|
local colors = {
|
||||||
black = "#282828",
|
black = '#282828',
|
||||||
white = '#ebdbb2',
|
white = '#ebdbb2',
|
||||||
red = '#fb4934',
|
red = '#fb4934',
|
||||||
green = '#b8bb26',
|
green = '#b8bb26',
|
||||||
|
@ -44,49 +35,38 @@ local colors = {
|
||||||
lightgray = '#504945',
|
lightgray = '#504945',
|
||||||
inactivegray = '#7c6f64',
|
inactivegray = '#7c6f64',
|
||||||
}
|
}
|
||||||
|
return {
|
||||||
gruvbox.normal = {
|
normal = {
|
||||||
-- gui parameter is optional and behaves the same way as in vim's highlight command
|
a = {bg = colors.gray, fg = colors.black, gui = 'bold'},
|
||||||
a = { bg = colors.gray, fg = colors.black, gui = "bold", },
|
b = {bg = colors.lightgray, fg = colors.white},
|
||||||
b = { bg = colors.lightgray, fg = colors.white, },
|
c = {bg = colors.darkgray, fg = colors.gray}
|
||||||
c = { bg = colors.darkgray, fg = colors.gray }
|
},
|
||||||
|
insert = {
|
||||||
|
a = {bg = colors.blue, fg = colors.black, gui = 'bold'},
|
||||||
|
b = {bg = colors.lightgray, fg = colors.white},
|
||||||
|
c = {bg = colors.lightgray, fg = colors.white}
|
||||||
|
},
|
||||||
|
visual = {
|
||||||
|
a = {bg = colors.yellow, fg = colors.black, gui = 'bold'},
|
||||||
|
b = {bg = colors.lightgray, fg = colors.white},
|
||||||
|
c = {bg = colors.inactivegray, fg = colors.black}
|
||||||
|
},
|
||||||
|
replace = {
|
||||||
|
a = {bg = colors.red, fg = colors.black, gui = 'bold'},
|
||||||
|
b = {bg = colors.lightgray, fg = colors.white},
|
||||||
|
c = {bg = colors.black, fg = colors.white}
|
||||||
|
},
|
||||||
|
command = {
|
||||||
|
a = {bg = colors.green, fg = colors.black, gui = 'bold'},
|
||||||
|
b = {bg = colors.lightgray, fg = colors.white},
|
||||||
|
c = {bg = colors.inactivegray, fg = colors.black}
|
||||||
|
},
|
||||||
|
inactive = {
|
||||||
|
a = {bg = colors.darkgray, fg = colors.gray, gui = 'bold'},
|
||||||
|
b = {bg = colors.darkgray, fg = colors.gray},
|
||||||
|
c = {bg = colors.darkgray, fg = colors.gray}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
gruvbox.insert = {
|
|
||||||
a = { bg = colors.blue, fg = colors.black, gui = "bold", },
|
|
||||||
b = { bg = colors.lightgray, fg = colors.white, },
|
|
||||||
c = { bg = colors.lightgray, fg = colors.white }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
gruvbox.visual = {
|
|
||||||
a = { bg = colors.yellow, fg = colors.black, gui = "bold", },
|
|
||||||
b = { bg = colors.lightgray, fg = colors.white, },
|
|
||||||
c = { bg = colors.inactivegray, fg = colors.black },
|
|
||||||
}
|
|
||||||
|
|
||||||
gruvbox.replace = {
|
|
||||||
a = { bg = colors.red, fg = colors.black, gui = "bold", },
|
|
||||||
b = { bg = colors.lightgray, fg = colors.white, },
|
|
||||||
c = { bg = colors.black, fg = colors.white },
|
|
||||||
}
|
|
||||||
|
|
||||||
gruvbox.command = {
|
|
||||||
a = { bg = colors.green, fg = colors.black, gui = "bold", },
|
|
||||||
b = { bg = colors.lightgray, fg = colors.white, },
|
|
||||||
c = { bg = colors.inactivegray, fg = colors.black },
|
|
||||||
}
|
|
||||||
|
|
||||||
-- you can assign one colorscheme to another, if a colorscheme is
|
|
||||||
-- undefined it falls back to normal
|
|
||||||
gruvbox.terminal = gruvbox.normal
|
|
||||||
|
|
||||||
gruvbox.inactive = {
|
|
||||||
a = { bg = colors.darkgray, fg = colors.gray, gui = "bold", },
|
|
||||||
b = { bg = colors.darkgray, fg = colors.gray, },
|
|
||||||
c = { bg = colors.darkgray, fg = colors.gray },
|
|
||||||
}
|
|
||||||
|
|
||||||
require('lualine').setup {options = {theme = gruvbox}}
|
require('lualine').setup {options = {theme = gruvbox}}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
-- Copyright (c) 2020-2021 shadmansaleh
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
-- MIT license, see LICENSE for more details.
|
-- MIT license, see LICENSE for more details.
|
||||||
-- Credit itchyny, jackno (lightline)
|
-- Credit itchyny, jackno (lightline)
|
||||||
local M = {}
|
|
||||||
-- LuaFormatter off
|
-- LuaFormatter off
|
||||||
local colors = {
|
local colors = {
|
||||||
black = '#000000',
|
black = '#000000',
|
||||||
|
@ -22,23 +21,18 @@ local colors = {
|
||||||
white = '#ffffff',
|
white = '#ffffff',
|
||||||
}
|
}
|
||||||
-- LuaFormatter on
|
-- LuaFormatter on
|
||||||
|
return {
|
||||||
M.normal = {
|
normal = {
|
||||||
a = {fg = colors.white, bg = colors.blue, gui = 'bold'},
|
a = {fg = colors.white, bg = colors.blue, gui = 'bold'},
|
||||||
b = {fg = colors.white, bg = colors.gray},
|
b = {fg = colors.white, bg = colors.gray},
|
||||||
c = {fg = colors.silver, bg = colors.black}
|
c = {fg = colors.silver, bg = colors.black}
|
||||||
}
|
},
|
||||||
|
insert = {a = {fg = colors.white, bg = colors.green, gui = 'bold'}},
|
||||||
M.insert = {a = {fg = colors.white, bg = colors.green, gui = 'bold'}}
|
visual = {a = {fg = colors.white, bg = colors.purple, gui = 'bold'}},
|
||||||
|
replace = {a = {fg = colors.white, bg = colors.red, gui = 'bold'}},
|
||||||
M.visual = {a = {fg = colors.white, bg = colors.purple, gui = 'bold'}}
|
inactive = {
|
||||||
|
|
||||||
M.replace = {a = {fg = colors.white, bg = colors.red, gui = 'bold'}}
|
|
||||||
|
|
||||||
M.inactive = {
|
|
||||||
a = {fg = colors.silver, bg = colors.gray, gui = 'bold'},
|
a = {fg = colors.silver, bg = colors.gray, gui = 'bold'},
|
||||||
b = {fg = colors.gray, bg = colors.black},
|
b = {fg = colors.gray, bg = colors.black},
|
||||||
c = {fg = colors.silver, bg = colors.black}
|
c = {fg = colors.silver, bg = colors.black}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return M
|
|
||||||
|
|
|
@ -14,8 +14,7 @@ local colors = {
|
||||||
color9 = '#3e4b59',
|
color9 = '#3e4b59',
|
||||||
}
|
}
|
||||||
-- LuaFormatter on
|
-- LuaFormatter on
|
||||||
|
return {
|
||||||
local ayu_dark = {
|
|
||||||
visual = {
|
visual = {
|
||||||
a = {fg = colors.color2, bg = colors.color3, gui = 'bold'},
|
a = {fg = colors.color2, bg = colors.color3, gui = 'bold'},
|
||||||
b = {fg = colors.color4, bg = colors.color5}
|
b = {fg = colors.color4, bg = colors.color5}
|
||||||
|
@ -39,5 +38,3 @@ local ayu_dark = {
|
||||||
b = {fg = colors.color4, bg = colors.color5}
|
b = {fg = colors.color4, bg = colors.color5}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return ayu_dark
|
|
||||||
|
|
|
@ -14,8 +14,7 @@ local colors = {
|
||||||
color9 = '#828C99',
|
color9 = '#828C99',
|
||||||
}
|
}
|
||||||
-- LuaFormatter on
|
-- LuaFormatter on
|
||||||
|
return {
|
||||||
local ayu_light = {
|
|
||||||
visual = {
|
visual = {
|
||||||
a = {fg = colors.color2, bg = colors.color3, gui = 'bold'},
|
a = {fg = colors.color2, bg = colors.color3, gui = 'bold'},
|
||||||
b = {fg = colors.color4, bg = colors.color5}
|
b = {fg = colors.color4, bg = colors.color5}
|
||||||
|
@ -39,5 +38,3 @@ local ayu_light = {
|
||||||
b = {fg = colors.color4, bg = colors.color5}
|
b = {fg = colors.color4, bg = colors.color5}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return ayu_light
|
|
||||||
|
|
|
@ -14,8 +14,7 @@ local colors = {
|
||||||
color9 = '#607080',
|
color9 = '#607080',
|
||||||
}
|
}
|
||||||
-- LuaFormatter on
|
-- LuaFormatter on
|
||||||
|
return {
|
||||||
local ayu_mirage = {
|
|
||||||
visual = {
|
visual = {
|
||||||
a = {fg = colors.color2, bg = colors.color3, gui = 'bold'},
|
a = {fg = colors.color2, bg = colors.color3, gui = 'bold'},
|
||||||
b = {fg = colors.color4, bg = colors.color5}
|
b = {fg = colors.color4, bg = colors.color5}
|
||||||
|
@ -39,5 +38,3 @@ local ayu_mirage = {
|
||||||
b = {fg = colors.color4, bg = colors.color5}
|
b = {fg = colors.color4, bg = colors.color5}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return ayu_mirage
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
-- Copyright (c) 2020-2021 Shatur95
|
-- Copyright (c) 2020-2021 Shatur95
|
||||||
-- MIT license, see LICENSE for more details.
|
-- MIT license, see LICENSE for more details.
|
||||||
local codedark = {}
|
|
||||||
-- LuaFormatter off
|
-- LuaFormatter off
|
||||||
local colors = {
|
local colors = {
|
||||||
gray = '#3C3C3C',
|
gray = '#3C3C3C',
|
||||||
|
@ -12,33 +11,28 @@ local colors = {
|
||||||
green = '#608B4E',
|
green = '#608B4E',
|
||||||
}
|
}
|
||||||
-- LuaFormatter on
|
-- LuaFormatter on
|
||||||
|
return {
|
||||||
codedark.normal = {
|
normal = {
|
||||||
b = {fg = colors.green, bg = colors.black},
|
b = {fg = colors.green, bg = colors.black},
|
||||||
a = {fg = colors.black, bg = colors.green, gui = 'bold'},
|
a = {fg = colors.black, bg = colors.green, gui = 'bold'},
|
||||||
c = {fg = colors.white, bg = colors.black}
|
c = {fg = colors.white, bg = colors.black}
|
||||||
}
|
},
|
||||||
|
visual = {
|
||||||
codedark.visual = {
|
|
||||||
b = {fg = colors.pink, bg = colors.black},
|
b = {fg = colors.pink, bg = colors.black},
|
||||||
a = {fg = colors.black, bg = colors.pink, gui = 'bold'}
|
a = {fg = colors.black, bg = colors.pink, gui = 'bold'}
|
||||||
}
|
},
|
||||||
|
inactive = {
|
||||||
codedark.inactive = {
|
|
||||||
b = {fg = colors.black, bg = colors.blue},
|
b = {fg = colors.black, bg = colors.blue},
|
||||||
a = {fg = colors.white, bg = colors.gray, gui = 'bold'}
|
a = {fg = colors.white, bg = colors.gray, gui = 'bold'}
|
||||||
}
|
},
|
||||||
|
replace = {
|
||||||
codedark.replace = {
|
|
||||||
b = {fg = colors.lightred, bg = colors.black},
|
b = {fg = colors.lightred, bg = colors.black},
|
||||||
a = {fg = colors.black, bg = colors.lightred, gui = 'bold'},
|
a = {fg = colors.black, bg = colors.lightred, gui = 'bold'},
|
||||||
c = {fg = colors.white, bg = colors.black}
|
c = {fg = colors.white, bg = colors.black}
|
||||||
}
|
},
|
||||||
|
insert = {
|
||||||
codedark.insert = {
|
|
||||||
b = {fg = colors.blue, bg = colors.black},
|
b = {fg = colors.blue, bg = colors.black},
|
||||||
a = {fg = colors.black, bg = colors.blue, gui = 'bold'},
|
a = {fg = colors.black, bg = colors.blue, gui = 'bold'},
|
||||||
c = {fg = colors.white, bg = colors.black}
|
c = {fg = colors.white, bg = colors.black}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return codedark
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
-- Copyright (c) 2020-2021 shadmansaleh
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
-- MIT license, see LICENSE for more details.
|
-- MIT license, see LICENSE for more details.
|
||||||
-- Credit itchyny, jackno (lightline)
|
-- Credit itchyny, jackno (lightline)
|
||||||
local dracula = {}
|
|
||||||
-- LuaFormatter off
|
-- LuaFormatter off
|
||||||
local colors = {
|
local colors = {
|
||||||
gray = '#44475a',
|
gray = '#44475a',
|
||||||
|
@ -15,41 +14,35 @@ local colors = {
|
||||||
black = '#282a36',
|
black = '#282a36',
|
||||||
}
|
}
|
||||||
-- LuaFormatter on
|
-- LuaFormatter on
|
||||||
|
return {
|
||||||
dracula.normal = {
|
normal = {
|
||||||
a = {bg = colors.purple, fg = colors.black, gui = 'bold'},
|
a = {bg = colors.purple, fg = colors.black, gui = 'bold'},
|
||||||
b = {bg = colors.lightgray, fg = colors.white},
|
b = {bg = colors.lightgray, fg = colors.white},
|
||||||
c = {bg = colors.gray, fg = colors.white}
|
c = {bg = colors.gray, fg = colors.white}
|
||||||
}
|
},
|
||||||
|
insert = {
|
||||||
dracula.insert = {
|
|
||||||
a = {bg = colors.green, fg = colors.black, gui = 'bold'},
|
a = {bg = colors.green, fg = colors.black, gui = 'bold'},
|
||||||
b = {bg = colors.lightgray, fg = colors.white},
|
b = {bg = colors.lightgray, fg = colors.white},
|
||||||
c = {bg = colors.gray, fg = colors.white}
|
c = {bg = colors.gray, fg = colors.white}
|
||||||
}
|
},
|
||||||
|
visual = {
|
||||||
dracula.visual = {
|
|
||||||
a = {bg = colors.yellow, fg = colors.black, gui = 'bold'},
|
a = {bg = colors.yellow, fg = colors.black, gui = 'bold'},
|
||||||
b = {bg = colors.lightgray, fg = colors.white},
|
b = {bg = colors.lightgray, fg = colors.white},
|
||||||
c = {bg = colors.gray, fg = colors.white}
|
c = {bg = colors.gray, fg = colors.white}
|
||||||
}
|
},
|
||||||
|
replace = {
|
||||||
dracula.replace = {
|
|
||||||
a = {bg = colors.red, fg = colors.black, gui = 'bold'},
|
a = {bg = colors.red, fg = colors.black, gui = 'bold'},
|
||||||
b = {bg = colors.lightgray, fg = colors.white},
|
b = {bg = colors.lightgray, fg = colors.white},
|
||||||
c = {bg = colors.gray, fg = colors.white}
|
c = {bg = colors.gray, fg = colors.white}
|
||||||
}
|
},
|
||||||
|
command = {
|
||||||
dracula.command = {
|
|
||||||
a = {bg = colors.orange, fg = colors.black, gui = 'bold'},
|
a = {bg = colors.orange, fg = colors.black, gui = 'bold'},
|
||||||
b = {bg = colors.lightgray, fg = colors.white},
|
b = {bg = colors.lightgray, fg = colors.white},
|
||||||
c = {bg = colors.gray, fg = colors.white}
|
c = {bg = colors.gray, fg = colors.white}
|
||||||
}
|
},
|
||||||
|
inactive = {
|
||||||
dracula.inactive = {
|
|
||||||
a = {bg = colors.gray, fg = colors.white, gui = 'bold'},
|
a = {bg = colors.gray, fg = colors.white, gui = 'bold'},
|
||||||
b = {bg = colors.lightgray, fg = colors.white},
|
b = {bg = colors.lightgray, fg = colors.white},
|
||||||
c = {bg = colors.gray, fg = colors.white}
|
c = {bg = colors.gray, fg = colors.white}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return dracula
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
-- Copyright (c) 2020-2021 gnuyent
|
-- Copyright (c) 2020-2021 gnuyent
|
||||||
-- MIT license, see LICENSE for more details.
|
-- MIT license, see LICENSE for more details.
|
||||||
local everforest = {}
|
|
||||||
-- LuaFormatter off
|
-- LuaFormatter off
|
||||||
local colors = {
|
local colors = {
|
||||||
bg0 = '#323d43',
|
bg0 = '#323d43',
|
||||||
|
@ -15,47 +14,40 @@ local colors = {
|
||||||
grey1 = '#868d80',
|
grey1 = '#868d80',
|
||||||
}
|
}
|
||||||
-- LuaFormatter on
|
-- LuaFormatter on
|
||||||
|
return {
|
||||||
everforest.normal = {
|
normal = {
|
||||||
a = {bg = colors.green, fg = colors.bg0, gui = 'bold'},
|
a = {bg = colors.green, fg = colors.bg0, gui = 'bold'},
|
||||||
b = {bg = colors.bg3, fg = colors.fg},
|
b = {bg = colors.bg3, fg = colors.fg},
|
||||||
c = {bg = colors.bg1, fg = colors.fg}
|
c = {bg = colors.bg1, fg = colors.fg}
|
||||||
}
|
},
|
||||||
|
insert = {
|
||||||
everforest.insert = {
|
|
||||||
a = {bg = colors.fg, fg = colors.bg0, gui = 'bold'},
|
a = {bg = colors.fg, fg = colors.bg0, gui = 'bold'},
|
||||||
b = {bg = colors.bg3, fg = colors.fg},
|
b = {bg = colors.bg3, fg = colors.fg},
|
||||||
c = {bg = colors.bg1, fg = colors.fg}
|
c = {bg = colors.bg1, fg = colors.fg}
|
||||||
}
|
},
|
||||||
|
visual = {
|
||||||
everforest.visual = {
|
|
||||||
a = {bg = colors.red, fg = colors.bg0, gui = 'bold'},
|
a = {bg = colors.red, fg = colors.bg0, gui = 'bold'},
|
||||||
b = {bg = colors.bg3, fg = colors.fg},
|
b = {bg = colors.bg3, fg = colors.fg},
|
||||||
c = {bg = colors.bg1, fg = colors.fg}
|
c = {bg = colors.bg1, fg = colors.fg}
|
||||||
}
|
},
|
||||||
|
replace = {
|
||||||
everforest.replace = {
|
|
||||||
a = {bg = colors.orange, fg = colors.bg0, gui = 'bold'},
|
a = {bg = colors.orange, fg = colors.bg0, gui = 'bold'},
|
||||||
b = {bg = colors.bg3, fg = colors.fg},
|
b = {bg = colors.bg3, fg = colors.fg},
|
||||||
c = {bg = colors.bg1, fg = colors.fg}
|
c = {bg = colors.bg1, fg = colors.fg}
|
||||||
}
|
},
|
||||||
|
command = {
|
||||||
everforest.command = {
|
|
||||||
a = {bg = colors.aqua, fg = colors.bg0, gui = 'bold'},
|
a = {bg = colors.aqua, fg = colors.bg0, gui = 'bold'},
|
||||||
b = {bg = colors.bg3, fg = colors.fg},
|
b = {bg = colors.bg3, fg = colors.fg},
|
||||||
c = {bg = colors.bg1, fg = colors.fg}
|
c = {bg = colors.bg1, fg = colors.fg}
|
||||||
}
|
},
|
||||||
|
terminal = {
|
||||||
everforest.terminal = {
|
|
||||||
a = {bg = colors.purple, fg = colors.bg0, gui = 'bold'},
|
a = {bg = colors.purple, fg = colors.bg0, gui = 'bold'},
|
||||||
b = {bg = colors.bg3, fg = colors.fg},
|
b = {bg = colors.bg3, fg = colors.fg},
|
||||||
c = {bg = colors.bg1, fg = colors.fg}
|
c = {bg = colors.bg1, fg = colors.fg}
|
||||||
}
|
},
|
||||||
|
inactive = {
|
||||||
everforest.inactive = {
|
|
||||||
a = {bg = colors.bg1, fg = colors.grey1, gui = 'bold'},
|
a = {bg = colors.bg1, fg = colors.grey1, gui = 'bold'},
|
||||||
b = {bg = colors.bg1, fg = colors.grey1},
|
b = {bg = colors.bg1, fg = colors.grey1},
|
||||||
c = {bg = colors.bg1, fg = colors.grey1}
|
c = {bg = colors.bg1, fg = colors.grey1}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return everforest
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
-- Copyright (c) 2020-2021 hoob3rt
|
-- Copyright (c) 2020-2021 hoob3rt
|
||||||
-- MIT license, see LICENSE for more details.
|
-- MIT license, see LICENSE for more details.
|
||||||
local gruvbox = {}
|
|
||||||
-- LuaFormatter off
|
-- LuaFormatter off
|
||||||
local colors = {
|
local colors = {
|
||||||
black = '#282828',
|
black = '#282828',
|
||||||
|
@ -15,41 +14,35 @@ local colors = {
|
||||||
inactivegray = '#7c6f64',
|
inactivegray = '#7c6f64',
|
||||||
}
|
}
|
||||||
-- LuaFormatter on
|
-- LuaFormatter on
|
||||||
|
return {
|
||||||
gruvbox.normal = {
|
normal = {
|
||||||
a = {bg = colors.gray, fg = colors.black, gui = 'bold'},
|
a = {bg = colors.gray, fg = colors.black, gui = 'bold'},
|
||||||
b = {bg = colors.lightgray, fg = colors.white},
|
b = {bg = colors.lightgray, fg = colors.white},
|
||||||
c = {bg = colors.darkgray, fg = colors.gray}
|
c = {bg = colors.darkgray, fg = colors.gray}
|
||||||
}
|
},
|
||||||
|
insert = {
|
||||||
gruvbox.insert = {
|
|
||||||
a = {bg = colors.blue, fg = colors.black, gui = 'bold'},
|
a = {bg = colors.blue, fg = colors.black, gui = 'bold'},
|
||||||
b = {bg = colors.lightgray, fg = colors.white},
|
b = {bg = colors.lightgray, fg = colors.white},
|
||||||
c = {bg = colors.lightgray, fg = colors.white}
|
c = {bg = colors.lightgray, fg = colors.white}
|
||||||
}
|
},
|
||||||
|
visual = {
|
||||||
gruvbox.visual = {
|
|
||||||
a = {bg = colors.yellow, fg = colors.black, gui = 'bold'},
|
a = {bg = colors.yellow, fg = colors.black, gui = 'bold'},
|
||||||
b = {bg = colors.lightgray, fg = colors.white},
|
b = {bg = colors.lightgray, fg = colors.white},
|
||||||
c = {bg = colors.inactivegray, fg = colors.black}
|
c = {bg = colors.inactivegray, fg = colors.black}
|
||||||
}
|
},
|
||||||
|
replace = {
|
||||||
gruvbox.replace = {
|
|
||||||
a = {bg = colors.red, fg = colors.black, gui = 'bold'},
|
a = {bg = colors.red, fg = colors.black, gui = 'bold'},
|
||||||
b = {bg = colors.lightgray, fg = colors.white},
|
b = {bg = colors.lightgray, fg = colors.white},
|
||||||
c = {bg = colors.black, fg = colors.white}
|
c = {bg = colors.black, fg = colors.white}
|
||||||
}
|
},
|
||||||
|
command = {
|
||||||
gruvbox.command = {
|
|
||||||
a = {bg = colors.green, fg = colors.black, gui = 'bold'},
|
a = {bg = colors.green, fg = colors.black, gui = 'bold'},
|
||||||
b = {bg = colors.lightgray, fg = colors.white},
|
b = {bg = colors.lightgray, fg = colors.white},
|
||||||
c = {bg = colors.inactivegray, fg = colors.black}
|
c = {bg = colors.inactivegray, fg = colors.black}
|
||||||
}
|
},
|
||||||
|
inactive = {
|
||||||
gruvbox.inactive = {
|
|
||||||
a = {bg = colors.darkgray, fg = colors.gray, gui = 'bold'},
|
a = {bg = colors.darkgray, fg = colors.gray, gui = 'bold'},
|
||||||
b = {bg = colors.darkgray, fg = colors.gray},
|
b = {bg = colors.darkgray, fg = colors.gray},
|
||||||
c = {bg = colors.darkgray, fg = colors.gray}
|
c = {bg = colors.darkgray, fg = colors.gray}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return gruvbox
|
|
||||||
|
|
|
@ -14,8 +14,7 @@ local colors = {
|
||||||
color9 = '#ea6962',
|
color9 = '#ea6962',
|
||||||
}
|
}
|
||||||
-- LuaFormatter on
|
-- LuaFormatter on
|
||||||
|
return {
|
||||||
local M = {
|
|
||||||
normal = {
|
normal = {
|
||||||
a = {fg = colors.fg1, bg = colors.color4, gui = 'bold'},
|
a = {fg = colors.fg1, bg = colors.color4, gui = 'bold'},
|
||||||
b = {fg = colors.fg2, bg = colors.color2},
|
b = {fg = colors.fg2, bg = colors.color2},
|
||||||
|
@ -28,4 +27,3 @@ local M = {
|
||||||
terminal = {a = {fg = colors.fg1, bg = colors.color8, gui = 'bold'}},
|
terminal = {a = {fg = colors.fg1, bg = colors.color8, gui = 'bold'}},
|
||||||
visual = {a = {fg = colors.fg1, bg = colors.color9, gui = 'bold'}}
|
visual = {a = {fg = colors.fg1, bg = colors.color9, gui = 'bold'}}
|
||||||
}
|
}
|
||||||
return M
|
|
||||||
|
|
|
@ -16,8 +16,7 @@ local colors = {
|
||||||
color15 = '#84a0c6',
|
color15 = '#84a0c6',
|
||||||
}
|
}
|
||||||
-- LuaFormatter on
|
-- LuaFormatter on
|
||||||
|
return {
|
||||||
local iceberg = {
|
|
||||||
visual = {
|
visual = {
|
||||||
a = {fg = colors.color2, bg = colors.color3, gui = 'bold'},
|
a = {fg = colors.color2, bg = colors.color3, gui = 'bold'},
|
||||||
b = {fg = colors.color4, bg = colors.color5}
|
b = {fg = colors.color4, bg = colors.color5}
|
||||||
|
@ -41,5 +40,3 @@ local iceberg = {
|
||||||
b = {fg = colors.color4, bg = colors.color5}
|
b = {fg = colors.color4, bg = colors.color5}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return iceberg
|
|
||||||
|
|
|
@ -14,8 +14,7 @@ local colors = {
|
||||||
color2 = '#c57339',
|
color2 = '#c57339',
|
||||||
}
|
}
|
||||||
-- LuaFormatter on
|
-- LuaFormatter on
|
||||||
|
return {
|
||||||
local iceberg = {
|
|
||||||
replace = {
|
replace = {
|
||||||
b = {fg = colors.color0, bg = colors.color1},
|
b = {fg = colors.color0, bg = colors.color1},
|
||||||
a = {fg = colors.color0, bg = colors.color2, gui = 'bold'}
|
a = {fg = colors.color0, bg = colors.color2, gui = 'bold'}
|
||||||
|
@ -39,5 +38,3 @@ local iceberg = {
|
||||||
a = {fg = colors.color0, bg = colors.color11, gui = 'bold'}
|
a = {fg = colors.color0, bg = colors.color11, gui = 'bold'}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return iceberg
|
|
||||||
|
|
|
@ -15,8 +15,7 @@ local colors = {
|
||||||
color14 = '#99ad6a',
|
color14 = '#99ad6a',
|
||||||
}
|
}
|
||||||
-- LuaFormatter on
|
-- LuaFormatter on
|
||||||
|
return {
|
||||||
local jellybeans = {
|
|
||||||
visual = {
|
visual = {
|
||||||
a = {fg = colors.color2, bg = colors.color3, gui = 'bold'},
|
a = {fg = colors.color2, bg = colors.color3, gui = 'bold'},
|
||||||
b = {fg = colors.color4, bg = colors.color5}
|
b = {fg = colors.color4, bg = colors.color5}
|
||||||
|
@ -40,5 +39,3 @@ local jellybeans = {
|
||||||
b = {fg = colors.color4, bg = colors.color5}
|
b = {fg = colors.color4, bg = colors.color5}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return jellybeans
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
-- Copyright (c) 2020-2021 shadmansaleh
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
-- MIT license, see LICENSE for more details.
|
-- MIT license, see LICENSE for more details.
|
||||||
-- Credit: Lokesh Krishna(lightline)
|
-- Credit: Lokesh Krishna(lightline)
|
||||||
local M = {}
|
|
||||||
-- LuaFormatter off
|
-- LuaFormatter off
|
||||||
local colors = {
|
local colors = {
|
||||||
fg = '#eeffff',
|
fg = '#eeffff',
|
||||||
|
@ -17,32 +16,27 @@ local colors = {
|
||||||
gray3 = '#515559',
|
gray3 = '#515559',
|
||||||
}
|
}
|
||||||
-- LuaFormatter on
|
-- LuaFormatter on
|
||||||
|
return {
|
||||||
M.normal = {
|
normal = {
|
||||||
a = {fg = colors.bg, bg = colors.blue, gui = 'bold'},
|
a = {fg = colors.bg, bg = colors.blue, gui = 'bold'},
|
||||||
b = {fg = colors.fg, bg = colors.gray3},
|
b = {fg = colors.fg, bg = colors.gray3},
|
||||||
c = {fg = colors.fg, bg = colors.gray2}
|
c = {fg = colors.fg, bg = colors.gray2}
|
||||||
}
|
},
|
||||||
|
insert = {
|
||||||
M.insert = {
|
|
||||||
a = {fg = colors.bg, bg = colors.green, gui = 'bold'},
|
a = {fg = colors.bg, bg = colors.green, gui = 'bold'},
|
||||||
b = {fg = colors.fg, bg = colors.gray3}
|
b = {fg = colors.fg, bg = colors.gray3}
|
||||||
}
|
},
|
||||||
|
visual = {
|
||||||
M.visual = {
|
|
||||||
a = {fg = colors.bg, bg = colors.purple, gui = 'bold'},
|
a = {fg = colors.bg, bg = colors.purple, gui = 'bold'},
|
||||||
b = {fg = colors.fg, bg = colors.gray3}
|
b = {fg = colors.fg, bg = colors.gray3}
|
||||||
}
|
},
|
||||||
|
replace = {
|
||||||
M.replace = {
|
|
||||||
a = {fg = colors.bg, bg = colors.red1, gui = 'bold'},
|
a = {fg = colors.bg, bg = colors.red1, gui = 'bold'},
|
||||||
b = {fg = colors.fg, bg = colors.gray3}
|
b = {fg = colors.fg, bg = colors.gray3}
|
||||||
}
|
},
|
||||||
|
inactive = {
|
||||||
M.inactive = {
|
|
||||||
a = {fg = colors.fg, bg = colors.bg, gui = 'bold'},
|
a = {fg = colors.fg, bg = colors.bg, gui = 'bold'},
|
||||||
b = {fg = colors.fg, bg = colors.bg},
|
b = {fg = colors.fg, bg = colors.bg},
|
||||||
c = {fg = colors.fg, bg = colors.gray2}
|
c = {fg = colors.fg, bg = colors.gray2}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return M
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
-- Copyright (c) 2020-2021 ronniedroid
|
-- Copyright (c) 2020-2021 ronniedroid
|
||||||
-- MIT license, see LICENSE for more details.
|
-- MIT license, see LICENSE for more details.
|
||||||
local modus_vivendi = {}
|
|
||||||
-- LuaFormatter off
|
-- LuaFormatter off
|
||||||
local colors = {
|
local colors = {
|
||||||
black = '#000000',
|
black = '#000000',
|
||||||
|
@ -15,43 +14,35 @@ local colors = {
|
||||||
lightgray = '#434343'
|
lightgray = '#434343'
|
||||||
}
|
}
|
||||||
-- LuaFormatter on
|
-- LuaFormatter on
|
||||||
|
return {
|
||||||
modus_vivendi.normal = {
|
normal = {
|
||||||
a = {bg = colors.blue, fg = colors.lightgray, gui = 'bold'},
|
a = {bg = colors.blue, fg = colors.lightgray, gui = 'bold'},
|
||||||
b = {bg = colors.lightgray, fg = colors.blue},
|
b = {bg = colors.lightgray, fg = colors.blue},
|
||||||
c = {bg = colors.gray, fg = colors.white}
|
c = {bg = colors.gray, fg = colors.white}
|
||||||
}
|
},
|
||||||
|
insert = {
|
||||||
modus_vivendi.insert = {
|
|
||||||
a = {bg = colors.cyan, fg = colors.lightgray, gui = 'bold'},
|
a = {bg = colors.cyan, fg = colors.lightgray, gui = 'bold'},
|
||||||
b = {bg = colors.lightgray, fg = colors.cyan},
|
b = {bg = colors.lightgray, fg = colors.cyan},
|
||||||
c = {bg = colors.gray, fg = colors.white}
|
c = {bg = colors.gray, fg = colors.white}
|
||||||
}
|
},
|
||||||
|
visual = {
|
||||||
modus_vivendi.visual = {
|
|
||||||
a = {bg = colors.magenta, fg = colors.lightgray, gui = 'bold'},
|
a = {bg = colors.magenta, fg = colors.lightgray, gui = 'bold'},
|
||||||
b = {bg = colors.lightgray, fg = colors.magenta},
|
b = {bg = colors.lightgray, fg = colors.magenta},
|
||||||
c = {bg = colors.gray, fg = colors.white}
|
c = {bg = colors.gray, fg = colors.white}
|
||||||
}
|
},
|
||||||
|
replace = {
|
||||||
modus_vivendi.replace = {
|
|
||||||
a = {bg = colors.red, fg = colors.lightgray, gui = 'bold'},
|
a = {bg = colors.red, fg = colors.lightgray, gui = 'bold'},
|
||||||
b = {bg = colors.lightgray, fg = colors.red},
|
b = {bg = colors.lightgray, fg = colors.red},
|
||||||
c = {bg = colors.gray, fg = colors.white}
|
c = {bg = colors.gray, fg = colors.white}
|
||||||
}
|
},
|
||||||
|
command = {
|
||||||
modus_vivendi.command = {
|
|
||||||
a = {bg = colors.green, fg = colors.lightgray, gui = 'bold'},
|
a = {bg = colors.green, fg = colors.lightgray, gui = 'bold'},
|
||||||
b = {bg = colors.lightgray, fg = colors.green},
|
b = {bg = colors.lightgray, fg = colors.green},
|
||||||
c = {bg = colors.gray, fg = colors.white}
|
c = {bg = colors.gray, fg = colors.white}
|
||||||
}
|
},
|
||||||
|
inactive = {
|
||||||
modus_vivendi.terminal = modus_vivendi.normal
|
|
||||||
|
|
||||||
modus_vivendi.inactive = {
|
|
||||||
a = {bg = colors.darkgray, fg = colors.lightgray, gui = 'bold'},
|
a = {bg = colors.darkgray, fg = colors.lightgray, gui = 'bold'},
|
||||||
b = {bg = colors.darkgray, fg = colors.lightgray},
|
b = {bg = colors.darkgray, fg = colors.lightgray},
|
||||||
c = {bg = colors.darkgray, fg = colors.lightgray}
|
c = {bg = colors.darkgray, fg = colors.lightgray}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return modus_vivendi
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
-- Copyright (c) 2020-2021 shadmansaleh
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
-- MIT license, see LICENSE for more details.
|
-- MIT license, see LICENSE for more details.
|
||||||
-- Credit: challsted(lightline)
|
-- Credit: challsted(lightline)
|
||||||
local molokai = {}
|
|
||||||
-- LuaFormatter off
|
-- LuaFormatter off
|
||||||
local colors = {
|
local colors = {
|
||||||
black = '#232526',
|
black = '#232526',
|
||||||
|
@ -15,23 +14,18 @@ local colors = {
|
||||||
yellow = '#e6db74',
|
yellow = '#e6db74',
|
||||||
}
|
}
|
||||||
-- LuaFormatter on
|
-- LuaFormatter on
|
||||||
|
return {
|
||||||
molokai.normal = {
|
normal = {
|
||||||
a = {fg = colors.black, bg = colors.cyan, gui = 'bold'},
|
a = {fg = colors.black, bg = colors.cyan, gui = 'bold'},
|
||||||
b = {fg = colors.black, bg = colors.pink},
|
b = {fg = colors.black, bg = colors.pink},
|
||||||
c = {fg = colors.orange, bg = colors.black}
|
c = {fg = colors.orange, bg = colors.black}
|
||||||
}
|
},
|
||||||
|
insert = {a = {fg = colors.black, bg = colors.green, gui = 'bold'}},
|
||||||
molokai.insert = {a = {fg = colors.black, bg = colors.green, gui = 'bold'}}
|
visual = {a = {fg = colors.black, bg = colors.yellow, gui = 'bold'}},
|
||||||
|
replace = {a = {fg = colors.black, bg = colors.red, gui = 'bold'}},
|
||||||
molokai.visual = {a = {fg = colors.black, bg = colors.yellow, gui = 'bold'}}
|
inactive = {
|
||||||
|
|
||||||
molokai.replace = {a = {fg = colors.black, bg = colors.red, gui = 'bold'}}
|
|
||||||
|
|
||||||
molokai.inactive = {
|
|
||||||
a = {fg = colors.pink, bg = colors.black, gui = 'bold'},
|
a = {fg = colors.pink, bg = colors.black, gui = 'bold'},
|
||||||
b = {fg = colors.white, bg = colors.pink},
|
b = {fg = colors.white, bg = colors.pink},
|
||||||
c = {fg = colors.gray, bg = colors.black}
|
c = {fg = colors.gray, bg = colors.black}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return molokai
|
|
||||||
|
|
|
@ -11,8 +11,7 @@ local colors = {
|
||||||
color2 = '#c3ccdc',
|
color2 = '#c3ccdc',
|
||||||
}
|
}
|
||||||
-- LuaFormatter on
|
-- LuaFormatter on
|
||||||
|
return {
|
||||||
local nightfly = {
|
|
||||||
replace = {
|
replace = {
|
||||||
a = {fg = colors.color0, bg = colors.color1, gui = 'bold'},
|
a = {fg = colors.color0, bg = colors.color1, gui = 'bold'},
|
||||||
b = {fg = colors.color2, bg = colors.color3}
|
b = {fg = colors.color2, bg = colors.color3}
|
||||||
|
@ -36,5 +35,3 @@ local nightfly = {
|
||||||
b = {fg = colors.color2, bg = colors.color3}
|
b = {fg = colors.color2, bg = colors.color3}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return nightfly
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
-- Copyright (c) 2020-2021 shadmansaleh
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
-- MIT license, see LICENSE for more details.
|
-- MIT license, see LICENSE for more details.
|
||||||
local nord = {}
|
|
||||||
-- LuaFormatter off
|
-- LuaFormatter off
|
||||||
local colors = {
|
local colors = {
|
||||||
nord1 = '#3B4252',
|
nord1 = '#3B4252',
|
||||||
|
@ -12,23 +11,19 @@ local colors = {
|
||||||
nord13 = '#EBCB8B',
|
nord13 = '#EBCB8B',
|
||||||
}
|
}
|
||||||
-- LuaFormatter on
|
-- LuaFormatter on
|
||||||
|
return {
|
||||||
nord.normal = {
|
normal = {
|
||||||
a = {fg = colors.nord1, bg = colors.nord8, gui = 'bold'},
|
a = {fg = colors.nord1, bg = colors.nord8, gui = 'bold'},
|
||||||
b = {fg = colors.nord5, bg = colors.nord1},
|
b = {fg = colors.nord5, bg = colors.nord1},
|
||||||
c = {fg = colors.nord5, bg = colors.nord3}
|
c = {fg = colors.nord5, bg = colors.nord3}
|
||||||
}
|
},
|
||||||
|
insert = {a = {fg = colors.nord1, bg = colors.nord6, gui = 'bold'}},
|
||||||
nord.insert = {a = {fg = colors.nord1, bg = colors.nord6, gui = 'bold'}}
|
visual = {a = {fg = colors.nord1, bg = colors.nord7, gui = 'bold'}},
|
||||||
|
replace = {a = {fg = colors.nord1, bg = colors.nord13, gui = 'bold'}},
|
||||||
nord.visual = {a = {fg = colors.nord1, bg = colors.nord7, gui = 'bold'}}
|
inactive = {
|
||||||
|
|
||||||
nord.replace = {a = {fg = colors.nord1, bg = colors.nord13, gui = 'bold'}}
|
|
||||||
|
|
||||||
nord.inactive = {
|
|
||||||
a = {fg = colors.nord1, bg = colors.nord8, gui = 'bold'},
|
a = {fg = colors.nord1, bg = colors.nord8, gui = 'bold'},
|
||||||
b = {fg = colors.nord5, bg = colors.nord1},
|
b = {fg = colors.nord5, bg = colors.nord1},
|
||||||
c = {fg = colors.nord5, bg = colors.nord1}
|
c = {fg = colors.nord5, bg = colors.nord1}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return nord
|
|
||||||
|
|
|
@ -14,8 +14,7 @@ local colors = {
|
||||||
color7 = '#ec5f67',
|
color7 = '#ec5f67',
|
||||||
}
|
}
|
||||||
-- LuaFormatter on
|
-- LuaFormatter on
|
||||||
|
return {
|
||||||
local oceanicnext = {
|
|
||||||
insert = {
|
insert = {
|
||||||
a = {fg = colors.color0, bg = colors.color1, gui = 'bold'},
|
a = {fg = colors.color0, bg = colors.color1, gui = 'bold'},
|
||||||
b = {fg = colors.color0, bg = colors.color2},
|
b = {fg = colors.color0, bg = colors.color2},
|
||||||
|
@ -42,5 +41,3 @@ local oceanicnext = {
|
||||||
c = {fg = colors.color0, bg = colors.color3}
|
c = {fg = colors.color0, bg = colors.color3}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return oceanicnext
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
-- Copyright (c) 2020-2021 shadmansaleh
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
-- MIT license, see LICENSE for more details.
|
-- MIT license, see LICENSE for more details.
|
||||||
-- Credit: Zoltan Dalmadi(lightline)
|
-- Credit: Zoltan Dalmadi(lightline)
|
||||||
local M = {}
|
|
||||||
-- LuaFormatter off
|
-- LuaFormatter off
|
||||||
local colors = {
|
local colors = {
|
||||||
blue = '#61afef',
|
blue = '#61afef',
|
||||||
|
@ -17,23 +16,18 @@ local colors = {
|
||||||
gray3 = '#3e4452',
|
gray3 = '#3e4452',
|
||||||
}
|
}
|
||||||
-- LuaFormatter on
|
-- LuaFormatter on
|
||||||
|
return {
|
||||||
M.normal = {
|
normal = {
|
||||||
a = {fg = colors.bg, bg = colors.green, gui = 'bold'},
|
a = {fg = colors.bg, bg = colors.green, gui = 'bold'},
|
||||||
b = {fg = colors.fg, bg = colors.gray3},
|
b = {fg = colors.fg, bg = colors.gray3},
|
||||||
c = {fg = colors.fg, bg = colors.gray2}
|
c = {fg = colors.fg, bg = colors.gray2}
|
||||||
}
|
},
|
||||||
|
insert = {a = {fg = colors.bg, bg = colors.blue, gui = 'bold'}},
|
||||||
M.insert = {a = {fg = colors.bg, bg = colors.blue, gui = 'bold'}}
|
visual = {a = {fg = colors.bg, bg = colors.purple, gui = 'bold'}},
|
||||||
|
replace = {a = {fg = colors.bg, bg = colors.red1, gui = 'bold'}},
|
||||||
M.visual = {a = {fg = colors.bg, bg = colors.purple, gui = 'bold'}}
|
inactive = {
|
||||||
|
|
||||||
M.replace = {a = {fg = colors.bg, bg = colors.red1, gui = 'bold'}}
|
|
||||||
|
|
||||||
M.inactive = {
|
|
||||||
a = {fg = colors.gray1, bg = colors.bg, gui = 'bold'},
|
a = {fg = colors.gray1, bg = colors.bg, gui = 'bold'},
|
||||||
b = {fg = colors.gray1, bg = colors.bg},
|
b = {fg = colors.gray1, bg = colors.bg},
|
||||||
c = {fg = colors.gray1, bg = colors.gray2}
|
c = {fg = colors.gray1, bg = colors.gray2}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return M
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
-- Copyright (c) 2020-2021 shadmansaleh
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
-- MIT license, see LICENSE for more details.
|
-- MIT license, see LICENSE for more details.
|
||||||
-- Credit: Zoltan Dalmadi(lightline)
|
-- Credit: Zoltan Dalmadi(lightline)
|
||||||
local M = {}
|
|
||||||
-- LuaFormatter off
|
-- LuaFormatter off
|
||||||
local colors = {
|
local colors = {
|
||||||
blue = '#61afef',
|
blue = '#61afef',
|
||||||
|
@ -17,23 +16,19 @@ local colors = {
|
||||||
gray3 = '#d0d0d0',
|
gray3 = '#d0d0d0',
|
||||||
}
|
}
|
||||||
-- LuaFormatter on
|
-- LuaFormatter on
|
||||||
|
return {
|
||||||
M.normal = {
|
normal = {
|
||||||
a = {fg = colors.bg, bg = colors.green, gui = 'bold'},
|
a = {fg = colors.bg, bg = colors.green, gui = 'bold'},
|
||||||
b = {fg = colors.fg, bg = colors.gray3},
|
b = {fg = colors.fg, bg = colors.gray3},
|
||||||
c = {fg = colors.fg, bg = colors.gray2}
|
c = {fg = colors.fg, bg = colors.gray2}
|
||||||
}
|
},
|
||||||
|
insert = {a = {fg = colors.bg, bg = colors.blue, gui = 'bold'}},
|
||||||
M.insert = {a = {fg = colors.bg, bg = colors.blue, gui = 'bold'}}
|
visual = {a = {fg = colors.bg, bg = colors.purple, gui = 'bold'}},
|
||||||
|
replace = {a = {fg = colors.bg, bg = colors.red1, gui = 'bold'}},
|
||||||
M.visual = {a = {fg = colors.bg, bg = colors.purple, gui = 'bold'}}
|
inactive = {
|
||||||
|
|
||||||
M.replace = {a = {fg = colors.bg, bg = colors.red1, gui = 'bold'}}
|
|
||||||
|
|
||||||
M.inactive = {
|
|
||||||
a = {fg = colors.bg, bg = colors.gray3, gui = 'bold'},
|
a = {fg = colors.bg, bg = colors.gray3, gui = 'bold'},
|
||||||
b = {fg = colors.bg, bg = colors.gray3},
|
b = {fg = colors.bg, bg = colors.gray3},
|
||||||
c = {fg = colors.gray3, bg = colors.gray2}
|
c = {fg = colors.gray3, bg = colors.gray2}
|
||||||
}
|
}
|
||||||
|
|
||||||
return M
|
}
|
||||||
|
|
|
@ -21,7 +21,6 @@ local colors = {
|
||||||
black = '#292D3E',
|
black = '#292D3E',
|
||||||
}
|
}
|
||||||
-- LuaFormatter on
|
-- LuaFormatter on
|
||||||
|
|
||||||
return {
|
return {
|
||||||
normal = {
|
normal = {
|
||||||
a = {fg = colors.black, bg = colors.purple, gui = 'bold'},
|
a = {fg = colors.black, bg = colors.purple, gui = 'bold'},
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
-- Copyright (c) 2020-2021 shadmansaleh
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
-- MIT license, see LICENSE for more details.
|
-- MIT license, see LICENSE for more details.
|
||||||
-- Credit: TKNGUE(lightline)
|
-- Credit: TKNGUE(lightline)
|
||||||
local M = {}
|
|
||||||
-- LuaFormatter off
|
-- LuaFormatter off
|
||||||
local colors = {
|
local colors = {
|
||||||
red = '#df0000',
|
red = '#df0000',
|
||||||
|
@ -26,23 +25,19 @@ local colors = {
|
||||||
visual_bg = '#8787af',
|
visual_bg = '#8787af',
|
||||||
}
|
}
|
||||||
-- LuaFormatter on
|
-- LuaFormatter on
|
||||||
|
return {
|
||||||
M.normal = {
|
normal = {
|
||||||
a = {fg = colors.foreground, bg = colors.background, gui = 'bold'},
|
a = {fg = colors.foreground, bg = colors.background, gui = 'bold'},
|
||||||
b = {fg = colors.statusline_active_fg, bg = colors.status},
|
b = {fg = colors.statusline_active_fg, bg = colors.status},
|
||||||
c = {fg = colors.statusline_active_fg, bg = colors.statusline_active_bg}
|
c = {fg = colors.statusline_active_fg, bg = colors.statusline_active_bg}
|
||||||
}
|
},
|
||||||
|
insert = {a = {fg = colors.background, bg = colors.blue, gui = 'bold'}},
|
||||||
M.insert = {a = {fg = colors.background, bg = colors.blue, gui = 'bold'}}
|
visual = {a = {fg = colors.visual_fg, bg = colors.visual_bg, gui = 'bold'}},
|
||||||
|
replace = {a = {fg = colors.background, bg = colors.pink, gui = 'bold'}},
|
||||||
M.visual = {a = {fg = colors.visual_fg, bg = colors.visual_bg, gui = 'bold'}}
|
inactive = {
|
||||||
|
|
||||||
M.replace = {a = {fg = colors.background, bg = colors.pink, gui = 'bold'}}
|
|
||||||
|
|
||||||
M.inactive = {
|
|
||||||
a = {fg = colors.foreground, bg = colors.background, gui = 'bold'},
|
a = {fg = colors.foreground, bg = colors.background, gui = 'bold'},
|
||||||
b = {fg = colors.foreground, bg = colors.background},
|
b = {fg = colors.foreground, bg = colors.background},
|
||||||
c = {fg = colors.foreground, bg = colors.background}
|
c = {fg = colors.foreground, bg = colors.background}
|
||||||
}
|
}
|
||||||
|
|
||||||
return M
|
}
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
-- Copyright (c) 2020-2021 shadmansaleh
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
-- MIT license, see LICENSE for more details.
|
-- MIT license, see LICENSE for more details.
|
||||||
-- Credit: TKNGUE(lightline)
|
-- Credit: TKNGUE(lightline)
|
||||||
local M = {}
|
|
||||||
-- LuaFormatter off
|
-- LuaFormatter off
|
||||||
local colors = {
|
local colors = {
|
||||||
red = '#df0000',
|
red = '#df0000',
|
||||||
|
@ -25,22 +24,19 @@ local colors = {
|
||||||
}
|
}
|
||||||
-- LuaFormatter on
|
-- LuaFormatter on
|
||||||
|
|
||||||
M.normal = {
|
return {
|
||||||
|
normal = {
|
||||||
a = {fg = colors.foreground, bg = colors.background, gui = 'bold'},
|
a = {fg = colors.foreground, bg = colors.background, gui = 'bold'},
|
||||||
b = {fg = colors.statusline_active_fg, bg = colors.status},
|
b = {fg = colors.statusline_active_fg, bg = colors.status},
|
||||||
c = {fg = colors.statusline_active_fg, bg = colors.statusline_active_bg}
|
c = {fg = colors.statusline_active_fg, bg = colors.statusline_active_bg}
|
||||||
}
|
},
|
||||||
|
insert = {a = {fg = colors.blue, bg = colors.background, gui = 'bold'}},
|
||||||
M.insert = {a = {fg = colors.blue, bg = colors.background, gui = 'bold'}}
|
visual = {a = {fg = colors.background, bg = colors.orange, gui = 'bold'}},
|
||||||
|
replace = {a = {fg = colors.background, bg = colors.pink, gui = 'bold'}},
|
||||||
M.visual = {a = {fg = colors.background, bg = colors.orange, gui = 'bold'}}
|
inactive = {
|
||||||
|
|
||||||
M.replace = {a = {fg = colors.background, bg = colors.pink, gui = 'bold'}}
|
|
||||||
|
|
||||||
M.inactive = {
|
|
||||||
a = {fg = colors.foreground, bg = colors.background, gui = 'bold'},
|
a = {fg = colors.foreground, bg = colors.background, gui = 'bold'},
|
||||||
b = {fg = colors.foreground, bg = colors.background},
|
b = {fg = colors.foreground, bg = colors.background},
|
||||||
c = {fg = colors.foreground, bg = colors.background}
|
c = {fg = colors.foreground, bg = colors.background}
|
||||||
}
|
}
|
||||||
|
|
||||||
return M
|
}
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
-- Copyright (c) 2020-2021 shadmansaleh
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
-- MIT license, see LICENSE for more details.
|
-- MIT license, see LICENSE for more details.
|
||||||
local powerline = {}
|
|
||||||
-- LuaFormatter off
|
-- LuaFormatter off
|
||||||
local Colors = {
|
local Colors = {
|
||||||
white = '#ffffff',
|
white = '#ffffff',
|
||||||
|
@ -20,31 +19,22 @@ local Colors = {
|
||||||
gray10 = '#f0f0f0',
|
gray10 = '#f0f0f0',
|
||||||
}
|
}
|
||||||
-- LuaFormatter on
|
-- LuaFormatter on
|
||||||
|
return {
|
||||||
powerline.normal = {
|
normal = {
|
||||||
a = {fg = Colors.darkestgreen, bg = Colors.brightgreen, gui = 'bold'},
|
a = {fg = Colors.darkestgreen, bg = Colors.brightgreen, gui = 'bold'},
|
||||||
b = {fg = Colors.gray10, bg = Colors.gray5},
|
b = {fg = Colors.gray10, bg = Colors.gray5},
|
||||||
c = {fg = Colors.gray7, bg = Colors.gray2}
|
c = {fg = Colors.gray7, bg = Colors.gray2}
|
||||||
}
|
},
|
||||||
|
insert = {
|
||||||
powerline.insert = {
|
|
||||||
a = {fg = Colors.darkestcyan, bg = Colors.white, gui = 'bold'},
|
a = {fg = Colors.darkestcyan, bg = Colors.white, gui = 'bold'},
|
||||||
b = {fg = Colors.darkestcyan, bg = Colors.mediumcyan},
|
b = {fg = Colors.darkestcyan, bg = Colors.mediumcyan},
|
||||||
c = {fg = Colors.mediumcyan, bg = Colors.darkestblue}
|
c = {fg = Colors.mediumcyan, bg = Colors.darkestblue}
|
||||||
}
|
},
|
||||||
|
visual = {a = {fg = Colors.darkred, bg = Colors.brightorange, gui = 'bold'}},
|
||||||
powerline.visual = {
|
replace = {a = {fg = Colors.white, bg = Colors.brightred, gui = 'bold'}},
|
||||||
a = {fg = Colors.darkred, bg = Colors.brightorange, gui = 'bold'}
|
inactive = {
|
||||||
}
|
|
||||||
|
|
||||||
powerline.replace = {
|
|
||||||
a = {fg = Colors.white, bg = Colors.brightred, gui = 'bold'}
|
|
||||||
}
|
|
||||||
|
|
||||||
powerline.inactive = {
|
|
||||||
a = {fg = Colors.gray1, bg = Colors.gray5, gui = 'bold'},
|
a = {fg = Colors.gray1, bg = Colors.gray5, gui = 'bold'},
|
||||||
b = {fg = Colors.gray1, bg = Colors.gray5},
|
b = {fg = Colors.gray1, bg = Colors.gray5},
|
||||||
c = {bg = Colors.gray1, fg = Colors.gray5}
|
c = {bg = Colors.gray1, fg = Colors.gray5}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return powerline
|
|
||||||
|
|
|
@ -15,8 +15,7 @@ local colors = {
|
||||||
color4 = '#30302c',
|
color4 = '#30302c',
|
||||||
}
|
}
|
||||||
-- LuaFormatter on
|
-- LuaFormatter on
|
||||||
|
return {
|
||||||
local seoul256 = {
|
|
||||||
visual = {
|
visual = {
|
||||||
b = {fg = colors.color0, bg = colors.color1},
|
b = {fg = colors.color0, bg = colors.color1},
|
||||||
a = {fg = colors.color4, bg = colors.color5, gui = 'bold'}
|
a = {fg = colors.color4, bg = colors.color5, gui = 'bold'}
|
||||||
|
@ -40,5 +39,3 @@ local seoul256 = {
|
||||||
a = {fg = colors.color4, bg = colors.color14, gui = 'bold'}
|
a = {fg = colors.color4, bg = colors.color14, gui = 'bold'}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return seoul256
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
-- Copyright (c) 2020-2021 shadmansaleh
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
-- MIT license, see LICENSE for more details.
|
-- MIT license, see LICENSE for more details.
|
||||||
-- Credit: itchyny(lightline)
|
-- Credit: itchyny(lightline)
|
||||||
local M = {}
|
|
||||||
-- LuaFormatter off
|
-- LuaFormatter off
|
||||||
local colors = {
|
local colors = {
|
||||||
base03 = '#002b36',
|
base03 = '#002b36',
|
||||||
|
@ -22,23 +21,18 @@ local colors = {
|
||||||
green = '#859900',
|
green = '#859900',
|
||||||
}
|
}
|
||||||
-- LuaFormatter on
|
-- LuaFormatter on
|
||||||
|
return {
|
||||||
M.normal = {
|
normal = {
|
||||||
a = {fg = colors.base03, bg = colors.blue, gui = 'bold'},
|
a = {fg = colors.base03, bg = colors.blue, gui = 'bold'},
|
||||||
b = {fg = colors.base03, bg = colors.base1},
|
b = {fg = colors.base03, bg = colors.base1},
|
||||||
c = {fg = colors.base1, bg = colors.base02}
|
c = {fg = colors.base1, bg = colors.base02}
|
||||||
}
|
},
|
||||||
|
insert = {a = {fg = colors.base03, bg = colors.green, gui = 'bold'}},
|
||||||
M.insert = {a = {fg = colors.base03, bg = colors.green, gui = 'bold'}}
|
visual = {a = {fg = colors.base03, bg = colors.magenta, gui = 'bold'}},
|
||||||
|
replace = {a = {fg = colors.base03, bg = colors.red, gui = 'bold'}},
|
||||||
M.visual = {a = {fg = colors.base03, bg = colors.magenta, gui = 'bold'}}
|
inactive = {
|
||||||
|
|
||||||
M.replace = {a = {fg = colors.base03, bg = colors.red, gui = 'bold'}}
|
|
||||||
|
|
||||||
M.inactive = {
|
|
||||||
a = {fg = colors.base0, bg = colors.base02, gui = 'bold'},
|
a = {fg = colors.base0, bg = colors.base02, gui = 'bold'},
|
||||||
b = {fg = colors.base03, bg = colors.base00},
|
b = {fg = colors.base03, bg = colors.base00},
|
||||||
c = {fg = colors.base01, bg = colors.base02}
|
c = {fg = colors.base01, bg = colors.base02}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return M
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
-- Copyright (c) 2020-2021 shadmansaleh
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
-- MIT license, see LICENSE for more details.
|
-- MIT license, see LICENSE for more details.
|
||||||
-- Credit: itchyny(lightline)
|
-- Credit: itchyny(lightline)
|
||||||
local M = {}
|
|
||||||
-- LuaFormatter off
|
-- LuaFormatter off
|
||||||
local colors = {
|
local colors = {
|
||||||
base3 = '#002b36',
|
base3 = '#002b36',
|
||||||
|
@ -22,23 +21,18 @@ local colors = {
|
||||||
green = '#859900',
|
green = '#859900',
|
||||||
}
|
}
|
||||||
-- LuaFormatter on
|
-- LuaFormatter on
|
||||||
|
return {
|
||||||
M.normal = {
|
normal = {
|
||||||
a = {fg = colors.base03, bg = colors.blue, gui = 'bold'},
|
a = {fg = colors.base03, bg = colors.blue, gui = 'bold'},
|
||||||
b = {fg = colors.base03, bg = colors.base1},
|
b = {fg = colors.base03, bg = colors.base1},
|
||||||
c = {fg = colors.base1, bg = colors.base02}
|
c = {fg = colors.base1, bg = colors.base02}
|
||||||
}
|
},
|
||||||
|
insert = {a = {fg = colors.base03, bg = colors.green, gui = 'bold'}},
|
||||||
M.insert = {a = {fg = colors.base03, bg = colors.green, gui = 'bold'}}
|
visual = {a = {fg = colors.base03, bg = colors.magenta, gui = 'bold'}},
|
||||||
|
replace = {a = {fg = colors.base03, bg = colors.red, gui = 'bold'}},
|
||||||
M.visual = {a = {fg = colors.base03, bg = colors.magenta, gui = 'bold'}}
|
inactive = {
|
||||||
|
|
||||||
M.replace = {a = {fg = colors.base03, bg = colors.red, gui = 'bold'}}
|
|
||||||
|
|
||||||
M.inactive = {
|
|
||||||
a = {fg = colors.base0, bg = colors.base02, gui = 'bold'},
|
a = {fg = colors.base0, bg = colors.base02, gui = 'bold'},
|
||||||
b = {fg = colors.base03, bg = colors.base00},
|
b = {fg = colors.base03, bg = colors.base00},
|
||||||
c = {fg = colors.base01, bg = colors.base02}
|
c = {fg = colors.base01, bg = colors.base02}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return M
|
|
||||||
|
|
|
@ -17,8 +17,7 @@ local colors = {
|
||||||
color11 = '#f5871f',
|
color11 = '#f5871f',
|
||||||
}
|
}
|
||||||
-- LuaFormatter on
|
-- LuaFormatter on
|
||||||
|
return {
|
||||||
local tomorrow = {
|
|
||||||
inactive = {
|
inactive = {
|
||||||
a = {fg = colors.color0, bg = colors.color1, gui = 'bold'},
|
a = {fg = colors.color0, bg = colors.color1, gui = 'bold'},
|
||||||
b = {fg = colors.color2, bg = colors.color3},
|
b = {fg = colors.color2, bg = colors.color3},
|
||||||
|
@ -42,5 +41,3 @@ local tomorrow = {
|
||||||
b = {fg = colors.color5, bg = colors.color6}
|
b = {fg = colors.color5, bg = colors.color6}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return tomorrow
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
-- Copyright (c) 2020-2021 shadmansaleh
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
-- MIT license, see LICENSE for more details.
|
-- MIT license, see LICENSE for more details.
|
||||||
-- Credit: itchyny(lightline)
|
-- Credit: itchyny(lightline)
|
||||||
local M = {}
|
|
||||||
-- LuaFormatter off
|
-- LuaFormatter off
|
||||||
local colors = {
|
local colors = {
|
||||||
base03 = '#242424',
|
base03 = '#242424',
|
||||||
|
@ -22,23 +21,18 @@ local colors = {
|
||||||
green = '#95e454',
|
green = '#95e454',
|
||||||
}
|
}
|
||||||
-- LuaFormatter on
|
-- LuaFormatter on
|
||||||
|
return {
|
||||||
M.normal = {
|
normal = {
|
||||||
a = {fg = colors.base02, bg = colors.blue, gui = 'bold'},
|
a = {fg = colors.base02, bg = colors.blue, gui = 'bold'},
|
||||||
b = {fg = colors.base02, bg = colors.base0},
|
b = {fg = colors.base02, bg = colors.base0},
|
||||||
c = {fg = colors.base2, bg = colors.base02}
|
c = {fg = colors.base2, bg = colors.base02}
|
||||||
}
|
},
|
||||||
|
insert = {a = {fg = colors.base02, bg = colors.green, gui = 'bold'}},
|
||||||
M.insert = {a = {fg = colors.base02, bg = colors.green, gui = 'bold'}}
|
visual = {a = {fg = colors.base02, bg = colors.magenta, gui = 'bold'}},
|
||||||
|
replace = {a = {fg = colors.base023, bg = colors.red, gui = 'bold'}},
|
||||||
M.visual = {a = {fg = colors.base02, bg = colors.magenta, gui = 'bold'}}
|
inactive = {
|
||||||
|
|
||||||
M.replace = {a = {fg = colors.base023, bg = colors.red, gui = 'bold'}}
|
|
||||||
|
|
||||||
M.inactive = {
|
|
||||||
a = {fg = colors.base1, bg = colors.base02, gui = 'bold'},
|
a = {fg = colors.base1, bg = colors.base02, gui = 'bold'},
|
||||||
b = {fg = colors.base023, bg = colors.base01},
|
b = {fg = colors.base023, bg = colors.base01},
|
||||||
c = {fg = colors.base1, bg = colors.base023}
|
c = {fg = colors.base1, bg = colors.base023}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return M
|
|
||||||
|
|
Loading…
Reference in New Issue