summaryrefslogtreecommitdiff
path: root/lua/no-clown-fiesta/groups/mason.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/no-clown-fiesta/groups/mason.lua')
-rw-r--r--lua/no-clown-fiesta/groups/mason.lua52
1 files changed, 52 insertions, 0 deletions
diff --git a/lua/no-clown-fiesta/groups/mason.lua b/lua/no-clown-fiesta/groups/mason.lua
new file mode 100644
index 0000000..256764d
--- /dev/null
+++ b/lua/no-clown-fiesta/groups/mason.lua
@@ -0,0 +1,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