mirror of
https://github.com/josean-dev/dev-environment-files.git
synced 2025-01-09 17:51:20 +01:00
36 lines
754 B
Lua
36 lines
754 B
Lua
-- import lualine plugin safely
|
|
local status, lualine = pcall(require, "lualine")
|
|
if not status then
|
|
return
|
|
end
|
|
|
|
-- get lualine nightfly theme
|
|
local lualine_nightfly = require("lualine.themes.nightfly")
|
|
|
|
-- new colors for theme
|
|
local new_colors = {
|
|
blue = "#65D1FF",
|
|
green = "#3EFFDC",
|
|
violet = "#FF61EF",
|
|
yellow = "#FFDA7B",
|
|
black = "#000000",
|
|
}
|
|
|
|
-- change nightlfy theme colors
|
|
lualine_nightfly.normal.a.bg = new_colors.blue
|
|
lualine_nightfly.insert.a.bg = new_colors.green
|
|
lualine_nightfly.visual.a.bg = new_colors.violet
|
|
lualine_nightfly.command = {
|
|
a = {
|
|
gui = "bold",
|
|
bg = new_colors.yellow,
|
|
fg = new_colors.black, -- black
|
|
},
|
|
}
|
|
|
|
-- configure lualine with modified theme
|
|
lualine.setup({
|
|
options = {
|
|
theme = lualine_nightfly,
|
|
},
|
|
})
|