chore: uptodate v5
This commit is contained in:
27
lua/plugins/configs/ui/highlights.lua
Normal file
27
lua/plugins/configs/ui/highlights.lua
Normal file
@@ -0,0 +1,27 @@
|
||||
return {
|
||||
init = function() -- this table overrides highlights in all themes
|
||||
local get_hlgroup = require("astroui").get_hlgroup
|
||||
local ui = require("astroui")
|
||||
local utils = require("astrocore")
|
||||
|
||||
local hl = {
|
||||
-- remove background of virtual texts
|
||||
DiagnosticVirtualTextError = { fg = get_hlgroup("DiagnosticError").fg, bg = "none" },
|
||||
DiagnosticVirtualTextHint = { fg = get_hlgroup("DiagnosticHint").fg, bg = "none" },
|
||||
DiagnosticVirtualTextInfo = { fg = get_hlgroup("DiagnosticInfo").fg, bg = "none" },
|
||||
DiagnosticVirtualTextWarn = { fg = get_hlgroup("DiagnosticWarn").fg, bg = "none" },
|
||||
|
||||
CursorLineNr = { fg = "#FFD700", bg = "none", bold = true },
|
||||
CursorLine = { fg = "none", bg = "#004C4C", bold = true },
|
||||
Visual = { fg = "#000000", bg = "#FFFFFF", bold = true },
|
||||
|
||||
-- remove background of inlay hints
|
||||
LspInlayHint = { fg = "#FF748B", bg = "none" },
|
||||
}
|
||||
|
||||
return hl
|
||||
end,
|
||||
astrotheme = { -- a table of overrides/changes when applying the astrotheme theme
|
||||
-- Normal = { bg = "#000000" },
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user