summaryrefslogtreecommitdiff
path: root/lua/no-clown-fiesta/groups/mason.lua
blob: 256764dd57f09eb4b84ad358e830b952a2f49602 (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
49
50
51
52
local M = {}

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

return M