mirror of
https://codeberg.org/pnx/skift.nvim.git
synced 2026-06-17 04:40:03 +02:00
Initial Commit
This commit is contained in:
commit
694515c168
16 changed files with 1325 additions and 0 deletions
79
lua/skift/groups/editor.lua
Normal file
79
lua/skift/groups/editor.lua
Normal file
|
|
@ -0,0 +1,79 @@
|
|||
local M = {}
|
||||
|
||||
---@param c Colors
|
||||
function M.get(c)
|
||||
return {
|
||||
Normal = { fg = c.fg, bg = c.bg },
|
||||
NormalNC = { fg = c.fg, bg = c.bg },
|
||||
NormalFloat = { fg = c.fg, bg = c.bg_float },
|
||||
FloatBorder = { fg = c.border, bg = c.bg_float },
|
||||
FloatTitle = { fg = c.accent, bg = c.bg_float, bold = true },
|
||||
WinBar = { fg = c.fg_dim, bg = c.none },
|
||||
WinBarNC = { fg = c.fg_gutter, bg = c.none },
|
||||
|
||||
Cursor = { fg = c.bg, bg = c.fg },
|
||||
lCursor = { link = "Cursor" },
|
||||
CursorIM = { link = "Cursor" },
|
||||
TermCursor = { link = "Cursor" },
|
||||
TermCursorNC = { fg = c.bg, bg = c.fg_dim },
|
||||
CursorLine = { bg = c.bg_cursorline },
|
||||
CursorColumn = { link = "CursorLine" },
|
||||
|
||||
LineNr = { fg = c.fg_gutter },
|
||||
CursorLineNr = { fg = c.fg_gutter_active, bold = true },
|
||||
SignColumn = { fg = c.fg_gutter, bg = c.none },
|
||||
FoldColumn = { fg = c.fg_gutter, bg = c.none },
|
||||
|
||||
Search = { fg = c.fg_bright, bg = c.bg_search },
|
||||
IncSearch = { fg = c.bg, bg = c.bg_search },
|
||||
CurSearch = { link = "IncSearch" },
|
||||
Substitute = { fg = c.bg, bg = c.operator },
|
||||
|
||||
Visual = { bg = c.bg_selection },
|
||||
VisualNOS = { link = "Visual" },
|
||||
|
||||
StatusLine = { fg = c.fg, bg = c.bg_float },
|
||||
StatusLineNC = { fg = c.fg_dim, bg = c.bg_float },
|
||||
WinSeparator = { fg = c.border },
|
||||
VertSplit = { link = "WinSeparator" },
|
||||
|
||||
TabLine = { fg = c.fg_dim, bg = c.bg_float },
|
||||
TabLineFill = { bg = c.bg_float },
|
||||
TabLineSel = { fg = c.fg_bright, bg = c.bg, bold = true },
|
||||
|
||||
Pmenu = { fg = c.fg, bg = c.bg_float },
|
||||
PmenuSel = { fg = c.fg_bright, bg = c.bg_selection },
|
||||
PmenuSbar = { bg = c.bg_elevated },
|
||||
PmenuThumb = { bg = c.fg_gutter },
|
||||
PmenuKind = { fg = c.keyword, bg = c.bg_float },
|
||||
PmenuKindSel = { fg = c.keyword, bg = c.bg_selection },
|
||||
PmenuExtra = { fg = c.fg_dim, bg = c.bg_float },
|
||||
PmenuExtraSel = { fg = c.fg_dim, bg = c.bg_selection },
|
||||
|
||||
Folded = { fg = c.fg_comment, bg = c.none },
|
||||
|
||||
NonText = { fg = c.nontext },
|
||||
SpecialKey = { link = "NonText" },
|
||||
Whitespace = { link = "NonText" },
|
||||
EndOfBuffer = { link = "NonText" },
|
||||
MatchParen = { fg = c.match_paren, bold = true },
|
||||
ModeMsg = { fg = c.fg_bright, bold = true },
|
||||
MsgArea = { fg = c.fg },
|
||||
MoreMsg = { fg = c.accent },
|
||||
Question = { fg = c.accent },
|
||||
Directory = { fg = c.accent },
|
||||
Title = { fg = c.accent, bold = true },
|
||||
ErrorMsg = { fg = c.error },
|
||||
WarningMsg = { fg = c.warning },
|
||||
Conceal = { fg = c.fg_dim },
|
||||
SpellBad = { sp = c.error, undercurl = true },
|
||||
SpellCap = { sp = c.warning, undercurl = true },
|
||||
SpellLocal = { sp = c.info, undercurl = true },
|
||||
SpellRare = { sp = c.hint, undercurl = true },
|
||||
ColorColumn = { bg = c.bg_cursorline },
|
||||
QuickFixLine = { bg = c.bg_selection, bold = true },
|
||||
WildMenu = { link = "PmenuSel" },
|
||||
}
|
||||
end
|
||||
|
||||
return M
|
||||
Loading…
Add table
Add a link
Reference in a new issue