summaryrefslogtreecommitdiff
path: root/lua/no-clown-fiesta/highlight-group
diff options
context:
space:
mode:
Diffstat (limited to 'lua/no-clown-fiesta/highlight-group')
-rw-r--r--lua/no-clown-fiesta/highlight-group/alpha.lua10
-rw-r--r--lua/no-clown-fiesta/highlight-group/git.lua14
-rw-r--r--lua/no-clown-fiesta/highlight-group/hop.lua12
-rw-r--r--lua/no-clown-fiesta/highlight-group/lir.lua12
-rw-r--r--lua/no-clown-fiesta/highlight-group/lsp.lua46
-rw-r--r--lua/no-clown-fiesta/highlight-group/markdown.lua31
-rw-r--r--lua/no-clown-fiesta/highlight-group/neogit.lua24
-rw-r--r--lua/no-clown-fiesta/highlight-group/nvim-cmp.lua14
-rw-r--r--lua/no-clown-fiesta/highlight-group/nvim-tree.lua38
-rw-r--r--lua/no-clown-fiesta/highlight-group/statusline.lua13
-rw-r--r--lua/no-clown-fiesta/highlight-group/telescope.lua12
-rw-r--r--lua/no-clown-fiesta/highlight-group/treesitter.lua60
-rw-r--r--lua/no-clown-fiesta/highlight-group/whichkey.lua13
13 files changed, 299 insertions, 0 deletions
diff --git a/lua/no-clown-fiesta/highlight-group/alpha.lua b/lua/no-clown-fiesta/highlight-group/alpha.lua
new file mode 100644
index 0000000..167019a
--- /dev/null
+++ b/lua/no-clown-fiesta/highlight-group/alpha.lua
@@ -0,0 +1,10 @@
+local M = {}
+
+function M.highlight(palette)
+ return {
+ AlphaHeader = { fg = palette.gray_blue },
+ AlphaButtons = { fg = palette.medium_gray },
+ }
+end
+
+return M
diff --git a/lua/no-clown-fiesta/highlight-group/git.lua b/lua/no-clown-fiesta/highlight-group/git.lua
new file mode 100644
index 0000000..4c71de3
--- /dev/null
+++ b/lua/no-clown-fiesta/highlight-group/git.lua
@@ -0,0 +1,14 @@
+local M = {}
+
+function M.highlight(palette)
+ return {
+ SignAdd = { fg = palette.sign_add },
+ SignChange = { fg = palette.sign_change },
+ SignDelete = { fg = palette.sign_delete },
+ GitSignsAdd = { fg = palette.sign_add },
+ GitSignsChange = { fg = palette.sign_change },
+ GitSignsDelete = { fg = palette.sign_delete },
+ }
+end
+
+return M
diff --git a/lua/no-clown-fiesta/highlight-group/hop.lua b/lua/no-clown-fiesta/highlight-group/hop.lua
new file mode 100644
index 0000000..341c6ff
--- /dev/null
+++ b/lua/no-clown-fiesta/highlight-group/hop.lua
@@ -0,0 +1,12 @@
+local M = {}
+
+function M.highlight(palette)
+ return {
+ HopNextKey = { fg = palette.cyan, style = "bold" },
+ HopNextKey1 = { fg = palette.red, style = "bold" },
+ HopNextKey2 = { fg = palette.gray_blue },
+ HopUnmatched = { fg = palette.gray },
+ }
+end
+
+return M
diff --git a/lua/no-clown-fiesta/highlight-group/lir.lua b/lua/no-clown-fiesta/highlight-group/lir.lua
new file mode 100644
index 0000000..47071b7
--- /dev/null
+++ b/lua/no-clown-fiesta/highlight-group/lir.lua
@@ -0,0 +1,12 @@
+local M = {}
+
+function M.highlight(palette)
+ return {
+ LirFloatNormal = { fg = palette.fg, bg = palette.alt_bg },
+ LirDir = { fg = palette.white },
+ LirSymLink = { fg = palette.cyan },
+ LirEmptyDirText = { fg = palette.medium_gray },
+ }
+end
+
+return M
diff --git a/lua/no-clown-fiesta/highlight-group/lsp.lua b/lua/no-clown-fiesta/highlight-group/lsp.lua
new file mode 100644
index 0000000..ba3f5e5
--- /dev/null
+++ b/lua/no-clown-fiesta/highlight-group/lsp.lua
@@ -0,0 +1,46 @@
+local M = {}
+
+function M.highlight(palette)
+ return {
+ LspDiagnosticsDefaultError = { fg = palette.error_red },
+ LspDiagnosticsDefaultWarning = { fg = palette.warning_orange },
+ LspDiagnosticsDefaultInformation = { fg = palette.info_yellow },
+ LspDiagnosticsDefaultInfo = { fg = palette.info_yellow },
+ LspDiagnosticsDefaultHint = { fg = palette.hint_blue },
+ LspDiagnosticsVirtualTextError = { fg = palette.error_red },
+ LspDiagnosticsVirtualTextWarning = { fg = palette.warning_orange },
+ LspDiagnosticsVirtualTextInformation = { fg = palette.info_yellow },
+ LspDiagnosticsVirtualTextInfo = { fg = palette.info_yellow },
+ LspDiagnosticsVirtualTextHint = { fg = palette.hint_blue },
+ LspDiagnosticsFloatingError = { fg = palette.error_red },
+ LspDiagnosticsFloatingWarning = { fg = palette.warning_orange },
+ LspDiagnosticsFloatingInformation = { fg = palette.info_yellow },
+ LspDiagnosticsFloatingInfo = { fg = palette.info_yellow },
+ LspDiagnosticsFloatingHint = { fg = palette.hint_blue },
+ DiagnosticSignError = { fg = palette.error_red },
+ DiagnosticSignWarning = { fg = palette.warning_orange },
+ DiagnosticSignInformation = { fg = palette.info_yellow },
+ DiagnosticSignInfo = { fg = palette.info_yellow },
+ DiagnosticSignHint = { fg = palette.hint_blue },
+ LspDiagnosticsSignError = { fg = palette.error_red },
+ LspDiagnosticsSignWarning = { fg = palette.warning_orange },
+ LspDiagnosticsSignInformation = { fg = palette.info_yellow },
+ LspDiagnosticsSignInfo = { fg = palette.info_yellow },
+ LspDiagnosticsSignHint = { fg = palette.hint_blue },
+ LspDiagnosticsError = { fg = palette.error_red },
+ LspDiagnosticsWarning = { fg = palette.warning_orange },
+ LspDiagnosticsInformation = { fg = palette.info_yellow },
+ LspDiagnosticsInfo = { fg = palette.info_yellow },
+ LspDiagnosticsHint = { fg = palette.hint_blue },
+ LspDiagnosticsUnderlineError = { style = "underline" },
+ LspDiagnosticsUnderlineWarning = { style = "underline" },
+ LspDiagnosticsUnderlineInformation = { style = "underline" },
+ LspDiagnosticsUnderlineInfo = { style = "underline" },
+ LspDiagnosticsUnderlineHint = { style = "underline" },
+ LspReferenceRead = { bg = "#36383F" },
+ LspReferenceText = { bg = "#36383F" },
+ LspReferenceWrite = { bg = "#36383f" },
+ }
+end
+
+return M
diff --git a/lua/no-clown-fiesta/highlight-group/markdown.lua b/lua/no-clown-fiesta/highlight-group/markdown.lua
new file mode 100644
index 0000000..28ece3b
--- /dev/null
+++ b/lua/no-clown-fiesta/highlight-group/markdown.lua
@@ -0,0 +1,31 @@
+local M = {}
+
+function M.highlight(palette)
+ return {
+ markdownBlockquote = { fg = palette.accent },
+ markdownBold = { fg = palette.yellow, style = "bold" },
+ markdownCode = { fg = palette.green },
+ markdownCodeBlock = { fg = palette.green },
+ markdownCodeDelimiter = { fg = palette.green },
+ markdownH1 = { fg = palette.blue },
+ markdownH2 = { fg = palette.blue },
+ markdownH3 = { fg = palette.blue },
+ markdownH4 = { fg = palette.blue },
+ markdownH5 = { fg = palette.blue },
+ markdownH6 = { fg = palette.blue },
+ markdownHeadingDelimiter = { fg = palette.red },
+ markdownHeadingRule = { fg = palette.accent },
+ markdownId = { fg = palette.purple },
+ markdownIdDeclaration = { fg = palette.blue },
+ markdownIdDelimiter = { fg = palette.light_gray },
+ markdownLinkDelimiter = { fg = palette.light_gray },
+ markdownItalic = { style = "italic" },
+ markdownLinkText = { fg = palette.blue },
+ markdownListMarker = { fg = palette.red },
+ markdownOrderedListMarker = { fg = palette.red },
+ markdownRule = { fg = palette.accent },
+ markdownUrl = { fg = palette.cyan, style = "underline" },
+ }
+end
+
+return M
diff --git a/lua/no-clown-fiesta/highlight-group/neogit.lua b/lua/no-clown-fiesta/highlight-group/neogit.lua
new file mode 100644
index 0000000..40917c1
--- /dev/null
+++ b/lua/no-clown-fiesta/highlight-group/neogit.lua
@@ -0,0 +1,24 @@
+local M = {}
+
+function M.highlight(palette)
+ return {
+ NeogitNotificationInfo = { fg = palette.sign_add },
+ NeogitNotificationWarning = { fg = palette.warning_orange },
+ NeogitNotificationError = { fg = palette.sign_delete },
+ NeogitDiffAddHighlight = {
+ fg = palette.sign_add,
+ bg = palette.neogit_light_green,
+ },
+ NeogitDiffDeleteHighlight = {
+ fg = palette.sign_delete,
+ bg = palette.neogit_light_red,
+ },
+ NeogitDiffpaletteontextHighlight = { fg = palette.fg, bg = palette.accent },
+ NeogitHunkHeader = { fg = palette.fg, bg = palette.alt_bg },
+ NeogitHunkHeaderHighlight = { fg = palette.fg, bg = palette.gray },
+ NeogitDiffAdd = { fg = palette.sign_add, bg = palette.neogit_green },
+ NeogitDiffDelete = { fg = palette.sign_delete, bg = palette.neogit_red },
+ }
+end
+
+return M
diff --git a/lua/no-clown-fiesta/highlight-group/nvim-cmp.lua b/lua/no-clown-fiesta/highlight-group/nvim-cmp.lua
new file mode 100644
index 0000000..364af5b
--- /dev/null
+++ b/lua/no-clown-fiesta/highlight-group/nvim-cmp.lua
@@ -0,0 +1,14 @@
+local M = {}
+
+function M.highlight(palette)
+ return {
+ CmpItemAbbr = { fg = palette.fg },
+ CmpItemAbbrDeprecated = { fg = palette.red },
+ CmpItemAbbrMatch = { fg = palette.orange },
+ CmpItemAbbrMatchFuzzy = { fg = palette.orange },
+ CmpItemMenu = { fg = palette.medium_gray },
+ CmpItemKind = { fg = palette.light_gray },
+ }
+end
+
+return M
diff --git a/lua/no-clown-fiesta/highlight-group/nvim-tree.lua b/lua/no-clown-fiesta/highlight-group/nvim-tree.lua
new file mode 100644
index 0000000..ffe7897
--- /dev/null
+++ b/lua/no-clown-fiesta/highlight-group/nvim-tree.lua
@@ -0,0 +1,38 @@
+local M = {}
+
+function M.highlight(palette)
+ return {
+ NvimTreeFolderIcon = { fg = palette.white },
+ NvimTreeIndentMarker = { fg = palette.alt_bg },
+ NvimTreeNormal = { fg = palette.light_gray, bg = palette.alt_bg },
+ NvimTreeVertSplit = { fg = palette.alt_bg, bg = palette.alt_bg },
+ NvimTreeFolderName = { fg = palette.white },
+ NvimTreeOpenedFolderName = { fg = palette.white, style = "bold" },
+ NvimTreeEmptyFolderName = { fg = palette.medium_gray },
+ NvimTreeGitIgnored = { fg = palette.medium_gray },
+ NvimTreeImageFile = { fg = palette.light_gray },
+ NvimTreeSpecialFile = { fg = palette.orange },
+ NvimTreeEndOfBuffer = { fg = palette.alt_bg },
+ NvimTreeCursorLine = { bg = palette.accent },
+ NvimTreeGitignoreIcon = { fg = palette.red },
+ NvimTreeGitStaged = { fg = palette.cyan },
+ NvimTreeGitNew = { fg = palette.cyan },
+ NvimTreeGitRenamed = { fg = palette.cyan },
+ NvimTreeGitDeleted = { fg = palette.sign_delete },
+ NvimTreeGitMerge = { fg = palette.info_yellow },
+ NvimTreeGitDirty = { fg = palette.info_yellow },
+ NvimTreeSymlink = { fg = palette.cyan },
+ NvimTreeRootFolder = { fg = palette.fg, style = "bold" },
+ NvimTreeExecFile = { fg = palette.green },
+ NvimTreeStatusLine = { fg = palette.alt_bg, bg = palette.alt_bg },
+ NvimTreeStatusLineNC = { fg = palette.alt_bg, bg = palette.alt_bg },
+ NvimTreeStatusNC = { fg = palette.alt_bg, bg = palette.alt_bg },
+ NvimTreeLspDiagnosticsErr = { fg = palette.error_red },
+ NvimTreeLspDiagnosticsError = { fg = palette.error_red },
+ NvimTreeLspDiagnosticsHint = { fg = palette.hint_blue },
+ NvimTreeLspDiagnosticsInformation = { fg = palette.info_yellow },
+ NvimTreeLspDiagnosticsWarning = { fg = palette.warning_orange },
+ }
+end
+
+return M
diff --git a/lua/no-clown-fiesta/highlight-group/statusline.lua b/lua/no-clown-fiesta/highlight-group/statusline.lua
new file mode 100644
index 0000000..0ca1d1d
--- /dev/null
+++ b/lua/no-clown-fiesta/highlight-group/statusline.lua
@@ -0,0 +1,13 @@
+local M = {}
+
+function M.highlight(palette)
+ return {
+ StatusLine = { fg = palette.bg, bg = palette.gray },
+ StatusLineNC = { fg = palette.bg, bg = palette.gray },
+ StatusLineSeparator = { fg = palette.bg },
+ StatusLineTerm = { fg = palette.bg },
+ StatusLineTermNC = { fg = palette.bg },
+ }
+end
+
+return M
diff --git a/lua/no-clown-fiesta/highlight-group/telescope.lua b/lua/no-clown-fiesta/highlight-group/telescope.lua
new file mode 100644
index 0000000..d81da87
--- /dev/null
+++ b/lua/no-clown-fiesta/highlight-group/telescope.lua
@@ -0,0 +1,12 @@
+local M = {}
+
+function M.highlight(palette)
+ return {
+ TelescopeNormal = { fg = palette.fg, bg = palette.bg },
+ TelescopeSelection = { fg = palette.fg, bg = palette.accent },
+ TelescopeMatching = { fg = palette.info_yellow, style = "bold" },
+ TelescopeBorder = { fg = palette.medium_gray, bg = palette.bg },
+ }
+end
+
+return M
diff --git a/lua/no-clown-fiesta/highlight-group/treesitter.lua b/lua/no-clown-fiesta/highlight-group/treesitter.lua
new file mode 100644
index 0000000..665ac8a
--- /dev/null
+++ b/lua/no-clown-fiesta/highlight-group/treesitter.lua
@@ -0,0 +1,60 @@
+local M = {}
+
+function M.highlight(palette, opts)
+ return {
+ TSComment = { fg = palette.medium_gray, style = opts.comments },
+ TSAnnotation = { fg = palette.white },
+ TSAttribute = { fg = palette.white },
+ TSConstructor = { fg = palette.white },
+ TSType = { fg = palette.white, style = opts.type },
+ TSTypeBuiltin = { fg = palette.white },
+ TSConditional = { fg = palette.gray_blue },
+ TSException = { fg = palette.red },
+ TSInclude = { fg = palette.red },
+ TSKeyword = { fg = palette.gray_blue, style = opts.keywords },
+ TSKeywordFunction = { fg = palette.gray_blue, style = opts.keywords },
+ TSLabel = { fg = palette.white },
+ TSNamespace = { fg = palette.white },
+ TSRepeat = { fg = palette.gray_blue },
+ TSConstant = { fg = palette.white },
+ TSConstBuiltin = { fg = palette.red },
+ TSFloat = { fg = palette.red },
+ TSNumber = { fg = palette.red },
+ TSBoolean = { fg = palette.red },
+ TSCharacter = { fg = palette.light_green },
+ TSError = { fg = palette.error_red },
+ TSFunction = { fg = palette.cyan, style = opts.functions },
+ TSFuncBuiltin = { fg = palette.cyan },
+ TSMethod = { fg = palette.cyan },
+ TSConstMacro = { fg = palette.cyan },
+ TSFuncMacro = { fg = palette.cyan },
+ TSVariable = { fg = palette.white, style = opts.variables },
+ TSVariableBuiltin = { fg = palette.white },
+ TSProperty = { fg = palette.white },
+ TSOperator = { fg = palette.white },
+ TSField = { fg = palette.white },
+ TSParameter = { fg = palette.white },
+ TSParameterReference = { fg = palette.white },
+ TSSymbol = { fg = palette.medium_gray },
+ TSText = { fg = palette.fg },
+ TSPunctDelimiter = { fg = palette.white },
+ TSTagDelimiter = { fg = palette.white },
+ TSPunctBracket = { fg = palette.white },
+ TSPunctSpecial = { fg = palette.medium_gray },
+ TSString = { fg = palette.medium_gray_blue },
+ TSStringRegex = { fg = palette.medium_gray_blue },
+ TSStringEscape = { fg = palette.medium_gray_blue },
+ TSTag = { fg = palette.pale_purple },
+ TSEmphasis = { style = "italic" },
+ TSUnderline = { style = "underline" },
+ TSTitle = { fg = palette.medium_gray },
+ TSLiteral = { fg = palette.medium_gray },
+ TSURI = { fg = palette.cyan, style = "underline" },
+ TSKeywordOperator = { fg = palette.gray_blue },
+ TSStructure = { fg = palette.purple_test },
+ TSStrong = { fg = palette.medium_gray },
+ TSQueryLinterError = { fg = palette.warning_orange },
+ }
+end
+
+return M
diff --git a/lua/no-clown-fiesta/highlight-group/whichkey.lua b/lua/no-clown-fiesta/highlight-group/whichkey.lua
new file mode 100644
index 0000000..66ac153
--- /dev/null
+++ b/lua/no-clown-fiesta/highlight-group/whichkey.lua
@@ -0,0 +1,13 @@
+local M = {}
+
+function M.highlight(palette)
+ return {
+ WhichKey = { fg = palette.light_gray },
+ WhichKeySeperator = { fg = palette.gray },
+ WhichKeyGroup = { fg = palette.red },
+ WhichKeyDesc = { fg = palette.light_gray },
+ WhichKeyFloat = { bg = palette.bg },
+ }
+end
+
+return M