This commit is contained in:
2025-09-25 07:22:36 +00:00
parent f4c3f38078
commit dd738ade40
19 changed files with 516 additions and 300 deletions

View File

@@ -0,0 +1,37 @@
local M = {}
function M.get(C)
return {
Normal = { fg = C.text, bg = C.none },
LineNr = { fg = C.muted },
CursorLineNr = { fg = C.accent, bold = true },
CursorLine = { bg = C.surface },
Visual = { bg = C.accent_light },
Search = { fg = C.yellow },
CurSearch = { fg = C.base, bg = C.yellow, bold = true },
IncSearch = { fg = C.base, bg = C.yellow, bold = true },
MatchParen = { fg = C.base, bg = C.accent },
EndOfBuffer = { fg = C.base }, -- End-of-buffer marker (~ lines)
WinSeparator = { fg = C.muted },
StatusLine = { fg = C.muted, bg = C.none }, -- Active statusline (where filename)
MsgArea = { fg = C.text, bg = C.none }, -- Command-line / message area
MsgSeparator = { fg = C.text, bg = C.surface }, -- Separator for messages
ModeMsg = { fg = C.text },
TabLine = { fg = C.muted }, -- Unselected tab
TabLineSel = { fg = C.text, bold = true }, -- Selected tab
TabLineFill = { bg = C.none }, -- Empty space in the tabline
-- DiagnosticError = { undercurl = true, sp = C.red },
-- DiagnosticWarn = { undercurl = true, sp = C.yellow },
-- DiagnosticInfo = { underline = true, sp = C.accent },
-- DiagnosticHint = { underline = true, sp = C.green },
Directory = { fg = C.accent },
}
end
return M

View File

@@ -0,0 +1,13 @@
local M = {}
function M.get(C)
return {
NvimTreeFolderIcon = { fg = C.accent },
NvimTreeRootFolder = { fg = C.text, bold = true },
-- NvimTreeOpenedHL = { bg = C.surface },
}
end
return M

View File

@@ -0,0 +1,13 @@
local M = {}
function M.get(C)
return {
-- TelescopeBorder = { fg = C.muted, bg = C.green },
-- TelescopeNormal = { fg = C.text, bg = C.base, ctermbg = 1 },
TelescopePrompt = { fg = C.text, bg = C.base, ctermbg = 1 },
-- TelescopePromptPrefix = { fg = C.accent, bg = C.red },
-- TelescopeSelection = { bg = C.surface },
}
end
return M

View File

@@ -0,0 +1,19 @@
local M = {}
function M.get(C)
local theme = {
["@comment"] = { fg = C.muted, italic = true },
}
for _, hl in ipairs(vim.fn.getcompletion("@", "highlight")) do
if theme[hl] == nil then
theme[hl] = { fg = C.syntax }
end
end
return theme
end
return M

View File

@@ -0,0 +1,9 @@
local M = {}
-- fallback for vim without tree-sitter
function M.get(C)
return {}
end
return M

View File

@@ -0,0 +1,31 @@
local M = {}
function M.get(C)
return {
terminal_color_0 = { fg = C.black },
terminal_color_8 = { fg = C.black },
terminal_color_1 = { fg = C.red },
terminal_color_9 = { fg = C.red },
terminal_color_2 = { fg = C.green },
terminal_color_10 = { fg = C.green },
terminal_color_3 = { fg = C.yellow },
terminal_color_11 = { fg = C.yellow },
terminal_color_4 = { fg = C.blue },
terminal_color_12 = { fg = C.blue },
terminal_color_5 = { fg = C.magenta },
terminal_color_13 = { fg = C.magenta },
terminal_color_6 = { fg = C.cyan },
terminal_color_14 = { fg = C.cyan },
terminal_color_7 = { fg = C.white },
terminal_color_15 = { fg = C.white },
}
end
return M