131 lines
4.6 KiB
Lua
131 lines
4.6 KiB
Lua
local function get(p, config)
|
|||
|
|
local styles = config.styles
|
||
|
|
|
||
|
|
return {
|
||
|
|
["@comment"] = { fg = p.fg_muted2, italic = true },
|
||
|
|
["@comment.error"] = { fg = p.coral },
|
||
|
|
["@comment.warning"] = { fg = p.gold },
|
||
|
|
["@comment.todo"] = { fg = p.gold, bold = true },
|
||
|
|
["@comment.note"] = { fg = p.lavender, bold = true },
|
||
|
|
["@comment.hint"] = { fg = p.teal },
|
||
|
|
|
||
|
|
["@constant"] = { fg = p.gold },
|
||
|
|
["@constant.builtin"] = { fg = p.gold },
|
||
|
|
["@constant.macro"] = { fg = p.gold },
|
||
|
|
["@define"] = { fg = p.gold },
|
||
|
|
|
||
|
|
["@string"] = { fg = p.lavender },
|
||
|
|
["@string.documentation"] = { fg = p.lavender },
|
||
|
|
["@string.regexp"] = { fg = p.cyan },
|
||
|
|
["@string.escape"] = { fg = p.teal },
|
||
|
|
["@string.special"] = { fg = p.teal },
|
||
|
|
|
||
|
|
["@character"] = { fg = p.lavender },
|
||
|
|
["@character.special"] = { fg = p.teal },
|
||
|
|
|
||
|
|
["@number"] = { fg = p.gold },
|
||
|
|
["@number.float"] = { fg = p.gold },
|
||
|
|
["@boolean"] = { fg = p.gold },
|
||
|
|
|
||
|
|
["@function"] = { fg = p.deep_lavender },
|
||
|
|
["@function.builtin"] = { fg = p.gold },
|
||
|
|
["@function.call"] = { fg = p.deep_lavender },
|
||
|
|
["@function.macro"] = { fg = p.gold },
|
||
|
|
["@function.method"] = { fg = p.deep_lavender },
|
||
|
|
["@function.method.call"] = { fg = p.deep_lavender },
|
||
|
|
|
||
|
|
["@parameter"] = { fg = p.fg_bright },
|
||
|
|
["@parameter.reference"] = { fg = p.fg_bright },
|
||
|
|
|
||
|
|
["@field"] = { fg = p.fg_bright },
|
||
|
|
["@property"] = { fg = p.fg_bright },
|
||
|
|
["@symbol"] = { fg = p.fg_bright },
|
||
|
|
|
||
|
|
["@variable"] = { fg = p.fg_bright },
|
||
|
|
["@variable.builtin"] = { fg = p.coral },
|
||
|
|
["@variable.member"] = { fg = p.fg_bright },
|
||
|
|
["@variable.parameter"] = { fg = p.fg_bright },
|
||
|
|
|
||
|
|
["@type"] = { fg = p.teal },
|
||
|
|
["@type.builtin"] = { fg = p.teal },
|
||
|
|
["@type.definition"] = { fg = p.teal },
|
||
|
|
["@type.qualifier"] = { fg = p.teal },
|
||
|
|
|
||
|
|
["@keyword"] = { fg = p.coral },
|
||
|
|
["@keyword.function"] = { fg = p.coral },
|
||
|
|
["@keyword.return"] = { fg = p.coral },
|
||
|
|
["@keyword.operator"] = { fg = p.coral },
|
||
|
|
["@keyword.exception"] = { fg = p.coral },
|
||
|
|
["@keyword.modifier"] = { fg = p.coral },
|
||
|
|
["@keyword.repeat"] = { fg = p.coral },
|
||
|
|
["@keyword.storage"] = { fg = p.teal },
|
||
|
|
["@keyword.conditional"] = { fg = p.coral },
|
||
|
|
["@keyword.directive"] = { fg = p.coral },
|
||
|
|
["@keyword.directive.define"] = { fg = p.coral },
|
||
|
|
|
||
|
|
["@conditional"] = { fg = p.coral },
|
||
|
|
["@repeat"] = { fg = p.coral },
|
||
|
|
["@debug"] = { fg = p.coral },
|
||
|
|
["@label"] = { fg = p.fg_bright },
|
||
|
|
|
||
|
|
["@operator"] = { fg = p.gold },
|
||
|
|
|
||
|
|
["@punctuation.delimiter"] = { fg = p.fg_dim },
|
||
|
|
["@punctuation.bracket"] = { fg = p.fg },
|
||
|
|
["@punctuation.special"] = { fg = p.coral },
|
||
|
|
|
||
|
|
["@preproc"] = { fg = p.coral },
|
||
|
|
["@include"] = { fg = p.coral },
|
||
|
|
["@attribute"] = { fg = p.teal },
|
||
|
|
|
||
|
|
["@tag"] = { fg = p.teal },
|
||
|
|
["@tag.attribute"] = { fg = p.fg_bright },
|
||
|
|
["@tag.delimiter"] = { fg = p.fg_muted },
|
||
|
|
|
||
|
|
["@namespace"] = { fg = p.teal },
|
||
|
|
["@module"] = { fg = p.deep_lavender },
|
||
|
|
|
||
|
|
["@text"] = { fg = p.fg_bright },
|
||
|
|
["@text.strong"] = { bold = true },
|
||
|
|
["@text.emphasis"] = { italic = true },
|
||
|
|
["@text.underline"] = { underline = true },
|
||
|
|
["@text.strike"] = { strikethrough = true },
|
||
|
|
["@text.title"] = { fg = p.deep_lavender },
|
||
|
|
["@text.literal"] = { fg = p.lavender },
|
||
|
|
["@text.quote"] = { fg = p.fg_muted },
|
||
|
|
["@text.note"] = { fg = p.lavender },
|
||
|
|
["@text.warning"] = { fg = p.gold },
|
||
|
|
["@text.danger"] = { fg = p.coral },
|
||
|
|
["@text.diff.add"] = { fg = p.teal },
|
||
|
|
["@text.diff.delete"] = { fg = p.coral },
|
||
|
|
|
||
|
|
["@markup.heading"] = { fg = p.deep_lavender },
|
||
|
|
["@markup.heading.1"] = { fg = p.coral },
|
||
|
|
["@markup.heading.2"] = { fg = p.gold },
|
||
|
|
["@markup.heading.3"] = { fg = p.teal },
|
||
|
|
["@markup.heading.4"] = { fg = p.lavender },
|
||
|
|
["@markup.heading.5"] = { fg = p.deep_lavender },
|
||
|
|
["@markup.heading.6"] = { fg = p.lavender },
|
||
|
|
["@markup.list"] = { fg = p.fg_bright },
|
||
|
|
["@markup.list.checked"] = { fg = p.teal },
|
||
|
|
["@markup.list.unchecked"] = { fg = p.fg_muted },
|
||
|
|
["@markup.link"] = { fg = p.lavender, underline = true },
|
||
|
|
["@markup.link.url"] = { fg = p.lavender, underline = true },
|
||
|
|
["@markup.link.label"] = { fg = p.fg_bright },
|
||
|
|
["@markup.raw"] = { fg = p.fg_bright },
|
||
|
|
["@markup.raw.block"] = { fg = p.fg_bright },
|
||
|
|
["@markup.code"] = { fg = p.fg_bright },
|
||
|
|
["@markup.math"] = { fg = p.cyan },
|
||
|
|
["@markup.environment"] = { fg = p.fg_bright },
|
||
|
|
["@markup.environment.name"] = { fg = p.teal },
|
||
|
|
|
||
|
|
["@diff.plus"] = { fg = p.teal },
|
||
|
|
["@diff.minus"] = { fg = p.coral },
|
||
|
|
["@diff.delta"] = { fg = p.gold },
|
||
|
|
|
||
|
|
["@none"] = {},
|
||
|
|
}
|
||
|
|
end
|
||
|
|
|
||
|
|
return { get = get }
|