aboutsummaryrefslogtreecommitdiff
path: root/lua/prismite/groups/ui.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/prismite/groups/ui.lua')
-rw-r--r--lua/prismite/groups/ui.lua74
1 files changed, 74 insertions, 0 deletions
diff --git a/lua/prismite/groups/ui.lua b/lua/prismite/groups/ui.lua
new file mode 100644
index 0000000..0941fd8
--- /dev/null
+++ b/lua/prismite/groups/ui.lua
@@ -0,0 +1,74 @@
+local colors = require "prismite.palette"
+local utils = require "prismite.utils"
+
+return {
+ Conceal = { fg = colors.bg_high },
+ CurSearch = { link = "Search" },
+ Cursor = { fg = colors.bg, bg = colors.fg },
+ CursorIM = { link = "Cursor" },
+ CursorColumn = { bg = colors.bg_high },
+ CursorLine = { link = "CursorColumn" },
+ Directory = { fg = colors.blue },
+ DiffAdd = { bg = utils.overlay_oklch(colors.green, colors.bg, 0.1) },
+ DiffChange = { bg = utils.overlay_oklch(colors.cyan, colors.bg, 0.1) },
+ DiffDelete = { bg = utils.overlay_oklch(colors.red, colors.bg, 0.1) },
+ DiffText = { link = "Normal" },
+ EndOfBuffer = { link = "Comment" },
+ -- TermCursor = { link = "Cursor" },
+ -- TermCursorNC = { link = "Cursor" },
+ ErrorMsg = { fg = colors.red },
+ WinSeparator = { fg = colors.border },
+ Folded = { fg = colors.bg, bg = colors.cyan },
+ FoldColumn = {},
+ SignColumn = {},
+ IncSearch = { link = "Search" },
+ Substitute = { underline = true },
+ LineNr = { fg = colors.fg, bg = colors.bg },
+ LineNrAbove = { fg = colors.fg_low },
+ LineNrBelow = { fg = colors.fg_low },
+ CursorLineNr = { fg = colors.fg, bg = colors.bg_high },
+ CursorLineFold = { fg = colors.fg, bg = colors.bg_high },
+ CursorLineSign = { bg = colors.bg_high },
+ MatchParen = { underline = true },
+ ModeMsg = { bg = colors.bg_high },
+ MsgArea = { bg = colors.bg_high },
+ MsgSeparator = {},
+ MoreMsg = { bg = colors.bg_high },
+ NonText = { fg = colors.fg_darjer },
+ Normal = { fg = colors.fg, bg = colors.bg },
+ NormalFloat = { link = "Normal" },
+ FloatBorder = { link = "WinSeparator" },
+ FloatTitle = {},
+ FloatFooter = {},
+ NormalNC = { link = "Normal" },
+ Pmenu = { link = "Normal" },
+ PmenuSel = { link = "CursorLine" },
+ PmenuKind = { link = "Pmenu" },
+ PmenuKindSel = { link = "PmenuSel" },
+ PmenuExtra = { link = "Pmenu" },
+ PmenuExtraSel = { link = "PmenuSel" },
+ PmenuSbar = { fg = colors.fg_low },
+ PmenuThumb = { fg = colors.yellow },
+ Question = {},
+ QuickFixLine = { link = "CursorLine" },
+ Search = { fg = colors.bg, bg = colors.yellow },
+ SpecialKey = { link = "NonText" },
+ SpellBad = { undercurl = true },
+ SpellCap = { undercurl = true },
+ SpellLocal = { undercurl = true },
+ SpellRare = { undercurl = true, italic = true },
+ StatusLine = { fg = colors.fg },
+ StatusLineNC = { fg = colors.fg_low },
+ TabLine = { bg = colors.bg_low, fg = colors.fg_low },
+ TabLineFill = { bg = colors.bg_lowest },
+ TabLineSel = { bg = colors.bg },
+ Title = {},
+ Visual = { bg = colors.bg_highest },
+ VisualNOS = { fg = colors.bg, bg = colors.orange },
+ WarningMsg = { fg = colors.orange },
+ Whitespace = { fg = colors.border },
+ WildMenu = { link = "CursorLine" },
+ WinBar = { link = "Normal" },
+ WinBarNC = { link = "WinBar" },
+ LspInlayHint = { link = "Comment" },
+}