lualine theme that follows the ghostty colorscheme

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jannikdonkerandClaude Opus 5.5 committed 2026-11-05 07:52:09 +01:00
1 parent a96694b377
commit 5395b963c6
2 files changed
+29 -3

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
-- Lualine theme built from the ghostty colorscheme's palette.
-- Picked automatically by `theme = "auto"` while `colors_name == "ghostty"`.
local c = require("ghostty_theme").colors
if not c then return require("lualine.themes.gruvbox") end -- colorscheme not loaded
local function mode(color)
return {
a = { fg = c.bg, bg = color, gui = "bold" },
b = { fg = color, bg = c.bg3 },
c = { fg = c.fg_dim, bg = c.bg2 },
}
end
return {
normal = mode(c.blue),
insert = mode(c.green),
visual = mode(c.yellow),
replace = mode(c.red),
command = mode(c.magenta),
terminal = mode(c.cyan),
inactive = {
a = { fg = c.subtle, bg = c.bg1, gui = "bold" },
b = { fg = c.subtle, bg = c.bg1 },
c = { fg = c.subtle, bg = c.bg1 },
},
}