feat: more color to member variables
This commit is contained in:
@@ -95,7 +95,7 @@ return function(theme, palette)
|
|||||||
["@operator"] = { link = "@keyword.operator" }, -- Deprecated?
|
["@operator"] = { link = "@keyword.operator" }, -- Deprecated?
|
||||||
["@parameter"] = { link = "@variable.parameter" }, -- Deprecated
|
["@parameter"] = { link = "@variable.parameter" }, -- Deprecated
|
||||||
["@preproc"] = { link = "PreProc" },
|
["@preproc"] = { link = "PreProc" },
|
||||||
["@property"] = { link = "@field" },
|
["@property"] = { link = "@variable.member" },
|
||||||
["@punctuation.bracket"] = { link = "Identifier" },
|
["@punctuation.bracket"] = { link = "Identifier" },
|
||||||
["@punctuation.delimiter"] = { fg = palette.orange },
|
["@punctuation.delimiter"] = { fg = palette.orange },
|
||||||
["@punctuation.special"] = { link = "Special" },
|
["@punctuation.special"] = { link = "Special" },
|
||||||
@@ -118,7 +118,7 @@ return function(theme, palette)
|
|||||||
["@typeParameter"] = { fg = palette.yellow },
|
["@typeParameter"] = { fg = palette.yellow },
|
||||||
["@variable"] = { link = "Identifier" },
|
["@variable"] = { link = "Identifier" },
|
||||||
["@variable.builtin"] = { bold = true },
|
["@variable.builtin"] = { bold = true },
|
||||||
["@variable.member"] = { link = "Identifier" },
|
["@variable.member"] = theme.highlight,
|
||||||
["@variable.parameter"] = { fg = palette.fg_gradiant[2] },
|
["@variable.parameter"] = { fg = palette.fg_gradiant[2] },
|
||||||
|
|
||||||
-- LSP
|
-- LSP
|
||||||
@@ -137,7 +137,7 @@ return function(theme, palette)
|
|||||||
["@lsp.type.namespace"] = { fg = palette.fg_gradiant[2] },
|
["@lsp.type.namespace"] = { fg = palette.fg_gradiant[2] },
|
||||||
["@lsp.type.operator"] = { link = "Operator" },
|
["@lsp.type.operator"] = { link = "Operator" },
|
||||||
["@lsp.type.parameter"] = { link = "@parameter" },
|
["@lsp.type.parameter"] = { link = "@parameter" },
|
||||||
["@lsp.type.property"] = { link = "@property" },
|
["@lsp.type.property"] = { link = "@variable.member" },
|
||||||
["@lsp.type.selfTypeKeyword"] = { fg = palette.green, bold = true },
|
["@lsp.type.selfTypeKeyword"] = { fg = palette.green, bold = true },
|
||||||
["@lsp.type.string"] = { link = "@string" },
|
["@lsp.type.string"] = { link = "@string" },
|
||||||
["@lsp.type.struct"] = { link = "@struct" },
|
["@lsp.type.struct"] = { link = "@struct" },
|
||||||
@@ -147,7 +147,7 @@ return function(theme, palette)
|
|||||||
["@lsp.typemod.comment.documentation"] = { link = "@comment.documentation" },
|
["@lsp.typemod.comment.documentation"] = { link = "@comment.documentation" },
|
||||||
["@lsp.typemod.derive.attribute"] = { fg = palette.blue },
|
["@lsp.typemod.derive.attribute"] = { fg = palette.blue },
|
||||||
["@lsp.typemod.method"] = { link = "@method" },
|
["@lsp.typemod.method"] = { link = "@method" },
|
||||||
["@lsp.typemod.selfKeyword"] = { fg = palette.fg, bold = true },
|
["@lsp.typemod.selfKeyword"] = theme.highlight_bold,
|
||||||
["@lsp.typemod.string.attribute"] = { link = "String" }, -- Hmmmm
|
["@lsp.typemod.string.attribute"] = { link = "String" }, -- Hmmmm
|
||||||
["@lsp.typemod.variable.readonly"] = { link = "Constant" },
|
["@lsp.typemod.variable.readonly"] = { link = "Constant" },
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,6 +9,8 @@ function M.make_theme(P, C)
|
|||||||
local T = {
|
local T = {
|
||||||
none = { fg = P.none, bg = P.none },
|
none = { fg = P.none, bg = P.none },
|
||||||
normal = { fg = P.fg, bg = P.bg },
|
normal = { fg = P.fg, bg = P.bg },
|
||||||
|
highlight = { fg = P.fg_gradiant[1], bg = P.none },
|
||||||
|
highlight_bold = { fg = P.fg_gradiant[1], bg = P.none, bold = true },
|
||||||
inverted = { fg = P.bg, bg = P.fg },
|
inverted = { fg = P.bg, bg = P.fg },
|
||||||
inactive = { fg = P.fg_gradiant[4] },
|
inactive = { fg = P.fg_gradiant[4] },
|
||||||
conceal = { fg = P.bg_gradiant[3], bg = P.harder_bg },
|
conceal = { fg = P.bg_gradiant[3], bg = P.harder_bg },
|
||||||
|
|||||||
Reference in New Issue
Block a user