44 lines
1.4 KiB
Lua
44 lines
1.4 KiB
Lua
--[[
|
|
Copyright (C) 2024 Kyren223
|
|
This file is licensed under the GPL-3.0-or-later license, see https://fsf.org/licenses/gpl-3.0
|
|
--]]
|
|
|
|
local utils = require("carbonight.utils")
|
|
|
|
local M = {}
|
|
|
|
---@param c Colors
|
|
function M.get(c)
|
|
return {
|
|
Normal = c.normal,
|
|
CursorLine = c.cursor_line,
|
|
Visual = c.visual,
|
|
CursorLineNr = utils.override(c.violet, { bold = true }),
|
|
LineNrAbove = c.violet,
|
|
LineNrBelow = c.violet,
|
|
LspInlayHint = c.label,
|
|
Comment = c.string,
|
|
StatusLine = c.normal,
|
|
EndOfBuffer = { fg = "bg" },
|
|
Include = c.label,
|
|
DiagnosticDeprecated = { fg = "#FF434F" }, --, strikethrough = true, sp = "#FF0000" },
|
|
DiagnosticUnderlineError = { undercurl = true, sp = "#BC3F3C" },
|
|
-- DiagnosticUnderlineError = { undercurl = true },
|
|
DiagnosticUnderlineWarn = { bg = "#452138" },
|
|
DiagnosticUnderlineHint = { underline = false },
|
|
DiagnosticUnnecessary = c.unused,
|
|
-- DiagnosticError = { fg = c.error },
|
|
-- DiagnosticWarn = { fg = c.warning },
|
|
-- DiagnosticInfo = { fg = c.info },
|
|
-- DiagnosticHint = { fg = c.info },
|
|
|
|
-- NOTE: custom
|
|
LualineNoiceMacro = { fg = c.parameter.fg, bg = utils.blend(c.normal.bg, 0.8, c.visual.bg) },
|
|
|
|
-- NOTE: nvim-notify
|
|
NotifyBackground = c.normal,
|
|
}
|
|
end
|
|
|
|
return M
|