From e5fcbf2fe93f87cea277e101f4529c80aeaedcf2 Mon Sep 17 00:00:00 2001 From: José Juan Loeza Sierra Date: Sat, 8 Nov 2025 08:11:08 -0800 Subject: add github theme and new lualine theme the github lualine theme is quite ugly, so I tweaked the default tomorrow_night theme --- dot-config/nvim/lua/my-lualine-theme.lua | 42 ++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 dot-config/nvim/lua/my-lualine-theme.lua (limited to 'dot-config/nvim/lua/my-lualine-theme.lua') diff --git a/dot-config/nvim/lua/my-lualine-theme.lua b/dot-config/nvim/lua/my-lualine-theme.lua new file mode 100644 index 0000000..d2280f5 --- /dev/null +++ b/dot-config/nvim/lua/my-lualine-theme.lua @@ -0,0 +1,42 @@ +-- tweaked colors from lualine default tomorrow_night +local colors = { + bg = "#000000", + alt_bg = "#000000", + dark_fg = "#969896", + fg = "#b4b7b4", + light_fg = "#c5c8c6", + normal = "#81a2be", + insert = "#b5bd68", + visual = "#b294bb", + replace = "#de935f", +} + +local theme = { + normal = { + a = { fg = colors.bg, bg = colors.normal }, + b = { fg = colors.light_fg, bg = colors.alt_bg }, + c = { fg = colors.fg, bg = colors.bg }, + }, + replace = { + a = { fg = colors.bg, bg = colors.replace }, + b = { fg = colors.light_fg, bg = colors.alt_bg }, + }, + insert = { + a = { fg = colors.bg, bg = colors.insert }, + b = { fg = colors.light_fg, bg = colors.alt_bg }, + }, + visual = { + a = { fg = colors.bg, bg = colors.visual }, + b = { fg = colors.light_fg, bg = colors.alt_bg }, + }, + inactive = { + a = { fg = colors.dark_fg, bg = colors.bg }, + b = { fg = colors.dark_fg, bg = colors.bg }, + c = { fg = colors.dark_fg, bg = colors.bg }, + }, +} + +theme.command = theme.normal +theme.terminal = theme.insert + +return theme -- cgit v1.3