summaryrefslogtreecommitdiff
path: root/lua/no-clown-fiesta/groups/mason.lua
blob: 9e62750cd62d7e37c62b488cb779944faf397af5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
local M = {}

function M.highlight(palette, opts)
  return {
    MasonNormal = { link = "NormalFloat", default = true },
    MasonHeader = { bold = true, fg = palette.fg, bg = palette.bg, default = true },
    MasonHeaderSecondary = {
      bold = true,
      fg = palette.light_gray,
      bg = palette.bg,
      default = true,
    },
    MasonHighlight = { fg = palette.fg, default = true },
    MasonHighlightBlock = { bg = palette.fg, fg = palette.bg, default = true },
    MasonHighlightBlockBold = {
      bg = palette.fg,
      fg = palette.bg,
      bold = true,
      default = true,
    },
    MasonHighlightSecondary = { fg = palette.fg, default = true },
    MasonHighlightBlockSecondary = {
      bg = palette.fg,
      fg = palette.bg,
      default = true,
    },
    MasonHighlightBlockBoldSecondary = {
      bg = palette.fg,
      fg = palette.bg,
      bold = true,
      default = true,
    },
    MasonLink = { link = "MasonHighlight", default = true },
    MasonMuted = { fg = palette.medium_gray, default = true },
    MasonMutedBlock = { bg = palette.accent, fg = palette.light_gray, default = true },
    MasonMutedBlockBold = {
      bg = palette.gray,
      fg = palette.bg,
      bold = true,
      default = true,
    },
    MasonError = { link = "ErrorMsg", default = true },
    MasonWarning = { link = "WarningMsg", default = true },
    MasonHeading = { bold = true, default = true },
  }
end

return M