diff --git a/lua/duckbones/prebuilt.lua b/lua/duckbones/prebuilt.lua new file mode 100644 index 00000000..28903bfa --- /dev/null +++ b/lua/duckbones/prebuilt.lua @@ -0,0 +1,420 @@ +local colors_dark = { + -- dark start + -- This codeblock is auto-generated by shipwright.nvim + Normal = {fg = "#EBEFC0", bg = "#0E101A"}, + ModeMsg = {link = "Normal"}, + BlinkCmpKind = {fg = "#AEB18D"}, + BlinkCmpLabelMatch = {fg = "#795CCC", bold = true}, + Bold = {bold = true}, + ["@markup.strong"] = {link = "Bold"}, + Boolean = {fg = "#EBEFC0", italic = true}, + ["@boolean"] = {link = "Boolean"}, + BufferVisible = {fg = "#F0F5C4"}, + BufferVisibleIndex = {fg = "#F0F5C4"}, + BufferVisibleSign = {fg = "#F0F5C4"}, + CmpItemAbbr = {fg = "#C6CAA1"}, + CmpItemAbbrDeprecated = {fg = "#818368"}, + CmpItemAbbrMatch = {fg = "#EBEFC0", bold = true}, + CmpItemAbbrMatchFuzzy = {fg = "#D1D5AB", bold = true}, + CmpItemKind = {fg = "#AEB18D"}, + CmpItemMenu = {fg = "#9EA080"}, + CocMarkdownLink = {fg = "#00A3CB", underline = true}, + ColorColumn = {bg = "#443426"}, + LspReferenceRead = {link = "ColorColumn"}, + LspReferenceText = {link = "ColorColumn"}, + LspReferenceWrite = {link = "ColorColumn"}, + Comment = {fg = "#5A5F7B", italic = true}, + ["@comment"] = {link = "Comment"}, + Conceal = {fg = "#9EA080", bold = true, italic = true}, + Constant = {fg = "#AEB18D", italic = true}, + Character = {link = "Constant"}, + TroubleSource = {link = "Constant"}, + WhichKeyValue = {link = "Constant"}, + helpOption = {link = "Constant"}, + ["@character"] = {link = "Constant"}, + ["@constant.builtin"] = {link = "Constant"}, + ["@constant.macro"] = {link = "Constant"}, + ["@markup.link"] = {link = "Constant"}, + ["@markup.link.url"] = {link = "Constant"}, + ["@markup.raw"] = {link = "Constant"}, + ["@module"] = {link = "Constant"}, + ["@string.regexp"] = {link = "Constant"}, + ["@variable.builtin"] = {link = "Constant"}, + Cursor = {fg = "#0E101A", bg = "#EDF2C2"}, + TermCursor = {link = "Cursor"}, + CursorLine = {bg = "#161926"}, + CocMenuSel = {link = "CursorLine"}, + CursorColumn = {link = "CursorLine"}, + FzfLuaFzfCursorLine = {link = "CursorLine"}, + NeogitDiffContextHighlight = {link = "CursorLine"}, + SnacksPickerListCursorLine = {link = "CursorLine"}, + SnacksPickerPreviewCursorLine = {link = "CursorLine"}, + TelescopeSelection = {link = "CursorLine"}, + CursorLineNr = {fg = "#EBEFC0", bg = "NONE", bold = true}, + Delimiter = {fg = "#6D759D"}, + markdownLinkTextDelimiter = {link = "Delimiter"}, + ["@constructor.lua"] = {link = "Delimiter"}, + ["@punctuation.bracket"] = {link = "Delimiter"}, + ["@punctuation.delimiter"] = {link = "Delimiter"}, + ["@punctuation.special"] = {link = "Delimiter"}, + ["@tag.delimiter"] = {link = "Delimiter"}, + NeogitNotificationError = {link = "DiagnosticError"}, + NotifyERRORIcon = {link = "DiagnosticError"}, + NotifyERRORTitle = {link = "DiagnosticError"}, + DiagnosticHint = {fg = "#795CCC"}, + NotifyDEBUGIcon = {link = "DiagnosticHint"}, + NotifyDEBUGTitle = {link = "DiagnosticHint"}, + NotifyTRACEIcon = {link = "DiagnosticHint"}, + NotifyTRACETitle = {link = "DiagnosticHint"}, + DiagnosticInfo = {fg = "#00A3CB"}, + NeogitNotificationInfo = {link = "DiagnosticInfo"}, + NotifyINFOIcon = {link = "DiagnosticInfo"}, + NotifyINFOTitle = {link = "DiagnosticInfo"}, + ["@comment.note"] = {link = "DiagnosticInfo"}, + DiagnosticOk = {fg = "#5DCD97"}, + DiagnosticSignError = {fg = "#E03600", bg = "NONE"}, + CocErrorSign = {link = "DiagnosticSignError"}, + DiagnosticSignHint = {fg = "#795CCC", bg = "NONE"}, + CocHintSign = {link = "DiagnosticSignHint"}, + DiagnosticSignInfo = {fg = "#00A3CB", bg = "NONE"}, + CocInfoSign = {link = "DiagnosticSignInfo"}, + DiagnosticSignOk = {fg = "#5DCD97", bg = "NONE"}, + DiagnosticSignWarn = {fg = "#E39500", bg = "NONE"}, + CocWarningSign = {link = "DiagnosticSignWarn"}, + DiagnosticUnderlineError = {fg = "NONE", sp = "#E03600", undercurl = true}, + CocErrorHighlight = {link = "DiagnosticUnderlineError"}, + DiagnosticUnderlineHint = {fg = "NONE", sp = "#795CCC", undercurl = true}, + CocHintHighlight = {link = "DiagnosticUnderlineHint"}, + DiagnosticUnderlineInfo = {fg = "NONE", sp = "#00A3CB", undercurl = true}, + CocInfoHighlight = {link = "DiagnosticUnderlineInfo"}, + DiagnosticUnderlineOk = {fg = "NONE", sp = "#5DCD97", undercurl = true}, + DiagnosticUnderlineWarn = {fg = "NONE", sp = "#E39500", undercurl = true}, + CocWarningHighlight = {link = "DiagnosticUnderlineWarn"}, + DiagnosticVirtualTextError = {fg = "#E03600", bg = "#1E1818"}, + CocErrorVirtualText = {link = "DiagnosticVirtualTextError"}, + DiagnosticVirtualTextHint = {fg = "#795CCC", bg = "#1A191E"}, + DiagnosticVirtualTextInfo = {fg = "#00A3CB", bg = "#181A1B"}, + DiagnosticVirtualTextOk = {fg = "#5DCD97", bg = "#181A19"}, + DiagnosticVirtualTextWarn = {fg = "#E39500", bg = "#1B1918"}, + CocWarningVirtualText = {link = "DiagnosticVirtualTextWarn"}, + DiagnosticDeprecated = {link = "DiagnosticWarn"}, + DiagnosticUnnecessary = {link = "DiagnosticWarn"}, + NeogitNotificationWarning = {link = "DiagnosticWarn"}, + NotifyWARNIcon = {link = "DiagnosticWarn"}, + NotifyWARNTitle = {link = "DiagnosticWarn"}, + DiffAdd = {bg = "#15251C"}, + NeogitDiffAddHighlight = {link = "DiffAdd"}, + diffAdded = {link = "DiffAdd"}, + ["@diff.plus"] = {link = "DiffAdd"}, + DiffChange = {bg = "#17232A"}, + diffChanged = {link = "DiffChange"}, + ["@diff.delta"] = {link = "DiffChange"}, + DiffDelete = {bg = "#311C1A"}, + NeogitDiffDeleteHighlight = {link = "DiffDelete"}, + diffRemoved = {link = "DiffDelete"}, + ["@diff.minus"] = {link = "DiffDelete"}, + DiffText = {fg = "#EBEFC0", bg = "#2A3E48"}, + Directory = {bold = true}, + Error = {fg = "#E03600"}, + DiagnosticError = {link = "Error"}, + ErrorMsg = {link = "Error"}, + MasonError = {link = "Error"}, + ["@comment.error"] = {link = "Error"}, + FlashBackdrop = {fg = "#5A5F7B"}, + FlashLabel = {fg = "#EBEFC0", bg = "#004B5F"}, + FloatBorder = {fg = "#6B729B", bg = "NONE"}, + FloatTitle = {fg = "#EBEFC0", bg = "#222536", bold = true}, + FoldColumn = {fg = "#51587A", bg = "NONE", bold = true}, + Folded = {fg = "#9A9FBC", bg = "#272B3E"}, + Function = {fg = "#EBEFC0"}, + TroubleNormal = {link = "Function"}, + TroubleText = {link = "Function"}, + ["@function"] = {link = "Function"}, + FzfLuaBufFlagAlt = {fg = "#00A3CB"}, + FzfLuaBufFlagCur = {fg = "#E39500"}, + FzfLuaBufNr = {fg = "#5DCD97"}, + FzfLuaFzfMatch = {fg = "#795CCC", bold = true}, + FzfLuaHeaderBind = {fg = "#5DCD97"}, + FzfLuaHeaderText = {fg = "#E39500"}, + FzfLuaLiveSym = {fg = "#E39500"}, + FzfLuaPathColNr = {fg = "#898FB1", bold = true}, + FzfLuaPathLineNr = {link = "FzfLuaPathColNr"}, + FzfLuaTabMarker = {fg = "#5DCD97"}, + FzfLuaTabTitle = {fg = "#00A3CB"}, + GitSignsAdd = {fg = "#5DCD97", bg = "NONE"}, + GitGutterAdd = {link = "GitSignsAdd"}, + GitSignsChange = {fg = "#00A3CB", bg = "NONE"}, + GitGutterChange = {link = "GitSignsChange"}, + GitSignsDelete = {fg = "#E03600", bg = "NONE"}, + GitGutterDelete = {link = "GitSignsDelete"}, + HopNextKey = {fg = "#795CCC", bold = true, underline = true}, + HopNextKey1 = {fg = "#00A3CB", bold = true, underline = true}, + HopNextKey2 = {fg = "#00A3CB"}, + HopUnmatched = {fg = "#5A5F7B"}, + IblIndent = {fg = "#1F212D"}, + IndentLine = {link = "IblIndent"}, + IblScope = {fg = "#393D50"}, + IndentLineCurrent = {link = "IblScope"}, + Identifier = {fg = "#C6CAA1"}, + ["@property"] = {link = "Identifier"}, + ["@string.special.symbol"] = {link = "Identifier"}, + ["@variable"] = {link = "Identifier"}, + IncSearch = {fg = "#0E101A", bg = "#9A87DC", bold = true}, + CurSearch = {link = "IncSearch"}, + Italic = {italic = true}, + ["@markup.italic"] = {link = "Italic"}, + ["@markup.italic.markdown"] = {link = "Italic"}, + LineNr = {fg = "#51587A", bg = "NONE"}, + CocCodeLens = {link = "LineNr"}, + LspCodeLens = {link = "LineNr"}, + NeogitHunkHeader = {link = "LineNr"}, + SignColumn = {link = "LineNr"}, + LspInlayHint = {fg = "#596392", bg = "#161926"}, + MasonHeader = {fg = "#0E101A", bg = "#E39500", bold = true}, + MasonHighlight = {fg = "#00A3CB"}, + MasonHighlightBlock = {fg = "#0E101A", bg = "#00A3CB"}, + MasonHighlightBlockBold = {fg = "#0E101A", bg = "#00A3CB", bold = true}, + MasonHighlightBlockBoldSecondary = {fg = "#0E101A", bg = "#E39500", bold = true}, + MasonHighlightBlockSecondary = {fg = "#0E101A", bg = "#E39500"}, + MasonHighlightSecondary = {fg = "#E39500"}, + MasonMuted = {fg = "#AEB18D"}, + MasonMutedBlock = {fg = "#0E101A", bg = "#AEB18D"}, + MasonMutedBlockBold = {fg = "#0E101A", bg = "#AEB18D", bold = true}, + MoreMsg = {fg = "#5DCD97", bold = true}, + Question = {link = "MoreMsg"}, + NeogitHunkHeaderHighlight = {fg = "#EBEFC0", bg = "#161926", bold = true}, + NnnNormalNC = {link = "NnnNormal"}, + NnnVertSplit = {link = "NnnWinSeparator"}, + NoiceCmdlineIcon = {fg = "#00A3CB"}, + NoiceCmdlinePopupBorder = {link = "NoiceCmdlineIcon"}, + NoiceCmdlinePopupTitle = {link = "NoiceCmdlineIcon"}, + NoiceConfirmBorder = {link = "NoiceCmdlineIcon"}, + NoiceCompletionItemKindDefault = {fg = "#AEB18D"}, + NonText = {fg = "#484E6D"}, + EndOfBuffer = {link = "NonText"}, + Whitespace = {link = "NonText"}, + NormalFloat = {bg = "#222536"}, + SnacksPickerBorder = {link = "NormalFloat"}, + Number = {fg = "#AEB18D"}, + Float = {link = "Number"}, + ["@number"] = {link = "Number"}, + NvimTreeCursorLine = {bg = "#1A1D2B"}, + NvimTreeCursorColumn = {link = "NvimTreeCursorLine"}, + NvimTreeNormal = {fg = "#EBEFC0", bg = "#151723"}, + NnnNormal = {link = "NvimTreeNormal"}, + NvimTreeRootFolder = {fg = "#00A3CB", bold = true}, + NvimTreeSpecialFile = {fg = "#795CCC", underline = true}, + NvimTreeSymlink = {fg = "#00A3CB"}, + NvimTreeWinSeparator = {fg = "bg"}, + NnnWinSeparator = {link = "NvimTreeWinSeparator"}, + Pmenu = {bg = "#222536"}, + PmenuSbar = {bg = "#4B5170"}, + PmenuSel = {bg = "#383C55"}, + PmenuThumb = {bg = "#757DA3"}, + PreProc = {fg = "#00A3CB"}, + ["@attribute"] = {link = "PreProc"}, + ["@function.macro"] = {link = "PreProc"}, + ["@keyword.directive"] = {link = "PreProc"}, + ["@keyword.import"] = {link = "PreProc"}, + ["@markup.environment"] = {link = "PreProc"}, + RenderMarkdownCode = {bg = "#161926"}, + Search = {fg = "#EBEFC0", bg = "#4D3191"}, + CocSearch = {link = "Search"}, + MatchParen = {link = "Search"}, + QuickFixLine = {link = "Search"}, + Sneak = {link = "Search"}, + SnacksIndent = {fg = "#1F212D"}, + SnacksIndentScope = {fg = "#393D50"}, + SnacksPickerMatch = {fg = "#795CCC", bold = true}, + SneakLabelMask = {fg = "#795CCC", bg = "#795CCC"}, + Special = {fg = "#5DCD97"}, + WhichKeyGroup = {link = "Special"}, + ["@character.special"] = {link = "Special"}, + ["@constructor"] = {link = "Special"}, + ["@function.builtin"] = {link = "Special"}, + ["@keyword.debug"] = {link = "Special"}, + ["@markup.link.label"] = {link = "Special"}, + ["@markup.list"] = {link = "Special"}, + ["@markup.math"] = {link = "Special"}, + ["@punctuation.special.markdown"] = {link = "Special"}, + ["@string.escape"] = {link = "Special"}, + ["@string.special"] = {link = "Special"}, + ["@tag"] = {link = "Special"}, + SpecialComment = {fg = "#5A5F7B"}, + markdownUrl = {link = "SpecialComment"}, + ["@markup.link.url.markdown"] = {link = "SpecialComment"}, + SpecialKey = {fg = "#484E6D", italic = true}, + ["@string.escape.markdown"] = {link = "SpecialKey"}, + SpellBad = {fg = "#CA4F40", undercurl = true}, + CocSelectedText = {link = "SpellBad"}, + SpellCap = {fg = "#CA4F40", undercurl = true}, + SpellLocal = {link = "SpellCap"}, + SpellRare = {fg = "#CA4F40", undercurl = true}, + Statement = {fg = "#795CCC", bold = true}, + FzfLuaBufName = {link = "Statement"}, + WhichKey = {link = "Statement"}, + ["@keyword.conditional"] = {link = "Statement"}, + ["@keyword.coroutine"] = {link = "Statement"}, + ["@keyword.exception"] = {link = "Statement"}, + ["@keyword.function"] = {link = "Statement"}, + ["@keyword.operator"] = {link = "Statement"}, + ["@keyword.repeat"] = {link = "Statement"}, + ["@keyword.return"] = {link = "Statement"}, + ["@label"] = {link = "Statement"}, + ["@lsp.type.keyword"] = {link = "Statement"}, + ["@lsp.typemod.keyword.injected"] = {link = "Statement"}, + ["@markup.title.markdown"] = {link = "Statement"}, + ["@operator"] = {link = "Statement"}, + StatusLine = {fg = "#EBEFC0", bg = "#232738"}, + TabLine = {link = "StatusLine"}, + WinBar = {link = "StatusLine"}, + StatusLineNC = {fg = "#F0F5C4", bg = "#1A1D2B"}, + TabLineFill = {link = "StatusLineNC"}, + WinBarNC = {link = "StatusLineNC"}, + String = {fg = "#AEB18D", italic = true}, + ["@string"] = {link = "String"}, + TabLineSel = {bold = true}, + BufferCurrent = {link = "TabLineSel"}, + TelescopeBorder = {fg = "#6B729B"}, + TelescopeMatching = {fg = "#795CCC", bold = true}, + TelescopeSelectionCaret = {fg = "#E03600", bg = "#161926"}, + Title = {fg = "#EBEFC0", bold = true}, + FzfLuaTitle = {link = "Title"}, + ["@markup.heading"] = {link = "Title"}, + Todo = {bold = true, underline = true}, + ["@comment.todo"] = {link = "Todo"}, + Type = {fg = "#898FB1"}, + BlinkCmpLabelDescription = {link = "Type"}, + BlinkCmpLabelDetail = {link = "Type"}, + BlinkCmpSource = {link = "Type"}, + helpSpecial = {link = "Type"}, + markdownCode = {link = "Type"}, + ["@keyword.storage"] = {link = "Type"}, + ["@markup.raw.markdown"] = {link = "Type"}, + ["@type"] = {link = "Type"}, + ["@variable.parameter.vimdoc"] = {link = "Type"}, + Underlined = {underline = true}, + ["@markup.underline"] = {link = "Underlined"}, + Visual = {bg = "#37382D"}, + WarningMsg = {fg = "#E39500"}, + DiagnosticWarn = {link = "WarningMsg"}, + NoiceCmdlineIconSearch = {link = "WarningMsg"}, + NoiceCmdlinePopupBorderSearch = {link = "WarningMsg"}, + gitcommitOverflow = {link = "WarningMsg"}, + ["@comment.warning"] = {link = "WarningMsg"}, + WhichKeySeparator = {fg = "#51587A"}, + WildMenu = {fg = "#0E101A", bg = "#795CCC"}, + SneakLabel = {link = "WildMenu"}, + WinSeparator = {fg = "#51587A", bg = "NONE"}, + VertSplit = {link = "WinSeparator"}, + NvimTreeGitNew = {link = "diffAdded"}, + NvimTreeGitDirty = {link = "diffChanged"}, + diffFile = {fg = "#E39500", bold = true}, + diffIndexLine = {fg = "#E39500"}, + diffLine = {fg = "#795CCC", bold = true}, + diffNewFile = {fg = "#5DCD97", italic = true}, + diffOldFile = {fg = "#E03600", italic = true}, + NvimTreeGitDeleted = {link = "diffRemoved"}, + helpHyperTextEntry = {fg = "#898FB1", bold = true}, + helpHyperTextJump = {fg = "#C6CAA1", underline = true}, + lCursor = {fg = "#0E101A", bg = "#939677"}, + TermCursorNC = {link = "lCursor"}, + markdownLinkText = {fg = "#C6CAA1", underline = true}, + ["@lsp.type.decorator"] = {link = "@attribute"}, + ["@lsp.type.deriveHelper"] = {link = "@attribute"}, + ["@lsp.type.boolean"] = {link = "@boolean"}, + ["@comment.documentation"] = {link = "@comment"}, + ["@lsp.type.comment"] = {link = "@comment"}, + ["@constant"] = {fg = "#C6CAA1", bold = true}, + ["@lsp.typemod.enumMember.defaultLibrary"] = {link = "@constant.builtin"}, + ["@lsp.type.enumMember"] = {link = "@constant"}, + ["@lsp.typemod.variable.static"] = {link = "@constant"}, + ["@lsp.typemod.function.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.macro.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.method.defaultLibrary"] = {link = "@function.builtin"}, + ["@function.call"] = {link = "@function"}, + ["@function.method"] = {link = "@function"}, + ["@function.method.call"] = {link = "@function"}, + ["@lsp.typemod.variable.callable"] = {link = "@function"}, + ["@keyword.conditional.ternary"] = {link = "@keyword.conditional"}, + ["@lsp.typemod.keyword.async"] = {link = "@keyword.coroutine"}, + ["@keyword.directive.define"] = {link = "@keyword.directive"}, + ["@lsp.type.lifetime"] = {link = "@keyword.storage"}, + ["@label.vimdoc"] = {fg = "#898FB1", bold = true}, + ["@lsp.type.unresolvedReference"] = {sp = "#E03600", undercurl = true}, + ["@lsp.type.variable"] = {}, + ["@markup.link.markdown"] = {fg = "#C6CAA1", underline = true}, + ["@markup.link.vimdoc"] = {fg = "#C6CAA1", underline = true}, + ["@lsp.type.formatSpecifier"] = {link = "@markup.list"}, + ["@markup.list.checked"] = {link = "@markup.list"}, + ["@markup.list.unchecked"] = {link = "@markup.list"}, + ["@markup.quote"] = {fg = "#AEB18D"}, + ["@markup.raw.block.vimdoc"] = {fg = "NONE"}, + ["@markup.raw.block"] = {link = "@markup.raw"}, + ["@markup.strikethrough"] = {strikethrough = true}, + ["@lsp.type.namespace"] = {link = "@module"}, + ["@module.builtin"] = {link = "@module"}, + ["@none"] = {}, + ["@lsp.type.number"] = {link = "@number"}, + ["@number.float"] = {link = "@number"}, + ["@lsp.type.operator"] = {link = "@operator"}, + ["@lsp.typemod.operator.injected"] = {link = "@operator"}, + ["@lsp.type.property"] = {link = "@property"}, + ["@tag.attribute"] = {link = "@property"}, + ["@lsp.type.escapeSequence"] = {link = "@string.escape"}, + ["@string.special.path"] = {link = "@string.special"}, + ["@string.special.url"] = {link = "@string.special"}, + ["@lsp.type.string"] = {link = "@string"}, + ["@lsp.typemod.string.injected"] = {link = "@string"}, + ["@string.documentation"] = {link = "@string"}, + ["@lsp.type.builtinType"] = {link = "@type.builtin"}, + ["@lsp.typemod.class.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.enum.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.struct.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.type.typeAlias"] = {link = "@type.definition"}, + ["@lsp.type.enum"] = {link = "@type"}, + ["@lsp.type.interface"] = {link = "@type"}, + ["@lsp.typemod.type.defaultLibrary"] = {link = "@type"}, + ["@lsp.typemod.typeAlias.defaultLibrary"] = {link = "@type"}, + ["@type.builtin"] = {link = "@type"}, + ["@type.definition"] = {link = "@type"}, + ["@type.qualifier"] = {link = "@type"}, + ["@lsp.type.selfKeyword"] = {link = "@variable.builtin"}, + ["@lsp.type.selfTypeKeyword"] = {link = "@variable.builtin"}, + ["@lsp.typemod.variable.defaultLibrary"] = {link = "@variable.builtin"}, + ["@lsp.type.parameter"] = {link = "@variable.parameter"}, + ["@lsp.type.generic"] = {link = "@variable"}, + ["@lsp.typemod.variable.injected"] = {link = "@variable"}, + ["@variable.member"] = {link = "@variable"}, + ["@variable.parameter"] = {link = "@variable"}, + -- dark end +} + +function term_dark() + -- dark term start + -- This codeblock is auto-generated by shipwright.nvim + vim.g.terminal_color_0 = '#0E101A' + vim.g.terminal_color_1 = '#E03600' + vim.g.terminal_color_2 = '#5DCD97' + vim.g.terminal_color_3 = '#E39500' + vim.g.terminal_color_4 = '#00A3CB' + vim.g.terminal_color_5 = '#795CCC' + vim.g.terminal_color_6 = '#00A3CB' + vim.g.terminal_color_7 = '#EBEFC0' + vim.g.terminal_color_8 = '#2B2F46' + vim.g.terminal_color_9 = '#FF4821' + vim.g.terminal_color_10 = '#58DB9E' + vim.g.terminal_color_11 = '#F6A100' + vim.g.terminal_color_12 = '#00B4E0' + vim.g.terminal_color_13 = '#B3A1E6' + vim.g.terminal_color_14 = '#00B4E0' + vim.g.terminal_color_15 = '#B3B692' + -- dark term end +end + +if vim.o.background == 'dark' then + for group, attrs in pairs(colors_dark) do + vim.api.nvim_set_hl(0, group, attrs) + end + term_dark() +end diff --git a/lua/forestbones/prebuilt.lua b/lua/forestbones/prebuilt.lua new file mode 100644 index 00000000..b047c0f7 --- /dev/null +++ b/lua/forestbones/prebuilt.lua @@ -0,0 +1,839 @@ +local colors_dark = { + -- dark start + -- This codeblock is auto-generated by shipwright.nvim + Normal = {fg = "#E7DCC4", bg = "#2C343A"}, + ModeMsg = {link = "Normal"}, + BlinkCmpKind = {fg = "#ADA28B"}, + BlinkCmpLabelMatch = {fg = "#D69AB7", bold = true}, + Bold = {bold = true}, + ["@markup.strong"] = {link = "Bold"}, + Boolean = {fg = "#E7DCC4", italic = true}, + ["@boolean"] = {link = "Boolean"}, + BufferVisible = {fg = "#EDE5D4"}, + BufferVisibleIndex = {fg = "#EDE5D4"}, + BufferVisibleSign = {fg = "#EDE5D4"}, + CmpItemAbbr = {fg = "#C6BAA0"}, + CmpItemAbbrDeprecated = {fg = "#817967"}, + CmpItemAbbrMatch = {fg = "#E7DCC4", bold = true}, + CmpItemAbbrMatchFuzzy = {fg = "#CFC3A7", bold = true}, + CmpItemKind = {fg = "#ADA28B"}, + CmpItemMenu = {fg = "#9F9580"}, + CocMarkdownLink = {fg = "#83C193", underline = true}, + ColorColumn = {bg = "#685A41"}, + LspReferenceRead = {link = "ColorColumn"}, + LspReferenceText = {link = "ColorColumn"}, + LspReferenceWrite = {link = "ColorColumn"}, + Comment = {fg = "#6E7B85", italic = true}, + ["@comment"] = {link = "Comment"}, + Conceal = {fg = "#9F9580", bold = true, italic = true}, + Constant = {fg = "#ADA28B", italic = true}, + Character = {link = "Constant"}, + TroubleSource = {link = "Constant"}, + WhichKeyValue = {link = "Constant"}, + helpOption = {link = "Constant"}, + ["@character"] = {link = "Constant"}, + ["@constant.builtin"] = {link = "Constant"}, + ["@constant.macro"] = {link = "Constant"}, + ["@markup.link"] = {link = "Constant"}, + ["@markup.link.url"] = {link = "Constant"}, + ["@markup.raw"] = {link = "Constant"}, + ["@module"] = {link = "Constant"}, + ["@string.regexp"] = {link = "Constant"}, + ["@variable.builtin"] = {link = "Constant"}, + Cursor = {fg = "#2C343A", bg = "#EBE2CF"}, + TermCursor = {link = "Cursor"}, + CursorLine = {bg = "#313A41"}, + CocMenuSel = {link = "CursorLine"}, + CursorColumn = {link = "CursorLine"}, + FzfLuaFzfCursorLine = {link = "CursorLine"}, + NeogitDiffContextHighlight = {link = "CursorLine"}, + SnacksPickerListCursorLine = {link = "CursorLine"}, + SnacksPickerPreviewCursorLine = {link = "CursorLine"}, + TelescopeSelection = {link = "CursorLine"}, + CursorLineNr = {fg = "#E7DCC4", bg = "NONE", bold = true}, + Delimiter = {fg = "#7B8E9D"}, + markdownLinkTextDelimiter = {link = "Delimiter"}, + ["@constructor.lua"] = {link = "Delimiter"}, + ["@punctuation.bracket"] = {link = "Delimiter"}, + ["@punctuation.delimiter"] = {link = "Delimiter"}, + ["@punctuation.special"] = {link = "Delimiter"}, + ["@tag.delimiter"] = {link = "Delimiter"}, + NeogitNotificationError = {link = "DiagnosticError"}, + NotifyERRORIcon = {link = "DiagnosticError"}, + NotifyERRORTitle = {link = "DiagnosticError"}, + DiagnosticHint = {fg = "#D69AB7"}, + NotifyDEBUGIcon = {link = "DiagnosticHint"}, + NotifyDEBUGTitle = {link = "DiagnosticHint"}, + NotifyTRACEIcon = {link = "DiagnosticHint"}, + NotifyTRACETitle = {link = "DiagnosticHint"}, + DiagnosticInfo = {fg = "#7FBCB4"}, + NeogitNotificationInfo = {link = "DiagnosticInfo"}, + NotifyINFOIcon = {link = "DiagnosticInfo"}, + NotifyINFOTitle = {link = "DiagnosticInfo"}, + ["@comment.note"] = {link = "DiagnosticInfo"}, + DiagnosticOk = {fg = "#A9C181"}, + DiagnosticSignError = {fg = "#E67C7F", bg = "NONE"}, + CocErrorSign = {link = "DiagnosticSignError"}, + DiagnosticSignHint = {fg = "#D69AB7", bg = "NONE"}, + CocHintSign = {link = "DiagnosticSignHint"}, + DiagnosticSignInfo = {fg = "#7FBCB4", bg = "NONE"}, + CocInfoSign = {link = "DiagnosticSignInfo"}, + DiagnosticSignOk = {fg = "#A9C181", bg = "NONE"}, + DiagnosticSignWarn = {fg = "#DDBD7F", bg = "NONE"}, + CocWarningSign = {link = "DiagnosticSignWarn"}, + DiagnosticUnderlineError = {fg = "NONE", sp = "#E67C7F", undercurl = true}, + CocErrorHighlight = {link = "DiagnosticUnderlineError"}, + DiagnosticUnderlineHint = {fg = "NONE", sp = "#D69AB7", undercurl = true}, + CocHintHighlight = {link = "DiagnosticUnderlineHint"}, + DiagnosticUnderlineInfo = {fg = "NONE", sp = "#7FBCB4", undercurl = true}, + CocInfoHighlight = {link = "DiagnosticUnderlineInfo"}, + DiagnosticUnderlineOk = {fg = "NONE", sp = "#A9C181", undercurl = true}, + DiagnosticUnderlineWarn = {fg = "NONE", sp = "#DDBD7F", undercurl = true}, + CocWarningHighlight = {link = "DiagnosticUnderlineWarn"}, + DiagnosticVirtualTextError = {fg = "#E67C7F", bg = "#443939"}, + CocErrorVirtualText = {link = "DiagnosticVirtualTextError"}, + DiagnosticVirtualTextHint = {fg = "#D69AB7", bg = "#42393D"}, + DiagnosticVirtualTextInfo = {fg = "#7FBCB4", bg = "#393C3C"}, + DiagnosticVirtualTextOk = {fg = "#A9C181", bg = "#3A3C38"}, + DiagnosticVirtualTextWarn = {fg = "#DDBD7F", bg = "#3D3B38"}, + CocWarningVirtualText = {link = "DiagnosticVirtualTextWarn"}, + DiagnosticDeprecated = {link = "DiagnosticWarn"}, + DiagnosticUnnecessary = {link = "DiagnosticWarn"}, + NeogitNotificationWarning = {link = "DiagnosticWarn"}, + NotifyWARNIcon = {link = "DiagnosticWarn"}, + NotifyWARNTitle = {link = "DiagnosticWarn"}, + DiffAdd = {bg = "#3E482D"}, + NeogitDiffAddHighlight = {link = "DiffAdd"}, + diffAdded = {link = "DiffAdd"}, + ["@diff.plus"] = {link = "DiffAdd"}, + DiffChange = {bg = "#304946"}, + diffChanged = {link = "DiffChange"}, + ["@diff.delta"] = {link = "DiffChange"}, + DiffDelete = {bg = "#643839"}, + NeogitDiffDeleteHighlight = {link = "DiffDelete"}, + diffRemoved = {link = "DiffDelete"}, + ["@diff.minus"] = {link = "DiffDelete"}, + DiffText = {fg = "#E7DCC4", bg = "#456763"}, + Directory = {bold = true}, + Error = {fg = "#E67C7F"}, + DiagnosticError = {link = "Error"}, + ErrorMsg = {link = "Error"}, + MasonError = {link = "Error"}, + ["@comment.error"] = {link = "Error"}, + FlashBackdrop = {fg = "#6E7B85"}, + FlashLabel = {fg = "#E7DCC4", bg = "#4B726D"}, + FloatBorder = {fg = "#798B9A", bg = "NONE"}, + FloatTitle = {fg = "#E7DCC4", bg = "#3B464E", bold = true}, + FoldColumn = {fg = "#667783", bg = "NONE", bold = true}, + Folded = {fg = "#9CB4C6", bg = "#424D55"}, + Function = {fg = "#E7DCC4"}, + TroubleNormal = {link = "Function"}, + TroubleText = {link = "Function"}, + ["@function"] = {link = "Function"}, + FzfLuaBufFlagAlt = {fg = "#7FBCB4"}, + FzfLuaBufFlagCur = {fg = "#DDBD7F"}, + FzfLuaBufNr = {fg = "#A9C181"}, + FzfLuaFzfMatch = {fg = "#D69AB7", bold = true}, + FzfLuaHeaderBind = {fg = "#A9C181"}, + FzfLuaHeaderText = {fg = "#DDBD7F"}, + FzfLuaLiveSym = {fg = "#DDBD7F"}, + FzfLuaPathColNr = {fg = "#90A6B7", bold = true}, + FzfLuaPathLineNr = {link = "FzfLuaPathColNr"}, + FzfLuaTabMarker = {fg = "#A9C181"}, + FzfLuaTabTitle = {fg = "#83C193"}, + GitSignsAdd = {fg = "#A9C181", bg = "NONE"}, + GitGutterAdd = {link = "GitSignsAdd"}, + GitSignsChange = {fg = "#7FBCB4", bg = "NONE"}, + GitGutterChange = {link = "GitSignsChange"}, + GitSignsDelete = {fg = "#E67C7F", bg = "NONE"}, + GitGutterDelete = {link = "GitSignsDelete"}, + HopNextKey = {fg = "#D69AB7", bold = true, underline = true}, + HopNextKey1 = {fg = "#83C193", bold = true, underline = true}, + HopNextKey2 = {fg = "#7FBCB4"}, + HopUnmatched = {fg = "#6E7B85"}, + IblIndent = {fg = "#394147"}, + IndentLine = {link = "IblIndent"}, + IblScope = {fg = "#515B63"}, + IndentLineCurrent = {link = "IblScope"}, + Identifier = {fg = "#C6BAA0"}, + ["@property"] = {link = "Identifier"}, + ["@string.special.symbol"] = {link = "Identifier"}, + ["@variable"] = {link = "Identifier"}, + IncSearch = {fg = "#2C343A", bg = "#DFB2C7", bold = true}, + CurSearch = {link = "IncSearch"}, + Italic = {italic = true}, + ["@markup.italic"] = {link = "Italic"}, + ["@markup.italic.markdown"] = {link = "Italic"}, + LineNr = {fg = "#667783", bg = "NONE"}, + CocCodeLens = {link = "LineNr"}, + LspCodeLens = {link = "LineNr"}, + NeogitHunkHeader = {link = "LineNr"}, + SignColumn = {link = "LineNr"}, + LspInlayHint = {fg = "#6B8292", bg = "#313A41"}, + MasonHeader = {fg = "#2C343A", bg = "#DDBD7F", bold = true}, + MasonHighlight = {fg = "#7FBCB4"}, + MasonHighlightBlock = {fg = "#2C343A", bg = "#7FBCB4"}, + MasonHighlightBlockBold = {fg = "#2C343A", bg = "#7FBCB4", bold = true}, + MasonHighlightBlockBoldSecondary = {fg = "#2C343A", bg = "#DDBD7F", bold = true}, + MasonHighlightBlockSecondary = {fg = "#2C343A", bg = "#DDBD7F"}, + MasonHighlightSecondary = {fg = "#DDBD7F"}, + MasonMuted = {fg = "#ADA28B"}, + MasonMutedBlock = {fg = "#2C343A", bg = "#ADA28B"}, + MasonMutedBlockBold = {fg = "#2C343A", bg = "#ADA28B", bold = true}, + MoreMsg = {fg = "#A9C181", bold = true}, + Question = {link = "MoreMsg"}, + NeogitHunkHeaderHighlight = {fg = "#E7DCC4", bg = "#313A41", bold = true}, + NnnNormalNC = {link = "NnnNormal"}, + NnnVertSplit = {link = "NnnWinSeparator"}, + NoiceCmdlineIcon = {fg = "#7FBCB4"}, + NoiceCmdlinePopupBorder = {link = "NoiceCmdlineIcon"}, + NoiceCmdlinePopupTitle = {link = "NoiceCmdlineIcon"}, + NoiceConfirmBorder = {link = "NoiceCmdlineIcon"}, + NoiceCompletionItemKindDefault = {fg = "#ADA28B"}, + NonText = {fg = "#5D6D78"}, + EndOfBuffer = {link = "NonText"}, + Whitespace = {link = "NonText"}, + NormalFloat = {bg = "#3B464E"}, + SnacksPickerBorder = {link = "NormalFloat"}, + Number = {fg = "#ADA28B"}, + Float = {link = "Number"}, + ["@number"] = {link = "Number"}, + NvimTreeCursorLine = {bg = "#353F46"}, + NvimTreeCursorColumn = {link = "NvimTreeCursorLine"}, + NvimTreeNormal = {fg = "#E7DCC4", bg = "#2F383F"}, + NnnNormal = {link = "NvimTreeNormal"}, + NvimTreeRootFolder = {fg = "#7FBCB4", bold = true}, + NvimTreeSpecialFile = {fg = "#D69AB7", underline = true}, + NvimTreeSymlink = {fg = "#7FBCB4"}, + NvimTreeWinSeparator = {fg = "bg"}, + NnnWinSeparator = {link = "NvimTreeWinSeparator"}, + Pmenu = {bg = "#3B464E"}, + PmenuSbar = {bg = "#606F7B"}, + PmenuSel = {bg = "#4E5B65"}, + PmenuThumb = {bg = "#8296A5"}, + PreProc = {fg = "#83C193"}, + ["@attribute"] = {link = "PreProc"}, + ["@function.macro"] = {link = "PreProc"}, + ["@keyword.directive"] = {link = "PreProc"}, + ["@keyword.import"] = {link = "PreProc"}, + ["@markup.environment"] = {link = "PreProc"}, + RenderMarkdownCode = {bg = "#313A41"}, + Search = {fg = "#E7DCC4", bg = "#9E5179"}, + CocSearch = {link = "Search"}, + MatchParen = {link = "Search"}, + QuickFixLine = {link = "Search"}, + Sneak = {link = "Search"}, + SnacksIndent = {fg = "#394147"}, + SnacksIndentScope = {fg = "#515B63"}, + SnacksPickerMatch = {fg = "#D69AB7", bold = true}, + SneakLabelMask = {fg = "#D69AB7", bg = "#D69AB7"}, + Special = {fg = "#B5AA92", bold = true}, + WhichKeyGroup = {link = "Special"}, + ["@character.special"] = {link = "Special"}, + ["@constructor"] = {link = "Special"}, + ["@function.builtin"] = {link = "Special"}, + ["@keyword.debug"] = {link = "Special"}, + ["@markup.link.label"] = {link = "Special"}, + ["@markup.list"] = {link = "Special"}, + ["@markup.math"] = {link = "Special"}, + ["@punctuation.special.markdown"] = {link = "Special"}, + ["@string.escape"] = {link = "Special"}, + ["@string.special"] = {link = "Special"}, + ["@tag"] = {link = "Special"}, + SpecialComment = {fg = "#6E7B85"}, + markdownUrl = {link = "SpecialComment"}, + ["@markup.link.url.markdown"] = {link = "SpecialComment"}, + SpecialKey = {fg = "#5D6D78", italic = true}, + ["@string.escape.markdown"] = {link = "SpecialKey"}, + SpellBad = {fg = "#D48688", undercurl = true}, + CocSelectedText = {link = "SpellBad"}, + SpellCap = {fg = "#D48688", undercurl = true}, + SpellLocal = {link = "SpellCap"}, + SpellRare = {fg = "#D48688", undercurl = true}, + Statement = {fg = "#A9C181", bold = true}, + FzfLuaBufName = {link = "Statement"}, + WhichKey = {link = "Statement"}, + ["@keyword.conditional"] = {link = "Statement"}, + ["@keyword.coroutine"] = {link = "Statement"}, + ["@keyword.exception"] = {link = "Statement"}, + ["@keyword.function"] = {link = "Statement"}, + ["@keyword.operator"] = {link = "Statement"}, + ["@keyword.repeat"] = {link = "Statement"}, + ["@keyword.return"] = {link = "Statement"}, + ["@label"] = {link = "Statement"}, + ["@lsp.type.keyword"] = {link = "Statement"}, + ["@lsp.typemod.keyword.injected"] = {link = "Statement"}, + ["@markup.title.markdown"] = {link = "Statement"}, + ["@operator"] = {link = "Statement"}, + StatusLine = {fg = "#E7DCC4", bg = "#3E4850"}, + TabLine = {link = "StatusLine"}, + WinBar = {link = "StatusLine"}, + StatusLineNC = {fg = "#EDE5D4", bg = "#353F46"}, + TabLineFill = {link = "StatusLineNC"}, + WinBarNC = {link = "StatusLineNC"}, + String = {fg = "#ADA28B", italic = true}, + ["@string"] = {link = "String"}, + TabLineSel = {bold = true}, + BufferCurrent = {link = "TabLineSel"}, + TelescopeBorder = {fg = "#798B9A"}, + TelescopeMatching = {fg = "#D69AB7", bold = true}, + TelescopeSelectionCaret = {fg = "#E67C7F", bg = "#313A41"}, + Title = {fg = "#E7DCC4", bold = true}, + FzfLuaTitle = {link = "Title"}, + ["@markup.heading"] = {link = "Title"}, + Todo = {bold = true, underline = true}, + ["@comment.todo"] = {link = "Todo"}, + Type = {fg = "#7FBCB4"}, + BlinkCmpLabelDescription = {link = "Type"}, + BlinkCmpLabelDetail = {link = "Type"}, + BlinkCmpSource = {link = "Type"}, + helpSpecial = {link = "Type"}, + markdownCode = {link = "Type"}, + ["@keyword.storage"] = {link = "Type"}, + ["@markup.raw.markdown"] = {link = "Type"}, + ["@type"] = {link = "Type"}, + ["@variable.parameter.vimdoc"] = {link = "Type"}, + Underlined = {underline = true}, + ["@markup.underline"] = {link = "Underlined"}, + Visual = {bg = "#615B51"}, + WarningMsg = {fg = "#DDBD7F"}, + DiagnosticWarn = {link = "WarningMsg"}, + NoiceCmdlineIconSearch = {link = "WarningMsg"}, + NoiceCmdlinePopupBorderSearch = {link = "WarningMsg"}, + gitcommitOverflow = {link = "WarningMsg"}, + ["@comment.warning"] = {link = "WarningMsg"}, + WhichKeySeparator = {fg = "#667783"}, + WildMenu = {fg = "#2C343A", bg = "#D69AB7"}, + SneakLabel = {link = "WildMenu"}, + WinSeparator = {fg = "#667783", bg = "NONE"}, + VertSplit = {link = "WinSeparator"}, + NvimTreeGitNew = {link = "diffAdded"}, + NvimTreeGitDirty = {link = "diffChanged"}, + diffFile = {fg = "#DDBD7F", bold = true}, + diffIndexLine = {fg = "#DDBD7F"}, + diffLine = {fg = "#D69AB7", bold = true}, + diffNewFile = {fg = "#A9C181", italic = true}, + diffOldFile = {fg = "#E67C7F", italic = true}, + NvimTreeGitDeleted = {link = "diffRemoved"}, + helpHyperTextEntry = {fg = "#90A6B7", bold = true}, + helpHyperTextJump = {fg = "#C6BAA0", underline = true}, + lCursor = {fg = "#2C343A", bg = "#978D79"}, + TermCursorNC = {link = "lCursor"}, + markdownLinkText = {fg = "#C6BAA0", underline = true}, + ["@lsp.type.decorator"] = {link = "@attribute"}, + ["@lsp.type.deriveHelper"] = {link = "@attribute"}, + ["@lsp.type.boolean"] = {link = "@boolean"}, + ["@comment.documentation"] = {link = "@comment"}, + ["@lsp.type.comment"] = {link = "@comment"}, + ["@constant"] = {fg = "#C6BAA0", bold = true}, + ["@lsp.typemod.enumMember.defaultLibrary"] = {link = "@constant.builtin"}, + ["@lsp.type.enumMember"] = {link = "@constant"}, + ["@lsp.typemod.variable.static"] = {link = "@constant"}, + ["@lsp.typemod.function.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.macro.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.method.defaultLibrary"] = {link = "@function.builtin"}, + ["@function.call"] = {link = "@function"}, + ["@function.method"] = {link = "@function"}, + ["@function.method.call"] = {link = "@function"}, + ["@lsp.typemod.variable.callable"] = {link = "@function"}, + ["@keyword.conditional.ternary"] = {link = "@keyword.conditional"}, + ["@lsp.typemod.keyword.async"] = {link = "@keyword.coroutine"}, + ["@keyword.directive.define"] = {link = "@keyword.directive"}, + ["@lsp.type.lifetime"] = {link = "@keyword.storage"}, + ["@label.vimdoc"] = {fg = "#90A6B7", bold = true}, + ["@lsp.type.unresolvedReference"] = {sp = "#E67C7F", undercurl = true}, + ["@lsp.type.variable"] = {}, + ["@markup.link.markdown"] = {fg = "#C6BAA0", underline = true}, + ["@markup.link.vimdoc"] = {fg = "#C6BAA0", underline = true}, + ["@lsp.type.formatSpecifier"] = {link = "@markup.list"}, + ["@markup.list.checked"] = {link = "@markup.list"}, + ["@markup.list.unchecked"] = {link = "@markup.list"}, + ["@markup.quote"] = {fg = "#ADA28B"}, + ["@markup.raw.block.vimdoc"] = {fg = "NONE"}, + ["@markup.raw.block"] = {link = "@markup.raw"}, + ["@markup.strikethrough"] = {strikethrough = true}, + ["@lsp.type.namespace"] = {link = "@module"}, + ["@module.builtin"] = {link = "@module"}, + ["@none"] = {}, + ["@lsp.type.number"] = {link = "@number"}, + ["@number.float"] = {link = "@number"}, + ["@lsp.type.operator"] = {link = "@operator"}, + ["@lsp.typemod.operator.injected"] = {link = "@operator"}, + ["@lsp.type.property"] = {link = "@property"}, + ["@tag.attribute"] = {link = "@property"}, + ["@lsp.type.escapeSequence"] = {link = "@string.escape"}, + ["@string.special.path"] = {link = "@string.special"}, + ["@string.special.url"] = {link = "@string.special"}, + ["@lsp.type.string"] = {link = "@string"}, + ["@lsp.typemod.string.injected"] = {link = "@string"}, + ["@string.documentation"] = {link = "@string"}, + ["@lsp.type.builtinType"] = {link = "@type.builtin"}, + ["@lsp.typemod.class.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.enum.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.struct.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.type.typeAlias"] = {link = "@type.definition"}, + ["@lsp.type.enum"] = {link = "@type"}, + ["@lsp.type.interface"] = {link = "@type"}, + ["@lsp.typemod.type.defaultLibrary"] = {link = "@type"}, + ["@lsp.typemod.typeAlias.defaultLibrary"] = {link = "@type"}, + ["@type.builtin"] = {link = "@type"}, + ["@type.definition"] = {link = "@type"}, + ["@type.qualifier"] = {link = "@type"}, + ["@lsp.type.selfKeyword"] = {link = "@variable.builtin"}, + ["@lsp.type.selfTypeKeyword"] = {link = "@variable.builtin"}, + ["@lsp.typemod.variable.defaultLibrary"] = {link = "@variable.builtin"}, + ["@lsp.type.parameter"] = {link = "@variable.parameter"}, + ["@lsp.type.generic"] = {link = "@variable"}, + ["@lsp.typemod.variable.injected"] = {link = "@variable"}, + ["@variable.member"] = {link = "@variable"}, + ["@variable.parameter"] = {link = "@variable"}, + -- dark end +} + +local colors_light = { + -- light start + -- This codeblock is auto-generated by shipwright.nvim + Normal = {fg = "#4F5B62", bg = "#FAF3E1"}, + ModeMsg = {link = "Normal"}, + BlinkCmpKind = {fg = "#73848D"}, + BlinkCmpLabelMatch = {fg = "#DF69BA", bold = true}, + Bold = {bold = true}, + ["@markup.strong"] = {link = "Bold"}, + Boolean = {fg = "#4F5B62", italic = true}, + ["@boolean"] = {link = "Boolean"}, + BufferVisible = {fg = "#758690"}, + BufferVisibleIndex = {fg = "#758690"}, + BufferVisibleSign = {fg = "#758690"}, + CmpItemAbbr = {fg = "#63727A"}, + CmpItemAbbrDeprecated = {fg = "#8A9EAA"}, + CmpItemAbbrMatch = {fg = "#4F5B62", bold = true}, + CmpItemAbbrMatchFuzzy = {fg = "#5E6D75", bold = true}, + CmpItemKind = {fg = "#73848D"}, + CmpItemMenu = {fg = "#798C96"}, + CocMarkdownLink = {fg = "#36A87E", underline = true}, + ColorColumn = {bg = "#E9CDAD"}, + LspReferenceRead = {link = "ColorColumn"}, + LspReferenceText = {link = "ColorColumn"}, + LspReferenceWrite = {link = "ColorColumn"}, + Comment = {fg = "#9A9071", italic = true}, + ["@comment"] = {link = "Comment"}, + Conceal = {fg = "#798C96", bold = true, italic = true}, + Constant = {fg = "#73848D", italic = true}, + Character = {link = "Constant"}, + TroubleSource = {link = "Constant"}, + WhichKeyValue = {link = "Constant"}, + helpOption = {link = "Constant"}, + ["@character"] = {link = "Constant"}, + ["@constant.builtin"] = {link = "Constant"}, + ["@constant.macro"] = {link = "Constant"}, + ["@markup.link"] = {link = "Constant"}, + ["@markup.link.url"] = {link = "Constant"}, + ["@markup.raw"] = {link = "Constant"}, + ["@module"] = {link = "Constant"}, + ["@string.regexp"] = {link = "Constant"}, + ["@variable.builtin"] = {link = "Constant"}, + Cursor = {fg = "#FAF3E1", bg = "#4F5B62"}, + TermCursor = {link = "Cursor"}, + CursorLine = {bg = "#F6EBC8"}, + CocMenuSel = {link = "CursorLine"}, + CursorColumn = {link = "CursorLine"}, + FzfLuaFzfCursorLine = {link = "CursorLine"}, + NeogitDiffContextHighlight = {link = "CursorLine"}, + SnacksPickerListCursorLine = {link = "CursorLine"}, + SnacksPickerPreviewCursorLine = {link = "CursorLine"}, + TelescopeSelection = {link = "CursorLine"}, + CursorLineNr = {fg = "#4F5B62", bg = "NONE", bold = true}, + Delimiter = {fg = "#92865B"}, + markdownLinkTextDelimiter = {link = "Delimiter"}, + ["@constructor.lua"] = {link = "Delimiter"}, + ["@punctuation.bracket"] = {link = "Delimiter"}, + ["@punctuation.delimiter"] = {link = "Delimiter"}, + ["@punctuation.special"] = {link = "Delimiter"}, + ["@tag.delimiter"] = {link = "Delimiter"}, + NeogitNotificationError = {link = "DiagnosticError"}, + NotifyERRORIcon = {link = "DiagnosticError"}, + NotifyERRORTitle = {link = "DiagnosticError"}, + DiagnosticHint = {fg = "#DF69BA"}, + NotifyDEBUGIcon = {link = "DiagnosticHint"}, + NotifyDEBUGTitle = {link = "DiagnosticHint"}, + NotifyTRACEIcon = {link = "DiagnosticHint"}, + NotifyTRACETitle = {link = "DiagnosticHint"}, + DiagnosticInfo = {fg = "#3A94C4"}, + NeogitNotificationInfo = {link = "DiagnosticInfo"}, + NotifyINFOIcon = {link = "DiagnosticInfo"}, + NotifyINFOTitle = {link = "DiagnosticInfo"}, + ["@comment.note"] = {link = "DiagnosticInfo"}, + DiagnosticOk = {fg = "#8DA200"}, + DiagnosticSignError = {fg = "#F85550", bg = "NONE"}, + CocErrorSign = {link = "DiagnosticSignError"}, + DiagnosticSignHint = {fg = "#DF69BA", bg = "NONE"}, + CocHintSign = {link = "DiagnosticSignHint"}, + DiagnosticSignInfo = {fg = "#3A94C4", bg = "NONE"}, + CocInfoSign = {link = "DiagnosticSignInfo"}, + DiagnosticSignOk = {fg = "#8DA200", bg = "NONE"}, + DiagnosticSignWarn = {fg = "#DEA000", bg = "NONE"}, + CocWarningSign = {link = "DiagnosticSignWarn"}, + DiagnosticUnderlineError = {fg = "NONE", sp = "#F85550", undercurl = true}, + CocErrorHighlight = {link = "DiagnosticUnderlineError"}, + DiagnosticUnderlineHint = {fg = "NONE", sp = "#DF69BA", undercurl = true}, + CocHintHighlight = {link = "DiagnosticUnderlineHint"}, + DiagnosticUnderlineInfo = {fg = "NONE", sp = "#3A94C4", undercurl = true}, + CocInfoHighlight = {link = "DiagnosticUnderlineInfo"}, + DiagnosticUnderlineOk = {fg = "NONE", sp = "#8DA200", undercurl = true}, + DiagnosticUnderlineWarn = {fg = "NONE", sp = "#DEA000", undercurl = true}, + CocWarningHighlight = {link = "DiagnosticUnderlineWarn"}, + DiagnosticVirtualTextError = {fg = "#F85550", bg = "#F2E5E5"}, + CocErrorVirtualText = {link = "DiagnosticVirtualTextError"}, + DiagnosticVirtualTextHint = {fg = "#DF69BA", bg = "#F2E4EC"}, + DiagnosticVirtualTextInfo = {fg = "#3A94C4", bg = "#E0E9F2"}, + DiagnosticVirtualTextOk = {fg = "#8DA200", bg = "#E1EFB0"}, + DiagnosticVirtualTextWarn = {fg = "#DEA000", bg = "#F2E6DA"}, + CocWarningVirtualText = {link = "DiagnosticVirtualTextWarn"}, + DiagnosticDeprecated = {link = "DiagnosticWarn"}, + DiagnosticUnnecessary = {link = "DiagnosticWarn"}, + NeogitNotificationWarning = {link = "DiagnosticWarn"}, + NotifyWARNIcon = {link = "DiagnosticWarn"}, + NotifyWARNTitle = {link = "DiagnosticWarn"}, + DiffAdd = {bg = "#DDE7BD"}, + NeogitDiffAddHighlight = {link = "DiffAdd"}, + diffAdded = {link = "DiffAdd"}, + ["@diff.plus"] = {link = "DiffAdd"}, + DiffChange = {bg = "#DCE3EB"}, + diffChanged = {link = "DiffChange"}, + ["@diff.delta"] = {link = "DiffChange"}, + DiffDelete = {bg = "#EEDFDF"}, + NeogitDiffDeleteHighlight = {link = "DiffDelete"}, + diffRemoved = {link = "DiffDelete"}, + ["@diff.minus"] = {link = "DiffDelete"}, + DiffText = {fg = "#4F5B62", bg = "#B0C3D4"}, + Directory = {bold = true}, + Error = {fg = "#F85550"}, + DiagnosticError = {link = "Error"}, + ErrorMsg = {link = "Error"}, + MasonError = {link = "Error"}, + ["@comment.error"] = {link = "Error"}, + FlashBackdrop = {fg = "#9A9071"}, + FlashLabel = {fg = "#4F5B62", bg = "#9ACFF8"}, + FloatBorder = {fg = "#7C724D", bg = "NONE"}, + FloatTitle = {fg = "#4F5B62", bg = "#F0DC99", bold = true}, + FoldColumn = {fg = "#A99B6A", bg = "NONE", bold = true}, + Folded = {fg = "#5A5236", bg = "#DAC98B"}, + Function = {fg = "#4F5B62"}, + TroubleNormal = {link = "Function"}, + TroubleText = {link = "Function"}, + ["@function"] = {link = "Function"}, + FzfLuaBufFlagAlt = {fg = "#3A94C4"}, + FzfLuaBufFlagCur = {fg = "#DEA000"}, + FzfLuaBufNr = {fg = "#8DA200"}, + FzfLuaFzfMatch = {fg = "#DF69BA", bold = true}, + FzfLuaHeaderBind = {fg = "#8DA200"}, + FzfLuaHeaderText = {fg = "#DEA000"}, + FzfLuaLiveSym = {fg = "#DEA000"}, + FzfLuaPathColNr = {fg = "#635934", bold = true}, + FzfLuaPathLineNr = {link = "FzfLuaPathColNr"}, + FzfLuaTabMarker = {fg = "#8DA200"}, + FzfLuaTabTitle = {fg = "#36A87E"}, + GitSignsAdd = {fg = "#8DA200", bg = "NONE"}, + GitGutterAdd = {link = "GitSignsAdd"}, + GitSignsChange = {fg = "#3A94C4", bg = "NONE"}, + GitGutterChange = {link = "GitSignsChange"}, + GitSignsDelete = {fg = "#F85550", bg = "NONE"}, + GitGutterDelete = {link = "GitSignsDelete"}, + HopNextKey = {fg = "#DF69BA", bold = true, underline = true}, + HopNextKey1 = {fg = "#36A87E", bold = true, underline = true}, + HopNextKey2 = {fg = "#3A94C4"}, + HopUnmatched = {fg = "#9A9071"}, + IblIndent = {fg = "#F0E2B6"}, + IndentLine = {link = "IblIndent"}, + IblScope = {fg = "#C6B88C"}, + IndentLineCurrent = {link = "IblScope"}, + Identifier = {fg = "#63727A"}, + ["@property"] = {link = "Identifier"}, + ["@string.special.symbol"] = {link = "Identifier"}, + ["@variable"] = {link = "Identifier"}, + IncSearch = {fg = "#FAF3E1", bg = "#DF69BA", bold = true}, + CurSearch = {link = "IncSearch"}, + Italic = {italic = true}, + ["@markup.italic"] = {link = "Italic"}, + ["@markup.italic.markdown"] = {link = "Italic"}, + LineNr = {fg = "#A99B6A", bg = "NONE"}, + CocCodeLens = {link = "LineNr"}, + LspCodeLens = {link = "LineNr"}, + NeogitHunkHeader = {link = "LineNr"}, + SignColumn = {link = "LineNr"}, + LspInlayHint = {fg = "#A1935F", bg = "#F7EED1"}, + MasonHeader = {fg = "#FAF3E1", bg = "#DEA000", bold = true}, + MasonHighlight = {fg = "#3A94C4"}, + MasonHighlightBlock = {fg = "#FAF3E1", bg = "#3A94C4"}, + MasonHighlightBlockBold = {fg = "#FAF3E1", bg = "#3A94C4", bold = true}, + MasonHighlightBlockBoldSecondary = {fg = "#FAF3E1", bg = "#DEA000", bold = true}, + MasonHighlightBlockSecondary = {fg = "#FAF3E1", bg = "#DEA000"}, + MasonHighlightSecondary = {fg = "#DEA000"}, + MasonMuted = {fg = "#73848D"}, + MasonMutedBlock = {fg = "#FAF3E1", bg = "#73848D"}, + MasonMutedBlockBold = {fg = "#FAF3E1", bg = "#73848D", bold = true}, + MoreMsg = {fg = "#8DA200", bold = true}, + Question = {link = "MoreMsg"}, + NeogitHunkHeaderHighlight = {fg = "#4F5B62", bg = "#F6EBC8", bold = true}, + NnnNormalNC = {link = "NnnNormal"}, + NnnVertSplit = {link = "NnnWinSeparator"}, + NoiceCmdlineIcon = {fg = "#3A94C4"}, + NoiceCmdlinePopupBorder = {link = "NoiceCmdlineIcon"}, + NoiceCmdlinePopupTitle = {link = "NoiceCmdlineIcon"}, + NoiceConfirmBorder = {link = "NoiceCmdlineIcon"}, + NoiceCompletionItemKindDefault = {fg = "#73848D"}, + NonText = {fg = "#C0B079"}, + EndOfBuffer = {link = "NonText"}, + Whitespace = {link = "NonText"}, + NormalFloat = {bg = "#F0DC99"}, + SnacksPickerBorder = {link = "NormalFloat"}, + Number = {fg = "#73848D"}, + Float = {link = "Number"}, + ["@number"] = {link = "Number"}, + NvimTreeCursorLine = {bg = "#F3E2AA"}, + NvimTreeCursorColumn = {link = "NvimTreeCursorLine"}, + NvimTreeNormal = {fg = "#4F5B62", bg = "#F6EBC8"}, + NnnNormal = {link = "NvimTreeNormal"}, + NvimTreeRootFolder = {fg = "#3A94C4", bold = true}, + NvimTreeSpecialFile = {fg = "#DF69BA", underline = true}, + NvimTreeSymlink = {fg = "#3A94C4"}, + NvimTreeWinSeparator = {fg = "bg"}, + NnnWinSeparator = {link = "NvimTreeWinSeparator"}, + Pmenu = {bg = "#E9D795"}, + PmenuSbar = {bg = "#B7A874"}, + PmenuSel = {bg = "#CFBE83"}, + PmenuThumb = {bg = "#FCF9F1"}, + PreProc = {fg = "#36A87E"}, + ["@attribute"] = {link = "PreProc"}, + ["@function.macro"] = {link = "PreProc"}, + ["@keyword.directive"] = {link = "PreProc"}, + ["@keyword.import"] = {link = "PreProc"}, + ["@markup.environment"] = {link = "PreProc"}, + RenderMarkdownCode = {bg = "#F7EED1"}, + Search = {fg = "#4F5B62", bg = "#EEBADB"}, + CocSearch = {link = "Search"}, + MatchParen = {link = "Search"}, + QuickFixLine = {link = "Search"}, + Sneak = {link = "Search"}, + SnacksIndent = {fg = "#F0E2B6"}, + SnacksIndentScope = {fg = "#C6B88C"}, + SnacksPickerMatch = {fg = "#DF69BA", bold = true}, + SneakLabelMask = {fg = "#DF69BA", bg = "#DF69BA"}, + Special = {fg = "#6E7F88", bold = true}, + WhichKeyGroup = {link = "Special"}, + ["@character.special"] = {link = "Special"}, + ["@constructor"] = {link = "Special"}, + ["@function.builtin"] = {link = "Special"}, + ["@keyword.debug"] = {link = "Special"}, + ["@markup.link.label"] = {link = "Special"}, + ["@markup.list"] = {link = "Special"}, + ["@markup.math"] = {link = "Special"}, + ["@punctuation.special.markdown"] = {link = "Special"}, + ["@string.escape"] = {link = "Special"}, + ["@string.special"] = {link = "Special"}, + ["@tag"] = {link = "Special"}, + SpecialComment = {fg = "#9A9071"}, + markdownUrl = {link = "SpecialComment"}, + ["@markup.link.url.markdown"] = {link = "SpecialComment"}, + SpecialKey = {fg = "#C0B079", italic = true}, + ["@string.escape.markdown"] = {link = "SpecialKey"}, + SpellBad = {fg = "#E16966", sp = "#F85550", undercurl = true}, + CocSelectedText = {link = "SpellBad"}, + SpellCap = {fg = "#E16966", sp = "#F86B68", undercurl = true}, + SpellLocal = {link = "SpellCap"}, + SpellRare = {fg = "#E16966", sp = "#DEA000", undercurl = true}, + Statement = {fg = "#8DA200", bold = true}, + FzfLuaBufName = {link = "Statement"}, + WhichKey = {link = "Statement"}, + ["@keyword.conditional"] = {link = "Statement"}, + ["@keyword.coroutine"] = {link = "Statement"}, + ["@keyword.exception"] = {link = "Statement"}, + ["@keyword.function"] = {link = "Statement"}, + ["@keyword.operator"] = {link = "Statement"}, + ["@keyword.repeat"] = {link = "Statement"}, + ["@keyword.return"] = {link = "Statement"}, + ["@label"] = {link = "Statement"}, + ["@lsp.type.keyword"] = {link = "Statement"}, + ["@lsp.typemod.keyword.injected"] = {link = "Statement"}, + ["@markup.title.markdown"] = {link = "Statement"}, + ["@operator"] = {link = "Statement"}, + StatusLine = {fg = "#4F5B62", bg = "#E3D191"}, + TabLine = {link = "StatusLine"}, + WinBar = {link = "StatusLine"}, + StatusLineNC = {fg = "#758690", bg = "#F3E2AA"}, + TabLineFill = {link = "StatusLineNC"}, + WinBarNC = {link = "StatusLineNC"}, + String = {fg = "#73848D", italic = true}, + ["@string"] = {link = "String"}, + TabLineSel = {bold = true}, + BufferCurrent = {link = "TabLineSel"}, + TelescopeBorder = {fg = "#7C724D"}, + TelescopeMatching = {fg = "#DF69BA", bold = true}, + TelescopeSelectionCaret = {fg = "#F85550", bg = "#F6EBC8"}, + Title = {fg = "#4F5B62", bold = true}, + FzfLuaTitle = {link = "Title"}, + ["@markup.heading"] = {link = "Title"}, + Todo = {bold = true, underline = true}, + ["@comment.todo"] = {link = "Todo"}, + Type = {fg = "#3A94C4"}, + BlinkCmpLabelDescription = {link = "Type"}, + BlinkCmpLabelDetail = {link = "Type"}, + BlinkCmpSource = {link = "Type"}, + helpSpecial = {link = "Type"}, + markdownCode = {link = "Type"}, + ["@keyword.storage"] = {link = "Type"}, + ["@markup.raw.markdown"] = {link = "Type"}, + ["@type"] = {link = "Type"}, + ["@variable.parameter.vimdoc"] = {link = "Type"}, + Underlined = {underline = true}, + ["@markup.underline"] = {link = "Underlined"}, + Visual = {bg = "#D3DFE6"}, + WarningMsg = {fg = "#DEA000"}, + DiagnosticWarn = {link = "WarningMsg"}, + NoiceCmdlineIconSearch = {link = "WarningMsg"}, + NoiceCmdlinePopupBorderSearch = {link = "WarningMsg"}, + gitcommitOverflow = {link = "WarningMsg"}, + ["@comment.warning"] = {link = "WarningMsg"}, + WhichKeySeparator = {fg = "#A99B6A"}, + WildMenu = {fg = "#FAF3E1", bg = "#DF69BA"}, + SneakLabel = {link = "WildMenu"}, + WinSeparator = {fg = "#A99B6A", bg = "NONE"}, + VertSplit = {link = "WinSeparator"}, + NvimTreeGitNew = {link = "diffAdded"}, + NvimTreeGitDirty = {link = "diffChanged"}, + diffFile = {fg = "#DEA000", bold = true}, + diffIndexLine = {fg = "#DEA000"}, + diffLine = {fg = "#DF69BA", bold = true}, + diffNewFile = {fg = "#8DA200", italic = true}, + diffOldFile = {fg = "#F85550", italic = true}, + NvimTreeGitDeleted = {link = "diffRemoved"}, + helpHyperTextEntry = {fg = "#635934", bold = true}, + helpHyperTextJump = {fg = "#63727A", underline = true}, + lCursor = {fg = "#FAF3E1", bg = "#697982"}, + TermCursorNC = {link = "lCursor"}, + markdownLinkText = {fg = "#63727A", underline = true}, + ["@lsp.type.decorator"] = {link = "@attribute"}, + ["@lsp.type.deriveHelper"] = {link = "@attribute"}, + ["@lsp.type.boolean"] = {link = "@boolean"}, + ["@comment.documentation"] = {link = "@comment"}, + ["@lsp.type.comment"] = {link = "@comment"}, + ["@constant"] = {fg = "#63727A", bold = true}, + ["@lsp.typemod.enumMember.defaultLibrary"] = {link = "@constant.builtin"}, + ["@lsp.type.enumMember"] = {link = "@constant"}, + ["@lsp.typemod.variable.static"] = {link = "@constant"}, + ["@lsp.typemod.function.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.macro.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.method.defaultLibrary"] = {link = "@function.builtin"}, + ["@function.call"] = {link = "@function"}, + ["@function.method"] = {link = "@function"}, + ["@function.method.call"] = {link = "@function"}, + ["@lsp.typemod.variable.callable"] = {link = "@function"}, + ["@keyword.conditional.ternary"] = {link = "@keyword.conditional"}, + ["@lsp.typemod.keyword.async"] = {link = "@keyword.coroutine"}, + ["@keyword.directive.define"] = {link = "@keyword.directive"}, + ["@lsp.type.lifetime"] = {link = "@keyword.storage"}, + ["@label.vimdoc"] = {fg = "#635934", bold = true}, + ["@lsp.type.unresolvedReference"] = {sp = "#F85550", undercurl = true}, + ["@lsp.type.variable"] = {}, + ["@markup.link.markdown"] = {fg = "#63727A", underline = true}, + ["@markup.link.vimdoc"] = {fg = "#63727A", underline = true}, + ["@lsp.type.formatSpecifier"] = {link = "@markup.list"}, + ["@markup.list.checked"] = {link = "@markup.list"}, + ["@markup.list.unchecked"] = {link = "@markup.list"}, + ["@markup.quote"] = {fg = "#73848D"}, + ["@markup.raw.block.vimdoc"] = {fg = "NONE"}, + ["@markup.raw.block"] = {link = "@markup.raw"}, + ["@markup.strikethrough"] = {strikethrough = true}, + ["@lsp.type.namespace"] = {link = "@module"}, + ["@module.builtin"] = {link = "@module"}, + ["@none"] = {}, + ["@lsp.type.number"] = {link = "@number"}, + ["@number.float"] = {link = "@number"}, + ["@lsp.type.operator"] = {link = "@operator"}, + ["@lsp.typemod.operator.injected"] = {link = "@operator"}, + ["@lsp.type.property"] = {link = "@property"}, + ["@tag.attribute"] = {link = "@property"}, + ["@lsp.type.escapeSequence"] = {link = "@string.escape"}, + ["@string.special.path"] = {link = "@string.special"}, + ["@string.special.url"] = {link = "@string.special"}, + ["@lsp.type.string"] = {link = "@string"}, + ["@lsp.typemod.string.injected"] = {link = "@string"}, + ["@string.documentation"] = {link = "@string"}, + ["@lsp.type.builtinType"] = {link = "@type.builtin"}, + ["@lsp.typemod.class.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.enum.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.struct.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.type.typeAlias"] = {link = "@type.definition"}, + ["@lsp.type.enum"] = {link = "@type"}, + ["@lsp.type.interface"] = {link = "@type"}, + ["@lsp.typemod.type.defaultLibrary"] = {link = "@type"}, + ["@lsp.typemod.typeAlias.defaultLibrary"] = {link = "@type"}, + ["@type.builtin"] = {link = "@type"}, + ["@type.definition"] = {link = "@type"}, + ["@type.qualifier"] = {link = "@type"}, + ["@lsp.type.selfKeyword"] = {link = "@variable.builtin"}, + ["@lsp.type.selfTypeKeyword"] = {link = "@variable.builtin"}, + ["@lsp.typemod.variable.defaultLibrary"] = {link = "@variable.builtin"}, + ["@lsp.type.parameter"] = {link = "@variable.parameter"}, + ["@lsp.type.generic"] = {link = "@variable"}, + ["@lsp.typemod.variable.injected"] = {link = "@variable"}, + ["@variable.member"] = {link = "@variable"}, + ["@variable.parameter"] = {link = "@variable"}, + -- light end +} + +function term_dark() + -- dark term start + -- This codeblock is auto-generated by shipwright.nvim + vim.g.terminal_color_0 = '#2C343A' + vim.g.terminal_color_1 = '#E67C7F' + vim.g.terminal_color_2 = '#A9C181' + vim.g.terminal_color_3 = '#DDBD7F' + vim.g.terminal_color_4 = '#7FBCB4' + vim.g.terminal_color_5 = '#D69AB7' + vim.g.terminal_color_6 = '#83C193' + vim.g.terminal_color_7 = '#E7DCC4' + vim.g.terminal_color_8 = '#45525C' + vim.g.terminal_color_9 = '#ED9294' + vim.g.terminal_color_10 = '#B0CE7B' + vim.g.terminal_color_11 = '#EDC77A' + vim.g.terminal_color_12 = '#7AC9C0' + vim.g.terminal_color_13 = '#E5A7C4' + vim.g.terminal_color_14 = '#7DD093' + vim.g.terminal_color_15 = '#B2A790' + -- dark term end +end + +function term_light() + -- light term start + -- This codeblock is auto-generated by shipwright.nvim + vim.g.terminal_color_0 = '#FAF3E1' + vim.g.terminal_color_1 = '#F85550' + vim.g.terminal_color_2 = '#8DA200' + vim.g.terminal_color_3 = '#DEA000' + vim.g.terminal_color_4 = '#3A94C4' + vim.g.terminal_color_5 = '#DF69BA' + vim.g.terminal_color_6 = '#36A87E' + vim.g.terminal_color_7 = '#4F5B62' + vim.g.terminal_color_8 = '#DBC988' + vim.g.terminal_color_9 = '#E6271C' + vim.g.terminal_color_10 = '#758700' + vim.g.terminal_color_11 = '#B98500' + vim.g.terminal_color_12 = '#297CA6' + vim.g.terminal_color_13 = '#CA43A3' + vim.g.terminal_color_14 = '#258C67' + vim.g.terminal_color_15 = '#6E7F88' + -- light term end +end + +if vim.o.background == 'dark' then + for group, attrs in pairs(colors_dark) do + vim.api.nvim_set_hl(0, group, attrs) + end + term_dark() +else + for group, attrs in pairs(colors_light) do + vim.api.nvim_set_hl(0, group, attrs) + end + term_light() +end diff --git a/lua/kanagawabones/prebuilt.lua b/lua/kanagawabones/prebuilt.lua new file mode 100644 index 00000000..8a3adb21 --- /dev/null +++ b/lua/kanagawabones/prebuilt.lua @@ -0,0 +1,420 @@ +local colors_dark = { + -- dark start + -- This codeblock is auto-generated by shipwright.nvim + Normal = {fg = "#DDD8BB", bg = "#1F1F28"}, + ModeMsg = {link = "Normal"}, + BlinkCmpKind = {fg = "#A29E89"}, + BlinkCmpLabelMatch = {fg = "#957FB8", bold = true}, + Bold = {bold = true}, + ["@markup.strong"] = {link = "Bold"}, + Boolean = {fg = "#DDD8BB", italic = true}, + ["@boolean"] = {link = "Boolean"}, + BufferVisible = {fg = "#E9E3C5"}, + BufferVisibleIndex = {fg = "#E9E3C5"}, + BufferVisibleSign = {fg = "#E9E3C5"}, + CmpItemAbbr = {fg = "#BBB79E"}, + CmpItemAbbrDeprecated = {fg = "#7A7767"}, + CmpItemAbbrMatch = {fg = "#DDD8BB", bold = true}, + CmpItemAbbrMatchFuzzy = {fg = "#C3BFA5", bold = true}, + CmpItemKind = {fg = "#A29E89"}, + CmpItemMenu = {fg = "#95917D"}, + CocMarkdownLink = {fg = "#7EB3C9", underline = true}, + ColorColumn = {bg = "#514531"}, + LspReferenceRead = {link = "ColorColumn"}, + LspReferenceText = {link = "ColorColumn"}, + LspReferenceWrite = {link = "ColorColumn"}, + Comment = {fg = "#696977", italic = true}, + ["@comment"] = {link = "Comment"}, + Conceal = {fg = "#95917D", bold = true, italic = true}, + Constant = {fg = "#A29E89", italic = true}, + Character = {link = "Constant"}, + TroubleSource = {link = "Constant"}, + WhichKeyValue = {link = "Constant"}, + helpOption = {link = "Constant"}, + ["@character"] = {link = "Constant"}, + ["@constant.builtin"] = {link = "Constant"}, + ["@constant.macro"] = {link = "Constant"}, + ["@markup.link"] = {link = "Constant"}, + ["@markup.link.url"] = {link = "Constant"}, + ["@markup.raw"] = {link = "Constant"}, + ["@module"] = {link = "Constant"}, + ["@string.regexp"] = {link = "Constant"}, + ["@variable.builtin"] = {link = "Constant"}, + Cursor = {fg = "#1F1F28", bg = "#E6E0C2"}, + TermCursor = {link = "Cursor"}, + CursorLine = {bg = "#272732"}, + CocMenuSel = {link = "CursorLine"}, + CursorColumn = {link = "CursorLine"}, + FzfLuaFzfCursorLine = {link = "CursorLine"}, + NeogitDiffContextHighlight = {link = "CursorLine"}, + SnacksPickerListCursorLine = {link = "CursorLine"}, + SnacksPickerPreviewCursorLine = {link = "CursorLine"}, + TelescopeSelection = {link = "CursorLine"}, + CursorLineNr = {fg = "#DDD8BB", bg = "NONE", bold = true}, + Delimiter = {fg = "#7D7D8D"}, + markdownLinkTextDelimiter = {link = "Delimiter"}, + ["@constructor.lua"] = {link = "Delimiter"}, + ["@punctuation.bracket"] = {link = "Delimiter"}, + ["@punctuation.delimiter"] = {link = "Delimiter"}, + ["@punctuation.special"] = {link = "Delimiter"}, + ["@tag.delimiter"] = {link = "Delimiter"}, + NeogitNotificationError = {link = "DiagnosticError"}, + NotifyERRORIcon = {link = "DiagnosticError"}, + NotifyERRORTitle = {link = "DiagnosticError"}, + DiagnosticHint = {fg = "#957FB8"}, + NotifyDEBUGIcon = {link = "DiagnosticHint"}, + NotifyDEBUGTitle = {link = "DiagnosticHint"}, + NotifyTRACEIcon = {link = "DiagnosticHint"}, + NotifyTRACETitle = {link = "DiagnosticHint"}, + DiagnosticInfo = {fg = "#7EB3C9"}, + NeogitNotificationInfo = {link = "DiagnosticInfo"}, + NotifyINFOIcon = {link = "DiagnosticInfo"}, + NotifyINFOTitle = {link = "DiagnosticInfo"}, + ["@comment.note"] = {link = "DiagnosticInfo"}, + DiagnosticOk = {fg = "#98BC6D"}, + DiagnosticSignError = {fg = "#E46A78", bg = "NONE"}, + CocErrorSign = {link = "DiagnosticSignError"}, + DiagnosticSignHint = {fg = "#957FB8", bg = "NONE"}, + CocHintSign = {link = "DiagnosticSignHint"}, + DiagnosticSignInfo = {fg = "#7EB3C9", bg = "NONE"}, + CocInfoSign = {link = "DiagnosticSignInfo"}, + DiagnosticSignOk = {fg = "#98BC6D", bg = "NONE"}, + DiagnosticSignWarn = {fg = "#E5C283", bg = "NONE"}, + CocWarningSign = {link = "DiagnosticSignWarn"}, + DiagnosticUnderlineError = {fg = "NONE", sp = "#E46A78", undercurl = true}, + CocErrorHighlight = {link = "DiagnosticUnderlineError"}, + DiagnosticUnderlineHint = {fg = "NONE", sp = "#957FB8", undercurl = true}, + CocHintHighlight = {link = "DiagnosticUnderlineHint"}, + DiagnosticUnderlineInfo = {fg = "NONE", sp = "#7EB3C9", undercurl = true}, + CocInfoHighlight = {link = "DiagnosticUnderlineInfo"}, + DiagnosticUnderlineOk = {fg = "NONE", sp = "#98BC6D", undercurl = true}, + DiagnosticUnderlineWarn = {fg = "NONE", sp = "#E5C283", undercurl = true}, + CocWarningHighlight = {link = "DiagnosticUnderlineWarn"}, + DiagnosticVirtualTextError = {fg = "#E46A78", bg = "#2E2626"}, + CocErrorVirtualText = {link = "DiagnosticVirtualTextError"}, + DiagnosticVirtualTextHint = {fg = "#957FB8", bg = "#29272D"}, + DiagnosticVirtualTextInfo = {fg = "#7EB3C9", bg = "#262829"}, + DiagnosticVirtualTextOk = {fg = "#98BC6D", bg = "#272826"}, + DiagnosticVirtualTextWarn = {fg = "#E5C283", bg = "#292826"}, + CocWarningVirtualText = {link = "DiagnosticVirtualTextWarn"}, + DiagnosticDeprecated = {link = "DiagnosticWarn"}, + DiagnosticUnnecessary = {link = "DiagnosticWarn"}, + NeogitNotificationWarning = {link = "DiagnosticWarn"}, + NotifyWARNIcon = {link = "DiagnosticWarn"}, + NotifyWARNTitle = {link = "DiagnosticWarn"}, + DiffAdd = {bg = "#2A331F"}, + NeogitDiffAddHighlight = {link = "DiffAdd"}, + diffAdded = {link = "DiffAdd"}, + ["@diff.plus"] = {link = "DiffAdd"}, + DiffChange = {bg = "#22333A"}, + diffChanged = {link = "DiffChange"}, + ["@diff.delta"] = {link = "DiffChange"}, + DiffDelete = {bg = "#47272A"}, + NeogitDiffDeleteHighlight = {link = "DiffDelete"}, + diffRemoved = {link = "DiffDelete"}, + ["@diff.minus"] = {link = "DiffDelete"}, + DiffText = {fg = "#DDD8BB", bg = "#364F59"}, + Directory = {bold = true}, + Error = {fg = "#E46A78"}, + DiagnosticError = {link = "Error"}, + ErrorMsg = {link = "Error"}, + MasonError = {link = "Error"}, + ["@comment.error"] = {link = "Error"}, + FlashBackdrop = {fg = "#696977"}, + FlashLabel = {fg = "#DDD8BB", bg = "#3C5965"}, + FloatBorder = {fg = "#7B7B8B", bg = "NONE"}, + FloatTitle = {fg = "#DDD8BB", bg = "#31313F", bold = true}, + FoldColumn = {fg = "#646476", bg = "NONE", bold = true}, + Folded = {fg = "#A5A5B0", bg = "#383846"}, + Function = {fg = "#DDD8BB"}, + TroubleNormal = {link = "Function"}, + TroubleText = {link = "Function"}, + ["@function"] = {link = "Function"}, + FzfLuaBufFlagAlt = {fg = "#7EB3C9"}, + FzfLuaBufFlagCur = {fg = "#E5C283"}, + FzfLuaBufNr = {fg = "#98BC6D"}, + FzfLuaFzfMatch = {fg = "#957FB8", bold = true}, + FzfLuaHeaderBind = {fg = "#98BC6D"}, + FzfLuaHeaderText = {fg = "#E5C283"}, + FzfLuaLiveSym = {fg = "#E5C283"}, + FzfLuaPathColNr = {fg = "#9797A5", bold = true}, + FzfLuaPathLineNr = {link = "FzfLuaPathColNr"}, + FzfLuaTabMarker = {fg = "#98BC6D"}, + FzfLuaTabTitle = {fg = "#7EB3C9"}, + GitSignsAdd = {fg = "#98BC6D", bg = "NONE"}, + GitGutterAdd = {link = "GitSignsAdd"}, + GitSignsChange = {fg = "#7EB3C9", bg = "NONE"}, + GitGutterChange = {link = "GitSignsChange"}, + GitSignsDelete = {fg = "#E46A78", bg = "NONE"}, + GitGutterDelete = {link = "GitSignsDelete"}, + HopNextKey = {fg = "#957FB8", bold = true, underline = true}, + HopNextKey1 = {fg = "#7EB3C9", bold = true, underline = true}, + HopNextKey2 = {fg = "#7EB3C9"}, + HopUnmatched = {fg = "#696977"}, + IblIndent = {fg = "#2D2D37"}, + IndentLine = {link = "IblIndent"}, + IblScope = {fg = "#484856"}, + IndentLineCurrent = {link = "IblScope"}, + Identifier = {fg = "#BBB79E"}, + ["@property"] = {link = "Identifier"}, + ["@string.special.symbol"] = {link = "Identifier"}, + ["@variable"] = {link = "Identifier"}, + IncSearch = {fg = "#1F1F28", bg = "#AE9FCA", bold = true}, + CurSearch = {link = "IncSearch"}, + Italic = {italic = true}, + ["@markup.italic"] = {link = "Italic"}, + ["@markup.italic.markdown"] = {link = "Italic"}, + LineNr = {fg = "#646476", bg = "NONE"}, + CocCodeLens = {link = "LineNr"}, + LspCodeLens = {link = "LineNr"}, + NeogitHunkHeader = {link = "LineNr"}, + SignColumn = {link = "LineNr"}, + LspInlayHint = {fg = "#6D6D8C", bg = "#272732"}, + MasonHeader = {fg = "#1F1F28", bg = "#E5C283", bold = true}, + MasonHighlight = {fg = "#7EB3C9"}, + MasonHighlightBlock = {fg = "#1F1F28", bg = "#7EB3C9"}, + MasonHighlightBlockBold = {fg = "#1F1F28", bg = "#7EB3C9", bold = true}, + MasonHighlightBlockBoldSecondary = {fg = "#1F1F28", bg = "#E5C283", bold = true}, + MasonHighlightBlockSecondary = {fg = "#1F1F28", bg = "#E5C283"}, + MasonHighlightSecondary = {fg = "#E5C283"}, + MasonMuted = {fg = "#A29E89"}, + MasonMutedBlock = {fg = "#1F1F28", bg = "#A29E89"}, + MasonMutedBlockBold = {fg = "#1F1F28", bg = "#A29E89", bold = true}, + MoreMsg = {fg = "#98BC6D", bold = true}, + Question = {link = "MoreMsg"}, + NeogitHunkHeaderHighlight = {fg = "#DDD8BB", bg = "#272732", bold = true}, + NnnNormalNC = {link = "NnnNormal"}, + NnnVertSplit = {link = "NnnWinSeparator"}, + NoiceCmdlineIcon = {fg = "#7EB3C9"}, + NoiceCmdlinePopupBorder = {link = "NoiceCmdlineIcon"}, + NoiceCmdlinePopupTitle = {link = "NoiceCmdlineIcon"}, + NoiceConfirmBorder = {link = "NoiceCmdlineIcon"}, + NoiceCompletionItemKindDefault = {fg = "#A29E89"}, + NonText = {fg = "#58586A"}, + EndOfBuffer = {link = "NonText"}, + Whitespace = {link = "NonText"}, + NormalFloat = {bg = "#31313F"}, + SnacksPickerBorder = {link = "NormalFloat"}, + Number = {fg = "#A29E89"}, + Float = {link = "Number"}, + ["@number"] = {link = "Number"}, + NvimTreeCursorLine = {bg = "#292934"}, + NvimTreeCursorColumn = {link = "NvimTreeCursorLine"}, + NvimTreeNormal = {fg = "#DDD8BB", bg = "#25252F"}, + NnnNormal = {link = "NvimTreeNormal"}, + NvimTreeRootFolder = {fg = "#7EB3C9", bold = true}, + NvimTreeSpecialFile = {fg = "#957FB8", underline = true}, + NvimTreeSymlink = {fg = "#7EB3C9"}, + NvimTreeWinSeparator = {fg = "bg"}, + NnnWinSeparator = {link = "NvimTreeWinSeparator"}, + Pmenu = {bg = "#31313F"}, + PmenuSbar = {bg = "#5D5D6F"}, + PmenuSel = {bg = "#484759"}, + PmenuThumb = {bg = "#858594"}, + ["@attribute"] = {link = "PreProc"}, + ["@function.macro"] = {link = "PreProc"}, + ["@keyword.directive"] = {link = "PreProc"}, + ["@keyword.import"] = {link = "PreProc"}, + ["@markup.environment"] = {link = "PreProc"}, + RenderMarkdownCode = {bg = "#272732"}, + Search = {fg = "#DDD8BB", bg = "#614A82"}, + CocSearch = {link = "Search"}, + MatchParen = {link = "Search"}, + QuickFixLine = {link = "Search"}, + Sneak = {link = "Search"}, + SnacksIndent = {fg = "#2D2D37"}, + SnacksIndentScope = {fg = "#484856"}, + SnacksPickerMatch = {fg = "#957FB8", bold = true}, + SneakLabelMask = {fg = "#957FB8", bg = "#957FB8"}, + Special = {fg = "#ADA992", bold = true}, + WhichKeyGroup = {link = "Special"}, + ["@character.special"] = {link = "Special"}, + ["@constructor"] = {link = "Special"}, + ["@function.builtin"] = {link = "Special"}, + ["@keyword.debug"] = {link = "Special"}, + ["@markup.link.label"] = {link = "Special"}, + ["@markup.list"] = {link = "Special"}, + ["@markup.math"] = {link = "Special"}, + ["@punctuation.special.markdown"] = {link = "Special"}, + ["@string.escape"] = {link = "Special"}, + ["@string.special"] = {link = "Special"}, + ["@tag"] = {link = "Special"}, + SpecialComment = {fg = "#696977"}, + markdownUrl = {link = "SpecialComment"}, + ["@markup.link.url.markdown"] = {link = "SpecialComment"}, + SpecialKey = {fg = "#58586A", italic = true}, + ["@string.escape.markdown"] = {link = "SpecialKey"}, + SpellBad = {fg = "#D0777F", undercurl = true}, + CocSelectedText = {link = "SpellBad"}, + SpellCap = {fg = "#D0777F", undercurl = true}, + SpellLocal = {link = "SpellCap"}, + SpellRare = {fg = "#D0777F", undercurl = true}, + Statement = {fg = "#DDD8BB", bold = true}, + FzfLuaBufName = {link = "Statement"}, + PreProc = {link = "Statement"}, + WhichKey = {link = "Statement"}, + ["@keyword.conditional"] = {link = "Statement"}, + ["@keyword.coroutine"] = {link = "Statement"}, + ["@keyword.exception"] = {link = "Statement"}, + ["@keyword.function"] = {link = "Statement"}, + ["@keyword.operator"] = {link = "Statement"}, + ["@keyword.repeat"] = {link = "Statement"}, + ["@keyword.return"] = {link = "Statement"}, + ["@label"] = {link = "Statement"}, + ["@lsp.type.keyword"] = {link = "Statement"}, + ["@lsp.typemod.keyword.injected"] = {link = "Statement"}, + ["@markup.title.markdown"] = {link = "Statement"}, + ["@operator"] = {link = "Statement"}, + StatusLine = {fg = "#DDD8BB", bg = "#363644"}, + TabLine = {link = "StatusLine"}, + WinBar = {link = "StatusLine"}, + StatusLineNC = {fg = "#E9E3C5", bg = "#292934"}, + TabLineFill = {link = "StatusLineNC"}, + WinBarNC = {link = "StatusLineNC"}, + String = {fg = "#A29E89", italic = true}, + ["@string"] = {link = "String"}, + TabLineSel = {bold = true}, + BufferCurrent = {link = "TabLineSel"}, + TelescopeBorder = {fg = "#7B7B8B"}, + TelescopeMatching = {fg = "#957FB8", bold = true}, + TelescopeSelectionCaret = {fg = "#E46A78", bg = "#272732"}, + Title = {fg = "#DDD8BB", bold = true}, + FzfLuaTitle = {link = "Title"}, + ["@markup.heading"] = {link = "Title"}, + Todo = {bold = true, underline = true}, + ["@comment.todo"] = {link = "Todo"}, + Type = {fg = "#9797A5"}, + BlinkCmpLabelDescription = {link = "Type"}, + BlinkCmpLabelDetail = {link = "Type"}, + BlinkCmpSource = {link = "Type"}, + helpSpecial = {link = "Type"}, + markdownCode = {link = "Type"}, + ["@keyword.storage"] = {link = "Type"}, + ["@markup.raw.markdown"] = {link = "Type"}, + ["@type"] = {link = "Type"}, + ["@variable.parameter.vimdoc"] = {link = "Type"}, + Underlined = {underline = true}, + ["@markup.underline"] = {link = "Underlined"}, + Visual = {bg = "#49473E"}, + WarningMsg = {fg = "#E5C283"}, + DiagnosticWarn = {link = "WarningMsg"}, + NoiceCmdlineIconSearch = {link = "WarningMsg"}, + NoiceCmdlinePopupBorderSearch = {link = "WarningMsg"}, + gitcommitOverflow = {link = "WarningMsg"}, + ["@comment.warning"] = {link = "WarningMsg"}, + WhichKeySeparator = {fg = "#646476"}, + WildMenu = {fg = "#1F1F28", bg = "#957FB8"}, + SneakLabel = {link = "WildMenu"}, + WinSeparator = {fg = "#646476", bg = "NONE"}, + VertSplit = {link = "WinSeparator"}, + NvimTreeGitNew = {link = "diffAdded"}, + NvimTreeGitDirty = {link = "diffChanged"}, + diffFile = {fg = "#E5C283", bold = true}, + diffIndexLine = {fg = "#E5C283"}, + diffLine = {fg = "#957FB8", bold = true}, + diffNewFile = {fg = "#98BC6D", italic = true}, + diffOldFile = {fg = "#E46A78", italic = true}, + NvimTreeGitDeleted = {link = "diffRemoved"}, + helpHyperTextEntry = {fg = "#9797A5", bold = true}, + helpHyperTextJump = {fg = "#BBB79E", underline = true}, + lCursor = {fg = "#1F1F28", bg = "#8F8C78"}, + TermCursorNC = {link = "lCursor"}, + markdownLinkText = {fg = "#BBB79E", underline = true}, + ["@lsp.type.decorator"] = {link = "@attribute"}, + ["@lsp.type.deriveHelper"] = {link = "@attribute"}, + ["@lsp.type.boolean"] = {link = "@boolean"}, + ["@comment.documentation"] = {link = "@comment"}, + ["@lsp.type.comment"] = {link = "@comment"}, + ["@constant"] = {fg = "#BBB79E", bold = true}, + ["@lsp.typemod.enumMember.defaultLibrary"] = {link = "@constant.builtin"}, + ["@lsp.type.enumMember"] = {link = "@constant"}, + ["@lsp.typemod.variable.static"] = {link = "@constant"}, + ["@lsp.typemod.function.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.macro.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.method.defaultLibrary"] = {link = "@function.builtin"}, + ["@function.call"] = {link = "@function"}, + ["@function.method"] = {link = "@function"}, + ["@function.method.call"] = {link = "@function"}, + ["@lsp.typemod.variable.callable"] = {link = "@function"}, + ["@keyword.conditional.ternary"] = {link = "@keyword.conditional"}, + ["@lsp.typemod.keyword.async"] = {link = "@keyword.coroutine"}, + ["@keyword.directive.define"] = {link = "@keyword.directive"}, + ["@lsp.type.lifetime"] = {link = "@keyword.storage"}, + ["@label.vimdoc"] = {fg = "#9797A5", bold = true}, + ["@lsp.type.unresolvedReference"] = {sp = "#E46A78", undercurl = true}, + ["@lsp.type.variable"] = {}, + ["@markup.link.markdown"] = {fg = "#BBB79E", underline = true}, + ["@markup.link.vimdoc"] = {fg = "#BBB79E", underline = true}, + ["@lsp.type.formatSpecifier"] = {link = "@markup.list"}, + ["@markup.list.checked"] = {link = "@markup.list"}, + ["@markup.list.unchecked"] = {link = "@markup.list"}, + ["@markup.quote"] = {fg = "#A29E89"}, + ["@markup.raw.block.vimdoc"] = {fg = "NONE"}, + ["@markup.raw.block"] = {link = "@markup.raw"}, + ["@markup.strikethrough"] = {strikethrough = true}, + ["@lsp.type.namespace"] = {link = "@module"}, + ["@module.builtin"] = {link = "@module"}, + ["@none"] = {}, + ["@lsp.type.number"] = {link = "@number"}, + ["@number.float"] = {link = "@number"}, + ["@lsp.type.operator"] = {link = "@operator"}, + ["@lsp.typemod.operator.injected"] = {link = "@operator"}, + ["@lsp.type.property"] = {link = "@property"}, + ["@tag.attribute"] = {link = "@property"}, + ["@lsp.type.escapeSequence"] = {link = "@string.escape"}, + ["@string.special.path"] = {link = "@string.special"}, + ["@string.special.url"] = {link = "@string.special"}, + ["@lsp.type.string"] = {link = "@string"}, + ["@lsp.typemod.string.injected"] = {link = "@string"}, + ["@string.documentation"] = {link = "@string"}, + ["@lsp.type.builtinType"] = {link = "@type.builtin"}, + ["@lsp.typemod.class.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.enum.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.struct.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.type.typeAlias"] = {link = "@type.definition"}, + ["@lsp.type.enum"] = {link = "@type"}, + ["@lsp.type.interface"] = {link = "@type"}, + ["@lsp.typemod.type.defaultLibrary"] = {link = "@type"}, + ["@lsp.typemod.typeAlias.defaultLibrary"] = {link = "@type"}, + ["@type.builtin"] = {link = "@type"}, + ["@type.definition"] = {link = "@type"}, + ["@type.qualifier"] = {link = "@type"}, + ["@lsp.type.selfKeyword"] = {link = "@variable.builtin"}, + ["@lsp.type.selfTypeKeyword"] = {link = "@variable.builtin"}, + ["@lsp.typemod.variable.defaultLibrary"] = {link = "@variable.builtin"}, + ["@lsp.type.parameter"] = {link = "@variable.parameter"}, + ["@lsp.type.generic"] = {link = "@variable"}, + ["@lsp.typemod.variable.injected"] = {link = "@variable"}, + ["@variable.member"] = {link = "@variable"}, + ["@variable.parameter"] = {link = "@variable"}, + -- dark end +} + +function term_dark() + -- dark term start + -- This codeblock is auto-generated by shipwright.nvim + vim.g.terminal_color_0 = '#1F1F28' + vim.g.terminal_color_1 = '#E46A78' + vim.g.terminal_color_2 = '#98BC6D' + vim.g.terminal_color_3 = '#E5C283' + vim.g.terminal_color_4 = '#7EB3C9' + vim.g.terminal_color_5 = '#957FB8' + vim.g.terminal_color_6 = '#7EB3C9' + vim.g.terminal_color_7 = '#DDD8BB' + vim.g.terminal_color_8 = '#3C3C51' + vim.g.terminal_color_9 = '#EC818C' + vim.g.terminal_color_10 = '#9EC967' + vim.g.terminal_color_11 = '#F1C982' + vim.g.terminal_color_12 = '#7BC2DF' + vim.g.terminal_color_13 = '#A98FD2' + vim.g.terminal_color_14 = '#7BC2DF' + vim.g.terminal_color_15 = '#A8A48D' + -- dark term end +end + +if vim.o.background == 'dark' then + for group, attrs in pairs(colors_dark) do + vim.api.nvim_set_hl(0, group, attrs) + end + term_dark() +end diff --git a/lua/neobones/prebuilt.lua b/lua/neobones/prebuilt.lua new file mode 100644 index 00000000..9dcfa3bc --- /dev/null +++ b/lua/neobones/prebuilt.lua @@ -0,0 +1,839 @@ +local colors_dark = { + -- dark start + -- This codeblock is auto-generated by shipwright.nvim + Normal = {fg = "#C6D5CF", bg = "#0F191F"}, + ModeMsg = {link = "Normal"}, + BlinkCmpKind = {fg = "#939E99"}, + BlinkCmpLabelMatch = {fg = "#B279A7", bold = true}, + Bold = {bold = true}, + ["@markup.strong"] = {link = "Bold"}, + Boolean = {fg = "#C6D5CF", italic = true}, + ["@boolean"] = {link = "Boolean"}, + BufferVisible = {fg = "#D1E0DA"}, + BufferVisibleIndex = {fg = "#D1E0DA"}, + BufferVisibleSign = {fg = "#D1E0DA"}, + CmpItemAbbr = {fg = "#A7B3AE"}, + CmpItemAbbrDeprecated = {fg = "#6E7673"}, + CmpItemAbbrMatch = {fg = "#C6D5CF", bold = true}, + CmpItemAbbrMatchFuzzy = {fg = "#B1BEB9", bold = true}, + CmpItemKind = {fg = "#939E99"}, + CmpItemMenu = {fg = "#86908C"}, + CocMarkdownLink = {fg = "#66A5AD", underline = true}, + ColorColumn = {bg = "#53372B"}, + LspReferenceRead = {link = "ColorColumn"}, + LspReferenceText = {link = "ColorColumn"}, + LspReferenceWrite = {link = "ColorColumn"}, + Comment = {fg = "#536977", italic = true}, + ["@comment"] = {link = "Comment"}, + Conceal = {fg = "#86908C", bold = true, italic = true}, + Constant = {fg = "#939E99", italic = true}, + Character = {link = "Constant"}, + TroubleSource = {link = "Constant"}, + WhichKeyValue = {link = "Constant"}, + ["@character"] = {link = "Constant"}, + ["@constant.builtin"] = {link = "Constant"}, + ["@constant.macro"] = {link = "Constant"}, + ["@markup.link"] = {link = "Constant"}, + ["@markup.link.url"] = {link = "Constant"}, + ["@markup.raw"] = {link = "Constant"}, + ["@module"] = {link = "Constant"}, + ["@string.regexp"] = {link = "Constant"}, + ["@variable.builtin"] = {link = "Constant"}, + Cursor = {fg = "#0F191F", bg = "#CEDDD7"}, + TermCursor = {link = "Cursor"}, + CursorLine = {bg = "#152128"}, + CocMenuSel = {link = "CursorLine"}, + CursorColumn = {link = "CursorLine"}, + FzfLuaFzfCursorLine = {link = "CursorLine"}, + NeogitDiffContextHighlight = {link = "CursorLine"}, + SnacksPickerListCursorLine = {link = "CursorLine"}, + SnacksPickerPreviewCursorLine = {link = "CursorLine"}, + TelescopeSelection = {link = "CursorLine"}, + CursorLineNr = {fg = "#C6D5CF", bg = "NONE", bold = true}, + Delimiter = {fg = "#5B7E94"}, + markdownLinkTextDelimiter = {link = "Delimiter"}, + ["@constructor.lua"] = {link = "Delimiter"}, + ["@punctuation.bracket"] = {link = "Delimiter"}, + ["@punctuation.delimiter"] = {link = "Delimiter"}, + ["@punctuation.special"] = {link = "Delimiter"}, + ["@tag.delimiter"] = {link = "Delimiter"}, + NeogitNotificationError = {link = "DiagnosticError"}, + NotifyERRORIcon = {link = "DiagnosticError"}, + NotifyERRORTitle = {link = "DiagnosticError"}, + DiagnosticHint = {fg = "#B279A7"}, + NotifyDEBUGIcon = {link = "DiagnosticHint"}, + NotifyDEBUGTitle = {link = "DiagnosticHint"}, + NotifyTRACEIcon = {link = "DiagnosticHint"}, + NotifyTRACETitle = {link = "DiagnosticHint"}, + DiagnosticInfo = {fg = "#8190D4"}, + NeogitNotificationInfo = {link = "DiagnosticInfo"}, + NotifyINFOIcon = {link = "DiagnosticInfo"}, + NotifyINFOTitle = {link = "DiagnosticInfo"}, + ["@comment.note"] = {link = "DiagnosticInfo"}, + DiagnosticOk = {fg = "#90FF6B"}, + DiagnosticSignError = {fg = "#DE6E7C", bg = "NONE"}, + CocErrorSign = {link = "DiagnosticSignError"}, + DiagnosticSignHint = {fg = "#B279A7", bg = "NONE"}, + CocHintSign = {link = "DiagnosticSignHint"}, + DiagnosticSignInfo = {fg = "#8190D4", bg = "NONE"}, + CocInfoSign = {link = "DiagnosticSignInfo"}, + DiagnosticSignOk = {fg = "#90FF6B", bg = "NONE"}, + DiagnosticSignWarn = {fg = "#B77E64", bg = "NONE"}, + CocWarningSign = {link = "DiagnosticSignWarn"}, + DiagnosticUnderlineError = {fg = "NONE", sp = "#DE6E7C", undercurl = true}, + CocErrorHighlight = {link = "DiagnosticUnderlineError"}, + DiagnosticUnderlineHint = {fg = "NONE", sp = "#B279A7", undercurl = true}, + CocHintHighlight = {link = "DiagnosticUnderlineHint"}, + DiagnosticUnderlineInfo = {fg = "NONE", sp = "#8190D4", undercurl = true}, + CocInfoHighlight = {link = "DiagnosticUnderlineInfo"}, + DiagnosticUnderlineOk = {fg = "NONE", sp = "#90FF6B", undercurl = true}, + DiagnosticUnderlineWarn = {fg = "NONE", sp = "#B77E64", undercurl = true}, + CocWarningHighlight = {link = "DiagnosticUnderlineWarn"}, + DiagnosticVirtualTextError = {fg = "#DE6E7C", bg = "#251E1E"}, + CocErrorVirtualText = {link = "DiagnosticVirtualTextError"}, + DiagnosticVirtualTextHint = {fg = "#B279A7", bg = "#231E22"}, + DiagnosticVirtualTextInfo = {fg = "#8190D4", bg = "#1F1F24"}, + DiagnosticVirtualTextOk = {fg = "#90FF6B", bg = "#1E201E"}, + DiagnosticVirtualTextWarn = {fg = "#B77E64", bg = "#221F1E"}, + CocWarningVirtualText = {link = "DiagnosticVirtualTextWarn"}, + DiagnosticDeprecated = {link = "DiagnosticWarn"}, + DiagnosticUnnecessary = {link = "DiagnosticWarn"}, + NeogitNotificationWarning = {link = "DiagnosticWarn"}, + NotifyWARNIcon = {link = "DiagnosticWarn"}, + NotifyWARNTitle = {link = "DiagnosticWarn"}, + DiffAdd = {bg = "#1C2C19"}, + NeogitDiffAddHighlight = {link = "DiffAdd"}, + diffAdded = {link = "DiffAdd"}, + ["@diff.plus"] = {link = "DiffAdd"}, + DiffChange = {bg = "#1F2645"}, + diffChanged = {link = "DiffChange"}, + ["@diff.delta"] = {link = "DiffChange"}, + DiffDelete = {bg = "#3B2023"}, + NeogitDiffDeleteHighlight = {link = "DiffDelete"}, + diffRemoved = {link = "DiffDelete"}, + ["@diff.minus"] = {link = "DiffDelete"}, + DiffText = {fg = "#C6D5CF", bg = "#343F6D"}, + Directory = {bold = true}, + Error = {fg = "#DE6E7C"}, + DiagnosticError = {link = "Error"}, + ErrorMsg = {link = "Error"}, + MasonError = {link = "Error"}, + ["@comment.error"] = {link = "Error"}, + FlashBackdrop = {fg = "#536977"}, + FlashLabel = {fg = "#C6D5CF", bg = "#384884"}, + FloatBorder = {fg = "#1F3E56", bg = "NONE"}, + FloatTitle = {fg = "#C6D5CF", bg = "#1D2C35", bold = true}, + FoldColumn = {fg = "#466273", bg = "NONE", bold = true}, + Folded = {fg = "#7BA9C5", bg = "#24353F"}, + Function = {fg = "#C6D5CF"}, + TroubleNormal = {link = "Function"}, + TroubleText = {link = "Function"}, + ["@function"] = {link = "Function"}, + FzfLuaBufFlagAlt = {fg = "#8190D4"}, + FzfLuaBufFlagCur = {fg = "#B77E64"}, + FzfLuaBufNr = {fg = "#90FF6B"}, + FzfLuaFzfMatch = {fg = "#B279A7", bold = true}, + FzfLuaHeaderBind = {fg = "#90FF6B"}, + FzfLuaHeaderText = {fg = "#B77E64"}, + FzfLuaLiveSym = {fg = "#B77E64"}, + FzfLuaPathColNr = {fg = "#6E99B2", bold = true}, + FzfLuaPathLineNr = {link = "FzfLuaPathColNr"}, + FzfLuaTabMarker = {fg = "#90FF6B"}, + FzfLuaTabTitle = {fg = "#66A5AD"}, + GitSignsAdd = {fg = "#90FF6B", bg = "NONE"}, + GitGutterAdd = {link = "GitSignsAdd"}, + GitSignsChange = {fg = "#8190D4", bg = "NONE"}, + GitGutterChange = {link = "GitSignsChange"}, + GitSignsDelete = {fg = "#DE6E7C", bg = "NONE"}, + GitGutterDelete = {link = "GitSignsDelete"}, + HopNextKey = {fg = "#B279A7", bold = true, underline = true}, + HopNextKey1 = {fg = "#66A5AD", bold = true, underline = true}, + HopNextKey2 = {fg = "#8190D4"}, + HopUnmatched = {fg = "#536977"}, + IblIndent = {fg = "#1D272E"}, + IndentLine = {link = "IblIndent"}, + IblScope = {fg = "#35444E"}, + IndentLineCurrent = {link = "IblScope"}, + Identifier = {fg = "#A7B3AE"}, + ["@property"] = {link = "Identifier"}, + ["@string.special.symbol"] = {link = "Identifier"}, + ["@variable"] = {link = "Identifier"}, + IncSearch = {fg = "#0F191F", bg = "#BE8CB3", bold = true}, + CurSearch = {link = "IncSearch"}, + Italic = {italic = true}, + ["@markup.italic"] = {link = "Italic"}, + ["@markup.italic.markdown"] = {link = "Italic"}, + LineNr = {fg = "#466273", bg = "NONE"}, + CocCodeLens = {link = "LineNr"}, + LspCodeLens = {link = "LineNr"}, + NeogitHunkHeader = {link = "LineNr"}, + SignColumn = {link = "LineNr"}, + LspInlayHint = {fg = "#4B6F84", bg = "#152128"}, + MasonHeader = {fg = "#0F191F", bg = "#B77E64", bold = true}, + MasonHighlight = {fg = "#8190D4"}, + MasonHighlightBlock = {fg = "#0F191F", bg = "#8190D4"}, + MasonHighlightBlockBold = {fg = "#0F191F", bg = "#8190D4", bold = true}, + MasonHighlightBlockBoldSecondary = {fg = "#0F191F", bg = "#B77E64", bold = true}, + MasonHighlightBlockSecondary = {fg = "#0F191F", bg = "#B77E64"}, + MasonHighlightSecondary = {fg = "#B77E64"}, + MasonMuted = {fg = "#939E99"}, + MasonMutedBlock = {fg = "#0F191F", bg = "#939E99"}, + MasonMutedBlockBold = {fg = "#0F191F", bg = "#939E99", bold = true}, + MoreMsg = {fg = "#90FF6B", bold = true}, + Question = {link = "MoreMsg"}, + NeogitHunkHeaderHighlight = {fg = "#C6D5CF", bg = "#152128", bold = true}, + NnnNormalNC = {link = "NnnNormal"}, + NnnVertSplit = {link = "NnnWinSeparator"}, + NoiceCmdlineIcon = {fg = "#8190D4"}, + NoiceCmdlinePopupBorder = {link = "NoiceCmdlineIcon"}, + NoiceCmdlinePopupTitle = {link = "NoiceCmdlineIcon"}, + NoiceConfirmBorder = {link = "NoiceCmdlineIcon"}, + NoiceCompletionItemKindDefault = {fg = "#939E99"}, + NonText = {fg = "#3E5868"}, + EndOfBuffer = {link = "NonText"}, + Whitespace = {link = "NonText"}, + NormalFloat = {bg = "#1D2C35"}, + SnacksPickerBorder = {link = "NormalFloat"}, + Number = {fg = "#939E99"}, + Float = {link = "Number"}, + ["@number"] = {link = "Number"}, + NvimTreeCursorLine = {bg = "#18252D"}, + NvimTreeCursorColumn = {link = "NvimTreeCursorLine"}, + NvimTreeNormal = {fg = "#C6D5CF", bg = "#141F26"}, + NnnNormal = {link = "NvimTreeNormal"}, + NvimTreeRootFolder = {fg = "#8190D4", bold = true}, + NvimTreeSpecialFile = {fg = "#B279A7", underline = true}, + NvimTreeSymlink = {fg = "#8190D4"}, + NvimTreeWinSeparator = {fg = "bg"}, + NnnWinSeparator = {link = "NvimTreeWinSeparator"}, + Pmenu = {bg = "#1D2C35"}, + PmenuSbar = {bg = "#405A6B"}, + PmenuSel = {bg = "#304552"}, + PmenuThumb = {bg = "#60869D"}, + ["@attribute"] = {link = "PreProc"}, + ["@function.macro"] = {link = "PreProc"}, + ["@keyword.directive"] = {link = "PreProc"}, + ["@keyword.import"] = {link = "PreProc"}, + ["@markup.environment"] = {link = "PreProc"}, + RenderMarkdownCode = {bg = "#152128"}, + Search = {fg = "#C6D5CF", bg = "#62415B"}, + CocSearch = {link = "Search"}, + MatchParen = {link = "Search"}, + QuickFixLine = {link = "Search"}, + Sneak = {link = "Search"}, + SnacksIndent = {fg = "#1D272E"}, + SnacksIndentScope = {fg = "#35444E"}, + SnacksPickerMatch = {fg = "#B279A7", bold = true}, + SneakLabelMask = {fg = "#B279A7", bg = "#B279A7"}, + Special = {fg = "#9AA6A1", bold = true}, + WhichKeyGroup = {link = "Special"}, + ["@character.special"] = {link = "Special"}, + ["@constructor"] = {link = "Special"}, + ["@function.builtin"] = {link = "Special"}, + ["@keyword.debug"] = {link = "Special"}, + ["@markup.link.label"] = {link = "Special"}, + ["@markup.list"] = {link = "Special"}, + ["@markup.math"] = {link = "Special"}, + ["@punctuation.special.markdown"] = {link = "Special"}, + ["@string.escape"] = {link = "Special"}, + ["@string.special"] = {link = "Special"}, + ["@tag"] = {link = "Special"}, + SpecialComment = {fg = "#536977"}, + ["@markup.link.url.markdown"] = {link = "SpecialComment"}, + SpecialKey = {fg = "#3E5868", italic = true}, + ["@string.escape.markdown"] = {link = "SpecialKey"}, + SpellBad = {fg = "#CB7A83", undercurl = true}, + CocSelectedText = {link = "SpellBad"}, + SpellCap = {fg = "#CB7A83", undercurl = true}, + SpellLocal = {link = "SpellCap"}, + SpellRare = {fg = "#CB7A83", undercurl = true}, + Statement = {fg = "#C6D5CF", bold = true}, + FzfLuaBufName = {link = "Statement"}, + PreProc = {link = "Statement"}, + WhichKey = {link = "Statement"}, + ["@keyword.conditional"] = {link = "Statement"}, + ["@keyword.coroutine"] = {link = "Statement"}, + ["@keyword.exception"] = {link = "Statement"}, + ["@keyword.function"] = {link = "Statement"}, + ["@keyword.operator"] = {link = "Statement"}, + ["@keyword.repeat"] = {link = "Statement"}, + ["@keyword.return"] = {link = "Statement"}, + ["@label"] = {link = "Statement"}, + ["@lsp.type.keyword"] = {link = "Statement"}, + ["@lsp.typemod.keyword.injected"] = {link = "Statement"}, + ["@markup.title.markdown"] = {link = "Statement"}, + ["@operator"] = {link = "Statement"}, + StatusLine = {fg = "#C6D5CF", bg = "#20303A"}, + TabLine = {link = "StatusLine"}, + WinBar = {link = "StatusLine"}, + StatusLineNC = {fg = "#D1E0DA", bg = "#18252D"}, + TabLineFill = {link = "StatusLineNC"}, + WinBarNC = {link = "StatusLineNC"}, + String = {fg = "#939E99", italic = true}, + ["@string"] = {link = "String"}, + TabLineSel = {bold = true}, + BufferCurrent = {link = "TabLineSel"}, + TelescopeBorder = {fg = "#597B91"}, + TelescopeMatching = {fg = "#B279A7", bold = true}, + TelescopeSelectionCaret = {fg = "#DE6E7C", bg = "#152128"}, + Title = {fg = "#C6D5CF", bold = true}, + FzfLuaTitle = {link = "Title"}, + ["@markup.heading"] = {link = "Title"}, + Todo = {bold = true, underline = true}, + ["@comment.todo"] = {link = "Todo"}, + Type = {fg = "#6E99B2"}, + BlinkCmpLabelDescription = {link = "Type"}, + BlinkCmpLabelDetail = {link = "Type"}, + BlinkCmpSource = {link = "Type"}, + helpSpecial = {link = "Type"}, + markdownCode = {link = "Type"}, + ["@keyword.storage"] = {link = "Type"}, + ["@markup.raw.markdown"] = {link = "Type"}, + ["@type"] = {link = "Type"}, + ["@variable.parameter.vimdoc"] = {link = "Type"}, + Underlined = {underline = true}, + ["@markup.underline"] = {link = "Underlined"}, + Visual = {bg = "#3A3E3D"}, + WarningMsg = {fg = "#B77E64"}, + DiagnosticWarn = {link = "WarningMsg"}, + NoiceCmdlineIconSearch = {link = "WarningMsg"}, + NoiceCmdlinePopupBorderSearch = {link = "WarningMsg"}, + gitcommitOverflow = {link = "WarningMsg"}, + ["@comment.warning"] = {link = "WarningMsg"}, + WhichKeySeparator = {fg = "#466273"}, + WildMenu = {fg = "#0F191F", bg = "#B279A7"}, + SneakLabel = {link = "WildMenu"}, + WinSeparator = {fg = "#466273", bg = "NONE"}, + VertSplit = {link = "WinSeparator"}, + NvimTreeGitNew = {link = "diffAdded"}, + NvimTreeGitDirty = {link = "diffChanged"}, + diffFile = {fg = "#B77E64", bold = true}, + diffIndexLine = {fg = "#B77E64"}, + diffLine = {fg = "#B279A7", bold = true}, + diffNewFile = {fg = "#90FF6B", italic = true}, + diffOldFile = {fg = "#DE6E7C", italic = true}, + NvimTreeGitDeleted = {link = "diffRemoved"}, + helpHyperTextEntry = {fg = "#6E99B2", bold = true}, + helpHyperTextJump = {fg = "#8FC77E"}, + helpOption = {link = "helpHyperTextJump"}, + markdownUrl = {link = "helpHyperTextJump"}, + lCursor = {fg = "#0F191F", bg = "#818B87"}, + TermCursorNC = {link = "lCursor"}, + markdownLinkText = {fg = "#A7B3AE", underline = true}, + ["@lsp.type.decorator"] = {link = "@attribute"}, + ["@lsp.type.deriveHelper"] = {link = "@attribute"}, + ["@lsp.type.boolean"] = {link = "@boolean"}, + ["@comment.documentation"] = {link = "@comment"}, + ["@lsp.type.comment"] = {link = "@comment"}, + ["@constant"] = {fg = "#A7B3AE", bold = true}, + ["@lsp.typemod.enumMember.defaultLibrary"] = {link = "@constant.builtin"}, + ["@lsp.type.enumMember"] = {link = "@constant"}, + ["@lsp.typemod.variable.static"] = {link = "@constant"}, + ["@lsp.typemod.function.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.macro.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.method.defaultLibrary"] = {link = "@function.builtin"}, + ["@function.call"] = {link = "@function"}, + ["@function.method"] = {link = "@function"}, + ["@function.method.call"] = {link = "@function"}, + ["@lsp.typemod.variable.callable"] = {link = "@function"}, + ["@keyword.conditional.ternary"] = {link = "@keyword.conditional"}, + ["@lsp.typemod.keyword.async"] = {link = "@keyword.coroutine"}, + ["@keyword.directive.define"] = {link = "@keyword.directive"}, + ["@lsp.type.lifetime"] = {link = "@keyword.storage"}, + ["@label.vimdoc"] = {fg = "#6E99B2", bold = true}, + ["@lsp.type.unresolvedReference"] = {sp = "#DE6E7C", undercurl = true}, + ["@lsp.type.variable"] = {}, + ["@markup.link.markdown"] = {fg = "#A7B3AE", underline = true}, + ["@markup.link.vimdoc"] = {fg = "#A7B3AE", underline = true}, + ["@lsp.type.formatSpecifier"] = {link = "@markup.list"}, + ["@markup.list.checked"] = {link = "@markup.list"}, + ["@markup.list.unchecked"] = {link = "@markup.list"}, + ["@markup.quote"] = {fg = "#939E99"}, + ["@markup.raw.block.vimdoc"] = {fg = "NONE"}, + ["@markup.raw.block"] = {link = "@markup.raw"}, + ["@markup.strikethrough"] = {strikethrough = true}, + ["@lsp.type.namespace"] = {link = "@module"}, + ["@module.builtin"] = {link = "@module"}, + ["@none"] = {}, + ["@lsp.type.number"] = {link = "@number"}, + ["@number.float"] = {link = "@number"}, + ["@lsp.type.operator"] = {link = "@operator"}, + ["@lsp.typemod.operator.injected"] = {link = "@operator"}, + ["@lsp.type.property"] = {link = "@property"}, + ["@tag.attribute"] = {link = "@property"}, + ["@lsp.type.escapeSequence"] = {link = "@string.escape"}, + ["@string.special.path"] = {link = "@string.special"}, + ["@string.special.url"] = {link = "@string.special"}, + ["@lsp.type.string"] = {link = "@string"}, + ["@lsp.typemod.string.injected"] = {link = "@string"}, + ["@string.documentation"] = {link = "@string"}, + ["@lsp.type.builtinType"] = {link = "@type.builtin"}, + ["@lsp.typemod.class.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.enum.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.struct.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.type.typeAlias"] = {link = "@type.definition"}, + ["@lsp.type.enum"] = {link = "@type"}, + ["@lsp.type.interface"] = {link = "@type"}, + ["@lsp.typemod.type.defaultLibrary"] = {link = "@type"}, + ["@lsp.typemod.typeAlias.defaultLibrary"] = {link = "@type"}, + ["@type.builtin"] = {link = "@type"}, + ["@type.definition"] = {link = "@type"}, + ["@type.qualifier"] = {link = "@type"}, + ["@lsp.type.selfKeyword"] = {link = "@variable.builtin"}, + ["@lsp.type.selfTypeKeyword"] = {link = "@variable.builtin"}, + ["@lsp.typemod.variable.defaultLibrary"] = {link = "@variable.builtin"}, + ["@lsp.type.parameter"] = {link = "@variable.parameter"}, + ["@lsp.type.generic"] = {link = "@variable"}, + ["@lsp.typemod.variable.injected"] = {link = "@variable"}, + ["@variable.member"] = {link = "@variable"}, + ["@variable.parameter"] = {link = "@variable"}, + -- dark end +} + +local colors_light = { + -- light start + -- This codeblock is auto-generated by shipwright.nvim + Normal = {fg = "#202E18", bg = "#E5EDE6"}, + ModeMsg = {link = "Normal"}, + BlinkCmpKind = {fg = "#476038"}, + BlinkCmpLabelMatch = {fg = "#88507D", bold = true}, + Bold = {bold = true}, + ["@markup.strong"] = {link = "Bold"}, + Boolean = {fg = "#202E18", italic = true}, + ["@boolean"] = {link = "Boolean"}, + BufferVisible = {fg = "#4B663C"}, + BufferVisibleIndex = {fg = "#4B663C"}, + BufferVisibleSign = {fg = "#4B663C"}, + CmpItemAbbr = {fg = "#364A2A"}, + CmpItemAbbrDeprecated = {fg = "#648550"}, + CmpItemAbbrMatch = {fg = "#202E18", bold = true}, + CmpItemAbbrMatchFuzzy = {fg = "#304325", bold = true}, + CmpItemKind = {fg = "#476038"}, + CmpItemMenu = {fg = "#516D41"}, + CocMarkdownLink = {fg = "#3B8992", underline = true}, + ColorColumn = {bg = "#E5C2B9"}, + LspReferenceRead = {link = "ColorColumn"}, + LspReferenceText = {link = "ColorColumn"}, + LspReferenceWrite = {link = "ColorColumn"}, + Comment = {fg = "#878D88", italic = true}, + ["@comment"] = {link = "Comment"}, + Conceal = {fg = "#516D41", bold = true, italic = true}, + Constant = {fg = "#476038", italic = true}, + Character = {link = "Constant"}, + TroubleSource = {link = "Constant"}, + WhichKeyValue = {link = "Constant"}, + ["@character"] = {link = "Constant"}, + ["@constant.builtin"] = {link = "Constant"}, + ["@constant.macro"] = {link = "Constant"}, + ["@markup.link"] = {link = "Constant"}, + ["@markup.link.url"] = {link = "Constant"}, + ["@markup.raw"] = {link = "Constant"}, + ["@module"] = {link = "Constant"}, + ["@string.regexp"] = {link = "Constant"}, + ["@variable.builtin"] = {link = "Constant"}, + Cursor = {fg = "#E5EDE6", bg = "#202E18"}, + TermCursor = {link = "Cursor"}, + CursorLine = {bg = "#DAE5DB"}, + CocMenuSel = {link = "CursorLine"}, + CursorColumn = {link = "CursorLine"}, + FzfLuaFzfCursorLine = {link = "CursorLine"}, + NeogitDiffContextHighlight = {link = "CursorLine"}, + SnacksPickerListCursorLine = {link = "CursorLine"}, + SnacksPickerPreviewCursorLine = {link = "CursorLine"}, + TelescopeSelection = {link = "CursorLine"}, + CursorLineNr = {fg = "#202E18", bg = "NONE", bold = true}, + Delimiter = {fg = "#7B837C"}, + markdownLinkTextDelimiter = {link = "Delimiter"}, + ["@constructor.lua"] = {link = "Delimiter"}, + ["@punctuation.bracket"] = {link = "Delimiter"}, + ["@punctuation.delimiter"] = {link = "Delimiter"}, + ["@punctuation.special"] = {link = "Delimiter"}, + ["@tag.delimiter"] = {link = "Delimiter"}, + NeogitNotificationError = {link = "DiagnosticError"}, + NotifyERRORIcon = {link = "DiagnosticError"}, + NotifyERRORTitle = {link = "DiagnosticError"}, + DiagnosticHint = {fg = "#88507D"}, + NotifyDEBUGIcon = {link = "DiagnosticHint"}, + NotifyDEBUGTitle = {link = "DiagnosticHint"}, + NotifyTRACEIcon = {link = "DiagnosticHint"}, + NotifyTRACETitle = {link = "DiagnosticHint"}, + DiagnosticInfo = {fg = "#286486"}, + NeogitNotificationInfo = {link = "DiagnosticInfo"}, + NotifyINFOIcon = {link = "DiagnosticInfo"}, + NotifyINFOTitle = {link = "DiagnosticInfo"}, + ["@comment.note"] = {link = "DiagnosticInfo"}, + DiagnosticOk = {fg = "#567A30"}, + DiagnosticSignError = {fg = "#A8334C", bg = "NONE"}, + CocErrorSign = {link = "DiagnosticSignError"}, + DiagnosticSignHint = {fg = "#88507D", bg = "NONE"}, + CocHintSign = {link = "DiagnosticSignHint"}, + DiagnosticSignInfo = {fg = "#286486", bg = "NONE"}, + CocInfoSign = {link = "DiagnosticSignInfo"}, + DiagnosticSignOk = {fg = "#567A30", bg = "NONE"}, + DiagnosticSignWarn = {fg = "#944927", bg = "NONE"}, + CocWarningSign = {link = "DiagnosticSignWarn"}, + DiagnosticUnderlineError = {fg = "NONE", sp = "#A8334C", undercurl = true}, + CocErrorHighlight = {link = "DiagnosticUnderlineError"}, + DiagnosticUnderlineHint = {fg = "NONE", sp = "#88507D", undercurl = true}, + CocHintHighlight = {link = "DiagnosticUnderlineHint"}, + DiagnosticUnderlineInfo = {fg = "NONE", sp = "#286486", undercurl = true}, + CocInfoHighlight = {link = "DiagnosticUnderlineInfo"}, + DiagnosticUnderlineOk = {fg = "NONE", sp = "#567A30", undercurl = true}, + DiagnosticUnderlineWarn = {fg = "NONE", sp = "#944927", undercurl = true}, + CocWarningHighlight = {link = "DiagnosticUnderlineWarn"}, + DiagnosticVirtualTextError = {fg = "#A8334C", bg = "#EDDBDD"}, + CocErrorVirtualText = {link = "DiagnosticVirtualTextError"}, + DiagnosticVirtualTextHint = {fg = "#88507D", bg = "#EDDAE9"}, + DiagnosticVirtualTextInfo = {fg = "#286486", bg = "#D5E1ED"}, + DiagnosticVirtualTextOk = {fg = "#567A30", bg = "#C7EBA9"}, + DiagnosticVirtualTextWarn = {fg = "#944927", bg = "#EEDCD8"}, + CocWarningVirtualText = {link = "DiagnosticVirtualTextWarn"}, + DiagnosticDeprecated = {link = "DiagnosticWarn"}, + DiagnosticUnnecessary = {link = "DiagnosticWarn"}, + NeogitNotificationWarning = {link = "DiagnosticWarn"}, + NotifyWARNIcon = {link = "DiagnosticWarn"}, + NotifyWARNTitle = {link = "DiagnosticWarn"}, + DiffAdd = {bg = "#C8E2B5"}, + NeogitDiffAddHighlight = {link = "DiffAdd"}, + diffAdded = {link = "DiffAdd"}, + ["@diff.plus"] = {link = "DiffAdd"}, + DiffChange = {bg = "#D1DBE5"}, + diffChanged = {link = "DiffChange"}, + ["@diff.delta"] = {link = "DiffChange"}, + DiffDelete = {bg = "#EAD5D7"}, + NeogitDiffDeleteHighlight = {link = "DiffDelete"}, + diffRemoved = {link = "DiffDelete"}, + ["@diff.minus"] = {link = "DiffDelete"}, + DiffText = {fg = "#202E18", bg = "#A6BBCF"}, + Directory = {bold = true}, + Error = {fg = "#A8334C"}, + DiagnosticError = {link = "Error"}, + ErrorMsg = {link = "Error"}, + MasonError = {link = "Error"}, + ["@comment.error"] = {link = "Error"}, + FlashBackdrop = {fg = "#878D88"}, + FlashLabel = {fg = "#202E18", bg = "#88C8F5"}, + FloatBorder = {fg = "#6A716B", bg = "NONE"}, + FloatTitle = {fg = "#202E18", bg = "#CDDBCF", bold = true}, + FoldColumn = {fg = "#8F9890", bg = "NONE", bold = true}, + Folded = {fg = "#4A4F4A", bg = "#B8C4B9"}, + Function = {fg = "#202E18"}, + TroubleNormal = {link = "Function"}, + TroubleText = {link = "Function"}, + ["@function"] = {link = "Function"}, + FzfLuaBufFlagAlt = {fg = "#286486"}, + FzfLuaBufFlagCur = {fg = "#944927"}, + FzfLuaBufNr = {fg = "#567A30"}, + FzfLuaFzfMatch = {fg = "#88507D", bold = true}, + FzfLuaHeaderBind = {fg = "#567A30"}, + FzfLuaHeaderText = {fg = "#944927"}, + FzfLuaLiveSym = {fg = "#944927"}, + FzfLuaPathColNr = {fg = "#495C4C", bold = true}, + FzfLuaPathLineNr = {link = "FzfLuaPathColNr"}, + FzfLuaTabMarker = {fg = "#567A30"}, + FzfLuaTabTitle = {fg = "#3B8992"}, + GitSignsAdd = {fg = "#567A30", bg = "NONE"}, + GitGutterAdd = {link = "GitSignsAdd"}, + GitSignsChange = {fg = "#286486", bg = "NONE"}, + GitGutterChange = {link = "GitSignsChange"}, + GitSignsDelete = {fg = "#A8334C", bg = "NONE"}, + GitGutterDelete = {link = "GitSignsDelete"}, + HopNextKey = {fg = "#88507D", bold = true, underline = true}, + HopNextKey1 = {fg = "#3B8992", bold = true, underline = true}, + HopNextKey2 = {fg = "#286486"}, + HopUnmatched = {fg = "#878D88"}, + IblIndent = {fg = "#D2DDD3"}, + IndentLine = {link = "IblIndent"}, + IblScope = {fg = "#ADB6AE"}, + IndentLineCurrent = {link = "IblScope"}, + Identifier = {fg = "#364A2A"}, + ["@property"] = {link = "Identifier"}, + ["@string.special.symbol"] = {link = "Identifier"}, + ["@variable"] = {link = "Identifier"}, + IncSearch = {fg = "#E5EDE6", bg = "#BD72AF", bold = true}, + CurSearch = {link = "IncSearch"}, + Italic = {italic = true}, + ["@markup.italic"] = {link = "Italic"}, + ["@markup.italic.markdown"] = {link = "Italic"}, + LineNr = {fg = "#8F9890", bg = "NONE"}, + CocCodeLens = {link = "LineNr"}, + LspCodeLens = {link = "LineNr"}, + NeogitHunkHeader = {link = "LineNr"}, + SignColumn = {link = "LineNr"}, + LspInlayHint = {fg = "#829685", bg = "#DEE8DF"}, + MasonHeader = {fg = "#E5EDE6", bg = "#944927", bold = true}, + MasonHighlight = {fg = "#286486"}, + MasonHighlightBlock = {fg = "#E5EDE6", bg = "#286486"}, + MasonHighlightBlockBold = {fg = "#E5EDE6", bg = "#286486", bold = true}, + MasonHighlightBlockBoldSecondary = {fg = "#E5EDE6", bg = "#944927", bold = true}, + MasonHighlightBlockSecondary = {fg = "#E5EDE6", bg = "#944927"}, + MasonHighlightSecondary = {fg = "#944927"}, + MasonMuted = {fg = "#476038"}, + MasonMutedBlock = {fg = "#E5EDE6", bg = "#476038"}, + MasonMutedBlockBold = {fg = "#E5EDE6", bg = "#476038", bold = true}, + MoreMsg = {fg = "#567A30", bold = true}, + Question = {link = "MoreMsg"}, + NeogitHunkHeaderHighlight = {fg = "#202E18", bg = "#DAE5DB", bold = true}, + NnnNormalNC = {link = "NnnNormal"}, + NnnVertSplit = {link = "NnnWinSeparator"}, + NoiceCmdlineIcon = {fg = "#286486"}, + NoiceCmdlinePopupBorder = {link = "NoiceCmdlineIcon"}, + NoiceCmdlinePopupTitle = {link = "NoiceCmdlineIcon"}, + NoiceConfirmBorder = {link = "NoiceCmdlineIcon"}, + NoiceCompletionItemKindDefault = {fg = "#476038"}, + NonText = {fg = "#A3AEA4"}, + EndOfBuffer = {link = "NonText"}, + Whitespace = {link = "NonText"}, + NormalFloat = {bg = "#CDDBCF"}, + SnacksPickerBorder = {link = "NormalFloat"}, + Number = {fg = "#476038"}, + Float = {link = "Number"}, + ["@number"] = {link = "Number"}, + NvimTreeCursorLine = {bg = "#D0DED2"}, + NvimTreeCursorColumn = {link = "NvimTreeCursorLine"}, + NvimTreeNormal = {fg = "#202E18", bg = "#DAE5DB"}, + NnnNormal = {link = "NvimTreeNormal"}, + NvimTreeRootFolder = {fg = "#286486", bold = true}, + NvimTreeSpecialFile = {fg = "#88507D", underline = true}, + NvimTreeSymlink = {fg = "#286486"}, + NvimTreeWinSeparator = {fg = "bg"}, + NnnWinSeparator = {link = "NvimTreeWinSeparator"}, + Pmenu = {bg = "#C8D5C9"}, + PmenuSbar = {bg = "#9BA69D"}, + PmenuSel = {bg = "#ADB9AF"}, + PmenuThumb = {bg = "#F4F7F5"}, + ["@attribute"] = {link = "PreProc"}, + ["@function.macro"] = {link = "PreProc"}, + ["@keyword.directive"] = {link = "PreProc"}, + ["@keyword.import"] = {link = "PreProc"}, + ["@markup.environment"] = {link = "PreProc"}, + RenderMarkdownCode = {bg = "#DEE8DF"}, + Search = {fg = "#202E18", bg = "#DCB5D4"}, + CocSearch = {link = "Search"}, + MatchParen = {link = "Search"}, + QuickFixLine = {link = "Search"}, + Sneak = {link = "Search"}, + SnacksIndent = {fg = "#D2DDD3"}, + SnacksIndentScope = {fg = "#ADB6AE"}, + SnacksPickerMatch = {fg = "#88507D", bold = true}, + SneakLabelMask = {fg = "#88507D", bg = "#88507D"}, + Special = {fg = "#415934", bold = true}, + WhichKeyGroup = {link = "Special"}, + ["@character.special"] = {link = "Special"}, + ["@constructor"] = {link = "Special"}, + ["@function.builtin"] = {link = "Special"}, + ["@keyword.debug"] = {link = "Special"}, + ["@markup.link.label"] = {link = "Special"}, + ["@markup.list"] = {link = "Special"}, + ["@markup.math"] = {link = "Special"}, + ["@punctuation.special.markdown"] = {link = "Special"}, + ["@string.escape"] = {link = "Special"}, + ["@string.special"] = {link = "Special"}, + ["@tag"] = {link = "Special"}, + SpecialComment = {fg = "#878D88"}, + ["@markup.link.url.markdown"] = {link = "SpecialComment"}, + SpecialKey = {fg = "#A3AEA4", italic = true}, + ["@string.escape.markdown"] = {link = "SpecialKey"}, + SpellBad = {fg = "#974352", sp = "#A8334C", undercurl = true}, + CocSelectedText = {link = "SpellBad"}, + SpellCap = {fg = "#974352", sp = "#C13C58", undercurl = true}, + SpellLocal = {link = "SpellCap"}, + SpellRare = {fg = "#974352", sp = "#944927", undercurl = true}, + Statement = {fg = "#202E18", bold = true}, + FzfLuaBufName = {link = "Statement"}, + PreProc = {link = "Statement"}, + WhichKey = {link = "Statement"}, + ["@keyword.conditional"] = {link = "Statement"}, + ["@keyword.coroutine"] = {link = "Statement"}, + ["@keyword.exception"] = {link = "Statement"}, + ["@keyword.function"] = {link = "Statement"}, + ["@keyword.operator"] = {link = "Statement"}, + ["@keyword.repeat"] = {link = "Statement"}, + ["@keyword.return"] = {link = "Statement"}, + ["@label"] = {link = "Statement"}, + ["@lsp.type.keyword"] = {link = "Statement"}, + ["@lsp.typemod.keyword.injected"] = {link = "Statement"}, + ["@markup.title.markdown"] = {link = "Statement"}, + ["@operator"] = {link = "Statement"}, + StatusLine = {fg = "#202E18", bg = "#C2CFC4"}, + TabLine = {link = "StatusLine"}, + WinBar = {link = "StatusLine"}, + StatusLineNC = {fg = "#4B663C", bg = "#D0DED2"}, + TabLineFill = {link = "StatusLineNC"}, + WinBarNC = {link = "StatusLineNC"}, + String = {fg = "#476038", italic = true}, + ["@string"] = {link = "String"}, + TabLineSel = {bold = true}, + BufferCurrent = {link = "TabLineSel"}, + TelescopeBorder = {fg = "#6A716B"}, + TelescopeMatching = {fg = "#88507D", bold = true}, + TelescopeSelectionCaret = {fg = "#A8334C", bg = "#DAE5DB"}, + Title = {fg = "#202E18", bold = true}, + FzfLuaTitle = {link = "Title"}, + ["@markup.heading"] = {link = "Title"}, + Todo = {bold = true, underline = true}, + ["@comment.todo"] = {link = "Todo"}, + Type = {fg = "#495C4C"}, + BlinkCmpLabelDescription = {link = "Type"}, + BlinkCmpLabelDetail = {link = "Type"}, + BlinkCmpSource = {link = "Type"}, + helpSpecial = {link = "Type"}, + markdownCode = {link = "Type"}, + ["@keyword.storage"] = {link = "Type"}, + ["@markup.raw.markdown"] = {link = "Type"}, + ["@type"] = {link = "Type"}, + ["@variable.parameter.vimdoc"] = {link = "Type"}, + Underlined = {underline = true}, + ["@markup.underline"] = {link = "Underlined"}, + Visual = {bg = "#ADE48C"}, + WarningMsg = {fg = "#944927"}, + DiagnosticWarn = {link = "WarningMsg"}, + NoiceCmdlineIconSearch = {link = "WarningMsg"}, + NoiceCmdlinePopupBorderSearch = {link = "WarningMsg"}, + gitcommitOverflow = {link = "WarningMsg"}, + ["@comment.warning"] = {link = "WarningMsg"}, + WhichKeySeparator = {fg = "#8F9890"}, + WildMenu = {fg = "#E5EDE6", bg = "#88507D"}, + SneakLabel = {link = "WildMenu"}, + WinSeparator = {fg = "#8F9890", bg = "NONE"}, + VertSplit = {link = "WinSeparator"}, + NvimTreeGitNew = {link = "diffAdded"}, + NvimTreeGitDirty = {link = "diffChanged"}, + diffFile = {fg = "#944927", bold = true}, + diffIndexLine = {fg = "#944927"}, + diffLine = {fg = "#88507D", bold = true}, + diffNewFile = {fg = "#567A30", italic = true}, + diffOldFile = {fg = "#A8334C", italic = true}, + NvimTreeGitDeleted = {link = "diffRemoved"}, + helpHyperTextEntry = {fg = "#495C4C", bold = true}, + helpHyperTextJump = {fg = "#195275"}, + helpOption = {link = "helpHyperTextJump"}, + markdownUrl = {link = "helpHyperTextJump"}, + lCursor = {fg = "#E5EDE6", bg = "#3F5632"}, + TermCursorNC = {link = "lCursor"}, + markdownLinkText = {fg = "#364A2A", underline = true}, + ["@lsp.type.decorator"] = {link = "@attribute"}, + ["@lsp.type.deriveHelper"] = {link = "@attribute"}, + ["@lsp.type.boolean"] = {link = "@boolean"}, + ["@comment.documentation"] = {link = "@comment"}, + ["@lsp.type.comment"] = {link = "@comment"}, + ["@constant"] = {fg = "#364A2A", bold = true}, + ["@lsp.typemod.enumMember.defaultLibrary"] = {link = "@constant.builtin"}, + ["@lsp.type.enumMember"] = {link = "@constant"}, + ["@lsp.typemod.variable.static"] = {link = "@constant"}, + ["@lsp.typemod.function.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.macro.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.method.defaultLibrary"] = {link = "@function.builtin"}, + ["@function.call"] = {link = "@function"}, + ["@function.method"] = {link = "@function"}, + ["@function.method.call"] = {link = "@function"}, + ["@lsp.typemod.variable.callable"] = {link = "@function"}, + ["@keyword.conditional.ternary"] = {link = "@keyword.conditional"}, + ["@lsp.typemod.keyword.async"] = {link = "@keyword.coroutine"}, + ["@keyword.directive.define"] = {link = "@keyword.directive"}, + ["@lsp.type.lifetime"] = {link = "@keyword.storage"}, + ["@label.vimdoc"] = {fg = "#495C4C", bold = true}, + ["@lsp.type.unresolvedReference"] = {sp = "#A8334C", undercurl = true}, + ["@lsp.type.variable"] = {}, + ["@markup.link.markdown"] = {fg = "#364A2A", underline = true}, + ["@markup.link.vimdoc"] = {fg = "#364A2A", underline = true}, + ["@lsp.type.formatSpecifier"] = {link = "@markup.list"}, + ["@markup.list.checked"] = {link = "@markup.list"}, + ["@markup.list.unchecked"] = {link = "@markup.list"}, + ["@markup.quote"] = {fg = "#476038"}, + ["@markup.raw.block.vimdoc"] = {fg = "NONE"}, + ["@markup.raw.block"] = {link = "@markup.raw"}, + ["@markup.strikethrough"] = {strikethrough = true}, + ["@lsp.type.namespace"] = {link = "@module"}, + ["@module.builtin"] = {link = "@module"}, + ["@none"] = {}, + ["@lsp.type.number"] = {link = "@number"}, + ["@number.float"] = {link = "@number"}, + ["@lsp.type.operator"] = {link = "@operator"}, + ["@lsp.typemod.operator.injected"] = {link = "@operator"}, + ["@lsp.type.property"] = {link = "@property"}, + ["@tag.attribute"] = {link = "@property"}, + ["@lsp.type.escapeSequence"] = {link = "@string.escape"}, + ["@string.special.path"] = {link = "@string.special"}, + ["@string.special.url"] = {link = "@string.special"}, + ["@lsp.type.string"] = {link = "@string"}, + ["@lsp.typemod.string.injected"] = {link = "@string"}, + ["@string.documentation"] = {link = "@string"}, + ["@lsp.type.builtinType"] = {link = "@type.builtin"}, + ["@lsp.typemod.class.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.enum.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.struct.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.type.typeAlias"] = {link = "@type.definition"}, + ["@lsp.type.enum"] = {link = "@type"}, + ["@lsp.type.interface"] = {link = "@type"}, + ["@lsp.typemod.type.defaultLibrary"] = {link = "@type"}, + ["@lsp.typemod.typeAlias.defaultLibrary"] = {link = "@type"}, + ["@type.builtin"] = {link = "@type"}, + ["@type.definition"] = {link = "@type"}, + ["@type.qualifier"] = {link = "@type"}, + ["@lsp.type.selfKeyword"] = {link = "@variable.builtin"}, + ["@lsp.type.selfTypeKeyword"] = {link = "@variable.builtin"}, + ["@lsp.typemod.variable.defaultLibrary"] = {link = "@variable.builtin"}, + ["@lsp.type.parameter"] = {link = "@variable.parameter"}, + ["@lsp.type.generic"] = {link = "@variable"}, + ["@lsp.typemod.variable.injected"] = {link = "@variable"}, + ["@variable.member"] = {link = "@variable"}, + ["@variable.parameter"] = {link = "@variable"}, + -- light end +} + +function term_dark() + -- dark term start + -- This codeblock is auto-generated by shipwright.nvim + vim.g.terminal_color_0 = '#0F191F' + vim.g.terminal_color_1 = '#DE6E7C' + vim.g.terminal_color_2 = '#90FF6B' + vim.g.terminal_color_3 = '#B77E64' + vim.g.terminal_color_4 = '#8190D4' + vim.g.terminal_color_5 = '#B279A7' + vim.g.terminal_color_6 = '#66A5AD' + vim.g.terminal_color_7 = '#C6D5CF' + vim.g.terminal_color_8 = '#263945' + vim.g.terminal_color_9 = '#E8838F' + vim.g.terminal_color_10 = '#A0FF85' + vim.g.terminal_color_11 = '#D68C67' + vim.g.terminal_color_12 = '#92A0E2' + vim.g.terminal_color_13 = '#CF86C1' + vim.g.terminal_color_14 = '#65B8C1' + vim.g.terminal_color_15 = '#98A39E' + -- dark term end +end + +function term_light() + -- light term start + -- This codeblock is auto-generated by shipwright.nvim + vim.g.terminal_color_0 = '#E5EDE6' + vim.g.terminal_color_1 = '#A8334C' + vim.g.terminal_color_2 = '#567A30' + vim.g.terminal_color_3 = '#944927' + vim.g.terminal_color_4 = '#286486' + vim.g.terminal_color_5 = '#88507D' + vim.g.terminal_color_6 = '#3B8992' + vim.g.terminal_color_7 = '#202E18' + vim.g.terminal_color_8 = '#B3C6B6' + vim.g.terminal_color_9 = '#94253E' + vim.g.terminal_color_10 = '#3F5A22' + vim.g.terminal_color_11 = '#803D1C' + vim.g.terminal_color_12 = '#1D5573' + vim.g.terminal_color_13 = '#7B3B70' + vim.g.terminal_color_14 = '#2B747C' + vim.g.terminal_color_15 = '#415934' + -- light term end +end + +if vim.o.background == 'dark' then + for group, attrs in pairs(colors_dark) do + vim.api.nvim_set_hl(0, group, attrs) + end + term_dark() +else + for group, attrs in pairs(colors_light) do + vim.api.nvim_set_hl(0, group, attrs) + end + term_light() +end diff --git a/lua/nordbones/prebuilt.lua b/lua/nordbones/prebuilt.lua new file mode 100644 index 00000000..a84a279b --- /dev/null +++ b/lua/nordbones/prebuilt.lua @@ -0,0 +1,420 @@ +local colors_dark = { + -- dark start + -- This codeblock is auto-generated by shipwright.nvim + Normal = {fg = "#EBEEF3", bg = "#2F3541"}, + ModeMsg = {link = "Normal"}, + BlinkCmpKind = {fg = "#9EAFC9"}, + BlinkCmpLabelMatch = {fg = "#B38DAC", bold = true}, + Bold = {bold = true}, + ["@markup.strong"] = {link = "Bold"}, + Boolean = {fg = "#EBEEF3", italic = true}, + ["@boolean"] = {link = "Boolean"}, + BufferVisible = {fg = "#F2F4F7"}, + BufferVisibleIndex = {fg = "#F2F4F7"}, + BufferVisibleSign = {fg = "#F2F4F7"}, + CmpItemAbbr = {fg = "#BFCADB"}, + CmpItemAbbrDeprecated = {fg = "#7285A0"}, + CmpItemAbbrMatch = {fg = "#EBEEF3", bold = true}, + CmpItemAbbrMatchFuzzy = {fg = "#CDD5E2", bold = true}, + CmpItemKind = {fg = "#9EAFC9"}, + CmpItemMenu = {fg = "#8DA2C0"}, + CocMarkdownLink = {fg = "#87BFCE", underline = true}, + ColorColumn = {bg = "#825243"}, + LspReferenceRead = {link = "ColorColumn"}, + LspReferenceText = {link = "ColorColumn"}, + LspReferenceWrite = {link = "ColorColumn"}, + Comment = {fg = "#737C90", italic = true}, + ["@comment"] = {link = "Comment"}, + Conceal = {fg = "#8DA2C0", bold = true, italic = true}, + Constant = {fg = "#9EAFC9", italic = true}, + Character = {link = "Constant"}, + TroubleSource = {link = "Constant"}, + WhichKeyValue = {link = "Constant"}, + helpOption = {link = "Constant"}, + ["@character"] = {link = "Constant"}, + ["@constant.builtin"] = {link = "Constant"}, + ["@constant.macro"] = {link = "Constant"}, + ["@markup.link"] = {link = "Constant"}, + ["@markup.link.url"] = {link = "Constant"}, + ["@markup.raw"] = {link = "Constant"}, + ["@module"] = {link = "Constant"}, + ["@string.regexp"] = {link = "Constant"}, + ["@variable.builtin"] = {link = "Constant"}, + Cursor = {fg = "#2F3541", bg = "#EEF1F5"}, + TermCursor = {link = "Cursor"}, + CursorLine = {bg = "#353C49"}, + CocMenuSel = {link = "CursorLine"}, + CursorColumn = {link = "CursorLine"}, + FzfLuaFzfCursorLine = {link = "CursorLine"}, + NeogitDiffContextHighlight = {link = "CursorLine"}, + SnacksPickerListCursorLine = {link = "CursorLine"}, + SnacksPickerPreviewCursorLine = {link = "CursorLine"}, + TelescopeSelection = {link = "CursorLine"}, + CursorLineNr = {fg = "#EBEEF3", bg = "NONE", bold = true}, + Delimiter = {fg = "#818EAB"}, + markdownLinkTextDelimiter = {link = "Delimiter"}, + ["@constructor.lua"] = {link = "Delimiter"}, + ["@punctuation.bracket"] = {link = "Delimiter"}, + ["@punctuation.delimiter"] = {link = "Delimiter"}, + ["@punctuation.special"] = {link = "Delimiter"}, + ["@tag.delimiter"] = {link = "Delimiter"}, + NeogitNotificationError = {link = "DiagnosticError"}, + NotifyERRORIcon = {link = "DiagnosticError"}, + NotifyERRORTitle = {link = "DiagnosticError"}, + DiagnosticHint = {fg = "#B38DAC"}, + NotifyDEBUGIcon = {link = "DiagnosticHint"}, + NotifyDEBUGTitle = {link = "DiagnosticHint"}, + NotifyTRACEIcon = {link = "DiagnosticHint"}, + NotifyTRACETitle = {link = "DiagnosticHint"}, + DiagnosticInfo = {fg = "#8FBCBA"}, + NeogitNotificationInfo = {link = "DiagnosticInfo"}, + NotifyINFOIcon = {link = "DiagnosticInfo"}, + NotifyINFOTitle = {link = "DiagnosticInfo"}, + ["@comment.note"] = {link = "DiagnosticInfo"}, + DiagnosticOk = {fg = "#A4BE8D"}, + DiagnosticSignError = {fg = "#C1616A", bg = "NONE"}, + CocErrorSign = {link = "DiagnosticSignError"}, + DiagnosticSignHint = {fg = "#B38DAC", bg = "NONE"}, + CocHintSign = {link = "DiagnosticSignHint"}, + DiagnosticSignInfo = {fg = "#8FBCBA", bg = "NONE"}, + CocInfoSign = {link = "DiagnosticSignInfo"}, + DiagnosticSignOk = {fg = "#A4BE8D", bg = "NONE"}, + DiagnosticSignWarn = {fg = "#CF866F", bg = "NONE"}, + CocWarningSign = {link = "DiagnosticSignWarn"}, + DiagnosticUnderlineError = {fg = "NONE", sp = "#C1616A", undercurl = true}, + CocErrorHighlight = {link = "DiagnosticUnderlineError"}, + DiagnosticUnderlineHint = {fg = "NONE", sp = "#B38DAC", undercurl = true}, + CocHintHighlight = {link = "DiagnosticUnderlineHint"}, + DiagnosticUnderlineInfo = {fg = "NONE", sp = "#8FBCBA", undercurl = true}, + CocInfoHighlight = {link = "DiagnosticUnderlineInfo"}, + DiagnosticUnderlineOk = {fg = "NONE", sp = "#A4BE8D", undercurl = true}, + DiagnosticUnderlineWarn = {fg = "NONE", sp = "#CF866F", undercurl = true}, + CocWarningHighlight = {link = "DiagnosticUnderlineWarn"}, + DiagnosticVirtualTextError = {fg = "#C1616A", bg = "#463B3B"}, + CocErrorVirtualText = {link = "DiagnosticVirtualTextError"}, + DiagnosticVirtualTextHint = {fg = "#B38DAC", bg = "#423C41"}, + DiagnosticVirtualTextInfo = {fg = "#8FBCBA", bg = "#3B3E3E"}, + DiagnosticVirtualTextOk = {fg = "#A4BE8D", bg = "#3C3E3A"}, + DiagnosticVirtualTextWarn = {fg = "#CF866F", bg = "#433C3B"}, + CocWarningVirtualText = {link = "DiagnosticVirtualTextWarn"}, + DiagnosticDeprecated = {link = "DiagnosticWarn"}, + DiagnosticUnnecessary = {link = "DiagnosticWarn"}, + NeogitNotificationWarning = {link = "DiagnosticWarn"}, + NotifyWARNIcon = {link = "DiagnosticWarn"}, + NotifyWARNTitle = {link = "DiagnosticWarn"}, + DiffAdd = {bg = "#3D4B2F"}, + NeogitDiffAddHighlight = {link = "DiffAdd"}, + diffAdded = {link = "DiffAdd"}, + ["@diff.plus"] = {link = "DiffAdd"}, + DiffChange = {bg = "#324B4B"}, + diffChanged = {link = "DiffChange"}, + ["@diff.delta"] = {link = "DiffChange"}, + DiffDelete = {bg = "#663A3E"}, + NeogitDiffDeleteHighlight = {link = "DiffDelete"}, + diffRemoved = {link = "DiffDelete"}, + ["@diff.minus"] = {link = "DiffDelete"}, + DiffText = {fg = "#EBEEF3", bg = "#476968"}, + Directory = {bold = true}, + Error = {fg = "#C1616A"}, + DiagnosticError = {link = "Error"}, + ErrorMsg = {link = "Error"}, + MasonError = {link = "Error"}, + ["@comment.error"] = {link = "Error"}, + FlashBackdrop = {fg = "#737C90"}, + FlashLabel = {fg = "#EBEEF3", bg = "#567272"}, + FloatBorder = {fg = "#7E8CA8", bg = "NONE"}, + FloatTitle = {fg = "#EBEEF3", bg = "#3F4756", bold = true}, + FoldColumn = {fg = "#69758C", bg = "NONE", bold = true}, + Folded = {fg = "#A8B1C5", bg = "#464E5F"}, + Function = {fg = "#87BFCE"}, + TroubleNormal = {link = "Function"}, + TroubleText = {link = "Function"}, + ["@function"] = {link = "Function"}, + FzfLuaBufFlagAlt = {fg = "#8FBCBA"}, + FzfLuaBufFlagCur = {fg = "#CF866F"}, + FzfLuaBufNr = {fg = "#A4BE8D"}, + FzfLuaFzfMatch = {fg = "#B38DAC", bold = true}, + FzfLuaHeaderBind = {fg = "#A4BE8D"}, + FzfLuaHeaderText = {fg = "#CF866F"}, + FzfLuaLiveSym = {fg = "#CF866F"}, + FzfLuaPathColNr = {fg = "#98A3BB", bold = true}, + FzfLuaPathLineNr = {link = "FzfLuaPathColNr"}, + FzfLuaTabMarker = {fg = "#A4BE8D"}, + FzfLuaTabTitle = {fg = "#87BFCE"}, + GitSignsAdd = {fg = "#A4BE8D", bg = "NONE"}, + GitGutterAdd = {link = "GitSignsAdd"}, + GitSignsChange = {fg = "#8FBCBA", bg = "NONE"}, + GitGutterChange = {link = "GitSignsChange"}, + GitSignsDelete = {fg = "#C1616A", bg = "NONE"}, + GitGutterDelete = {link = "GitSignsDelete"}, + HopNextKey = {fg = "#B38DAC", bold = true, underline = true}, + HopNextKey1 = {fg = "#87BFCE", bold = true, underline = true}, + HopNextKey2 = {fg = "#8FBCBA"}, + HopUnmatched = {fg = "#737C90"}, + IblIndent = {fg = "#3D424E"}, + IndentLine = {link = "IblIndent"}, + IblScope = {fg = "#555C6C"}, + IndentLineCurrent = {link = "IblScope"}, + Identifier = {fg = "#EBEEF3"}, + ["@property"] = {link = "Identifier"}, + ["@string.special.symbol"] = {link = "Identifier"}, + ["@variable"] = {link = "Identifier"}, + IncSearch = {fg = "#2F3541", bg = "#D1BACD", bold = true}, + CurSearch = {link = "IncSearch"}, + Italic = {italic = true}, + ["@markup.italic"] = {link = "Italic"}, + ["@markup.italic.markdown"] = {link = "Italic"}, + LineNr = {fg = "#69758C", bg = "NONE"}, + CocCodeLens = {link = "LineNr"}, + LspCodeLens = {link = "LineNr"}, + NeogitHunkHeader = {link = "LineNr"}, + SignColumn = {link = "LineNr"}, + LspInlayHint = {fg = "#6E7FA0", bg = "#353C49"}, + MasonHeader = {fg = "#2F3541", bg = "#CF866F", bold = true}, + MasonHighlight = {fg = "#8FBCBA"}, + MasonHighlightBlock = {fg = "#2F3541", bg = "#8FBCBA"}, + MasonHighlightBlockBold = {fg = "#2F3541", bg = "#8FBCBA", bold = true}, + MasonHighlightBlockBoldSecondary = {fg = "#2F3541", bg = "#CF866F", bold = true}, + MasonHighlightBlockSecondary = {fg = "#2F3541", bg = "#CF866F"}, + MasonHighlightSecondary = {fg = "#CF866F"}, + MasonMuted = {fg = "#9EAFC9"}, + MasonMutedBlock = {fg = "#2F3541", bg = "#9EAFC9"}, + MasonMutedBlockBold = {fg = "#2F3541", bg = "#9EAFC9", bold = true}, + MoreMsg = {fg = "#A4BE8D", bold = true}, + Question = {link = "MoreMsg"}, + NeogitHunkHeaderHighlight = {fg = "#EBEEF3", bg = "#353C49", bold = true}, + NnnNormalNC = {link = "NnnNormal"}, + NnnVertSplit = {link = "NnnWinSeparator"}, + NoiceCmdlineIcon = {fg = "#8FBCBA"}, + NoiceCmdlinePopupBorder = {link = "NoiceCmdlineIcon"}, + NoiceCmdlinePopupTitle = {link = "NoiceCmdlineIcon"}, + NoiceConfirmBorder = {link = "NoiceCmdlineIcon"}, + NoiceCompletionItemKindDefault = {fg = "#9EAFC9"}, + NonText = {fg = "#606B81"}, + EndOfBuffer = {link = "NonText"}, + Whitespace = {link = "NonText"}, + NormalFloat = {bg = "#3F4756"}, + SnacksPickerBorder = {link = "NormalFloat"}, + Number = {fg = "#8FBCBA", italic = true}, + Float = {link = "Number"}, + ["@number"] = {link = "Number"}, + NvimTreeCursorLine = {bg = "#39404E"}, + NvimTreeCursorColumn = {link = "NvimTreeCursorLine"}, + NvimTreeNormal = {fg = "#EBEEF3", bg = "#333946"}, + NnnNormal = {link = "NvimTreeNormal"}, + NvimTreeRootFolder = {fg = "#8FBCBA", bold = true}, + NvimTreeSpecialFile = {fg = "#B38DAC", underline = true}, + NvimTreeSymlink = {fg = "#8FBCBA"}, + NvimTreeWinSeparator = {fg = "bg"}, + NnnWinSeparator = {link = "NvimTreeWinSeparator"}, + Pmenu = {bg = "#3F4756"}, + PmenuSbar = {bg = "#657087"}, + PmenuSel = {bg = "#535C6F"}, + PmenuThumb = {bg = "#8694B0"}, + ["@attribute"] = {link = "PreProc"}, + ["@function.macro"] = {link = "PreProc"}, + ["@keyword.directive"] = {link = "PreProc"}, + ["@keyword.import"] = {link = "PreProc"}, + ["@markup.environment"] = {link = "PreProc"}, + RenderMarkdownCode = {bg = "#353C49"}, + Search = {fg = "#EBEEF3", bg = "#84637E"}, + CocSearch = {link = "Search"}, + MatchParen = {link = "Search"}, + QuickFixLine = {link = "Search"}, + Sneak = {link = "Search"}, + SnacksIndent = {fg = "#3D424E"}, + SnacksIndentScope = {fg = "#555C6C"}, + SnacksPickerMatch = {fg = "#B38DAC", bold = true}, + SneakLabelMask = {fg = "#B38DAC", bg = "#B38DAC"}, + Special = {fg = "#ABBAD0", bold = true}, + WhichKeyGroup = {link = "Special"}, + ["@character.special"] = {link = "Special"}, + ["@constructor"] = {link = "Special"}, + ["@function.builtin"] = {link = "Special"}, + ["@keyword.debug"] = {link = "Special"}, + ["@markup.link.label"] = {link = "Special"}, + ["@markup.list"] = {link = "Special"}, + ["@markup.math"] = {link = "Special"}, + ["@punctuation.special.markdown"] = {link = "Special"}, + ["@string.escape"] = {link = "Special"}, + ["@string.special"] = {link = "Special"}, + ["@tag"] = {link = "Special"}, + SpecialComment = {fg = "#737C90"}, + markdownUrl = {link = "SpecialComment"}, + ["@markup.link.url.markdown"] = {link = "SpecialComment"}, + SpecialKey = {fg = "#606B81", italic = true}, + ["@string.escape.markdown"] = {link = "SpecialKey"}, + SpellBad = {fg = "#B16B70", undercurl = true}, + CocSelectedText = {link = "SpellBad"}, + SpellCap = {fg = "#B16B70", undercurl = true}, + SpellLocal = {link = "SpellCap"}, + SpellRare = {fg = "#B16B70", undercurl = true}, + Statement = {fg = "#81A1C1"}, + FzfLuaBufName = {link = "Statement"}, + PreProc = {link = "Statement"}, + WhichKey = {link = "Statement"}, + ["@keyword.conditional"] = {link = "Statement"}, + ["@keyword.coroutine"] = {link = "Statement"}, + ["@keyword.exception"] = {link = "Statement"}, + ["@keyword.function"] = {link = "Statement"}, + ["@keyword.operator"] = {link = "Statement"}, + ["@keyword.repeat"] = {link = "Statement"}, + ["@keyword.return"] = {link = "Statement"}, + ["@label"] = {link = "Statement"}, + ["@lsp.type.keyword"] = {link = "Statement"}, + ["@lsp.typemod.keyword.injected"] = {link = "Statement"}, + ["@markup.title.markdown"] = {link = "Statement"}, + ["@operator"] = {link = "Statement"}, + StatusLine = {fg = "#EBEEF3", bg = "#414959"}, + TabLine = {link = "StatusLine"}, + WinBar = {link = "StatusLine"}, + StatusLineNC = {fg = "#F2F4F7", bg = "#39404E"}, + TabLineFill = {link = "StatusLineNC"}, + WinBarNC = {link = "StatusLineNC"}, + String = {fg = "#9EAFC9", italic = true}, + ["@string"] = {link = "String"}, + TabLineSel = {bold = true}, + BufferCurrent = {link = "TabLineSel"}, + TelescopeBorder = {fg = "#7E8CA8"}, + TelescopeMatching = {fg = "#B38DAC", bold = true}, + TelescopeSelectionCaret = {fg = "#C1616A", bg = "#353C49"}, + Title = {fg = "#EBEEF3", bold = true}, + FzfLuaTitle = {link = "Title"}, + ["@markup.heading"] = {link = "Title"}, + Todo = {bold = true, underline = true}, + ["@comment.todo"] = {link = "Todo"}, + Type = {fg = "#5E81AB"}, + BlinkCmpLabelDescription = {link = "Type"}, + BlinkCmpLabelDetail = {link = "Type"}, + BlinkCmpSource = {link = "Type"}, + helpSpecial = {link = "Type"}, + markdownCode = {link = "Type"}, + ["@keyword.storage"] = {link = "Type"}, + ["@markup.raw.markdown"] = {link = "Type"}, + ["@type"] = {link = "Type"}, + ["@variable.parameter.vimdoc"] = {link = "Type"}, + Underlined = {underline = true}, + ["@markup.underline"] = {link = "Underlined"}, + Visual = {bg = "#545F70"}, + WarningMsg = {fg = "#CF866F"}, + DiagnosticWarn = {link = "WarningMsg"}, + NoiceCmdlineIconSearch = {link = "WarningMsg"}, + NoiceCmdlinePopupBorderSearch = {link = "WarningMsg"}, + gitcommitOverflow = {link = "WarningMsg"}, + ["@comment.warning"] = {link = "WarningMsg"}, + WhichKeySeparator = {fg = "#69758C"}, + WildMenu = {fg = "#2F3541", bg = "#B38DAC"}, + SneakLabel = {link = "WildMenu"}, + WinSeparator = {fg = "#69758C", bg = "NONE"}, + VertSplit = {link = "WinSeparator"}, + NvimTreeGitNew = {link = "diffAdded"}, + NvimTreeGitDirty = {link = "diffChanged"}, + diffFile = {fg = "#CF866F", bold = true}, + diffIndexLine = {fg = "#CF866F"}, + diffLine = {fg = "#B38DAC", bold = true}, + diffNewFile = {fg = "#A4BE8D", italic = true}, + diffOldFile = {fg = "#C1616A", italic = true}, + NvimTreeGitDeleted = {link = "diffRemoved"}, + helpHyperTextEntry = {fg = "#98A3BB", bold = true}, + helpHyperTextJump = {fg = "#BFCADB", underline = true}, + lCursor = {fg = "#2F3541", bg = "#8297B6"}, + TermCursorNC = {link = "lCursor"}, + markdownLinkText = {fg = "#BFCADB", underline = true}, + ["@lsp.type.decorator"] = {link = "@attribute"}, + ["@lsp.type.deriveHelper"] = {link = "@attribute"}, + ["@lsp.type.boolean"] = {link = "@boolean"}, + ["@comment.documentation"] = {link = "@comment"}, + ["@lsp.type.comment"] = {link = "@comment"}, + ["@constant"] = {fg = "#BFCADB", bold = true}, + ["@lsp.typemod.enumMember.defaultLibrary"] = {link = "@constant.builtin"}, + ["@lsp.type.enumMember"] = {link = "@constant"}, + ["@lsp.typemod.variable.static"] = {link = "@constant"}, + ["@lsp.typemod.function.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.macro.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.method.defaultLibrary"] = {link = "@function.builtin"}, + ["@function.call"] = {link = "@function"}, + ["@function.method"] = {link = "@function"}, + ["@function.method.call"] = {link = "@function"}, + ["@lsp.typemod.variable.callable"] = {link = "@function"}, + ["@keyword.conditional.ternary"] = {link = "@keyword.conditional"}, + ["@lsp.typemod.keyword.async"] = {link = "@keyword.coroutine"}, + ["@keyword.directive.define"] = {link = "@keyword.directive"}, + ["@lsp.type.lifetime"] = {link = "@keyword.storage"}, + ["@label.vimdoc"] = {fg = "#98A3BB", bold = true}, + ["@lsp.type.unresolvedReference"] = {sp = "#C1616A", undercurl = true}, + ["@lsp.type.variable"] = {}, + ["@markup.link.markdown"] = {fg = "#BFCADB", underline = true}, + ["@markup.link.vimdoc"] = {fg = "#BFCADB", underline = true}, + ["@lsp.type.formatSpecifier"] = {link = "@markup.list"}, + ["@markup.list.checked"] = {link = "@markup.list"}, + ["@markup.list.unchecked"] = {link = "@markup.list"}, + ["@markup.quote"] = {fg = "#9EAFC9"}, + ["@markup.raw.block.vimdoc"] = {fg = "NONE"}, + ["@markup.raw.block"] = {link = "@markup.raw"}, + ["@markup.strikethrough"] = {strikethrough = true}, + ["@lsp.type.namespace"] = {link = "@module"}, + ["@module.builtin"] = {link = "@module"}, + ["@none"] = {}, + ["@lsp.type.number"] = {link = "@number"}, + ["@number.float"] = {link = "@number"}, + ["@lsp.type.operator"] = {link = "@operator"}, + ["@lsp.typemod.operator.injected"] = {link = "@operator"}, + ["@lsp.type.property"] = {link = "@property"}, + ["@tag.attribute"] = {link = "@property"}, + ["@lsp.type.escapeSequence"] = {link = "@string.escape"}, + ["@string.special.path"] = {link = "@string.special"}, + ["@string.special.url"] = {link = "@string.special"}, + ["@lsp.type.string"] = {link = "@string"}, + ["@lsp.typemod.string.injected"] = {link = "@string"}, + ["@string.documentation"] = {link = "@string"}, + ["@lsp.type.builtinType"] = {link = "@type.builtin"}, + ["@lsp.typemod.class.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.enum.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.struct.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.type.typeAlias"] = {link = "@type.definition"}, + ["@lsp.type.enum"] = {link = "@type"}, + ["@lsp.type.interface"] = {link = "@type"}, + ["@lsp.typemod.type.defaultLibrary"] = {link = "@type"}, + ["@lsp.typemod.typeAlias.defaultLibrary"] = {link = "@type"}, + ["@type.builtin"] = {link = "@type"}, + ["@type.definition"] = {link = "@type"}, + ["@type.qualifier"] = {link = "@type"}, + ["@lsp.type.selfKeyword"] = {link = "@variable.builtin"}, + ["@lsp.type.selfTypeKeyword"] = {link = "@variable.builtin"}, + ["@lsp.typemod.variable.defaultLibrary"] = {link = "@variable.builtin"}, + ["@lsp.type.parameter"] = {link = "@variable.parameter"}, + ["@lsp.type.generic"] = {link = "@variable"}, + ["@lsp.typemod.variable.injected"] = {link = "@variable"}, + ["@variable.member"] = {link = "@variable"}, + ["@variable.parameter"] = {link = "@variable"}, + -- dark end +} + +function term_dark() + -- dark term start + -- This codeblock is auto-generated by shipwright.nvim + vim.g.terminal_color_0 = '#2F3541' + vim.g.terminal_color_1 = '#C1616A' + vim.g.terminal_color_2 = '#A4BE8D' + vim.g.terminal_color_3 = '#CF866F' + vim.g.terminal_color_4 = '#8FBCBA' + vim.g.terminal_color_5 = '#B38DAC' + vim.g.terminal_color_6 = '#87BFCE' + vim.g.terminal_color_7 = '#EBEEF3' + vim.g.terminal_color_8 = '#475063' + vim.g.terminal_color_9 = '#D6787F' + vim.g.terminal_color_10 = '#A8CC86' + vim.g.terminal_color_11 = '#E09680' + vim.g.terminal_color_12 = '#89CAC8' + vim.g.terminal_color_13 = '#CF97C5' + vim.g.terminal_color_14 = '#82CCE0' + vim.g.terminal_color_15 = '#A5B4CD' + -- dark term end +end + +if vim.o.background == 'dark' then + for group, attrs in pairs(colors_dark) do + vim.api.nvim_set_hl(0, group, attrs) + end + term_dark() +end diff --git a/lua/rosebones/prebuilt.lua b/lua/rosebones/prebuilt.lua new file mode 100644 index 00000000..41a15de3 --- /dev/null +++ b/lua/rosebones/prebuilt.lua @@ -0,0 +1,839 @@ +local colors_dark = { + -- dark start + -- This codeblock is auto-generated by shipwright.nvim + Normal = {fg = "#E1D4D4", bg = "#1A1825"}, + ModeMsg = {link = "Normal"}, + BlinkCmpKind = {fg = "#BC9493"}, + BlinkCmpLabelMatch = {fg = "#C4A7E7", bold = true}, + Bold = {bold = true}, + ["@markup.strong"] = {link = "Bold"}, + Boolean = {fg = "#E1D4D4", italic = true}, + ["@boolean"] = {link = "Boolean"}, + BufferVisible = {fg = "#E9E0E0"}, + BufferVisibleIndex = {fg = "#E9E0E0"}, + BufferVisibleSign = {fg = "#E9E0E0"}, + CmpItemAbbr = {fg = "#CAB0AF"}, + CmpItemAbbrDeprecated = {fg = "#9C6A68"}, + CmpItemAbbrMatch = {fg = "#E1D4D4", bold = true}, + CmpItemAbbrMatchFuzzy = {fg = "#D0B9B8", bold = true}, + CmpItemKind = {fg = "#BC9493"}, + CmpItemMenu = {fg = "#B48583"}, + CocMarkdownLink = {fg = "#9CCFD8", underline = true}, + ColorColumn = {bg = "#4C3D2C"}, + LspReferenceRead = {link = "ColorColumn"}, + LspReferenceText = {link = "ColorColumn"}, + LspReferenceWrite = {link = "ColorColumn"}, + Comment = {fg = "#69657E", italic = true}, + ["@comment"] = {link = "Comment"}, + Conceal = {fg = "#B48583", bold = true, italic = true}, + Constant = {fg = "#BC9493", italic = true}, + Character = {link = "Constant"}, + TroubleSource = {link = "Constant"}, + WhichKeyValue = {link = "Constant"}, + helpOption = {link = "Constant"}, + ["@character"] = {link = "Constant"}, + ["@constant.builtin"] = {link = "Constant"}, + ["@constant.macro"] = {link = "Constant"}, + ["@markup.link"] = {link = "Constant"}, + ["@markup.link.url"] = {link = "Constant"}, + ["@markup.raw"] = {link = "Constant"}, + ["@module"] = {link = "Constant"}, + ["@string.regexp"] = {link = "Constant"}, + ["@variable.builtin"] = {link = "Constant"}, + Cursor = {fg = "#1A1825", bg = "#E7DDDD"}, + TermCursor = {link = "Cursor"}, + CursorLine = {bg = "#222030"}, + CocMenuSel = {link = "CursorLine"}, + CursorColumn = {link = "CursorLine"}, + FzfLuaFzfCursorLine = {link = "CursorLine"}, + NeogitDiffContextHighlight = {link = "CursorLine"}, + SnacksPickerListCursorLine = {link = "CursorLine"}, + SnacksPickerPreviewCursorLine = {link = "CursorLine"}, + TelescopeSelection = {link = "CursorLine"}, + CursorLineNr = {fg = "#E1D4D4", bg = "NONE", bold = true}, + Delimiter = {fg = "#7D7997"}, + markdownLinkTextDelimiter = {link = "Delimiter"}, + ["@constructor.lua"] = {link = "Delimiter"}, + ["@punctuation.bracket"] = {link = "Delimiter"}, + ["@punctuation.delimiter"] = {link = "Delimiter"}, + ["@punctuation.special"] = {link = "Delimiter"}, + ["@tag.delimiter"] = {link = "Delimiter"}, + NeogitNotificationError = {link = "DiagnosticError"}, + NotifyERRORIcon = {link = "DiagnosticError"}, + NotifyERRORTitle = {link = "DiagnosticError"}, + DiagnosticHint = {fg = "#C4A7E7"}, + NotifyDEBUGIcon = {link = "DiagnosticHint"}, + NotifyDEBUGTitle = {link = "DiagnosticHint"}, + NotifyTRACEIcon = {link = "DiagnosticHint"}, + NotifyTRACETitle = {link = "DiagnosticHint"}, + DiagnosticInfo = {fg = "#9CCFD8"}, + NeogitNotificationInfo = {link = "DiagnosticInfo"}, + NotifyINFOIcon = {link = "DiagnosticInfo"}, + NotifyINFOTitle = {link = "DiagnosticInfo"}, + ["@comment.note"] = {link = "DiagnosticInfo"}, + DiagnosticOk = {fg = "#317490"}, + DiagnosticSignError = {fg = "#EB7193", bg = "NONE"}, + CocErrorSign = {link = "DiagnosticSignError"}, + DiagnosticSignHint = {fg = "#C4A7E7", bg = "NONE"}, + CocHintSign = {link = "DiagnosticSignHint"}, + DiagnosticSignInfo = {fg = "#9CCFD8", bg = "NONE"}, + CocInfoSign = {link = "DiagnosticSignInfo"}, + DiagnosticSignOk = {fg = "#317490", bg = "NONE"}, + DiagnosticSignWarn = {fg = "#F6C074", bg = "NONE"}, + CocWarningSign = {link = "DiagnosticSignWarn"}, + DiagnosticUnderlineError = {fg = "NONE", sp = "#EB7193", undercurl = true}, + CocErrorHighlight = {link = "DiagnosticUnderlineError"}, + DiagnosticUnderlineHint = {fg = "NONE", sp = "#C4A7E7", undercurl = true}, + CocHintHighlight = {link = "DiagnosticUnderlineHint"}, + DiagnosticUnderlineInfo = {fg = "NONE", sp = "#9CCFD8", undercurl = true}, + CocInfoHighlight = {link = "DiagnosticUnderlineInfo"}, + DiagnosticUnderlineOk = {fg = "NONE", sp = "#317490", undercurl = true}, + DiagnosticUnderlineWarn = {fg = "NONE", sp = "#F6C074", undercurl = true}, + CocWarningHighlight = {link = "DiagnosticUnderlineWarn"}, + DiagnosticVirtualTextError = {fg = "#EB7193", bg = "#262021"}, + CocErrorVirtualText = {link = "DiagnosticVirtualTextError"}, + DiagnosticVirtualTextHint = {fg = "#C4A7E7", bg = "#232126"}, + DiagnosticVirtualTextInfo = {fg = "#9CCFD8", bg = "#202222"}, + DiagnosticVirtualTextOk = {fg = "#317490", bg = "#202223"}, + DiagnosticVirtualTextWarn = {fg = "#F6C074", bg = "#232120"}, + CocWarningVirtualText = {link = "DiagnosticVirtualTextWarn"}, + DiagnosticDeprecated = {link = "DiagnosticWarn"}, + DiagnosticUnnecessary = {link = "DiagnosticWarn"}, + NeogitNotificationWarning = {link = "DiagnosticWarn"}, + NotifyWARNIcon = {link = "DiagnosticWarn"}, + NotifyWARNTitle = {link = "DiagnosticWarn"}, + DiffAdd = {bg = "#1D2C34"}, + NeogitDiffAddHighlight = {link = "DiffAdd"}, + diffAdded = {link = "DiffAdd"}, + ["@diff.plus"] = {link = "DiffAdd"}, + DiffChange = {bg = "#1C2D2F"}, + diffChanged = {link = "DiffChange"}, + ["@diff.delta"] = {link = "DiffChange"}, + DiffDelete = {bg = "#3D2229"}, + NeogitDiffDeleteHighlight = {link = "DiffDelete"}, + diffRemoved = {link = "DiffDelete"}, + ["@diff.minus"] = {link = "DiffDelete"}, + DiffText = {fg = "#E1D4D4", bg = "#30484C"}, + Directory = {bold = true}, + Error = {fg = "#EB7193"}, + DiagnosticError = {link = "Error"}, + ErrorMsg = {link = "Error"}, + MasonError = {link = "Error"}, + ["@comment.error"] = {link = "Error"}, + FlashBackdrop = {fg = "#69657E"}, + FlashLabel = {fg = "#E1D4D4", bg = "#3B5155"}, + FloatBorder = {fg = "#7A7695", bg = "NONE"}, + FloatTitle = {fg = "#E1D4D4", bg = "#2D2A3D", bold = true}, + FoldColumn = {fg = "#625D7F", bg = "NONE", bold = true}, + Folded = {fg = "#A4A1B7", bg = "#353248"}, + Function = {fg = "#E1D4D4"}, + TroubleNormal = {link = "Function"}, + TroubleText = {link = "Function"}, + ["@function"] = {link = "Function"}, + FzfLuaBufFlagAlt = {fg = "#9CCFD8"}, + FzfLuaBufFlagCur = {fg = "#F6C074"}, + FzfLuaBufNr = {fg = "#317490"}, + FzfLuaFzfMatch = {fg = "#C4A7E7", bold = true}, + FzfLuaHeaderBind = {fg = "#317490"}, + FzfLuaHeaderText = {fg = "#F6C074"}, + FzfLuaLiveSym = {fg = "#F6C074"}, + FzfLuaPathColNr = {fg = "#9693AC", bold = true}, + FzfLuaPathLineNr = {link = "FzfLuaPathColNr"}, + FzfLuaTabMarker = {fg = "#317490"}, + FzfLuaTabTitle = {fg = "#9CCFD8"}, + GitSignsAdd = {fg = "#317490", bg = "NONE"}, + GitGutterAdd = {link = "GitSignsAdd"}, + GitSignsChange = {fg = "#9CCFD8", bg = "NONE"}, + GitGutterChange = {link = "GitSignsChange"}, + GitSignsDelete = {fg = "#EB7193", bg = "NONE"}, + GitGutterDelete = {link = "GitSignsDelete"}, + HopNextKey = {fg = "#C4A7E7", bold = true, underline = true}, + HopNextKey1 = {fg = "#9CCFD8", bold = true, underline = true}, + HopNextKey2 = {fg = "#9CCFD8"}, + HopUnmatched = {fg = "#69657E"}, + IblIndent = {fg = "#282635"}, + IndentLine = {link = "IblIndent"}, + IblScope = {fg = "#454258"}, + IndentLineCurrent = {link = "IblScope"}, + Identifier = {fg = "#CAB0AF"}, + ["@property"] = {link = "Identifier"}, + ["@string.special.symbol"] = {link = "Identifier"}, + ["@variable"] = {link = "Identifier"}, + IncSearch = {fg = "#1A1825", bg = "#B48DE0", bold = true}, + CurSearch = {link = "IncSearch"}, + Italic = {italic = true}, + ["@markup.italic"] = {link = "Italic"}, + ["@markup.italic.markdown"] = {link = "Italic"}, + LineNr = {fg = "#625D7F", bg = "NONE"}, + CocCodeLens = {link = "LineNr"}, + LspCodeLens = {link = "LineNr"}, + NeogitHunkHeader = {link = "LineNr"}, + SignColumn = {link = "LineNr"}, + LspInlayHint = {fg = "#6C6593", bg = "#222030"}, + MasonHeader = {fg = "#1A1825", bg = "#F6C074", bold = true}, + MasonHighlight = {fg = "#9CCFD8"}, + MasonHighlightBlock = {fg = "#1A1825", bg = "#9CCFD8"}, + MasonHighlightBlockBold = {fg = "#1A1825", bg = "#9CCFD8", bold = true}, + MasonHighlightBlockBoldSecondary = {fg = "#1A1825", bg = "#F6C074", bold = true}, + MasonHighlightBlockSecondary = {fg = "#1A1825", bg = "#F6C074"}, + MasonHighlightSecondary = {fg = "#F6C074"}, + MasonMuted = {fg = "#BC9493"}, + MasonMutedBlock = {fg = "#1A1825", bg = "#BC9493"}, + MasonMutedBlockBold = {fg = "#1A1825", bg = "#BC9493", bold = true}, + MoreMsg = {fg = "#317490", bold = true}, + Question = {link = "MoreMsg"}, + NeogitHunkHeaderHighlight = {fg = "#E1D4D4", bg = "#222030", bold = true}, + NnnNormalNC = {link = "NnnNormal"}, + NnnVertSplit = {link = "NnnWinSeparator"}, + NoiceCmdlineIcon = {fg = "#9CCFD8"}, + NoiceCmdlinePopupBorder = {link = "NoiceCmdlineIcon"}, + NoiceCmdlinePopupTitle = {link = "NoiceCmdlineIcon"}, + NoiceConfirmBorder = {link = "NoiceCmdlineIcon"}, + NoiceCompletionItemKindDefault = {fg = "#BC9493"}, + NonText = {fg = "#565172"}, + EndOfBuffer = {link = "NonText"}, + Whitespace = {link = "NonText"}, + NormalFloat = {bg = "#2D2A3D"}, + SnacksPickerBorder = {link = "NormalFloat"}, + Number = {fg = "#BC9493"}, + Float = {link = "Number"}, + ["@number"] = {link = "Number"}, + NvimTreeCursorLine = {bg = "#242232"}, + NvimTreeCursorColumn = {link = "NvimTreeCursorLine"}, + NvimTreeNormal = {fg = "#E1D4D4", bg = "#201E2D"}, + NnnNormal = {link = "NvimTreeNormal"}, + NvimTreeRootFolder = {fg = "#9CCFD8", bold = true}, + NvimTreeSpecialFile = {fg = "#C4A7E7", underline = true}, + NvimTreeSymlink = {fg = "#9CCFD8"}, + NvimTreeWinSeparator = {fg = "bg"}, + NnnWinSeparator = {link = "NvimTreeWinSeparator"}, + Pmenu = {bg = "#2D2A3D"}, + PmenuSbar = {bg = "#5A5578"}, + PmenuSel = {bg = "#45415D"}, + PmenuThumb = {bg = "#84809D"}, + ["@attribute"] = {link = "PreProc"}, + ["@function.macro"] = {link = "PreProc"}, + ["@keyword.directive"] = {link = "PreProc"}, + ["@keyword.import"] = {link = "PreProc"}, + ["@markup.environment"] = {link = "PreProc"}, + RenderMarkdownCode = {bg = "#222030"}, + Search = {fg = "#E1D4D4", bg = "#673592"}, + CocSearch = {link = "Search"}, + MatchParen = {link = "Search"}, + QuickFixLine = {link = "Search"}, + Sneak = {link = "Search"}, + SnacksIndent = {fg = "#282635"}, + SnacksIndentScope = {fg = "#454258"}, + SnacksPickerMatch = {fg = "#C4A7E7", bold = true}, + SneakLabelMask = {fg = "#C4A7E7", bg = "#C4A7E7"}, + Special = {fg = "#9CCFD8"}, + WhichKeyGroup = {link = "Special"}, + ["@character.special"] = {link = "Special"}, + ["@constructor"] = {link = "Special"}, + ["@function.builtin"] = {link = "Special"}, + ["@keyword.debug"] = {link = "Special"}, + ["@markup.link.label"] = {link = "Special"}, + ["@markup.list"] = {link = "Special"}, + ["@markup.math"] = {link = "Special"}, + ["@punctuation.special.markdown"] = {link = "Special"}, + ["@string.escape"] = {link = "Special"}, + ["@string.special"] = {link = "Special"}, + ["@tag"] = {link = "Special"}, + SpecialComment = {fg = "#69657E"}, + markdownUrl = {link = "SpecialComment"}, + ["@markup.link.url.markdown"] = {link = "SpecialComment"}, + SpecialKey = {fg = "#565172", italic = true}, + ["@string.escape.markdown"] = {link = "SpecialKey"}, + SpellBad = {fg = "#D67E95", undercurl = true}, + CocSelectedText = {link = "SpellBad"}, + SpellCap = {fg = "#D67E95", undercurl = true}, + SpellLocal = {link = "SpellCap"}, + SpellRare = {fg = "#D67E95", undercurl = true}, + Statement = {fg = "#317490"}, + FzfLuaBufName = {link = "Statement"}, + PreProc = {link = "Statement"}, + WhichKey = {link = "Statement"}, + ["@keyword.conditional"] = {link = "Statement"}, + ["@keyword.coroutine"] = {link = "Statement"}, + ["@keyword.exception"] = {link = "Statement"}, + ["@keyword.function"] = {link = "Statement"}, + ["@keyword.operator"] = {link = "Statement"}, + ["@keyword.repeat"] = {link = "Statement"}, + ["@keyword.return"] = {link = "Statement"}, + ["@label"] = {link = "Statement"}, + ["@lsp.type.keyword"] = {link = "Statement"}, + ["@lsp.typemod.keyword.injected"] = {link = "Statement"}, + ["@markup.title.markdown"] = {link = "Statement"}, + ["@operator"] = {link = "Statement"}, + StatusLine = {fg = "#E1D4D4", bg = "#312E43"}, + TabLine = {link = "StatusLine"}, + WinBar = {link = "StatusLine"}, + StatusLineNC = {fg = "#E9E0E0", bg = "#242232"}, + TabLineFill = {link = "StatusLineNC"}, + WinBarNC = {link = "StatusLineNC"}, + String = {fg = "#BC9493", italic = true}, + ["@string"] = {link = "String"}, + TabLineSel = {bold = true}, + BufferCurrent = {link = "TabLineSel"}, + TelescopeBorder = {fg = "#7A7695"}, + TelescopeMatching = {fg = "#C4A7E7", bold = true}, + TelescopeSelectionCaret = {fg = "#EB7193", bg = "#222030"}, + Title = {fg = "#E1D4D4", bold = true}, + FzfLuaTitle = {link = "Title"}, + ["@markup.heading"] = {link = "Title"}, + Todo = {bold = true, underline = true}, + ["@comment.todo"] = {link = "Todo"}, + Type = {fg = "#DFDEF1"}, + BlinkCmpLabelDescription = {link = "Type"}, + BlinkCmpLabelDetail = {link = "Type"}, + BlinkCmpSource = {link = "Type"}, + helpSpecial = {link = "Type"}, + markdownCode = {link = "Type"}, + ["@keyword.storage"] = {link = "Type"}, + ["@markup.raw.markdown"] = {link = "Type"}, + ["@type"] = {link = "Type"}, + ["@variable.parameter.vimdoc"] = {link = "Type"}, + Underlined = {underline = true}, + ["@markup.underline"] = {link = "Underlined"}, + Visual = {bg = "#523A39"}, + WarningMsg = {fg = "#F6C074"}, + DiagnosticWarn = {link = "WarningMsg"}, + NoiceCmdlineIconSearch = {link = "WarningMsg"}, + NoiceCmdlinePopupBorderSearch = {link = "WarningMsg"}, + gitcommitOverflow = {link = "WarningMsg"}, + ["@comment.warning"] = {link = "WarningMsg"}, + WhichKeySeparator = {fg = "#625D7F"}, + WildMenu = {fg = "#1A1825", bg = "#C4A7E7"}, + SneakLabel = {link = "WildMenu"}, + WinSeparator = {fg = "#625D7F", bg = "NONE"}, + VertSplit = {link = "WinSeparator"}, + NvimTreeGitNew = {link = "diffAdded"}, + NvimTreeGitDirty = {link = "diffChanged"}, + diffFile = {fg = "#F6C074", bold = true}, + diffIndexLine = {fg = "#F6C074"}, + diffLine = {fg = "#C4A7E7", bold = true}, + diffNewFile = {fg = "#317490", italic = true}, + diffOldFile = {fg = "#EB7193", italic = true}, + NvimTreeGitDeleted = {link = "diffRemoved"}, + helpHyperTextEntry = {fg = "#9693AC", bold = true}, + helpHyperTextJump = {fg = "#CAB0AF", underline = true}, + lCursor = {fg = "#1A1825", bg = "#B27F7C"}, + TermCursorNC = {link = "lCursor"}, + markdownLinkText = {fg = "#CAB0AF", underline = true}, + ["@lsp.type.decorator"] = {link = "@attribute"}, + ["@lsp.type.deriveHelper"] = {link = "@attribute"}, + ["@lsp.type.boolean"] = {link = "@boolean"}, + ["@comment.documentation"] = {link = "@comment"}, + ["@lsp.type.comment"] = {link = "@comment"}, + ["@constant"] = {fg = "#CAB0AF", bold = true}, + ["@lsp.typemod.enumMember.defaultLibrary"] = {link = "@constant.builtin"}, + ["@lsp.type.enumMember"] = {link = "@constant"}, + ["@lsp.typemod.variable.static"] = {link = "@constant"}, + ["@lsp.typemod.function.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.macro.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.method.defaultLibrary"] = {link = "@function.builtin"}, + ["@function.call"] = {link = "@function"}, + ["@function.method"] = {link = "@function"}, + ["@function.method.call"] = {link = "@function"}, + ["@lsp.typemod.variable.callable"] = {link = "@function"}, + ["@keyword.conditional.ternary"] = {link = "@keyword.conditional"}, + ["@lsp.typemod.keyword.async"] = {link = "@keyword.coroutine"}, + ["@keyword.directive.define"] = {link = "@keyword.directive"}, + ["@lsp.type.lifetime"] = {link = "@keyword.storage"}, + ["@label.vimdoc"] = {fg = "#9693AC", bold = true}, + ["@lsp.type.unresolvedReference"] = {sp = "#EB7193", undercurl = true}, + ["@lsp.type.variable"] = {}, + ["@markup.link.markdown"] = {fg = "#CAB0AF", underline = true}, + ["@markup.link.vimdoc"] = {fg = "#CAB0AF", underline = true}, + ["@lsp.type.formatSpecifier"] = {link = "@markup.list"}, + ["@markup.list.checked"] = {link = "@markup.list"}, + ["@markup.list.unchecked"] = {link = "@markup.list"}, + ["@markup.quote"] = {fg = "#BC9493"}, + ["@markup.raw.block.vimdoc"] = {fg = "NONE"}, + ["@markup.raw.block"] = {link = "@markup.raw"}, + ["@markup.strikethrough"] = {strikethrough = true}, + ["@lsp.type.namespace"] = {link = "@module"}, + ["@module.builtin"] = {link = "@module"}, + ["@none"] = {}, + ["@lsp.type.number"] = {link = "@number"}, + ["@number.float"] = {link = "@number"}, + ["@lsp.type.operator"] = {link = "@operator"}, + ["@lsp.typemod.operator.injected"] = {link = "@operator"}, + ["@lsp.type.property"] = {link = "@property"}, + ["@tag.attribute"] = {link = "@property"}, + ["@lsp.type.escapeSequence"] = {link = "@string.escape"}, + ["@string.special.path"] = {link = "@string.special"}, + ["@string.special.url"] = {link = "@string.special"}, + ["@lsp.type.string"] = {link = "@string"}, + ["@lsp.typemod.string.injected"] = {link = "@string"}, + ["@string.documentation"] = {link = "@string"}, + ["@lsp.type.builtinType"] = {link = "@type.builtin"}, + ["@lsp.typemod.class.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.enum.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.struct.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.type.typeAlias"] = {link = "@type.definition"}, + ["@lsp.type.enum"] = {link = "@type"}, + ["@lsp.type.interface"] = {link = "@type"}, + ["@lsp.typemod.type.defaultLibrary"] = {link = "@type"}, + ["@lsp.typemod.typeAlias.defaultLibrary"] = {link = "@type"}, + ["@type.builtin"] = {link = "@type"}, + ["@type.definition"] = {link = "@type"}, + ["@type.qualifier"] = {link = "@type"}, + ["@lsp.type.selfKeyword"] = {link = "@variable.builtin"}, + ["@lsp.type.selfTypeKeyword"] = {link = "@variable.builtin"}, + ["@lsp.typemod.variable.defaultLibrary"] = {link = "@variable.builtin"}, + ["@lsp.type.parameter"] = {link = "@variable.parameter"}, + ["@lsp.type.generic"] = {link = "@variable"}, + ["@lsp.typemod.variable.injected"] = {link = "@variable"}, + ["@variable.member"] = {link = "@variable"}, + ["@variable.parameter"] = {link = "@variable"}, + -- dark end +} + +local colors_light = { + -- light start + -- This codeblock is auto-generated by shipwright.nvim + Normal = {fg = "#724341", bg = "#FBF6F0"}, + ModeMsg = {link = "Normal"}, + BlinkCmpKind = {fg = "#AB6763"}, + BlinkCmpLabelMatch = {fg = "#917BA9", bold = true}, + Bold = {bold = true}, + ["@markup.strong"] = {link = "Bold"}, + Boolean = {fg = "#724341", italic = true}, + ["@boolean"] = {link = "Boolean"}, + BufferVisible = {fg = "#AE6966"}, + BufferVisibleIndex = {fg = "#AE6966"}, + BufferVisibleSign = {fg = "#AE6966"}, + CmpItemAbbr = {fg = "#935855"}, + CmpItemAbbrDeprecated = {fg = "#C28784"}, + CmpItemAbbrMatch = {fg = "#724341", bold = true}, + CmpItemAbbrMatchFuzzy = {fg = "#89524F", bold = true}, + CmpItemKind = {fg = "#AB6763"}, + CmpItemMenu = {fg = "#B56E6A"}, + CocMarkdownLink = {fg = "#5795A0", underline = true}, + ColorColumn = {bg = "#EACFBD"}, + LspReferenceRead = {link = "ColorColumn"}, + LspReferenceText = {link = "ColorColumn"}, + LspReferenceWrite = {link = "ColorColumn"}, + Comment = {fg = "#A18E72", italic = true}, + ["@comment"] = {link = "Comment"}, + Conceal = {fg = "#B56E6A", bold = true, italic = true}, + Constant = {fg = "#AB6763", italic = true}, + Character = {link = "Constant"}, + TroubleSource = {link = "Constant"}, + WhichKeyValue = {link = "Constant"}, + helpOption = {link = "Constant"}, + ["@character"] = {link = "Constant"}, + ["@constant.builtin"] = {link = "Constant"}, + ["@constant.macro"] = {link = "Constant"}, + ["@markup.link"] = {link = "Constant"}, + ["@markup.link.url"] = {link = "Constant"}, + ["@markup.raw"] = {link = "Constant"}, + ["@module"] = {link = "Constant"}, + ["@string.regexp"] = {link = "Constant"}, + ["@variable.builtin"] = {link = "Constant"}, + Cursor = {fg = "#FBF6F0", bg = "#724341"}, + TermCursor = {link = "Cursor"}, + CursorLine = {bg = "#F7ECE0"}, + CocMenuSel = {link = "CursorLine"}, + CursorColumn = {link = "CursorLine"}, + FzfLuaFzfCursorLine = {link = "CursorLine"}, + NeogitDiffContextHighlight = {link = "CursorLine"}, + SnacksPickerListCursorLine = {link = "CursorLine"}, + SnacksPickerPreviewCursorLine = {link = "CursorLine"}, + TelescopeSelection = {link = "CursorLine"}, + CursorLineNr = {fg = "#724341", bg = "NONE", bold = true}, + Delimiter = {fg = "#9B835D"}, + markdownLinkTextDelimiter = {link = "Delimiter"}, + ["@constructor.lua"] = {link = "Delimiter"}, + ["@punctuation.bracket"] = {link = "Delimiter"}, + ["@punctuation.delimiter"] = {link = "Delimiter"}, + ["@punctuation.special"] = {link = "Delimiter"}, + ["@tag.delimiter"] = {link = "Delimiter"}, + NeogitNotificationError = {link = "DiagnosticError"}, + NotifyERRORIcon = {link = "DiagnosticError"}, + NotifyERRORTitle = {link = "DiagnosticError"}, + DiagnosticHint = {fg = "#917BA9"}, + NotifyDEBUGIcon = {link = "DiagnosticHint"}, + NotifyDEBUGTitle = {link = "DiagnosticHint"}, + NotifyTRACEIcon = {link = "DiagnosticHint"}, + NotifyTRACETitle = {link = "DiagnosticHint"}, + DiagnosticInfo = {fg = "#5795A0"}, + NeogitNotificationInfo = {link = "DiagnosticInfo"}, + NotifyINFOIcon = {link = "DiagnosticInfo"}, + NotifyINFOTitle = {link = "DiagnosticInfo"}, + ["@comment.note"] = {link = "DiagnosticInfo"}, + DiagnosticOk = {fg = "#286A84"}, + DiagnosticSignError = {fg = "#B5637A", bg = "NONE"}, + CocErrorSign = {link = "DiagnosticSignError"}, + DiagnosticSignHint = {fg = "#917BA9", bg = "NONE"}, + CocHintSign = {link = "DiagnosticSignHint"}, + DiagnosticSignInfo = {fg = "#5795A0", bg = "NONE"}, + CocInfoSign = {link = "DiagnosticSignInfo"}, + DiagnosticSignOk = {fg = "#286A84", bg = "NONE"}, + DiagnosticSignWarn = {fg = "#EC9D33", bg = "NONE"}, + CocWarningSign = {link = "DiagnosticSignWarn"}, + DiagnosticUnderlineError = {fg = "NONE", sp = "#B5637A", undercurl = true}, + CocErrorHighlight = {link = "DiagnosticUnderlineError"}, + DiagnosticUnderlineHint = {fg = "NONE", sp = "#917BA9", undercurl = true}, + CocHintHighlight = {link = "DiagnosticUnderlineHint"}, + DiagnosticUnderlineInfo = {fg = "NONE", sp = "#5795A0", undercurl = true}, + CocInfoHighlight = {link = "DiagnosticUnderlineInfo"}, + DiagnosticUnderlineOk = {fg = "NONE", sp = "#286A84", undercurl = true}, + DiagnosticUnderlineWarn = {fg = "NONE", sp = "#EC9D33", undercurl = true}, + CocWarningHighlight = {link = "DiagnosticUnderlineWarn"}, + DiagnosticVirtualTextError = {fg = "#B5637A", bg = "#F4E8EB"}, + CocErrorVirtualText = {link = "DiagnosticVirtualTextError"}, + DiagnosticVirtualTextHint = {fg = "#917BA9", bg = "#EEE9F3"}, + DiagnosticVirtualTextInfo = {fg = "#5795A0", bg = "#DAEFF3"}, + DiagnosticVirtualTextOk = {fg = "#286A84", bg = "#E2ECF3"}, + DiagnosticVirtualTextWarn = {fg = "#EC9D33", bg = "#F4E9E2"}, + CocWarningVirtualText = {link = "DiagnosticVirtualTextWarn"}, + DiagnosticDeprecated = {link = "DiagnosticWarn"}, + DiagnosticUnnecessary = {link = "DiagnosticWarn"}, + NeogitNotificationWarning = {link = "DiagnosticWarn"}, + NotifyWARNIcon = {link = "DiagnosticWarn"}, + NotifyWARNTitle = {link = "DiagnosticWarn"}, + DiffAdd = {bg = "#DDE7ED"}, + NeogitDiffAddHighlight = {link = "DiffAdd"}, + diffAdded = {link = "DiffAdd"}, + ["@diff.plus"] = {link = "DiffAdd"}, + DiffChange = {bg = "#D6E9ED"}, + diffChanged = {link = "DiffChange"}, + ["@diff.delta"] = {link = "DiffChange"}, + DiffDelete = {bg = "#F0E2E5"}, + NeogitDiffDeleteHighlight = {link = "DiffDelete"}, + diffRemoved = {link = "DiffDelete"}, + ["@diff.minus"] = {link = "DiffDelete"}, + DiffText = {fg = "#724341", bg = "#A8C9D1"}, + Directory = {bold = true}, + Error = {fg = "#B5637A"}, + DiagnosticError = {link = "Error"}, + ErrorMsg = {link = "Error"}, + MasonError = {link = "Error"}, + ["@comment.error"] = {link = "Error"}, + FlashBackdrop = {fg = "#A18E72"}, + FlashLabel = {fg = "#724341", bg = "#81D9E9"}, + FloatBorder = {fg = "#877150", bg = "NONE"}, + FloatTitle = {fg = "#724341", bg = "#F1DDC3", bold = true}, + FoldColumn = {fg = "#B69A6E", bg = "NONE", bold = true}, + Folded = {fg = "#605038", bg = "#E7C48E"}, + Function = {fg = "#724341"}, + TroubleNormal = {link = "Function"}, + TroubleText = {link = "Function"}, + ["@function"] = {link = "Function"}, + FzfLuaBufFlagAlt = {fg = "#5795A0"}, + FzfLuaBufFlagCur = {fg = "#EC9D33"}, + FzfLuaBufNr = {fg = "#286A84"}, + FzfLuaFzfMatch = {fg = "#917BA9", bold = true}, + FzfLuaHeaderBind = {fg = "#286A84"}, + FzfLuaHeaderText = {fg = "#EC9D33"}, + FzfLuaLiveSym = {fg = "#EC9D33"}, + FzfLuaPathColNr = {fg = "#6D5937", bold = true}, + FzfLuaPathLineNr = {link = "FzfLuaPathColNr"}, + FzfLuaTabMarker = {fg = "#286A84"}, + FzfLuaTabTitle = {fg = "#5795A0"}, + GitSignsAdd = {fg = "#286A84", bg = "NONE"}, + GitGutterAdd = {link = "GitSignsAdd"}, + GitSignsChange = {fg = "#5795A0", bg = "NONE"}, + GitGutterChange = {link = "GitSignsChange"}, + GitSignsDelete = {fg = "#B5637A", bg = "NONE"}, + GitGutterDelete = {link = "GitSignsDelete"}, + HopNextKey = {fg = "#917BA9", bold = true, underline = true}, + HopNextKey1 = {fg = "#5795A0", bold = true, underline = true}, + HopNextKey2 = {fg = "#5795A0"}, + HopUnmatched = {fg = "#A18E72"}, + IblIndent = {fg = "#F0E3D4"}, + IndentLine = {link = "IblIndent"}, + IblScope = {fg = "#D3B790"}, + IndentLineCurrent = {link = "IblScope"}, + Identifier = {fg = "#935855"}, + ["@property"] = {link = "Identifier"}, + ["@string.special.symbol"] = {link = "Identifier"}, + ["@variable"] = {link = "Identifier"}, + IncSearch = {fg = "#FBF6F0", bg = "#A18EB6", bold = true}, + CurSearch = {link = "IncSearch"}, + Italic = {italic = true}, + ["@markup.italic"] = {link = "Italic"}, + ["@markup.italic.markdown"] = {link = "Italic"}, + LineNr = {fg = "#B69A6E", bg = "NONE"}, + CocCodeLens = {link = "LineNr"}, + LspCodeLens = {link = "LineNr"}, + NeogitHunkHeader = {link = "LineNr"}, + SignColumn = {link = "LineNr"}, + LspInlayHint = {fg = "#AF9263", bg = "#F8EFE5"}, + MasonHeader = {fg = "#FBF6F0", bg = "#EC9D33", bold = true}, + MasonHighlight = {fg = "#5795A0"}, + MasonHighlightBlock = {fg = "#FBF6F0", bg = "#5795A0"}, + MasonHighlightBlockBold = {fg = "#FBF6F0", bg = "#5795A0", bold = true}, + MasonHighlightBlockBoldSecondary = {fg = "#FBF6F0", bg = "#EC9D33", bold = true}, + MasonHighlightBlockSecondary = {fg = "#FBF6F0", bg = "#EC9D33"}, + MasonHighlightSecondary = {fg = "#EC9D33"}, + MasonMuted = {fg = "#AB6763"}, + MasonMutedBlock = {fg = "#FBF6F0", bg = "#AB6763"}, + MasonMutedBlockBold = {fg = "#FBF6F0", bg = "#AB6763", bold = true}, + MoreMsg = {fg = "#286A84", bold = true}, + Question = {link = "MoreMsg"}, + NeogitHunkHeaderHighlight = {fg = "#724341", bg = "#F7ECE0", bold = true}, + NnnNormalNC = {link = "NnnNormal"}, + NnnVertSplit = {link = "NnnWinSeparator"}, + NoiceCmdlineIcon = {fg = "#5795A0"}, + NoiceCmdlinePopupBorder = {link = "NoiceCmdlineIcon"}, + NoiceCmdlinePopupTitle = {link = "NoiceCmdlineIcon"}, + NoiceConfirmBorder = {link = "NoiceCmdlineIcon"}, + NoiceCompletionItemKindDefault = {fg = "#AB6763"}, + NonText = {fg = "#CEAF7E"}, + EndOfBuffer = {link = "NonText"}, + Whitespace = {link = "NonText"}, + NormalFloat = {bg = "#F1DDC3"}, + SnacksPickerBorder = {link = "NormalFloat"}, + Number = {fg = "#AB6763"}, + Float = {link = "Number"}, + ["@number"] = {link = "Number"}, + NvimTreeCursorLine = {bg = "#F3E3CF"}, + NvimTreeCursorColumn = {link = "NvimTreeCursorLine"}, + NvimTreeNormal = {fg = "#724341", bg = "#F7ECE0"}, + NnnNormal = {link = "NvimTreeNormal"}, + NvimTreeRootFolder = {fg = "#5795A0", bold = true}, + NvimTreeSpecialFile = {fg = "#917BA9", underline = true}, + NvimTreeSymlink = {fg = "#5795A0"}, + NvimTreeWinSeparator = {fg = "bg"}, + NnnWinSeparator = {link = "NvimTreeWinSeparator"}, + Pmenu = {bg = "#EED7B7"}, + PmenuSbar = {bg = "#C5A778"}, + PmenuSel = {bg = "#DEBC88"}, + PmenuThumb = {bg = "#FEFCFA"}, + ["@attribute"] = {link = "PreProc"}, + ["@function.macro"] = {link = "PreProc"}, + ["@keyword.directive"] = {link = "PreProc"}, + ["@keyword.import"] = {link = "PreProc"}, + ["@markup.environment"] = {link = "PreProc"}, + RenderMarkdownCode = {bg = "#F8EFE5"}, + Search = {fg = "#724341", bg = "#D1C9DC"}, + CocSearch = {link = "Search"}, + MatchParen = {link = "Search"}, + QuickFixLine = {link = "Search"}, + Sneak = {link = "Search"}, + SnacksIndent = {fg = "#F0E3D4"}, + SnacksIndentScope = {fg = "#D3B790"}, + SnacksPickerMatch = {fg = "#917BA9", bold = true}, + SneakLabelMask = {fg = "#917BA9", bg = "#917BA9"}, + Special = {fg = "#5795A0"}, + WhichKeyGroup = {link = "Special"}, + ["@character.special"] = {link = "Special"}, + ["@constructor"] = {link = "Special"}, + ["@function.builtin"] = {link = "Special"}, + ["@keyword.debug"] = {link = "Special"}, + ["@markup.link.label"] = {link = "Special"}, + ["@markup.list"] = {link = "Special"}, + ["@markup.math"] = {link = "Special"}, + ["@punctuation.special.markdown"] = {link = "Special"}, + ["@string.escape"] = {link = "Special"}, + ["@string.special"] = {link = "Special"}, + ["@tag"] = {link = "Special"}, + SpecialComment = {fg = "#A18E72"}, + markdownUrl = {link = "SpecialComment"}, + ["@markup.link.url.markdown"] = {link = "SpecialComment"}, + SpecialKey = {fg = "#CEAF7E", italic = true}, + ["@string.escape.markdown"] = {link = "SpecialKey"}, + SpellBad = {fg = "#A66B7B", sp = "#B5637A", undercurl = true}, + CocSelectedText = {link = "SpellBad"}, + SpellCap = {fg = "#A66B7B", sp = "#C27187", undercurl = true}, + SpellLocal = {link = "SpellCap"}, + SpellRare = {fg = "#A66B7B", sp = "#EC9D33", undercurl = true}, + Statement = {fg = "#286A84"}, + FzfLuaBufName = {link = "Statement"}, + PreProc = {link = "Statement"}, + WhichKey = {link = "Statement"}, + ["@keyword.conditional"] = {link = "Statement"}, + ["@keyword.coroutine"] = {link = "Statement"}, + ["@keyword.exception"] = {link = "Statement"}, + ["@keyword.function"] = {link = "Statement"}, + ["@keyword.operator"] = {link = "Statement"}, + ["@keyword.repeat"] = {link = "Statement"}, + ["@keyword.return"] = {link = "Statement"}, + ["@label"] = {link = "Statement"}, + ["@lsp.type.keyword"] = {link = "Statement"}, + ["@lsp.typemod.keyword.injected"] = {link = "Statement"}, + ["@markup.title.markdown"] = {link = "Statement"}, + ["@operator"] = {link = "Statement"}, + StatusLine = {fg = "#724341", bg = "#ECD0A9"}, + TabLine = {link = "StatusLine"}, + WinBar = {link = "StatusLine"}, + StatusLineNC = {fg = "#AE6966", bg = "#F3E3CF"}, + TabLineFill = {link = "StatusLineNC"}, + WinBarNC = {link = "StatusLineNC"}, + String = {fg = "#AB6763", italic = true}, + ["@string"] = {link = "String"}, + TabLineSel = {bold = true}, + BufferCurrent = {link = "TabLineSel"}, + TelescopeBorder = {fg = "#877150"}, + TelescopeMatching = {fg = "#917BA9", bold = true}, + TelescopeSelectionCaret = {fg = "#B5637A", bg = "#F7ECE0"}, + Title = {fg = "#724341", bold = true}, + FzfLuaTitle = {link = "Title"}, + ["@markup.heading"] = {link = "Title"}, + Todo = {bold = true, underline = true}, + ["@comment.todo"] = {link = "Todo"}, + Type = {fg = "#57527A"}, + BlinkCmpLabelDescription = {link = "Type"}, + BlinkCmpLabelDetail = {link = "Type"}, + BlinkCmpSource = {link = "Type"}, + helpSpecial = {link = "Type"}, + markdownCode = {link = "Type"}, + ["@keyword.storage"] = {link = "Type"}, + ["@markup.raw.markdown"] = {link = "Type"}, + ["@type"] = {link = "Type"}, + ["@variable.parameter.vimdoc"] = {link = "Type"}, + Underlined = {underline = true}, + ["@markup.underline"] = {link = "Underlined"}, + Visual = {bg = "#EADDDC"}, + WarningMsg = {fg = "#EC9D33"}, + DiagnosticWarn = {link = "WarningMsg"}, + NoiceCmdlineIconSearch = {link = "WarningMsg"}, + NoiceCmdlinePopupBorderSearch = {link = "WarningMsg"}, + gitcommitOverflow = {link = "WarningMsg"}, + ["@comment.warning"] = {link = "WarningMsg"}, + WhichKeySeparator = {fg = "#B69A6E"}, + WildMenu = {fg = "#FBF6F0", bg = "#917BA9"}, + SneakLabel = {link = "WildMenu"}, + WinSeparator = {fg = "#B69A6E", bg = "NONE"}, + VertSplit = {link = "WinSeparator"}, + NvimTreeGitNew = {link = "diffAdded"}, + NvimTreeGitDirty = {link = "diffChanged"}, + diffFile = {fg = "#EC9D33", bold = true}, + diffIndexLine = {fg = "#EC9D33"}, + diffLine = {fg = "#917BA9", bold = true}, + diffNewFile = {fg = "#286A84", italic = true}, + diffOldFile = {fg = "#B5637A", italic = true}, + NvimTreeGitDeleted = {link = "diffRemoved"}, + helpHyperTextEntry = {fg = "#6D5937", bold = true}, + helpHyperTextJump = {fg = "#935855", underline = true}, + lCursor = {fg = "#FBF6F0", bg = "#9D5F5B"}, + TermCursorNC = {link = "lCursor"}, + markdownLinkText = {fg = "#935855", underline = true}, + ["@lsp.type.decorator"] = {link = "@attribute"}, + ["@lsp.type.deriveHelper"] = {link = "@attribute"}, + ["@lsp.type.boolean"] = {link = "@boolean"}, + ["@comment.documentation"] = {link = "@comment"}, + ["@lsp.type.comment"] = {link = "@comment"}, + ["@constant"] = {fg = "#935855", bold = true}, + ["@lsp.typemod.enumMember.defaultLibrary"] = {link = "@constant.builtin"}, + ["@lsp.type.enumMember"] = {link = "@constant"}, + ["@lsp.typemod.variable.static"] = {link = "@constant"}, + ["@lsp.typemod.function.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.macro.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.method.defaultLibrary"] = {link = "@function.builtin"}, + ["@function.call"] = {link = "@function"}, + ["@function.method"] = {link = "@function"}, + ["@function.method.call"] = {link = "@function"}, + ["@lsp.typemod.variable.callable"] = {link = "@function"}, + ["@keyword.conditional.ternary"] = {link = "@keyword.conditional"}, + ["@lsp.typemod.keyword.async"] = {link = "@keyword.coroutine"}, + ["@keyword.directive.define"] = {link = "@keyword.directive"}, + ["@lsp.type.lifetime"] = {link = "@keyword.storage"}, + ["@label.vimdoc"] = {fg = "#6D5937", bold = true}, + ["@lsp.type.unresolvedReference"] = {sp = "#B5637A", undercurl = true}, + ["@lsp.type.variable"] = {}, + ["@markup.link.markdown"] = {fg = "#935855", underline = true}, + ["@markup.link.vimdoc"] = {fg = "#935855", underline = true}, + ["@lsp.type.formatSpecifier"] = {link = "@markup.list"}, + ["@markup.list.checked"] = {link = "@markup.list"}, + ["@markup.list.unchecked"] = {link = "@markup.list"}, + ["@markup.quote"] = {fg = "#AB6763"}, + ["@markup.raw.block.vimdoc"] = {fg = "NONE"}, + ["@markup.raw.block"] = {link = "@markup.raw"}, + ["@markup.strikethrough"] = {strikethrough = true}, + ["@lsp.type.namespace"] = {link = "@module"}, + ["@module.builtin"] = {link = "@module"}, + ["@none"] = {}, + ["@lsp.type.number"] = {link = "@number"}, + ["@number.float"] = {link = "@number"}, + ["@lsp.type.operator"] = {link = "@operator"}, + ["@lsp.typemod.operator.injected"] = {link = "@operator"}, + ["@lsp.type.property"] = {link = "@property"}, + ["@tag.attribute"] = {link = "@property"}, + ["@lsp.type.escapeSequence"] = {link = "@string.escape"}, + ["@string.special.path"] = {link = "@string.special"}, + ["@string.special.url"] = {link = "@string.special"}, + ["@lsp.type.string"] = {link = "@string"}, + ["@lsp.typemod.string.injected"] = {link = "@string"}, + ["@string.documentation"] = {link = "@string"}, + ["@lsp.type.builtinType"] = {link = "@type.builtin"}, + ["@lsp.typemod.class.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.enum.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.struct.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.type.typeAlias"] = {link = "@type.definition"}, + ["@lsp.type.enum"] = {link = "@type"}, + ["@lsp.type.interface"] = {link = "@type"}, + ["@lsp.typemod.type.defaultLibrary"] = {link = "@type"}, + ["@lsp.typemod.typeAlias.defaultLibrary"] = {link = "@type"}, + ["@type.builtin"] = {link = "@type"}, + ["@type.definition"] = {link = "@type"}, + ["@type.qualifier"] = {link = "@type"}, + ["@lsp.type.selfKeyword"] = {link = "@variable.builtin"}, + ["@lsp.type.selfTypeKeyword"] = {link = "@variable.builtin"}, + ["@lsp.typemod.variable.defaultLibrary"] = {link = "@variable.builtin"}, + ["@lsp.type.parameter"] = {link = "@variable.parameter"}, + ["@lsp.type.generic"] = {link = "@variable"}, + ["@lsp.typemod.variable.injected"] = {link = "@variable"}, + ["@variable.member"] = {link = "@variable"}, + ["@variable.parameter"] = {link = "@variable"}, + -- light end +} + +function term_dark() + -- dark term start + -- This codeblock is auto-generated by shipwright.nvim + vim.g.terminal_color_0 = '#1A1825' + vim.g.terminal_color_1 = '#EB7193' + vim.g.terminal_color_2 = '#317490' + vim.g.terminal_color_3 = '#F6C074' + vim.g.terminal_color_4 = '#9CCFD8' + vim.g.terminal_color_5 = '#C4A7E7' + vim.g.terminal_color_6 = '#9CCFD8' + vim.g.terminal_color_7 = '#E1D4D4' + vim.g.terminal_color_8 = '#3A3651' + vim.g.terminal_color_9 = '#F289A4' + vim.g.terminal_color_10 = '#358DAF' + vim.g.terminal_color_11 = '#F9CA8E' + vim.g.terminal_color_12 = '#94DAE6' + vim.g.terminal_color_13 = '#CEB3EF' + vim.g.terminal_color_14 = '#94DAE6' + vim.g.terminal_color_15 = '#BF9B99' + -- dark term end +end + +function term_light() + -- light term start + -- This codeblock is auto-generated by shipwright.nvim + vim.g.terminal_color_0 = '#FBF6F0' + vim.g.terminal_color_1 = '#B5637A' + vim.g.terminal_color_2 = '#286A84' + vim.g.terminal_color_3 = '#EC9D33' + vim.g.terminal_color_4 = '#5795A0' + vim.g.terminal_color_5 = '#917BA9' + vim.g.terminal_color_6 = '#5795A0' + vim.g.terminal_color_7 = '#724341' + vim.g.terminal_color_8 = '#E8C48B' + vim.g.terminal_color_9 = '#A54A66' + vim.g.terminal_color_10 = '#1C5970' + vim.g.terminal_color_11 = '#C68223' + vim.g.terminal_color_12 = '#407D88' + vim.g.terminal_color_13 = '#855AAC' + vim.g.terminal_color_14 = '#407D88' + vim.g.terminal_color_15 = '#A4635F' + -- light term end +end + +if vim.o.background == 'dark' then + for group, attrs in pairs(colors_dark) do + vim.api.nvim_set_hl(0, group, attrs) + end + term_dark() +else + for group, attrs in pairs(colors_light) do + vim.api.nvim_set_hl(0, group, attrs) + end + term_light() +end diff --git a/lua/seoulbones/prebuilt.lua b/lua/seoulbones/prebuilt.lua new file mode 100644 index 00000000..6d91ed31 --- /dev/null +++ b/lua/seoulbones/prebuilt.lua @@ -0,0 +1,843 @@ +local colors_dark = { + -- dark start + -- This codeblock is auto-generated by shipwright.nvim + Normal = {fg = "#DDDDDD", bg = "#4B4B4B"}, + ModeMsg = {link = "Normal"}, + BlinkCmpKind = {fg = "#A3A3A3"}, + BlinkCmpLabelMatch = {fg = "#A5A6C5", bold = true}, + Bold = {bold = true}, + ["@markup.strong"] = {link = "Bold"}, + Boolean = {fg = "#DDDDDD", italic = true}, + ["@boolean"] = {link = "Boolean"}, + BufferVisible = {fg = "#E5E5E5"}, + BufferVisibleIndex = {fg = "#E5E5E5"}, + BufferVisibleSign = {fg = "#E5E5E5"}, + CmpItemAbbr = {fg = "#BBBBBB"}, + CmpItemAbbrDeprecated = {fg = "#797979"}, + CmpItemAbbrMatch = {fg = "#DDDDDD", bold = true}, + CmpItemAbbrMatchFuzzy = {fg = "#C4C4C4", bold = true}, + CmpItemKind = {fg = "#A3A3A3"}, + CmpItemMenu = {fg = "#969696"}, + CocMarkdownLink = {fg = "#6FBDBE", underline = true}, + ColorColumn = {bg = "#857556"}, + LspReferenceRead = {link = "ColorColumn"}, + LspReferenceText = {link = "ColorColumn"}, + LspReferenceWrite = {link = "ColorColumn"}, + Comment = {fg = "#719871", italic = true}, + ["@comment"] = {link = "Comment"}, + Conceal = {fg = "#969696", bold = true, italic = true}, + Constant = {fg = "#A3A3A3", italic = true}, + Character = {link = "Constant"}, + TroubleSource = {link = "Constant"}, + WhichKeyValue = {link = "Constant"}, + helpOption = {link = "Constant"}, + ["@character"] = {link = "Constant"}, + ["@constant.builtin"] = {link = "Constant"}, + ["@constant.macro"] = {link = "Constant"}, + ["@markup.link"] = {link = "Constant"}, + ["@markup.link.url"] = {link = "Constant"}, + ["@markup.raw"] = {link = "Constant"}, + ["@module"] = {link = "Constant"}, + ["@string.regexp"] = {link = "Constant"}, + ["@variable.builtin"] = {link = "Constant"}, + Cursor = {fg = "#4B4B4B", bg = "#E2E2E2"}, + TermCursor = {link = "Cursor"}, + CursorLine = {bg = "#525252"}, + CocMenuSel = {link = "CursorLine"}, + CursorColumn = {link = "CursorLine"}, + FzfLuaFzfCursorLine = {link = "CursorLine"}, + NeogitDiffContextHighlight = {link = "CursorLine"}, + SnacksPickerListCursorLine = {link = "CursorLine"}, + SnacksPickerPreviewCursorLine = {link = "CursorLine"}, + TelescopeSelection = {link = "CursorLine"}, + CursorLineNr = {fg = "#DDDDDD", bg = "NONE", bold = true}, + Delimiter = {fg = "#9B9B9B"}, + markdownLinkTextDelimiter = {link = "Delimiter"}, + ["@constructor.lua"] = {link = "Delimiter"}, + ["@punctuation.bracket"] = {link = "Delimiter"}, + ["@punctuation.delimiter"] = {link = "Delimiter"}, + ["@punctuation.special"] = {link = "Delimiter"}, + ["@tag.delimiter"] = {link = "Delimiter"}, + NeogitNotificationError = {link = "DiagnosticError"}, + NotifyERRORIcon = {link = "DiagnosticError"}, + NotifyERRORTitle = {link = "DiagnosticError"}, + DiagnosticHint = {fg = "#A5A6C5"}, + NotifyDEBUGIcon = {link = "DiagnosticHint"}, + NotifyDEBUGTitle = {link = "DiagnosticHint"}, + NotifyTRACEIcon = {link = "DiagnosticHint"}, + NotifyTRACETitle = {link = "DiagnosticHint"}, + DiagnosticInfo = {fg = "#97BDDE"}, + NeogitNotificationInfo = {link = "DiagnosticInfo"}, + NotifyINFOIcon = {link = "DiagnosticInfo"}, + NotifyINFOTitle = {link = "DiagnosticInfo"}, + ["@comment.note"] = {link = "DiagnosticInfo"}, + DiagnosticOk = {fg = "#98BD99"}, + DiagnosticSignError = {fg = "#E388A3", bg = "NONE"}, + CocErrorSign = {link = "DiagnosticSignError"}, + DiagnosticSignHint = {fg = "#A5A6C5", bg = "NONE"}, + CocHintSign = {link = "DiagnosticSignHint"}, + DiagnosticSignInfo = {fg = "#97BDDE", bg = "NONE"}, + CocInfoSign = {link = "DiagnosticSignInfo"}, + DiagnosticSignOk = {fg = "#98BD99", bg = "NONE"}, + DiagnosticSignWarn = {fg = "#FFDF9B", bg = "NONE"}, + CocWarningSign = {link = "DiagnosticSignWarn"}, + DiagnosticUnderlineError = {fg = "NONE", sp = "#E388A3", undercurl = true}, + CocErrorHighlight = {link = "DiagnosticUnderlineError"}, + DiagnosticUnderlineHint = {fg = "NONE", sp = "#A5A6C5", undercurl = true}, + CocHintHighlight = {link = "DiagnosticUnderlineHint"}, + DiagnosticUnderlineInfo = {fg = "NONE", sp = "#97BDDE", undercurl = true}, + CocInfoHighlight = {link = "DiagnosticUnderlineInfo"}, + DiagnosticUnderlineOk = {fg = "NONE", sp = "#98BD99", undercurl = true}, + DiagnosticUnderlineWarn = {fg = "NONE", sp = "#FFDF9B", undercurl = true}, + CocWarningHighlight = {link = "DiagnosticUnderlineWarn"}, + DiagnosticVirtualTextError = {fg = "#E388A3", bg = "#5F5155"}, + CocErrorVirtualText = {link = "DiagnosticVirtualTextError"}, + DiagnosticVirtualTextHint = {fg = "#A5A6C5", bg = "#535461"}, + DiagnosticVirtualTextInfo = {fg = "#97BDDE", bg = "#525558"}, + DiagnosticVirtualTextOk = {fg = "#98BD99", bg = "#515651"}, + DiagnosticVirtualTextWarn = {fg = "#FFDF9B", bg = "#575451"}, + CocWarningVirtualText = {link = "DiagnosticVirtualTextWarn"}, + DiagnosticDeprecated = {link = "DiagnosticWarn"}, + DiagnosticUnnecessary = {link = "DiagnosticWarn"}, + NeogitNotificationWarning = {link = "DiagnosticWarn"}, + NotifyWARNIcon = {link = "DiagnosticWarn"}, + NotifyWARNTitle = {link = "DiagnosticWarn"}, + DiffAdd = {bg = "#406742"}, + NeogitDiffAddHighlight = {link = "DiffAdd"}, + diffAdded = {link = "DiffAdd"}, + ["@diff.plus"] = {link = "DiffAdd"}, + DiffChange = {bg = "#466177"}, + diffChanged = {link = "DiffChange"}, + ["@diff.delta"] = {link = "DiffChange"}, + DiffDelete = {bg = "#82505E"}, + NeogitDiffDeleteHighlight = {link = "DiffDelete"}, + diffRemoved = {link = "DiffDelete"}, + ["@diff.minus"] = {link = "DiffDelete"}, + DiffText = {fg = "#DDDDDD", bg = "#5D809B"}, + Directory = {bold = true}, + Error = {fg = "#E388A3"}, + DiagnosticError = {link = "Error"}, + ErrorMsg = {link = "Error"}, + MasonError = {link = "Error"}, + ["@comment.error"] = {link = "Error"}, + FlashBackdrop = {fg = "#8B8B8B"}, + FlashLabel = {fg = "#DDDDDD", bg = "#648BA9"}, + FloatBorder = {fg = "#989898", bg = "NONE"}, + FloatTitle = {fg = "#DDDDDD", bg = "#5C5C5C", bold = true}, + FoldColumn = {fg = "#868686", bg = "NONE", bold = true}, + Folded = {fg = "#BBBBBB", bg = "#636363"}, + Function = {fg = "#DFDFC1"}, + TroubleNormal = {link = "Function"}, + TroubleText = {link = "Function"}, + ["@function"] = {link = "Function"}, + FzfLuaBufFlagAlt = {fg = "#97BDDE"}, + FzfLuaBufFlagCur = {fg = "#FFDF9B"}, + FzfLuaBufNr = {fg = "#98BD99"}, + FzfLuaFzfMatch = {fg = "#A5A6C5", bold = true}, + FzfLuaHeaderBind = {fg = "#98BD99"}, + FzfLuaHeaderText = {fg = "#FFDF9B"}, + FzfLuaLiveSym = {fg = "#FFDF9B"}, + FzfLuaPathColNr = {fg = "#AEAEAE", bold = true}, + FzfLuaPathLineNr = {link = "FzfLuaPathColNr"}, + FzfLuaTabMarker = {fg = "#98BD99"}, + FzfLuaTabTitle = {fg = "#6FBDBE"}, + GitSignsAdd = {fg = "#98BD99", bg = "NONE"}, + GitGutterAdd = {link = "GitSignsAdd"}, + GitSignsChange = {fg = "#97BDDE", bg = "NONE"}, + GitGutterChange = {link = "GitSignsChange"}, + GitSignsDelete = {fg = "#E388A3", bg = "NONE"}, + GitGutterDelete = {link = "GitSignsDelete"}, + HopNextKey = {fg = "#A5A6C5", bold = true, underline = true}, + HopNextKey1 = {fg = "#6FBDBE", bold = true, underline = true}, + HopNextKey2 = {fg = "#97BDDE"}, + HopUnmatched = {fg = "#8B8B8B"}, + IblIndent = {fg = "#575757"}, + IndentLine = {link = "IblIndent"}, + IblScope = {fg = "#6F6F6F"}, + IndentLineCurrent = {link = "IblScope"}, + Identifier = {fg = "#DDDDDD"}, + ["@property"] = {link = "Identifier"}, + ["@string.special.symbol"] = {link = "Identifier"}, + ["@variable"] = {link = "Identifier"}, + IncSearch = {fg = "#4B4B4B", bg = "#DCDCE8", bold = true}, + CurSearch = {link = "IncSearch"}, + Italic = {italic = true}, + ["@markup.italic"] = {link = "Italic"}, + ["@markup.italic.markdown"] = {link = "Italic"}, + Keyword = {fg = "#DC8CA3", bold = true}, + Exception = {link = "Keyword"}, + LineNr = {fg = "#868686", bg = "NONE"}, + CocCodeLens = {link = "LineNr"}, + LspCodeLens = {link = "LineNr"}, + NeogitHunkHeader = {link = "LineNr"}, + SignColumn = {link = "LineNr"}, + LspInlayHint = {fg = "#9E898C", bg = "#525252"}, + MasonHeader = {fg = "#4B4B4B", bg = "#FFDF9B", bold = true}, + MasonHighlight = {fg = "#97BDDE"}, + MasonHighlightBlock = {fg = "#4B4B4B", bg = "#97BDDE"}, + MasonHighlightBlockBold = {fg = "#4B4B4B", bg = "#97BDDE", bold = true}, + MasonHighlightBlockBoldSecondary = {fg = "#4B4B4B", bg = "#FFDF9B", bold = true}, + MasonHighlightBlockSecondary = {fg = "#4B4B4B", bg = "#FFDF9B"}, + MasonHighlightSecondary = {fg = "#FFDF9B"}, + MasonMuted = {fg = "#A3A3A3"}, + MasonMutedBlock = {fg = "#4B4B4B", bg = "#A3A3A3"}, + MasonMutedBlockBold = {fg = "#4B4B4B", bg = "#A3A3A3", bold = true}, + MoreMsg = {fg = "#98BD99", bold = true}, + Question = {link = "MoreMsg"}, + NeogitHunkHeaderHighlight = {fg = "#DDDDDD", bg = "#525252", bold = true}, + NnnNormalNC = {link = "NnnNormal"}, + NnnVertSplit = {link = "NnnWinSeparator"}, + NoiceCmdlineIcon = {fg = "#97BDDE"}, + NoiceCmdlinePopupBorder = {link = "NoiceCmdlineIcon"}, + NoiceCmdlinePopupTitle = {link = "NoiceCmdlineIcon"}, + NoiceConfirmBorder = {link = "NoiceCmdlineIcon"}, + NoiceCompletionItemKindDefault = {fg = "#A3A3A3"}, + NonText = {fg = "#7C7C7C"}, + EndOfBuffer = {link = "NonText"}, + Whitespace = {link = "NonText"}, + NormalFloat = {bg = "#5C5C5C"}, + SnacksPickerBorder = {link = "NormalFloat"}, + Number = {fg = "#F7E0B3"}, + Float = {link = "Number"}, + ["@number"] = {link = "Number"}, + NvimTreeCursorLine = {bg = "#555555"}, + NvimTreeCursorColumn = {link = "NvimTreeCursorLine"}, + NvimTreeNormal = {fg = "#DDDDDD", bg = "#505050"}, + NnnNormal = {link = "NvimTreeNormal"}, + NvimTreeRootFolder = {fg = "#97BDDE", bold = true}, + NvimTreeSpecialFile = {fg = "#A5A6C5", underline = true}, + NvimTreeSymlink = {fg = "#97BDDE"}, + NvimTreeWinSeparator = {fg = "bg"}, + NnnWinSeparator = {link = "NvimTreeWinSeparator"}, + Pmenu = {bg = "#5C5C5C"}, + PmenuSbar = {bg = "#818181"}, + PmenuSel = {bg = "#6F6F6F"}, + PmenuThumb = {bg = "#A0A0A0"}, + PreProc = {fg = "#D590A3"}, + ["@attribute"] = {link = "PreProc"}, + ["@function.macro"] = {link = "PreProc"}, + ["@keyword.directive"] = {link = "PreProc"}, + ["@keyword.import"] = {link = "PreProc"}, + ["@markup.environment"] = {link = "PreProc"}, + RenderMarkdownCode = {bg = "#525252"}, + Search = {fg = "#DDDDDD", bg = "#8283AD"}, + CocSearch = {link = "Search"}, + MatchParen = {link = "Search"}, + QuickFixLine = {link = "Search"}, + Sneak = {link = "Search"}, + SnacksIndent = {fg = "#575757"}, + SnacksIndentScope = {fg = "#6F6F6F"}, + SnacksPickerMatch = {fg = "#A5A6C5", bold = true}, + SneakLabelMask = {fg = "#A5A6C5", bg = "#A5A6C5"}, + Special = {fg = "#BCBCD3"}, + WhichKeyGroup = {link = "Special"}, + ["@character.special"] = {link = "Special"}, + ["@constructor"] = {link = "Special"}, + ["@function.builtin"] = {link = "Special"}, + ["@keyword.debug"] = {link = "Special"}, + ["@markup.link.label"] = {link = "Special"}, + ["@markup.list"] = {link = "Special"}, + ["@markup.math"] = {link = "Special"}, + ["@punctuation.special.markdown"] = {link = "Special"}, + ["@string.escape"] = {link = "Special"}, + ["@string.special"] = {link = "Special"}, + ["@tag"] = {link = "Special"}, + SpecialComment = {fg = "#8B8B8B"}, + markdownUrl = {link = "SpecialComment"}, + ["@markup.link.url.markdown"] = {link = "SpecialComment"}, + SpecialKey = {fg = "#7C7C7C", italic = true}, + ["@string.escape.markdown"] = {link = "SpecialKey"}, + SpellBad = {fg = "#D291A3", undercurl = true}, + CocSelectedText = {link = "SpellBad"}, + SpellCap = {fg = "#D291A3", undercurl = true}, + SpellLocal = {link = "SpellCap"}, + SpellRare = {fg = "#D291A3", undercurl = true}, + Statement = {fg = "#97BDDE", bold = true}, + FzfLuaBufName = {link = "Statement"}, + WhichKey = {link = "Statement"}, + ["@keyword.conditional"] = {link = "Statement"}, + ["@keyword.coroutine"] = {link = "Statement"}, + ["@keyword.exception"] = {link = "Statement"}, + ["@keyword.function"] = {link = "Statement"}, + ["@keyword.operator"] = {link = "Statement"}, + ["@keyword.repeat"] = {link = "Statement"}, + ["@keyword.return"] = {link = "Statement"}, + ["@label"] = {link = "Statement"}, + ["@lsp.type.keyword"] = {link = "Statement"}, + ["@lsp.typemod.keyword.injected"] = {link = "Statement"}, + ["@markup.title.markdown"] = {link = "Statement"}, + ["@operator"] = {link = "Statement"}, + StatusLine = {fg = "#DDDDDD", bg = "#5E5E5E"}, + TabLine = {link = "StatusLine"}, + WinBar = {link = "StatusLine"}, + StatusLineNC = {fg = "#E5E5E5", bg = "#555555"}, + TabLineFill = {link = "StatusLineNC"}, + WinBarNC = {link = "StatusLineNC"}, + String = {fg = "#ABC4DB", italic = true}, + ["@string"] = {link = "String"}, + TabLineSel = {bold = true}, + BufferCurrent = {link = "TabLineSel"}, + TelescopeBorder = {fg = "#989898"}, + TelescopeMatching = {fg = "#A5A6C5", bold = true}, + TelescopeSelectionCaret = {fg = "#E388A3", bg = "#525252"}, + Title = {fg = "#DDDDDD", bold = true}, + FzfLuaTitle = {link = "Title"}, + ["@markup.heading"] = {link = "Title"}, + Todo = {bold = true, underline = true}, + ["@comment.todo"] = {link = "Todo"}, + Type = {fg = "#AEAEAE"}, + BlinkCmpLabelDescription = {link = "Type"}, + BlinkCmpLabelDetail = {link = "Type"}, + BlinkCmpSource = {link = "Type"}, + helpSpecial = {link = "Type"}, + markdownCode = {link = "Type"}, + ["@keyword.storage"] = {link = "Type"}, + ["@markup.raw.markdown"] = {link = "Type"}, + ["@type"] = {link = "Type"}, + ["@variable.parameter.vimdoc"] = {link = "Type"}, + Underlined = {underline = true}, + ["@markup.underline"] = {link = "Underlined"}, + Visual = {bg = "#777777"}, + WarningMsg = {fg = "#FFDF9B"}, + DiagnosticWarn = {link = "WarningMsg"}, + NoiceCmdlineIconSearch = {link = "WarningMsg"}, + NoiceCmdlinePopupBorderSearch = {link = "WarningMsg"}, + gitcommitOverflow = {link = "WarningMsg"}, + ["@comment.warning"] = {link = "WarningMsg"}, + WhichKeySeparator = {fg = "#868686"}, + WildMenu = {fg = "#4B4B4B", bg = "#A5A6C5"}, + SneakLabel = {link = "WildMenu"}, + WinSeparator = {fg = "#868686", bg = "NONE"}, + VertSplit = {link = "WinSeparator"}, + NvimTreeGitNew = {link = "diffAdded"}, + NvimTreeGitDirty = {link = "diffChanged"}, + diffFile = {fg = "#FFDF9B", bold = true}, + diffIndexLine = {fg = "#FFDF9B"}, + diffLine = {fg = "#A5A6C5", bold = true}, + diffNewFile = {fg = "#98BD99", italic = true}, + diffOldFile = {fg = "#E388A3", italic = true}, + NvimTreeGitDeleted = {link = "diffRemoved"}, + helpHyperTextEntry = {fg = "#AEAEAE", bold = true}, + helpHyperTextJump = {fg = "#BBBBBB", underline = true}, + lCursor = {fg = "#4B4B4B", bg = "#8E8E8E"}, + TermCursorNC = {link = "lCursor"}, + markdownLinkText = {fg = "#BBBBBB", underline = true}, + ["@lsp.type.decorator"] = {link = "@attribute"}, + ["@lsp.type.deriveHelper"] = {link = "@attribute"}, + ["@lsp.type.boolean"] = {link = "@boolean"}, + ["@comment.documentation"] = {link = "@comment"}, + ["@lsp.type.comment"] = {link = "@comment"}, + ["@constant"] = {fg = "#BBBBBB", bold = true}, + ["@lsp.typemod.enumMember.defaultLibrary"] = {link = "@constant.builtin"}, + ["@lsp.type.enumMember"] = {link = "@constant"}, + ["@lsp.typemod.variable.static"] = {link = "@constant"}, + ["@lsp.typemod.function.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.macro.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.method.defaultLibrary"] = {link = "@function.builtin"}, + ["@function.call"] = {link = "@function"}, + ["@function.method"] = {link = "@function"}, + ["@function.method.call"] = {link = "@function"}, + ["@lsp.typemod.variable.callable"] = {link = "@function"}, + ["@keyword.conditional.ternary"] = {link = "@keyword.conditional"}, + ["@lsp.typemod.keyword.async"] = {link = "@keyword.coroutine"}, + ["@keyword.directive.define"] = {link = "@keyword.directive"}, + ["@lsp.type.lifetime"] = {link = "@keyword.storage"}, + ["@label.vimdoc"] = {fg = "#AEAEAE", bold = true}, + ["@lsp.type.unresolvedReference"] = {sp = "#E388A3", undercurl = true}, + ["@lsp.type.variable"] = {}, + ["@markup.link.markdown"] = {fg = "#BBBBBB", underline = true}, + ["@markup.link.vimdoc"] = {fg = "#BBBBBB", underline = true}, + ["@lsp.type.formatSpecifier"] = {link = "@markup.list"}, + ["@markup.list.checked"] = {link = "@markup.list"}, + ["@markup.list.unchecked"] = {link = "@markup.list"}, + ["@markup.quote"] = {fg = "#A3A3A3"}, + ["@markup.raw.block.vimdoc"] = {fg = "NONE"}, + ["@markup.raw.block"] = {link = "@markup.raw"}, + ["@markup.strikethrough"] = {strikethrough = true}, + ["@lsp.type.namespace"] = {link = "@module"}, + ["@module.builtin"] = {link = "@module"}, + ["@none"] = {}, + ["@lsp.type.number"] = {link = "@number"}, + ["@number.float"] = {link = "@number"}, + ["@lsp.type.operator"] = {link = "@operator"}, + ["@lsp.typemod.operator.injected"] = {link = "@operator"}, + ["@lsp.type.property"] = {link = "@property"}, + ["@tag.attribute"] = {link = "@property"}, + ["@lsp.type.escapeSequence"] = {link = "@string.escape"}, + ["@string.special.path"] = {link = "@string.special"}, + ["@string.special.url"] = {link = "@string.special"}, + ["@lsp.type.string"] = {link = "@string"}, + ["@lsp.typemod.string.injected"] = {link = "@string"}, + ["@string.documentation"] = {link = "@string"}, + ["@lsp.type.builtinType"] = {link = "@type.builtin"}, + ["@lsp.typemod.class.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.enum.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.struct.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.type.typeAlias"] = {link = "@type.definition"}, + ["@lsp.type.enum"] = {link = "@type"}, + ["@lsp.type.interface"] = {link = "@type"}, + ["@lsp.typemod.type.defaultLibrary"] = {link = "@type"}, + ["@lsp.typemod.typeAlias.defaultLibrary"] = {link = "@type"}, + ["@type.builtin"] = {link = "@type"}, + ["@type.definition"] = {link = "@type"}, + ["@type.qualifier"] = {link = "@type"}, + ["@lsp.type.selfKeyword"] = {link = "@variable.builtin"}, + ["@lsp.type.selfTypeKeyword"] = {link = "@variable.builtin"}, + ["@lsp.typemod.variable.defaultLibrary"] = {link = "@variable.builtin"}, + ["@lsp.type.parameter"] = {link = "@variable.parameter"}, + ["@lsp.type.generic"] = {link = "@variable"}, + ["@lsp.typemod.variable.injected"] = {link = "@variable"}, + ["@variable.member"] = {link = "@variable"}, + ["@variable.parameter"] = {link = "@variable"}, + -- dark end +} + +local colors_light = { + -- light start + -- This codeblock is auto-generated by shipwright.nvim + Normal = {fg = "#555555", bg = "#E2E2E2"}, + ModeMsg = {link = "Normal"}, + BlinkCmpKind = {fg = "#7C7C7C"}, + BlinkCmpLabelMatch = {fg = "#896788", bold = true}, + Bold = {bold = true}, + ["@markup.strong"] = {link = "Bold"}, + Boolean = {fg = "#555555", italic = true}, + ["@boolean"] = {link = "Boolean"}, + BufferVisible = {fg = "#818181"}, + BufferVisibleIndex = {fg = "#818181"}, + BufferVisibleSign = {fg = "#818181"}, + CmpItemAbbr = {fg = "#6D6D6D"}, + CmpItemAbbrDeprecated = {fg = "#989898"}, + CmpItemAbbrMatch = {fg = "#555555", bold = true}, + CmpItemAbbrMatchFuzzy = {fg = "#666666", bold = true}, + CmpItemKind = {fg = "#7C7C7C"}, + CmpItemMenu = {fg = "#868686"}, + CocMarkdownLink = {fg = "#008586", underline = true}, + ColorColumn = {bg = "#E2B8A6"}, + LspReferenceRead = {link = "ColorColumn"}, + LspReferenceText = {link = "ColorColumn"}, + LspReferenceWrite = {link = "ColorColumn"}, + Comment = {fg = "#628562", italic = true}, + ["@comment"] = {link = "Comment"}, + Conceal = {fg = "#868686", bold = true, italic = true}, + Constant = {fg = "#7C7C7C", italic = true}, + Character = {link = "Constant"}, + TroubleSource = {link = "Constant"}, + WhichKeyValue = {link = "Constant"}, + helpOption = {link = "Constant"}, + ["@character"] = {link = "Constant"}, + ["@constant.builtin"] = {link = "Constant"}, + ["@constant.macro"] = {link = "Constant"}, + ["@markup.link"] = {link = "Constant"}, + ["@markup.link.url"] = {link = "Constant"}, + ["@markup.raw"] = {link = "Constant"}, + ["@module"] = {link = "Constant"}, + ["@string.regexp"] = {link = "Constant"}, + ["@variable.builtin"] = {link = "Constant"}, + Cursor = {fg = "#E2E2E2", bg = "#555555"}, + TermCursor = {link = "Cursor"}, + CursorLine = {bg = "#DADADA"}, + CocMenuSel = {link = "CursorLine"}, + CursorColumn = {link = "CursorLine"}, + FzfLuaFzfCursorLine = {link = "CursorLine"}, + NeogitDiffContextHighlight = {link = "CursorLine"}, + SnacksPickerListCursorLine = {link = "CursorLine"}, + SnacksPickerPreviewCursorLine = {link = "CursorLine"}, + TelescopeSelection = {link = "CursorLine"}, + CursorLineNr = {fg = "#555555", bg = "NONE", bold = true}, + Delimiter = {fg = "#7C7C7C"}, + markdownLinkTextDelimiter = {link = "Delimiter"}, + ["@constructor.lua"] = {link = "Delimiter"}, + ["@punctuation.bracket"] = {link = "Delimiter"}, + ["@punctuation.delimiter"] = {link = "Delimiter"}, + ["@punctuation.special"] = {link = "Delimiter"}, + ["@tag.delimiter"] = {link = "Delimiter"}, + NeogitNotificationError = {link = "DiagnosticError"}, + NotifyERRORIcon = {link = "DiagnosticError"}, + NotifyERRORTitle = {link = "DiagnosticError"}, + DiagnosticHint = {fg = "#896788"}, + NotifyDEBUGIcon = {link = "DiagnosticHint"}, + NotifyDEBUGTitle = {link = "DiagnosticHint"}, + NotifyTRACEIcon = {link = "DiagnosticHint"}, + NotifyTRACETitle = {link = "DiagnosticHint"}, + DiagnosticInfo = {fg = "#0084A3"}, + NeogitNotificationInfo = {link = "DiagnosticInfo"}, + NotifyINFOIcon = {link = "DiagnosticInfo"}, + NotifyINFOTitle = {link = "DiagnosticInfo"}, + ["@comment.note"] = {link = "DiagnosticInfo"}, + DiagnosticOk = {fg = "#628562"}, + DiagnosticSignError = {fg = "#DC5284", bg = "NONE"}, + CocErrorSign = {link = "DiagnosticSignError"}, + DiagnosticSignHint = {fg = "#896788", bg = "NONE"}, + CocHintSign = {link = "DiagnosticSignHint"}, + DiagnosticSignInfo = {fg = "#0084A3", bg = "NONE"}, + CocInfoSign = {link = "DiagnosticSignInfo"}, + DiagnosticSignOk = {fg = "#628562", bg = "NONE"}, + DiagnosticSignWarn = {fg = "#C48562", bg = "NONE"}, + CocWarningSign = {link = "DiagnosticSignWarn"}, + DiagnosticUnderlineError = {fg = "NONE", sp = "#DC5284", undercurl = true}, + CocErrorHighlight = {link = "DiagnosticUnderlineError"}, + DiagnosticUnderlineHint = {fg = "NONE", sp = "#896788", undercurl = true}, + CocHintHighlight = {link = "DiagnosticUnderlineHint"}, + DiagnosticUnderlineInfo = {fg = "NONE", sp = "#0084A3", undercurl = true}, + CocInfoHighlight = {link = "DiagnosticUnderlineInfo"}, + DiagnosticUnderlineOk = {fg = "NONE", sp = "#628562", undercurl = true}, + DiagnosticUnderlineWarn = {fg = "NONE", sp = "#C48562", undercurl = true}, + CocWarningHighlight = {link = "DiagnosticUnderlineWarn"}, + DiagnosticVirtualTextError = {fg = "#DC5284", bg = "#E9D1D7"}, + CocErrorVirtualText = {link = "DiagnosticVirtualTextError"}, + DiagnosticVirtualTextHint = {fg = "#896788", bg = "#E8D0E7"}, + DiagnosticVirtualTextInfo = {fg = "#0084A3", bg = "#C2DBE8"}, + DiagnosticVirtualTextOk = {fg = "#628562", bg = "#A3E8A3"}, + DiagnosticVirtualTextWarn = {fg = "#C48562", bg = "#E9D3CA"}, + CocWarningVirtualText = {link = "DiagnosticVirtualTextWarn"}, + DiagnosticDeprecated = {link = "DiagnosticWarn"}, + DiagnosticUnnecessary = {link = "DiagnosticWarn"}, + NeogitNotificationWarning = {link = "DiagnosticWarn"}, + NotifyWARNIcon = {link = "DiagnosticWarn"}, + NotifyWARNTitle = {link = "DiagnosticWarn"}, + DiffAdd = {bg = "#AEDEAE"}, + NeogitDiffAddHighlight = {link = "DiffAdd"}, + diffAdded = {link = "DiffAdd"}, + ["@diff.plus"] = {link = "DiffAdd"}, + DiffChange = {bg = "#C0D5E0"}, + diffChanged = {link = "DiffChange"}, + ["@diff.delta"] = {link = "DiffChange"}, + DiffDelete = {bg = "#E5CBD1"}, + NeogitDiffDeleteHighlight = {link = "DiffDelete"}, + diffRemoved = {link = "DiffDelete"}, + ["@diff.minus"] = {link = "DiffDelete"}, + DiffText = {fg = "#555555", bg = "#99B5C3"}, + Directory = {bold = true}, + Error = {fg = "#DC5284"}, + DiagnosticError = {link = "Error"}, + ErrorMsg = {link = "Error"}, + MasonError = {link = "Error"}, + ["@comment.error"] = {link = "Error"}, + FlashBackdrop = {fg = "#868686"}, + FlashLabel = {fg = "#555555", bg = "#00C9F6"}, + FloatBorder = {fg = "#6A6A6A", bg = "NONE"}, + FloatTitle = {fg = "#555555", bg = "#CFCFCF", bold = true}, + FoldColumn = {fg = "#919191", bg = "NONE", bold = true}, + Folded = {fg = "#4B4B4B", bg = "#BBBBBB"}, + Function = {fg = "#6C6B20"}, + TroubleNormal = {link = "Function"}, + TroubleText = {link = "Function"}, + ["@function"] = {link = "Function"}, + FzfLuaBufFlagAlt = {fg = "#0084A3"}, + FzfLuaBufFlagCur = {fg = "#C48562"}, + FzfLuaBufNr = {fg = "#628562"}, + FzfLuaFzfMatch = {fg = "#896788", bold = true}, + FzfLuaHeaderBind = {fg = "#628562"}, + FzfLuaHeaderText = {fg = "#C48562"}, + FzfLuaLiveSym = {fg = "#C48562"}, + FzfLuaPathColNr = {fg = "#6D4C52", bold = true}, + FzfLuaPathLineNr = {link = "FzfLuaPathColNr"}, + FzfLuaTabMarker = {fg = "#628562"}, + FzfLuaTabTitle = {fg = "#008586"}, + GitSignsAdd = {fg = "#628562", bg = "NONE"}, + GitGutterAdd = {link = "GitSignsAdd"}, + GitSignsChange = {fg = "#0084A3", bg = "NONE"}, + GitGutterChange = {link = "GitSignsChange"}, + GitSignsDelete = {fg = "#DC5284", bg = "NONE"}, + GitGutterDelete = {link = "GitSignsDelete"}, + HopNextKey = {fg = "#896788", bold = true, underline = true}, + HopNextKey1 = {fg = "#008586", bold = true, underline = true}, + HopNextKey2 = {fg = "#0084A3"}, + HopUnmatched = {fg = "#868686"}, + IblIndent = {fg = "#D4D4D4"}, + IndentLine = {link = "IblIndent"}, + IblScope = {fg = "#ABABAB"}, + IndentLineCurrent = {link = "IblScope"}, + Identifier = {fg = "#555555"}, + ["@property"] = {link = "Identifier"}, + ["@string.special.symbol"] = {link = "Identifier"}, + ["@variable"] = {link = "Identifier"}, + IncSearch = {fg = "#E2E2E2", bg = "#9E779D", bold = true}, + CurSearch = {link = "IncSearch"}, + Italic = {italic = true}, + ["@markup.italic"] = {link = "Italic"}, + ["@markup.italic.markdown"] = {link = "Italic"}, + Keyword = {fg = "#CA6284", bold = true}, + Exception = {link = "Keyword"}, + LineNr = {fg = "#919191", bg = "NONE"}, + CocCodeLens = {link = "LineNr"}, + LspCodeLens = {link = "LineNr"}, + NeogitHunkHeader = {link = "LineNr"}, + SignColumn = {link = "LineNr"}, + LspInlayHint = {fg = "#9C868A", bg = "#DDDDDD"}, + MasonHeader = {fg = "#E2E2E2", bg = "#C48562", bold = true}, + MasonHighlight = {fg = "#0084A3"}, + MasonHighlightBlock = {fg = "#E2E2E2", bg = "#0084A3"}, + MasonHighlightBlockBold = {fg = "#E2E2E2", bg = "#0084A3", bold = true}, + MasonHighlightBlockBoldSecondary = {fg = "#E2E2E2", bg = "#C48562", bold = true}, + MasonHighlightBlockSecondary = {fg = "#E2E2E2", bg = "#C48562"}, + MasonHighlightSecondary = {fg = "#C48562"}, + MasonMuted = {fg = "#7C7C7C"}, + MasonMutedBlock = {fg = "#E2E2E2", bg = "#7C7C7C"}, + MasonMutedBlockBold = {fg = "#E2E2E2", bg = "#7C7C7C", bold = true}, + MoreMsg = {fg = "#628562", bold = true}, + Question = {link = "MoreMsg"}, + NeogitHunkHeaderHighlight = {fg = "#555555", bg = "#DADADA", bold = true}, + NnnNormalNC = {link = "NnnNormal"}, + NnnVertSplit = {link = "NnnWinSeparator"}, + NoiceCmdlineIcon = {fg = "#0084A3"}, + NoiceCmdlinePopupBorder = {link = "NoiceCmdlineIcon"}, + NoiceCmdlinePopupTitle = {link = "NoiceCmdlineIcon"}, + NoiceConfirmBorder = {link = "NoiceCmdlineIcon"}, + NoiceCompletionItemKindDefault = {fg = "#7C7C7C"}, + NonText = {fg = "#A6A6A6"}, + EndOfBuffer = {link = "NonText"}, + Whitespace = {link = "NonText"}, + NormalFloat = {bg = "#CFCFCF"}, + SnacksPickerBorder = {link = "NormalFloat"}, + Number = {fg = "#896500"}, + Float = {link = "Number"}, + ["@number"] = {link = "Number"}, + NvimTreeCursorLine = {bg = "#D4D4D4"}, + NvimTreeCursorColumn = {link = "NvimTreeCursorLine"}, + NvimTreeNormal = {fg = "#555555", bg = "#DADADA"}, + NnnNormal = {link = "NvimTreeNormal"}, + NvimTreeRootFolder = {fg = "#0084A3", bold = true}, + NvimTreeSpecialFile = {fg = "#896788", underline = true}, + NvimTreeSymlink = {fg = "#0084A3"}, + NvimTreeWinSeparator = {fg = "bg"}, + NnnWinSeparator = {link = "NvimTreeWinSeparator"}, + Pmenu = {bg = "#C9C9C9"}, + PmenuSbar = {bg = "#9E9E9E"}, + PmenuSel = {bg = "#B0B0B0"}, + PmenuThumb = {bg = "#F3F3F3"}, + PreProc = {fg = "#BE6A84"}, + ["@attribute"] = {link = "PreProc"}, + ["@function.macro"] = {link = "PreProc"}, + ["@keyword.directive"] = {link = "PreProc"}, + ["@keyword.import"] = {link = "PreProc"}, + ["@markup.environment"] = {link = "PreProc"}, + RenderMarkdownCode = {bg = "#DDDDDD"}, + Search = {fg = "#555555", bg = "#CBB1CA"}, + CocSearch = {link = "Search"}, + MatchParen = {link = "Search"}, + QuickFixLine = {link = "Search"}, + Sneak = {link = "Search"}, + SnacksIndent = {fg = "#D4D4D4"}, + SnacksIndentScope = {fg = "#ABABAB"}, + SnacksPickerMatch = {fg = "#896788", bold = true}, + SneakLabelMask = {fg = "#896788", bg = "#896788"}, + Special = {fg = "#755F74"}, + WhichKeyGroup = {link = "Special"}, + ["@character.special"] = {link = "Special"}, + ["@constructor"] = {link = "Special"}, + ["@function.builtin"] = {link = "Special"}, + ["@keyword.debug"] = {link = "Special"}, + ["@markup.link.label"] = {link = "Special"}, + ["@markup.list"] = {link = "Special"}, + ["@markup.math"] = {link = "Special"}, + ["@punctuation.special.markdown"] = {link = "Special"}, + ["@string.escape"] = {link = "Special"}, + ["@string.special"] = {link = "Special"}, + ["@tag"] = {link = "Special"}, + SpecialComment = {fg = "#868686"}, + markdownUrl = {link = "SpecialComment"}, + ["@markup.link.url.markdown"] = {link = "SpecialComment"}, + SpecialKey = {fg = "#A6A6A6", italic = true}, + ["@string.escape.markdown"] = {link = "SpecialKey"}, + SpellBad = {fg = "#C66484", sp = "#DC5284", undercurl = true}, + CocSelectedText = {link = "SpellBad"}, + SpellCap = {fg = "#C66484", sp = "#DF6B91", undercurl = true}, + SpellLocal = {link = "SpellCap"}, + SpellRare = {fg = "#C66484", sp = "#C48562", undercurl = true}, + Statement = {fg = "#0084A3", bold = true}, + FzfLuaBufName = {link = "Statement"}, + WhichKey = {link = "Statement"}, + ["@keyword.conditional"] = {link = "Statement"}, + ["@keyword.coroutine"] = {link = "Statement"}, + ["@keyword.exception"] = {link = "Statement"}, + ["@keyword.function"] = {link = "Statement"}, + ["@keyword.operator"] = {link = "Statement"}, + ["@keyword.repeat"] = {link = "Statement"}, + ["@keyword.return"] = {link = "Statement"}, + ["@label"] = {link = "Statement"}, + ["@lsp.type.keyword"] = {link = "Statement"}, + ["@lsp.typemod.keyword.injected"] = {link = "Statement"}, + ["@markup.title.markdown"] = {link = "Statement"}, + ["@operator"] = {link = "Statement"}, + StatusLine = {fg = "#555555", bg = "#C4C4C4"}, + TabLine = {link = "StatusLine"}, + WinBar = {link = "StatusLine"}, + StatusLineNC = {fg = "#818181", bg = "#D4D4D4"}, + TabLineFill = {link = "StatusLineNC"}, + WinBarNC = {link = "StatusLineNC"}, + String = {fg = "#4A7587", italic = true}, + ["@string"] = {link = "String"}, + TabLineSel = {bold = true}, + BufferCurrent = {link = "TabLineSel"}, + TelescopeBorder = {fg = "#6A6A6A"}, + TelescopeMatching = {fg = "#896788", bold = true}, + TelescopeSelectionCaret = {fg = "#DC5284", bg = "#DADADA"}, + Title = {fg = "#555555", bold = true}, + FzfLuaTitle = {link = "Title"}, + ["@markup.heading"] = {link = "Title"}, + Todo = {bold = true, underline = true}, + ["@comment.todo"] = {link = "Todo"}, + Type = {fg = "#6D4C52"}, + BlinkCmpLabelDescription = {link = "Type"}, + BlinkCmpLabelDetail = {link = "Type"}, + BlinkCmpSource = {link = "Type"}, + helpSpecial = {link = "Type"}, + markdownCode = {link = "Type"}, + ["@keyword.storage"] = {link = "Type"}, + ["@markup.raw.markdown"] = {link = "Type"}, + ["@type"] = {link = "Type"}, + ["@variable.parameter.vimdoc"] = {link = "Type"}, + Underlined = {underline = true}, + ["@markup.underline"] = {link = "Underlined"}, + Visual = {bg = "#CCCCCC"}, + WarningMsg = {fg = "#C48562"}, + DiagnosticWarn = {link = "WarningMsg"}, + NoiceCmdlineIconSearch = {link = "WarningMsg"}, + NoiceCmdlinePopupBorderSearch = {link = "WarningMsg"}, + gitcommitOverflow = {link = "WarningMsg"}, + ["@comment.warning"] = {link = "WarningMsg"}, + WhichKeySeparator = {fg = "#919191"}, + WildMenu = {fg = "#E2E2E2", bg = "#896788"}, + SneakLabel = {link = "WildMenu"}, + WinSeparator = {fg = "#919191", bg = "NONE"}, + VertSplit = {link = "WinSeparator"}, + NvimTreeGitNew = {link = "diffAdded"}, + NvimTreeGitDirty = {link = "diffChanged"}, + diffFile = {fg = "#C48562", bold = true}, + diffIndexLine = {fg = "#C48562"}, + diffLine = {fg = "#896788", bold = true}, + diffNewFile = {fg = "#628562", italic = true}, + diffOldFile = {fg = "#DC5284", italic = true}, + NvimTreeGitDeleted = {link = "diffRemoved"}, + helpHyperTextEntry = {fg = "#6D4C52", bold = true}, + helpHyperTextJump = {fg = "#6D6D6D", underline = true}, + lCursor = {fg = "#E2E2E2", bg = "#747474"}, + TermCursorNC = {link = "lCursor"}, + markdownLinkText = {fg = "#6D6D6D", underline = true}, + ["@lsp.type.decorator"] = {link = "@attribute"}, + ["@lsp.type.deriveHelper"] = {link = "@attribute"}, + ["@lsp.type.boolean"] = {link = "@boolean"}, + ["@comment.documentation"] = {link = "@comment"}, + ["@lsp.type.comment"] = {link = "@comment"}, + ["@constant"] = {fg = "#6D6D6D", bold = true}, + ["@lsp.typemod.enumMember.defaultLibrary"] = {link = "@constant.builtin"}, + ["@lsp.type.enumMember"] = {link = "@constant"}, + ["@lsp.typemod.variable.static"] = {link = "@constant"}, + ["@lsp.typemod.function.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.macro.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.method.defaultLibrary"] = {link = "@function.builtin"}, + ["@function.call"] = {link = "@function"}, + ["@function.method"] = {link = "@function"}, + ["@function.method.call"] = {link = "@function"}, + ["@lsp.typemod.variable.callable"] = {link = "@function"}, + ["@keyword.conditional.ternary"] = {link = "@keyword.conditional"}, + ["@lsp.typemod.keyword.async"] = {link = "@keyword.coroutine"}, + ["@keyword.directive.define"] = {link = "@keyword.directive"}, + ["@lsp.type.lifetime"] = {link = "@keyword.storage"}, + ["@label.vimdoc"] = {fg = "#6D4C52", bold = true}, + ["@lsp.type.unresolvedReference"] = {sp = "#DC5284", undercurl = true}, + ["@lsp.type.variable"] = {}, + ["@markup.link.markdown"] = {fg = "#6D6D6D", underline = true}, + ["@markup.link.vimdoc"] = {fg = "#6D6D6D", underline = true}, + ["@lsp.type.formatSpecifier"] = {link = "@markup.list"}, + ["@markup.list.checked"] = {link = "@markup.list"}, + ["@markup.list.unchecked"] = {link = "@markup.list"}, + ["@markup.quote"] = {fg = "#7C7C7C"}, + ["@markup.raw.block.vimdoc"] = {fg = "NONE"}, + ["@markup.raw.block"] = {link = "@markup.raw"}, + ["@markup.strikethrough"] = {strikethrough = true}, + ["@lsp.type.namespace"] = {link = "@module"}, + ["@module.builtin"] = {link = "@module"}, + ["@none"] = {}, + ["@lsp.type.number"] = {link = "@number"}, + ["@number.float"] = {link = "@number"}, + ["@lsp.type.operator"] = {link = "@operator"}, + ["@lsp.typemod.operator.injected"] = {link = "@operator"}, + ["@lsp.type.property"] = {link = "@property"}, + ["@tag.attribute"] = {link = "@property"}, + ["@lsp.type.escapeSequence"] = {link = "@string.escape"}, + ["@string.special.path"] = {link = "@string.special"}, + ["@string.special.url"] = {link = "@string.special"}, + ["@lsp.type.string"] = {link = "@string"}, + ["@lsp.typemod.string.injected"] = {link = "@string"}, + ["@string.documentation"] = {link = "@string"}, + ["@lsp.type.builtinType"] = {link = "@type.builtin"}, + ["@lsp.typemod.class.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.enum.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.struct.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.type.typeAlias"] = {link = "@type.definition"}, + ["@lsp.type.enum"] = {link = "@type"}, + ["@lsp.type.interface"] = {link = "@type"}, + ["@lsp.typemod.type.defaultLibrary"] = {link = "@type"}, + ["@lsp.typemod.typeAlias.defaultLibrary"] = {link = "@type"}, + ["@type.builtin"] = {link = "@type"}, + ["@type.definition"] = {link = "@type"}, + ["@type.qualifier"] = {link = "@type"}, + ["@lsp.type.selfKeyword"] = {link = "@variable.builtin"}, + ["@lsp.type.selfTypeKeyword"] = {link = "@variable.builtin"}, + ["@lsp.typemod.variable.defaultLibrary"] = {link = "@variable.builtin"}, + ["@lsp.type.parameter"] = {link = "@variable.parameter"}, + ["@lsp.type.generic"] = {link = "@variable"}, + ["@lsp.typemod.variable.injected"] = {link = "@variable"}, + ["@variable.member"] = {link = "@variable"}, + ["@variable.parameter"] = {link = "@variable"}, + -- light end +} + +function term_dark() + -- dark term start + -- This codeblock is auto-generated by shipwright.nvim + vim.g.terminal_color_0 = '#4B4B4B' + vim.g.terminal_color_1 = '#E388A3' + vim.g.terminal_color_2 = '#98BD99' + vim.g.terminal_color_3 = '#FFDF9B' + vim.g.terminal_color_4 = '#97BDDE' + vim.g.terminal_color_5 = '#A5A6C5' + vim.g.terminal_color_6 = '#6FBDBE' + vim.g.terminal_color_7 = '#DDDDDD' + vim.g.terminal_color_8 = '#6C6465' + vim.g.terminal_color_9 = '#EB99B1' + vim.g.terminal_color_10 = '#8FCD92' + vim.g.terminal_color_11 = '#FFE5B3' + vim.g.terminal_color_12 = '#A2C8E9' + vim.g.terminal_color_13 = '#B2B3DA' + vim.g.terminal_color_14 = '#6BCACB' + vim.g.terminal_color_15 = '#A8A8A8' + -- dark term end +end + +function term_light() + -- light term start + -- This codeblock is auto-generated by shipwright.nvim + vim.g.terminal_color_0 = '#E2E2E2' + vim.g.terminal_color_1 = '#DC5284' + vim.g.terminal_color_2 = '#628562' + vim.g.terminal_color_3 = '#C48562' + vim.g.terminal_color_4 = '#0084A3' + vim.g.terminal_color_5 = '#896788' + vim.g.terminal_color_6 = '#008586' + vim.g.terminal_color_7 = '#555555' + vim.g.terminal_color_8 = '#BFBABB' + vim.g.terminal_color_9 = '#BE3C6D' + vim.g.terminal_color_10 = '#487249' + vim.g.terminal_color_11 = '#A76B48' + vim.g.terminal_color_12 = '#006F89' + vim.g.terminal_color_13 = '#7F4C7E' + vim.g.terminal_color_14 = '#006F70' + vim.g.terminal_color_15 = '#777777' + -- light term end +end + +if vim.o.background == 'dark' then + for group, attrs in pairs(colors_dark) do + vim.api.nvim_set_hl(0, group, attrs) + end + term_dark() +else + for group, attrs in pairs(colors_light) do + vim.api.nvim_set_hl(0, group, attrs) + end + term_light() +end diff --git a/lua/tokyobones/prebuilt.lua b/lua/tokyobones/prebuilt.lua new file mode 100644 index 00000000..998d3bb2 --- /dev/null +++ b/lua/tokyobones/prebuilt.lua @@ -0,0 +1,845 @@ +local colors_dark = { + -- dark start + -- This codeblock is auto-generated by shipwright.nvim + Normal = {fg = "#C0CAF5", bg = "#1A1B26"}, + ModeMsg = {link = "Normal"}, + BlinkCmpKind = {fg = "#7592EA"}, + BlinkCmpLabelMatch = {fg = "#BB9BF7", bold = true}, + Bold = {bold = true}, + ["@markup.strong"] = {link = "Bold"}, + Boolean = {fg = "#C0CAF5", italic = true}, + ["@boolean"] = {link = "Boolean"}, + BufferVisible = {fg = "#D2D9F8"}, + BufferVisibleIndex = {fg = "#D2D9F8"}, + BufferVisibleSign = {fg = "#D2D9F8"}, + CmpItemAbbr = {fg = "#98ABEF"}, + CmpItemAbbrDeprecated = {fg = "#3E6DD5"}, + CmpItemAbbrMatch = {fg = "#C0CAF5", bold = true}, + CmpItemAbbrMatchFuzzy = {fg = "#A3B4F1", bold = true}, + CmpItemKind = {fg = "#7592EA"}, + CmpItemMenu = {fg = "#6085E7"}, + CocMarkdownLink = {fg = "#2BC4DE", underline = true}, + ColorColumn = {bg = "#4E402E"}, + LspReferenceRead = {link = "ColorColumn"}, + LspReferenceText = {link = "ColorColumn"}, + LspReferenceWrite = {link = "ColorColumn"}, + Comment = {fg = "#65677D", italic = true}, + ["@comment"] = {link = "Comment"}, + Conceal = {fg = "#6085E7", bold = true, italic = true}, + Constant = {fg = "#7592EA", italic = true}, + Character = {link = "Constant"}, + TroubleSource = {link = "Constant"}, + WhichKeyValue = {link = "Constant"}, + helpOption = {link = "Constant"}, + ["@character"] = {link = "Constant"}, + ["@constant.builtin"] = {link = "Constant"}, + ["@constant.macro"] = {link = "Constant"}, + ["@markup.link"] = {link = "Constant"}, + ["@markup.link.url"] = {link = "Constant"}, + ["@markup.raw"] = {link = "Constant"}, + ["@module"] = {link = "Constant"}, + ["@string.regexp"] = {link = "Constant"}, + ["@variable.builtin"] = {link = "Constant"}, + Cursor = {fg = "#1A1B26", bg = "#CED6F7"}, + TermCursor = {link = "Cursor"}, + CursorLine = {bg = "#222330"}, + CocMenuSel = {link = "CursorLine"}, + CursorColumn = {link = "CursorLine"}, + FzfLuaFzfCursorLine = {link = "CursorLine"}, + NeogitDiffContextHighlight = {link = "CursorLine"}, + SnacksPickerListCursorLine = {link = "CursorLine"}, + SnacksPickerPreviewCursorLine = {link = "CursorLine"}, + TelescopeSelection = {link = "CursorLine"}, + CursorLineNr = {fg = "#C0CAF5", bg = "NONE", bold = true}, + Delimiter = {fg = "#787A94"}, + markdownLinkTextDelimiter = {link = "Delimiter"}, + ["@constructor.lua"] = {link = "Delimiter"}, + ["@punctuation.bracket"] = {link = "Delimiter"}, + ["@punctuation.delimiter"] = {link = "Delimiter"}, + ["@punctuation.special"] = {link = "Delimiter"}, + ["@tag.delimiter"] = {link = "Delimiter"}, + NeogitNotificationError = {link = "DiagnosticError"}, + NotifyERRORIcon = {link = "DiagnosticError"}, + NotifyERRORTitle = {link = "DiagnosticError"}, + DiagnosticHint = {fg = "#BB9BF7"}, + NotifyDEBUGIcon = {link = "DiagnosticHint"}, + NotifyDEBUGTitle = {link = "DiagnosticHint"}, + NotifyTRACEIcon = {link = "DiagnosticHint"}, + NotifyTRACETitle = {link = "DiagnosticHint"}, + DiagnosticInfo = {fg = "#7BA2F7"}, + NeogitNotificationInfo = {link = "DiagnosticInfo"}, + NotifyINFOIcon = {link = "DiagnosticInfo"}, + NotifyINFOTitle = {link = "DiagnosticInfo"}, + ["@comment.note"] = {link = "DiagnosticInfo"}, + DiagnosticOk = {fg = "#74DBCB"}, + DiagnosticSignError = {fg = "#F77890", bg = "NONE"}, + CocErrorSign = {link = "DiagnosticSignError"}, + DiagnosticSignHint = {fg = "#BB9BF7", bg = "NONE"}, + CocHintSign = {link = "DiagnosticSignHint"}, + DiagnosticSignInfo = {fg = "#7BA2F7", bg = "NONE"}, + CocInfoSign = {link = "DiagnosticSignInfo"}, + DiagnosticSignOk = {fg = "#74DBCB", bg = "NONE"}, + DiagnosticSignWarn = {fg = "#E1B068", bg = "NONE"}, + CocWarningSign = {link = "DiagnosticSignWarn"}, + DiagnosticUnderlineError = {fg = "NONE", sp = "#F77890", undercurl = true}, + CocErrorHighlight = {link = "DiagnosticUnderlineError"}, + DiagnosticUnderlineHint = {fg = "NONE", sp = "#BB9BF7", undercurl = true}, + CocHintHighlight = {link = "DiagnosticUnderlineHint"}, + DiagnosticUnderlineInfo = {fg = "NONE", sp = "#7BA2F7", undercurl = true}, + CocInfoHighlight = {link = "DiagnosticUnderlineInfo"}, + DiagnosticUnderlineOk = {fg = "NONE", sp = "#74DBCB", undercurl = true}, + DiagnosticUnderlineWarn = {fg = "NONE", sp = "#E1B068", undercurl = true}, + CocWarningHighlight = {link = "DiagnosticUnderlineWarn"}, + DiagnosticVirtualTextError = {fg = "#F77890", bg = "#292223"}, + CocErrorVirtualText = {link = "DiagnosticVirtualTextError"}, + DiagnosticVirtualTextHint = {fg = "#BB9BF7", bg = "#252329"}, + DiagnosticVirtualTextInfo = {fg = "#7BA2F7", bg = "#222427"}, + DiagnosticVirtualTextOk = {fg = "#74DBCB", bg = "#222424"}, + DiagnosticVirtualTextWarn = {fg = "#E1B068", bg = "#252322"}, + CocWarningVirtualText = {link = "DiagnosticVirtualTextWarn"}, + DiagnosticDeprecated = {link = "DiagnosticWarn"}, + DiagnosticUnnecessary = {link = "DiagnosticWarn"}, + NeogitNotificationWarning = {link = "DiagnosticWarn"}, + NotifyWARNIcon = {link = "DiagnosticWarn"}, + NotifyWARNTitle = {link = "DiagnosticWarn"}, + DiffAdd = {bg = "#1D2F2C"}, + NeogitDiffAddHighlight = {link = "DiffAdd"}, + diffAdded = {link = "DiffAdd"}, + ["@diff.plus"] = {link = "DiffAdd"}, + DiffChange = {bg = "#212C44"}, + diffChanged = {link = "DiffChange"}, + ["@diff.delta"] = {link = "DiffChange"}, + DiffDelete = {bg = "#412428"}, + NeogitDiffDeleteHighlight = {link = "DiffDelete"}, + diffRemoved = {link = "DiffDelete"}, + ["@diff.minus"] = {link = "DiffDelete"}, + DiffText = {fg = "#C0CAF5", bg = "#36466A"}, + Directory = {bold = true}, + Error = {fg = "#F77890"}, + DiagnosticError = {link = "Error"}, + ErrorMsg = {link = "Error"}, + MasonError = {link = "Error"}, + ["@comment.error"] = {link = "Error"}, + FlashBackdrop = {fg = "#65677D"}, + FlashLabel = {fg = "#C0CAF5", bg = "#1A4F97"}, + FloatBorder = {fg = "#767892", bg = "NONE"}, + FloatTitle = {fg = "#C0CAF5", bg = "#2C2D3D", bold = true}, + FoldColumn = {fg = "#5F617E", bg = "NONE", bold = true}, + Folded = {fg = "#A3A5B7", bg = "#343648"}, + Function = {fg = "#C0CAF5"}, + TroubleNormal = {link = "Function"}, + TroubleText = {link = "Function"}, + ["@function"] = {link = "Function"}, + FzfLuaBufFlagAlt = {fg = "#7BA2F7"}, + FzfLuaBufFlagCur = {fg = "#E1B068"}, + FzfLuaBufNr = {fg = "#74DBCB"}, + FzfLuaFzfMatch = {fg = "#BB9BF7", bold = true}, + FzfLuaHeaderBind = {fg = "#74DBCB"}, + FzfLuaHeaderText = {fg = "#E1B068"}, + FzfLuaLiveSym = {fg = "#E1B068"}, + FzfLuaPathColNr = {fg = "#9394AA", bold = true}, + FzfLuaPathLineNr = {link = "FzfLuaPathColNr"}, + FzfLuaTabMarker = {fg = "#74DBCB"}, + FzfLuaTabTitle = {fg = "#2BC4DE"}, + GitSignsAdd = {fg = "#74DBCB", bg = "NONE"}, + GitGutterAdd = {link = "GitSignsAdd"}, + GitSignsChange = {fg = "#7BA2F7", bg = "NONE"}, + GitGutterChange = {link = "GitSignsChange"}, + GitSignsDelete = {fg = "#F77890", bg = "NONE"}, + GitGutterDelete = {link = "GitSignsDelete"}, + HopNextKey = {fg = "#BB9BF7", bold = true, underline = true}, + HopNextKey1 = {fg = "#2BC4DE", bold = true, underline = true}, + HopNextKey2 = {fg = "#7BA2F7"}, + HopUnmatched = {fg = "#65677D"}, + IblIndent = {fg = "#282935"}, + IndentLine = {link = "IblIndent"}, + IblScope = {fg = "#444657"}, + IndentLineCurrent = {link = "IblScope"}, + Identifier = {fg = "#98ABEF"}, + ["@property"] = {link = "Identifier"}, + ["@string.special.symbol"] = {link = "Identifier"}, + ["@variable"] = {link = "Identifier"}, + IncSearch = {fg = "#1A1B26", bg = "#B38DF6", bold = true}, + CurSearch = {link = "IncSearch"}, + Italic = {italic = true}, + ["@markup.italic"] = {link = "Italic"}, + ["@markup.italic.markdown"] = {link = "Italic"}, + LineNr = {fg = "#5F617E", bg = "NONE"}, + CocCodeLens = {link = "LineNr"}, + LspCodeLens = {link = "LineNr"}, + NeogitHunkHeader = {link = "LineNr"}, + SignColumn = {link = "LineNr"}, + LspInlayHint = {fg = "#666A92", bg = "#222330"}, + MasonHeader = {fg = "#1A1B26", bg = "#E1B068", bold = true}, + MasonHighlight = {fg = "#7BA2F7"}, + MasonHighlightBlock = {fg = "#1A1B26", bg = "#7BA2F7"}, + MasonHighlightBlockBold = {fg = "#1A1B26", bg = "#7BA2F7", bold = true}, + MasonHighlightBlockBoldSecondary = {fg = "#1A1B26", bg = "#E1B068", bold = true}, + MasonHighlightBlockSecondary = {fg = "#1A1B26", bg = "#E1B068"}, + MasonHighlightSecondary = {fg = "#E1B068"}, + MasonMuted = {fg = "#7592EA"}, + MasonMutedBlock = {fg = "#1A1B26", bg = "#7592EA"}, + MasonMutedBlockBold = {fg = "#1A1B26", bg = "#7592EA", bold = true}, + MoreMsg = {fg = "#74DBCB", bold = true}, + Question = {link = "MoreMsg"}, + NeogitHunkHeaderHighlight = {fg = "#C0CAF5", bg = "#222330", bold = true}, + NnnNormalNC = {link = "NnnNormal"}, + NnnVertSplit = {link = "NnnWinSeparator"}, + NoiceCmdlineIcon = {fg = "#7BA2F7"}, + NoiceCmdlinePopupBorder = {link = "NoiceCmdlineIcon"}, + NoiceCmdlinePopupTitle = {link = "NoiceCmdlineIcon"}, + NoiceConfirmBorder = {link = "NoiceCmdlineIcon"}, + NoiceCompletionItemKindDefault = {fg = "#7592EA"}, + NonText = {fg = "#535570"}, + EndOfBuffer = {link = "NonText"}, + Whitespace = {link = "NonText"}, + NormalFloat = {bg = "#2C2D3D"}, + SnacksPickerBorder = {link = "NormalFloat"}, + Number = {fg = "#2BC4DE"}, + Float = {link = "Number"}, + ["@number"] = {link = "Number"}, + NvimTreeCursorLine = {bg = "#242532"}, + NvimTreeCursorColumn = {link = "NvimTreeCursorLine"}, + NvimTreeNormal = {fg = "#C0CAF5", bg = "#20212D"}, + NnnNormal = {link = "NvimTreeNormal"}, + NvimTreeRootFolder = {fg = "#7BA2F7", bold = true}, + NvimTreeSpecialFile = {fg = "#BB9BF7", underline = true}, + NvimTreeSymlink = {fg = "#7BA2F7"}, + NvimTreeWinSeparator = {fg = "bg"}, + NnnWinSeparator = {link = "NvimTreeWinSeparator"}, + Pmenu = {bg = "#2C2D3D"}, + PmenuSbar = {bg = "#585A76"}, + PmenuSel = {bg = "#43455B"}, + PmenuThumb = {bg = "#80829B"}, + PreProc = {fg = "#BB9BF7"}, + ["@attribute"] = {link = "PreProc"}, + ["@function.macro"] = {link = "PreProc"}, + ["@keyword.directive"] = {link = "PreProc"}, + ["@keyword.import"] = {link = "PreProc"}, + ["@markup.environment"] = {link = "PreProc"}, + RenderMarkdownCode = {bg = "#222330"}, + Search = {fg = "#C0CAF5", bg = "#6E20BD"}, + CocSearch = {link = "Search"}, + MatchParen = {link = "Search"}, + QuickFixLine = {link = "Search"}, + Sneak = {link = "Search"}, + SnacksIndent = {fg = "#282935"}, + SnacksIndentScope = {fg = "#444657"}, + SnacksPickerMatch = {fg = "#BB9BF7", bold = true}, + SneakLabelMask = {fg = "#BB9BF7", bg = "#BB9BF7"}, + Special = {fg = "#7BA2F7"}, + WhichKeyGroup = {link = "Special"}, + ["@character.special"] = {link = "Special"}, + ["@constructor"] = {link = "Special"}, + ["@function.builtin"] = {link = "Special"}, + ["@keyword.debug"] = {link = "Special"}, + ["@markup.link.label"] = {link = "Special"}, + ["@markup.list"] = {link = "Special"}, + ["@markup.math"] = {link = "Special"}, + ["@punctuation.special.markdown"] = {link = "Special"}, + ["@string.escape"] = {link = "Special"}, + ["@string.special"] = {link = "Special"}, + ["@tag"] = {link = "Special"}, + SpecialComment = {fg = "#65677D"}, + markdownUrl = {link = "SpecialComment"}, + ["@markup.link.url.markdown"] = {link = "SpecialComment"}, + SpecialKey = {fg = "#535570", italic = true}, + ["@string.escape.markdown"] = {link = "SpecialKey"}, + SpellBad = {fg = "#E18695", undercurl = true}, + CocSelectedText = {link = "SpellBad"}, + SpellCap = {fg = "#E18695", undercurl = true}, + SpellLocal = {link = "SpellCap"}, + SpellRare = {fg = "#E18695", undercurl = true}, + Statement = {fg = "#BB9BF7", bold = true}, + FzfLuaBufName = {link = "Statement"}, + WhichKey = {link = "Statement"}, + ["@keyword.conditional"] = {link = "Statement"}, + ["@keyword.coroutine"] = {link = "Statement"}, + ["@keyword.exception"] = {link = "Statement"}, + ["@keyword.function"] = {link = "Statement"}, + ["@keyword.operator"] = {link = "Statement"}, + ["@keyword.repeat"] = {link = "Statement"}, + ["@keyword.return"] = {link = "Statement"}, + ["@label"] = {link = "Statement"}, + ["@lsp.type.keyword"] = {link = "Statement"}, + ["@lsp.typemod.keyword.injected"] = {link = "Statement"}, + ["@markup.title.markdown"] = {link = "Statement"}, + ["@operator"] = {link = "Statement"}, + StatusLine = {fg = "#C0CAF5", bg = "#303142"}, + TabLine = {link = "StatusLine"}, + WinBar = {link = "StatusLine"}, + StatusLineNC = {fg = "#D2D9F8", bg = "#242532"}, + TabLineFill = {link = "StatusLineNC"}, + WinBarNC = {link = "StatusLineNC"}, + String = {fg = "#7592EA", italic = true}, + ["@string"] = {link = "String"}, + TSConstBuiltin = {fg = "#74DBCB"}, + TSConstant = {fg = "#FF9E64"}, + TSKeyword = {fg = "#BB9BF7", italic = true}, + TabLineSel = {bold = true}, + BufferCurrent = {link = "TabLineSel"}, + TelescopeBorder = {fg = "#767892"}, + TelescopeMatching = {fg = "#BB9BF7", bold = true}, + TelescopeSelectionCaret = {fg = "#F77890", bg = "#222330"}, + Title = {fg = "#C0CAF5", bold = true}, + FzfLuaTitle = {link = "Title"}, + ["@markup.heading"] = {link = "Title"}, + Todo = {bold = true, underline = true}, + ["@comment.todo"] = {link = "Todo"}, + Type = {fg = "#9394AA"}, + BlinkCmpLabelDescription = {link = "Type"}, + BlinkCmpLabelDetail = {link = "Type"}, + BlinkCmpSource = {link = "Type"}, + helpSpecial = {link = "Type"}, + markdownCode = {link = "Type"}, + ["@keyword.storage"] = {link = "Type"}, + ["@markup.raw.markdown"] = {link = "Type"}, + ["@type"] = {link = "Type"}, + ["@variable.parameter.vimdoc"] = {link = "Type"}, + Underlined = {underline = true}, + ["@markup.underline"] = {link = "Underlined"}, + Visual = {bg = "#2C4075"}, + WarningMsg = {fg = "#E1B068"}, + DiagnosticWarn = {link = "WarningMsg"}, + NoiceCmdlineIconSearch = {link = "WarningMsg"}, + NoiceCmdlinePopupBorderSearch = {link = "WarningMsg"}, + gitcommitOverflow = {link = "WarningMsg"}, + ["@comment.warning"] = {link = "WarningMsg"}, + WhichKeySeparator = {fg = "#5F617E"}, + WildMenu = {fg = "#1A1B26", bg = "#BB9BF7"}, + SneakLabel = {link = "WildMenu"}, + WinSeparator = {fg = "#5F617E", bg = "NONE"}, + VertSplit = {link = "WinSeparator"}, + NvimTreeGitNew = {link = "diffAdded"}, + NvimTreeGitDirty = {link = "diffChanged"}, + diffFile = {fg = "#E1B068", bold = true}, + diffIndexLine = {fg = "#E1B068"}, + diffLine = {fg = "#BB9BF7", bold = true}, + diffNewFile = {fg = "#74DBCB", italic = true}, + diffOldFile = {fg = "#F77890", italic = true}, + NvimTreeGitDeleted = {link = "diffRemoved"}, + helpHyperTextEntry = {fg = "#9394AA", bold = true}, + helpHyperTextJump = {fg = "#98ABEF", underline = true}, + lCursor = {fg = "#1A1B26", bg = "#5C82E6"}, + TermCursorNC = {link = "lCursor"}, + markdownLinkText = {fg = "#98ABEF", underline = true}, + ["@lsp.type.decorator"] = {link = "@attribute"}, + ["@lsp.type.deriveHelper"] = {link = "@attribute"}, + ["@lsp.type.boolean"] = {link = "@boolean"}, + ["@comment.documentation"] = {link = "@comment"}, + ["@lsp.type.comment"] = {link = "@comment"}, + ["@constant"] = {fg = "#98ABEF", bold = true}, + ["@lsp.typemod.enumMember.defaultLibrary"] = {link = "@constant.builtin"}, + ["@lsp.type.enumMember"] = {link = "@constant"}, + ["@lsp.typemod.variable.static"] = {link = "@constant"}, + ["@lsp.typemod.function.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.macro.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.method.defaultLibrary"] = {link = "@function.builtin"}, + ["@function.call"] = {link = "@function"}, + ["@function.method"] = {link = "@function"}, + ["@function.method.call"] = {link = "@function"}, + ["@lsp.typemod.variable.callable"] = {link = "@function"}, + ["@keyword.conditional.ternary"] = {link = "@keyword.conditional"}, + ["@lsp.typemod.keyword.async"] = {link = "@keyword.coroutine"}, + ["@keyword.directive.define"] = {link = "@keyword.directive"}, + ["@lsp.type.lifetime"] = {link = "@keyword.storage"}, + ["@label.vimdoc"] = {fg = "#9394AA", bold = true}, + ["@lsp.type.unresolvedReference"] = {sp = "#F77890", undercurl = true}, + ["@lsp.type.variable"] = {}, + ["@markup.link.markdown"] = {fg = "#98ABEF", underline = true}, + ["@markup.link.vimdoc"] = {fg = "#98ABEF", underline = true}, + ["@lsp.type.formatSpecifier"] = {link = "@markup.list"}, + ["@markup.list.checked"] = {link = "@markup.list"}, + ["@markup.list.unchecked"] = {link = "@markup.list"}, + ["@markup.quote"] = {fg = "#7592EA"}, + ["@markup.raw.block.vimdoc"] = {fg = "NONE"}, + ["@markup.raw.block"] = {link = "@markup.raw"}, + ["@markup.strikethrough"] = {strikethrough = true}, + ["@lsp.type.namespace"] = {link = "@module"}, + ["@module.builtin"] = {link = "@module"}, + ["@none"] = {}, + ["@lsp.type.number"] = {link = "@number"}, + ["@number.float"] = {link = "@number"}, + ["@lsp.type.operator"] = {link = "@operator"}, + ["@lsp.typemod.operator.injected"] = {link = "@operator"}, + ["@lsp.type.property"] = {link = "@property"}, + ["@tag.attribute"] = {link = "@property"}, + ["@lsp.type.escapeSequence"] = {link = "@string.escape"}, + ["@string.special.path"] = {link = "@string.special"}, + ["@string.special.url"] = {link = "@string.special"}, + ["@lsp.type.string"] = {link = "@string"}, + ["@lsp.typemod.string.injected"] = {link = "@string"}, + ["@string.documentation"] = {link = "@string"}, + ["@lsp.type.builtinType"] = {link = "@type.builtin"}, + ["@lsp.typemod.class.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.enum.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.struct.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.type.typeAlias"] = {link = "@type.definition"}, + ["@lsp.type.enum"] = {link = "@type"}, + ["@lsp.type.interface"] = {link = "@type"}, + ["@lsp.typemod.type.defaultLibrary"] = {link = "@type"}, + ["@lsp.typemod.typeAlias.defaultLibrary"] = {link = "@type"}, + ["@type.builtin"] = {link = "@type"}, + ["@type.definition"] = {link = "@type"}, + ["@type.qualifier"] = {link = "@type"}, + ["@lsp.type.selfKeyword"] = {link = "@variable.builtin"}, + ["@lsp.type.selfTypeKeyword"] = {link = "@variable.builtin"}, + ["@lsp.typemod.variable.defaultLibrary"] = {link = "@variable.builtin"}, + ["@lsp.type.parameter"] = {link = "@variable.parameter"}, + ["@lsp.type.generic"] = {link = "@variable"}, + ["@lsp.typemod.variable.injected"] = {link = "@variable"}, + ["@variable.member"] = {link = "@variable"}, + ["@variable.parameter"] = {link = "@variable"}, + -- dark end +} + +local colors_light = { + -- light start + -- This codeblock is auto-generated by shipwright.nvim + Normal = {fg = "#333A57", bg = "#D6D7DC"}, + ModeMsg = {link = "Normal"}, + BlinkCmpKind = {fg = "#5B6694"}, + BlinkCmpLabelMatch = {fg = "#5A4A79", bold = true}, + Bold = {bold = true}, + ["@markup.strong"] = {link = "Bold"}, + Boolean = {fg = "#333A57", italic = true}, + ["@boolean"] = {link = "Boolean"}, + BufferVisible = {fg = "#5F6B9B"}, + BufferVisibleIndex = {fg = "#5F6B9B"}, + BufferVisibleSign = {fg = "#5F6B9B"}, + CmpItemAbbr = {fg = "#4A537A"}, + CmpItemAbbrDeprecated = {fg = "#7D87B4"}, + CmpItemAbbrMatch = {fg = "#333A57", bold = true}, + CmpItemAbbrMatchFuzzy = {fg = "#434C70", bold = true}, + CmpItemKind = {fg = "#5B6694"}, + CmpItemMenu = {fg = "#6370A2"}, + CocMarkdownLink = {fg = "#176775", underline = true}, + ColorColumn = {bg = "#DBAD85"}, + LspReferenceRead = {link = "ColorColumn"}, + LspReferenceText = {link = "ColorColumn"}, + LspReferenceWrite = {link = "ColorColumn"}, + Comment = {fg = "#7C7E89", italic = true}, + ["@comment"] = {link = "Comment"}, + Conceal = {fg = "#6370A2", bold = true, italic = true}, + Constant = {fg = "#5B6694", italic = true}, + Character = {link = "Constant"}, + TroubleSource = {link = "Constant"}, + WhichKeyValue = {link = "Constant"}, + helpOption = {link = "Constant"}, + ["@character"] = {link = "Constant"}, + ["@constant.builtin"] = {link = "Constant"}, + ["@constant.macro"] = {link = "Constant"}, + ["@markup.link"] = {link = "Constant"}, + ["@markup.link.url"] = {link = "Constant"}, + ["@markup.raw"] = {link = "Constant"}, + ["@module"] = {link = "Constant"}, + ["@string.regexp"] = {link = "Constant"}, + ["@variable.builtin"] = {link = "Constant"}, + Cursor = {fg = "#D6D7DC", bg = "#333A57"}, + TermCursor = {link = "Cursor"}, + CursorLine = {bg = "#CDCED4"}, + CocMenuSel = {link = "CursorLine"}, + CursorColumn = {link = "CursorLine"}, + FzfLuaFzfCursorLine = {link = "CursorLine"}, + NeogitDiffContextHighlight = {link = "CursorLine"}, + SnacksPickerListCursorLine = {link = "CursorLine"}, + SnacksPickerPreviewCursorLine = {link = "CursorLine"}, + TelescopeSelection = {link = "CursorLine"}, + CursorLineNr = {fg = "#333A57", bg = "NONE", bold = true}, + Delimiter = {fg = "#737686"}, + markdownLinkTextDelimiter = {link = "Delimiter"}, + ["@constructor.lua"] = {link = "Delimiter"}, + ["@punctuation.bracket"] = {link = "Delimiter"}, + ["@punctuation.delimiter"] = {link = "Delimiter"}, + ["@punctuation.special"] = {link = "Delimiter"}, + ["@tag.delimiter"] = {link = "Delimiter"}, + NeogitNotificationError = {link = "DiagnosticError"}, + NotifyERRORIcon = {link = "DiagnosticError"}, + NotifyERRORTitle = {link = "DiagnosticError"}, + DiagnosticHint = {fg = "#5A4A79"}, + NotifyDEBUGIcon = {link = "DiagnosticHint"}, + NotifyDEBUGTitle = {link = "DiagnosticHint"}, + NotifyTRACEIcon = {link = "DiagnosticHint"}, + NotifyTRACETitle = {link = "DiagnosticHint"}, + DiagnosticInfo = {fg = "#34548C"}, + NeogitNotificationInfo = {link = "DiagnosticInfo"}, + NotifyINFOIcon = {link = "DiagnosticInfo"}, + NotifyINFOTitle = {link = "DiagnosticInfo"}, + ["@comment.note"] = {link = "DiagnosticInfo"}, + DiagnosticOk = {fg = "#34645D"}, + DiagnosticSignError = {fg = "#8B4351", bg = "NONE"}, + CocErrorSign = {link = "DiagnosticSignError"}, + DiagnosticSignHint = {fg = "#5A4A79", bg = "NONE"}, + CocHintSign = {link = "DiagnosticSignHint"}, + DiagnosticSignInfo = {fg = "#34548C", bg = "NONE"}, + CocInfoSign = {link = "DiagnosticSignInfo"}, + DiagnosticSignOk = {fg = "#34645D", bg = "NONE"}, + DiagnosticSignWarn = {fg = "#8F5E14", bg = "NONE"}, + CocWarningSign = {link = "DiagnosticSignWarn"}, + DiagnosticUnderlineError = {fg = "NONE", sp = "#8B4351", undercurl = true}, + CocErrorHighlight = {link = "DiagnosticUnderlineError"}, + DiagnosticUnderlineHint = {fg = "NONE", sp = "#5A4A79", undercurl = true}, + CocHintHighlight = {link = "DiagnosticUnderlineHint"}, + DiagnosticUnderlineInfo = {fg = "NONE", sp = "#34548C", undercurl = true}, + CocInfoHighlight = {link = "DiagnosticUnderlineInfo"}, + DiagnosticUnderlineOk = {fg = "NONE", sp = "#34645D", undercurl = true}, + DiagnosticUnderlineWarn = {fg = "NONE", sp = "#8F5E14", undercurl = true}, + CocWarningHighlight = {link = "DiagnosticUnderlineWarn"}, + DiagnosticVirtualTextError = {fg = "#8B4351", bg = "#E3C5C9"}, + CocErrorVirtualText = {link = "DiagnosticVirtualTextError"}, + DiagnosticVirtualTextHint = {fg = "#5A4A79", bg = "#D0C8E2"}, + DiagnosticVirtualTextInfo = {fg = "#34548C", bg = "#C4CCE2"}, + DiagnosticVirtualTextOk = {fg = "#34645D", bg = "#9FD7CD"}, + DiagnosticVirtualTextWarn = {fg = "#8F5E14", bg = "#E4C6B0"}, + CocWarningVirtualText = {link = "DiagnosticVirtualTextWarn"}, + DiagnosticDeprecated = {link = "DiagnosticWarn"}, + DiagnosticUnnecessary = {link = "DiagnosticWarn"}, + NeogitNotificationWarning = {link = "DiagnosticWarn"}, + NotifyWARNIcon = {link = "DiagnosticWarn"}, + NotifyWARNTitle = {link = "DiagnosticWarn"}, + DiffAdd = {bg = "#A9CEC7"}, + NeogitDiffAddHighlight = {link = "DiffAdd"}, + diffAdded = {link = "DiffAdd"}, + ["@diff.plus"] = {link = "DiffAdd"}, + DiffChange = {bg = "#C0C6D8"}, + diffChanged = {link = "DiffChange"}, + ["@diff.delta"] = {link = "DiffChange"}, + DiffDelete = {bg = "#DFBEC3"}, + NeogitDiffDeleteHighlight = {link = "DiffDelete"}, + diffRemoved = {link = "DiffDelete"}, + ["@diff.minus"] = {link = "DiffDelete"}, + DiffText = {fg = "#333A57", bg = "#9BA6C2"}, + Directory = {bold = true}, + Error = {fg = "#8B4351"}, + DiagnosticError = {link = "Error"}, + ErrorMsg = {link = "Error"}, + MasonError = {link = "Error"}, + ["@comment.error"] = {link = "Error"}, + FlashBackdrop = {fg = "#7C7E89"}, + FlashLabel = {fg = "#333A57", bg = "#95ADE8"}, + FloatBorder = {fg = "#626573", bg = "NONE"}, + FloatTitle = {fg = "#333A57", bg = "#C2C3CB", bold = true}, + FoldColumn = {fg = "#888B99", bg = "NONE", bold = true}, + Folded = {fg = "#464953", bg = "#AEB0BA"}, + Function = {fg = "#333A57"}, + TroubleNormal = {link = "Function"}, + TroubleText = {link = "Function"}, + ["@function"] = {link = "Function"}, + FzfLuaBufFlagAlt = {fg = "#34548C"}, + FzfLuaBufFlagCur = {fg = "#8F5E14"}, + FzfLuaBufNr = {fg = "#34645D"}, + FzfLuaFzfMatch = {fg = "#5A4A79", bold = true}, + FzfLuaHeaderBind = {fg = "#34645D"}, + FzfLuaHeaderText = {fg = "#8F5E14"}, + FzfLuaLiveSym = {fg = "#8F5E14"}, + FzfLuaPathColNr = {fg = "#484F6B", bold = true}, + FzfLuaPathLineNr = {link = "FzfLuaPathColNr"}, + FzfLuaTabMarker = {fg = "#34645D"}, + FzfLuaTabTitle = {fg = "#176775"}, + GitSignsAdd = {fg = "#34645D", bg = "NONE"}, + GitGutterAdd = {link = "GitSignsAdd"}, + GitSignsChange = {fg = "#34548C", bg = "NONE"}, + GitGutterChange = {link = "GitSignsChange"}, + GitSignsDelete = {fg = "#8B4351", bg = "NONE"}, + GitGutterDelete = {link = "GitSignsDelete"}, + HopNextKey = {fg = "#5A4A79", bold = true, underline = true}, + HopNextKey1 = {fg = "#176775", bold = true, underline = true}, + HopNextKey2 = {fg = "#34548C"}, + HopUnmatched = {fg = "#7C7E89"}, + IblIndent = {fg = "#C8C9CE"}, + IndentLine = {link = "IblIndent"}, + IblScope = {fg = "#A1A3AC"}, + IndentLineCurrent = {link = "IblScope"}, + Identifier = {fg = "#4A537A"}, + ["@property"] = {link = "Identifier"}, + ["@string.special.symbol"] = {link = "Identifier"}, + ["@variable"] = {link = "Identifier"}, + IncSearch = {fg = "#D6D7DC", bg = "#8271A4", bold = true}, + CurSearch = {link = "IncSearch"}, + Italic = {italic = true}, + ["@markup.italic"] = {link = "Italic"}, + ["@markup.italic.markdown"] = {link = "Italic"}, + LineNr = {fg = "#888B99", bg = "NONE"}, + CocCodeLens = {link = "LineNr"}, + LspCodeLens = {link = "LineNr"}, + NeogitHunkHeader = {link = "LineNr"}, + SignColumn = {link = "LineNr"}, + LspInlayHint = {fg = "#7C839D", bg = "#D0D1D7"}, + MasonHeader = {fg = "#D6D7DC", bg = "#8F5E14", bold = true}, + MasonHighlight = {fg = "#34548C"}, + MasonHighlightBlock = {fg = "#D6D7DC", bg = "#34548C"}, + MasonHighlightBlockBold = {fg = "#D6D7DC", bg = "#34548C", bold = true}, + MasonHighlightBlockBoldSecondary = {fg = "#D6D7DC", bg = "#8F5E14", bold = true}, + MasonHighlightBlockSecondary = {fg = "#D6D7DC", bg = "#8F5E14"}, + MasonHighlightSecondary = {fg = "#8F5E14"}, + MasonMuted = {fg = "#5B6694"}, + MasonMutedBlock = {fg = "#D6D7DC", bg = "#5B6694"}, + MasonMutedBlockBold = {fg = "#D6D7DC", bg = "#5B6694", bold = true}, + MoreMsg = {fg = "#34645D", bold = true}, + Question = {link = "MoreMsg"}, + NeogitHunkHeaderHighlight = {fg = "#333A57", bg = "#CDCED4", bold = true}, + NnnNormalNC = {link = "NnnNormal"}, + NnnVertSplit = {link = "NnnWinSeparator"}, + NoiceCmdlineIcon = {fg = "#34548C"}, + NoiceCmdlinePopupBorder = {link = "NoiceCmdlineIcon"}, + NoiceCmdlinePopupTitle = {link = "NoiceCmdlineIcon"}, + NoiceConfirmBorder = {link = "NoiceCmdlineIcon"}, + NoiceCompletionItemKindDefault = {fg = "#5B6694"}, + NonText = {fg = "#9B9DA9"}, + EndOfBuffer = {link = "NonText"}, + Whitespace = {link = "NonText"}, + NormalFloat = {bg = "#C2C3CB"}, + SnacksPickerBorder = {link = "NormalFloat"}, + Number = {fg = "#176775"}, + Float = {link = "Number"}, + ["@number"] = {link = "Number"}, + NvimTreeCursorLine = {bg = "#C8C9CF"}, + NvimTreeCursorColumn = {link = "NvimTreeCursorLine"}, + NvimTreeNormal = {fg = "#333A57", bg = "#CDCED4"}, + NnnNormal = {link = "NvimTreeNormal"}, + NvimTreeRootFolder = {fg = "#34548C", bold = true}, + NvimTreeSpecialFile = {fg = "#5A4A79", underline = true}, + NvimTreeSymlink = {fg = "#34548C"}, + NvimTreeWinSeparator = {fg = "bg"}, + NnnWinSeparator = {link = "NvimTreeWinSeparator"}, + Pmenu = {bg = "#BCBEC6"}, + PmenuSbar = {bg = "#9395A2"}, + PmenuSel = {bg = "#A6A8B3"}, + PmenuThumb = {bg = "#EDEEF0"}, + PreProc = {fg = "#5A4A79"}, + ["@attribute"] = {link = "PreProc"}, + ["@function.macro"] = {link = "PreProc"}, + ["@keyword.directive"] = {link = "PreProc"}, + ["@keyword.import"] = {link = "PreProc"}, + ["@markup.environment"] = {link = "PreProc"}, + RenderMarkdownCode = {bg = "#D0D1D7"}, + Search = {fg = "#333A57", bg = "#B3A9C9"}, + CocSearch = {link = "Search"}, + MatchParen = {link = "Search"}, + QuickFixLine = {link = "Search"}, + Sneak = {link = "Search"}, + SnacksIndent = {fg = "#C8C9CE"}, + SnacksIndentScope = {fg = "#A1A3AC"}, + SnacksPickerMatch = {fg = "#5A4A79", bold = true}, + SneakLabelMask = {fg = "#5A4A79", bg = "#5A4A79"}, + Special = {fg = "#34548C"}, + WhichKeyGroup = {link = "Special"}, + ["@character.special"] = {link = "Special"}, + ["@constructor"] = {link = "Special"}, + ["@function.builtin"] = {link = "Special"}, + ["@keyword.debug"] = {link = "Special"}, + ["@markup.link.label"] = {link = "Special"}, + ["@markup.list"] = {link = "Special"}, + ["@markup.math"] = {link = "Special"}, + ["@punctuation.special.markdown"] = {link = "Special"}, + ["@string.escape"] = {link = "Special"}, + ["@string.special"] = {link = "Special"}, + ["@tag"] = {link = "Special"}, + SpecialComment = {fg = "#7C7E89"}, + markdownUrl = {link = "SpecialComment"}, + ["@markup.link.url.markdown"] = {link = "SpecialComment"}, + SpecialKey = {fg = "#9B9DA9", italic = true}, + ["@string.escape.markdown"] = {link = "SpecialKey"}, + SpellBad = {fg = "#7F4A54", sp = "#8B4351", undercurl = true}, + CocSelectedText = {link = "SpellBad"}, + SpellCap = {fg = "#7F4A54", sp = "#A04E5F", undercurl = true}, + SpellLocal = {link = "SpellCap"}, + SpellRare = {fg = "#7F4A54", sp = "#8F5E14", undercurl = true}, + Statement = {fg = "#5A4A79", bold = true}, + FzfLuaBufName = {link = "Statement"}, + WhichKey = {link = "Statement"}, + ["@keyword.conditional"] = {link = "Statement"}, + ["@keyword.coroutine"] = {link = "Statement"}, + ["@keyword.exception"] = {link = "Statement"}, + ["@keyword.function"] = {link = "Statement"}, + ["@keyword.operator"] = {link = "Statement"}, + ["@keyword.repeat"] = {link = "Statement"}, + ["@keyword.return"] = {link = "Statement"}, + ["@label"] = {link = "Statement"}, + ["@lsp.type.keyword"] = {link = "Statement"}, + ["@lsp.typemod.keyword.injected"] = {link = "Statement"}, + ["@markup.title.markdown"] = {link = "Statement"}, + ["@operator"] = {link = "Statement"}, + StatusLine = {fg = "#333A57", bg = "#B9BBC3"}, + TabLine = {link = "StatusLine"}, + WinBar = {link = "StatusLine"}, + StatusLineNC = {fg = "#5F6B9B", bg = "#C8C9CF"}, + TabLineFill = {link = "StatusLineNC"}, + WinBarNC = {link = "StatusLineNC"}, + String = {fg = "#5B6694", italic = true}, + ["@string"] = {link = "String"}, + TSConstBuiltin = {fg = "#34645D"}, + TSConstant = {fg = "#965127"}, + TSKeyword = {fg = "#5A4A79", italic = true}, + TabLineSel = {bold = true}, + BufferCurrent = {link = "TabLineSel"}, + TelescopeBorder = {fg = "#626573"}, + TelescopeMatching = {fg = "#5A4A79", bold = true}, + TelescopeSelectionCaret = {fg = "#8B4351", bg = "#CDCED4"}, + Title = {fg = "#333A57", bold = true}, + FzfLuaTitle = {link = "Title"}, + ["@markup.heading"] = {link = "Title"}, + Todo = {bold = true, underline = true}, + ["@comment.todo"] = {link = "Todo"}, + Type = {fg = "#484F6B"}, + BlinkCmpLabelDescription = {link = "Type"}, + BlinkCmpLabelDetail = {link = "Type"}, + BlinkCmpSource = {link = "Type"}, + helpSpecial = {link = "Type"}, + markdownCode = {link = "Type"}, + ["@keyword.storage"] = {link = "Type"}, + ["@markup.raw.markdown"] = {link = "Type"}, + ["@type"] = {link = "Type"}, + ["@variable.parameter.vimdoc"] = {link = "Type"}, + Underlined = {underline = true}, + ["@markup.underline"] = {link = "Underlined"}, + Visual = {bg = "#BBC0D8"}, + WarningMsg = {fg = "#8F5E14"}, + DiagnosticWarn = {link = "WarningMsg"}, + NoiceCmdlineIconSearch = {link = "WarningMsg"}, + NoiceCmdlinePopupBorderSearch = {link = "WarningMsg"}, + gitcommitOverflow = {link = "WarningMsg"}, + ["@comment.warning"] = {link = "WarningMsg"}, + WhichKeySeparator = {fg = "#888B99"}, + WildMenu = {fg = "#D6D7DC", bg = "#5A4A79"}, + SneakLabel = {link = "WildMenu"}, + WinSeparator = {fg = "#888B99", bg = "NONE"}, + VertSplit = {link = "WinSeparator"}, + NvimTreeGitNew = {link = "diffAdded"}, + NvimTreeGitDirty = {link = "diffChanged"}, + diffFile = {fg = "#8F5E14", bold = true}, + diffIndexLine = {fg = "#8F5E14"}, + diffLine = {fg = "#5A4A79", bold = true}, + diffNewFile = {fg = "#34645D", italic = true}, + diffOldFile = {fg = "#8B4351", italic = true}, + NvimTreeGitDeleted = {link = "diffRemoved"}, + helpHyperTextEntry = {fg = "#484F6B", bold = true}, + helpHyperTextJump = {fg = "#4A537A", underline = true}, + lCursor = {fg = "#D6D7DC", bg = "#525C87"}, + TermCursorNC = {link = "lCursor"}, + markdownLinkText = {fg = "#4A537A", underline = true}, + ["@lsp.type.decorator"] = {link = "@attribute"}, + ["@lsp.type.deriveHelper"] = {link = "@attribute"}, + ["@lsp.type.boolean"] = {link = "@boolean"}, + ["@comment.documentation"] = {link = "@comment"}, + ["@lsp.type.comment"] = {link = "@comment"}, + ["@constant"] = {fg = "#4A537A", bold = true}, + ["@lsp.typemod.enumMember.defaultLibrary"] = {link = "@constant.builtin"}, + ["@lsp.type.enumMember"] = {link = "@constant"}, + ["@lsp.typemod.variable.static"] = {link = "@constant"}, + ["@lsp.typemod.function.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.macro.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.method.defaultLibrary"] = {link = "@function.builtin"}, + ["@function.call"] = {link = "@function"}, + ["@function.method"] = {link = "@function"}, + ["@function.method.call"] = {link = "@function"}, + ["@lsp.typemod.variable.callable"] = {link = "@function"}, + ["@keyword.conditional.ternary"] = {link = "@keyword.conditional"}, + ["@lsp.typemod.keyword.async"] = {link = "@keyword.coroutine"}, + ["@keyword.directive.define"] = {link = "@keyword.directive"}, + ["@lsp.type.lifetime"] = {link = "@keyword.storage"}, + ["@label.vimdoc"] = {fg = "#484F6B", bold = true}, + ["@lsp.type.unresolvedReference"] = {sp = "#8B4351", undercurl = true}, + ["@lsp.type.variable"] = {}, + ["@markup.link.markdown"] = {fg = "#4A537A", underline = true}, + ["@markup.link.vimdoc"] = {fg = "#4A537A", underline = true}, + ["@lsp.type.formatSpecifier"] = {link = "@markup.list"}, + ["@markup.list.checked"] = {link = "@markup.list"}, + ["@markup.list.unchecked"] = {link = "@markup.list"}, + ["@markup.quote"] = {fg = "#5B6694"}, + ["@markup.raw.block.vimdoc"] = {fg = "NONE"}, + ["@markup.raw.block"] = {link = "@markup.raw"}, + ["@markup.strikethrough"] = {strikethrough = true}, + ["@lsp.type.namespace"] = {link = "@module"}, + ["@module.builtin"] = {link = "@module"}, + ["@none"] = {}, + ["@lsp.type.number"] = {link = "@number"}, + ["@number.float"] = {link = "@number"}, + ["@lsp.type.operator"] = {link = "@operator"}, + ["@lsp.typemod.operator.injected"] = {link = "@operator"}, + ["@lsp.type.property"] = {link = "@property"}, + ["@tag.attribute"] = {link = "@property"}, + ["@lsp.type.escapeSequence"] = {link = "@string.escape"}, + ["@string.special.path"] = {link = "@string.special"}, + ["@string.special.url"] = {link = "@string.special"}, + ["@lsp.type.string"] = {link = "@string"}, + ["@lsp.typemod.string.injected"] = {link = "@string"}, + ["@string.documentation"] = {link = "@string"}, + ["@lsp.type.builtinType"] = {link = "@type.builtin"}, + ["@lsp.typemod.class.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.enum.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.struct.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.type.typeAlias"] = {link = "@type.definition"}, + ["@lsp.type.enum"] = {link = "@type"}, + ["@lsp.type.interface"] = {link = "@type"}, + ["@lsp.typemod.type.defaultLibrary"] = {link = "@type"}, + ["@lsp.typemod.typeAlias.defaultLibrary"] = {link = "@type"}, + ["@type.builtin"] = {link = "@type"}, + ["@type.definition"] = {link = "@type"}, + ["@type.qualifier"] = {link = "@type"}, + ["@lsp.type.selfKeyword"] = {link = "@variable.builtin"}, + ["@lsp.type.selfTypeKeyword"] = {link = "@variable.builtin"}, + ["@lsp.typemod.variable.defaultLibrary"] = {link = "@variable.builtin"}, + ["@lsp.type.parameter"] = {link = "@variable.parameter"}, + ["@lsp.type.generic"] = {link = "@variable"}, + ["@lsp.typemod.variable.injected"] = {link = "@variable"}, + ["@variable.member"] = {link = "@variable"}, + ["@variable.parameter"] = {link = "@variable"}, + -- light end +} + +function term_dark() + -- dark term start + -- This codeblock is auto-generated by shipwright.nvim + vim.g.terminal_color_0 = '#1A1B26' + vim.g.terminal_color_1 = '#F77890' + vim.g.terminal_color_2 = '#74DBCB' + vim.g.terminal_color_3 = '#E1B068' + vim.g.terminal_color_4 = '#7BA2F7' + vim.g.terminal_color_5 = '#BB9BF7' + vim.g.terminal_color_6 = '#2BC4DE' + vim.g.terminal_color_7 = '#C0CAF5' + vim.g.terminal_color_8 = '#36384D' + vim.g.terminal_color_9 = '#F98EA0' + vim.g.terminal_color_10 = '#6DE5D3' + vim.g.terminal_color_11 = '#F2BA64' + vim.g.terminal_color_12 = '#90AFFA' + vim.g.terminal_color_13 = '#C6ACFA' + vim.g.terminal_color_14 = '#74DBCB' + vim.g.terminal_color_15 = '#7E98EB' + -- dark term end +end + +function term_light() + -- light term start + -- This codeblock is auto-generated by shipwright.nvim + vim.g.terminal_color_0 = '#D6D7DC' + vim.g.terminal_color_1 = '#8B4351' + vim.g.terminal_color_2 = '#34645D' + vim.g.terminal_color_3 = '#8F5E14' + vim.g.terminal_color_4 = '#34548C' + vim.g.terminal_color_5 = '#5A4A79' + vim.g.terminal_color_6 = '#176775' + vim.g.terminal_color_7 = '#333A57' + vim.g.terminal_color_8 = '#ADB0BD' + vim.g.terminal_color_9 = '#7E3242' + vim.g.terminal_color_10 = '#26554F' + vim.g.terminal_color_11 = '#794E0D' + vim.g.terminal_color_12 = '#26467A' + vim.g.terminal_color_13 = '#503875' + vim.g.terminal_color_14 = '#34645D' + vim.g.terminal_color_15 = '#56618D' + -- light term end +end + +if vim.o.background == 'dark' then + for group, attrs in pairs(colors_dark) do + vim.api.nvim_set_hl(0, group, attrs) + end + term_dark() +else + for group, attrs in pairs(colors_light) do + vim.api.nvim_set_hl(0, group, attrs) + end + term_light() +end diff --git a/lua/vimbones/prebuilt.lua b/lua/vimbones/prebuilt.lua new file mode 100644 index 00000000..ba674100 --- /dev/null +++ b/lua/vimbones/prebuilt.lua @@ -0,0 +1,420 @@ +local colors_light = { + -- light start + -- This codeblock is auto-generated by shipwright.nvim + Normal = {fg = "#353535", bg = "#F0F0CA"}, + ModeMsg = {link = "Normal"}, + BlinkCmpKind = {fg = "#636363"}, + BlinkCmpLabelMatch = {fg = "#88507D", bold = true}, + Bold = {bold = true}, + ["@markup.strong"] = {link = "Bold"}, + Boolean = {fg = "#353535", italic = true}, + ["@boolean"] = {link = "Boolean"}, + BufferVisible = {fg = "#686868"}, + BufferVisibleIndex = {fg = "#686868"}, + BufferVisibleSign = {fg = "#686868"}, + CmpItemAbbr = {fg = "#505050"}, + CmpItemAbbrDeprecated = {fg = "#848484"}, + CmpItemAbbrMatch = {fg = "#353535", bold = true}, + CmpItemAbbrMatchFuzzy = {fg = "#494949", bold = true}, + CmpItemKind = {fg = "#636363"}, + CmpItemMenu = {fg = "#6D6D6D"}, + CocMarkdownLink = {fg = "#3B8992", underline = true}, + ColorColumn = {bg = "#E6C5BD"}, + LspReferenceRead = {link = "ColorColumn"}, + LspReferenceText = {link = "ColorColumn"}, + LspReferenceWrite = {link = "ColorColumn"}, + Comment = {fg = "#8C8C7C", italic = true}, + ["@comment"] = {link = "Comment"}, + Conceal = {fg = "#6D6D6D", bold = true, italic = true}, + Constant = {fg = "#636363", italic = true}, + Character = {link = "Constant"}, + TroubleSource = {link = "Constant"}, + WhichKeyValue = {link = "Constant"}, + helpOption = {link = "Constant"}, + ["@character"] = {link = "Constant"}, + ["@constant.builtin"] = {link = "Constant"}, + ["@constant.macro"] = {link = "Constant"}, + ["@markup.link"] = {link = "Constant"}, + ["@markup.link.url"] = {link = "Constant"}, + ["@markup.raw"] = {link = "Constant"}, + ["@module"] = {link = "Constant"}, + ["@string.regexp"] = {link = "Constant"}, + ["@variable.builtin"] = {link = "Constant"}, + Cursor = {fg = "#F0F0CA", bg = "#353535"}, + TermCursor = {link = "Cursor"}, + CursorLine = {bg = "#E7E8C3"}, + CocMenuSel = {link = "CursorLine"}, + CursorColumn = {link = "CursorLine"}, + FzfLuaFzfCursorLine = {link = "CursorLine"}, + NeogitDiffContextHighlight = {link = "CursorLine"}, + SnacksPickerListCursorLine = {link = "CursorLine"}, + SnacksPickerPreviewCursorLine = {link = "CursorLine"}, + TelescopeSelection = {link = "CursorLine"}, + CursorLineNr = {fg = "#353535", bg = "NONE", bold = true}, + Delimiter = {fg = "#85856F"}, + markdownLinkTextDelimiter = {link = "Delimiter"}, + ["@constructor.lua"] = {link = "Delimiter"}, + ["@punctuation.bracket"] = {link = "Delimiter"}, + ["@punctuation.delimiter"] = {link = "Delimiter"}, + ["@punctuation.special"] = {link = "Delimiter"}, + ["@tag.delimiter"] = {link = "Delimiter"}, + NeogitNotificationError = {link = "DiagnosticError"}, + NotifyERRORIcon = {link = "DiagnosticError"}, + NotifyERRORTitle = {link = "DiagnosticError"}, + DiagnosticHint = {fg = "#88507D"}, + NotifyDEBUGIcon = {link = "DiagnosticHint"}, + NotifyDEBUGTitle = {link = "DiagnosticHint"}, + NotifyTRACEIcon = {link = "DiagnosticHint"}, + NotifyTRACETitle = {link = "DiagnosticHint"}, + DiagnosticInfo = {fg = "#286486"}, + NeogitNotificationInfo = {link = "DiagnosticInfo"}, + NotifyINFOIcon = {link = "DiagnosticInfo"}, + NotifyINFOTitle = {link = "DiagnosticInfo"}, + ["@comment.note"] = {link = "DiagnosticInfo"}, + DiagnosticOk = {fg = "#4F6C31"}, + DiagnosticSignError = {fg = "#A8334C", bg = "NONE"}, + CocErrorSign = {link = "DiagnosticSignError"}, + DiagnosticSignHint = {fg = "#88507D", bg = "NONE"}, + CocHintSign = {link = "DiagnosticSignHint"}, + DiagnosticSignInfo = {fg = "#286486", bg = "NONE"}, + CocInfoSign = {link = "DiagnosticSignInfo"}, + DiagnosticSignOk = {fg = "#4F6C31", bg = "NONE"}, + DiagnosticSignWarn = {fg = "#944927", bg = "NONE"}, + CocWarningSign = {link = "DiagnosticSignWarn"}, + DiagnosticUnderlineError = {fg = "NONE", sp = "#A8334C", undercurl = true}, + CocErrorHighlight = {link = "DiagnosticUnderlineError"}, + DiagnosticUnderlineHint = {fg = "NONE", sp = "#88507D", undercurl = true}, + CocHintHighlight = {link = "DiagnosticUnderlineHint"}, + DiagnosticUnderlineInfo = {fg = "NONE", sp = "#286486", undercurl = true}, + CocInfoHighlight = {link = "DiagnosticUnderlineInfo"}, + DiagnosticUnderlineOk = {fg = "NONE", sp = "#4F6C31", undercurl = true}, + DiagnosticUnderlineWarn = {fg = "NONE", sp = "#944927", undercurl = true}, + CocWarningHighlight = {link = "DiagnosticUnderlineWarn"}, + DiagnosticVirtualTextError = {fg = "#A8334C", bg = "#EFDFE0"}, + CocErrorVirtualText = {link = "DiagnosticVirtualTextError"}, + DiagnosticVirtualTextHint = {fg = "#88507D", bg = "#EFDEEB"}, + DiagnosticVirtualTextInfo = {fg = "#286486", bg = "#D9E4EF"}, + DiagnosticVirtualTextOk = {fg = "#4F6C31", bg = "#C9EEAB"}, + DiagnosticVirtualTextWarn = {fg = "#944927", bg = "#EFDFDC"}, + CocWarningVirtualText = {link = "DiagnosticVirtualTextWarn"}, + DiagnosticDeprecated = {link = "DiagnosticWarn"}, + DiagnosticUnnecessary = {link = "DiagnosticWarn"}, + NeogitNotificationWarning = {link = "DiagnosticWarn"}, + NotifyWARNIcon = {link = "DiagnosticWarn"}, + NotifyWARNTitle = {link = "DiagnosticWarn"}, + DiffAdd = {bg = "#CBE5B8"}, + NeogitDiffAddHighlight = {link = "DiffAdd"}, + diffAdded = {link = "DiffAdd"}, + ["@diff.plus"] = {link = "DiffAdd"}, + DiffChange = {bg = "#D4DEE7"}, + diffChanged = {link = "DiffChange"}, + ["@diff.delta"] = {link = "DiffChange"}, + DiffDelete = {bg = "#EBD8DA"}, + NeogitDiffDeleteHighlight = {link = "DiffDelete"}, + diffRemoved = {link = "DiffDelete"}, + ["@diff.minus"] = {link = "DiffDelete"}, + DiffText = {fg = "#353535", bg = "#A9BED1"}, + Directory = {bold = true}, + Error = {fg = "#A8334C"}, + DiagnosticError = {link = "Error"}, + ErrorMsg = {link = "Error"}, + MasonError = {link = "Error"}, + ["@comment.error"] = {link = "Error"}, + FlashBackdrop = {fg = "#8C8C7C"}, + FlashLabel = {fg = "#353535", bg = "#8FCAF6"}, + FloatBorder = {fg = "#71715E", bg = "NONE"}, + FloatTitle = {fg = "#353535", bg = "#D9D9B7", bold = true}, + FoldColumn = {fg = "#9A9A81", bg = "NONE", bold = true}, + Folded = {fg = "#515143", bg = "#C6C6A6"}, + Function = {fg = "#353535"}, + TroubleNormal = {link = "Function"}, + TroubleText = {link = "Function"}, + ["@function"] = {link = "Function"}, + FzfLuaBufFlagAlt = {fg = "#286486"}, + FzfLuaBufFlagCur = {fg = "#944927"}, + FzfLuaBufNr = {fg = "#4F6C31"}, + FzfLuaFzfMatch = {fg = "#88507D", bold = true}, + FzfLuaHeaderBind = {fg = "#4F6C31"}, + FzfLuaHeaderText = {fg = "#944927"}, + FzfLuaLiveSym = {fg = "#944927"}, + FzfLuaPathColNr = {fg = "#5B5B42", bold = true}, + FzfLuaPathLineNr = {link = "FzfLuaPathColNr"}, + FzfLuaTabMarker = {fg = "#4F6C31"}, + FzfLuaTabTitle = {fg = "#3B8992"}, + GitSignsAdd = {fg = "#4F6C31", bg = "NONE"}, + GitGutterAdd = {link = "GitSignsAdd"}, + GitSignsChange = {fg = "#286486", bg = "NONE"}, + GitGutterChange = {link = "GitSignsChange"}, + GitSignsDelete = {fg = "#A8334C", bg = "NONE"}, + GitGutterDelete = {link = "GitSignsDelete"}, + HopNextKey = {fg = "#88507D", bold = true, underline = true}, + HopNextKey1 = {fg = "#3B8992", bold = true, underline = true}, + HopNextKey2 = {fg = "#286486"}, + HopUnmatched = {fg = "#8C8C7C"}, + IblIndent = {fg = "#DFDFC2"}, + IndentLine = {link = "IblIndent"}, + IblScope = {fg = "#B5B59D"}, + IndentLineCurrent = {link = "IblScope"}, + Identifier = {fg = "#505050"}, + ["@property"] = {link = "Identifier"}, + ["@string.special.symbol"] = {link = "Identifier"}, + ["@variable"] = {link = "Identifier"}, + IncSearch = {fg = "#F0F0CA", bg = "#C074B2", bold = true}, + CurSearch = {link = "IncSearch"}, + Italic = {italic = true}, + ["@markup.italic"] = {link = "Italic"}, + ["@markup.italic.markdown"] = {link = "Italic"}, + LineNr = {fg = "#9A9A81", bg = "NONE"}, + CocCodeLens = {link = "LineNr"}, + LspCodeLens = {link = "LineNr"}, + NeogitHunkHeader = {link = "LineNr"}, + SignColumn = {link = "LineNr"}, + LspInlayHint = {fg = "#929274", bg = "#EAEAC6"}, + MasonHeader = {fg = "#F0F0CA", bg = "#944927", bold = true}, + MasonHighlight = {fg = "#286486"}, + MasonHighlightBlock = {fg = "#F0F0CA", bg = "#286486"}, + MasonHighlightBlockBold = {fg = "#F0F0CA", bg = "#286486", bold = true}, + MasonHighlightBlockBoldSecondary = {fg = "#F0F0CA", bg = "#944927", bold = true}, + MasonHighlightBlockSecondary = {fg = "#F0F0CA", bg = "#944927"}, + MasonHighlightSecondary = {fg = "#944927"}, + MasonMuted = {fg = "#636363"}, + MasonMutedBlock = {fg = "#F0F0CA", bg = "#636363"}, + MasonMutedBlockBold = {fg = "#F0F0CA", bg = "#636363", bold = true}, + MoreMsg = {fg = "#4F6C31", bold = true}, + Question = {link = "MoreMsg"}, + NeogitHunkHeaderHighlight = {fg = "#353535", bg = "#E7E8C3", bold = true}, + NnnNormalNC = {link = "NnnNormal"}, + NnnVertSplit = {link = "NnnWinSeparator"}, + NoiceCmdlineIcon = {fg = "#286486"}, + NoiceCmdlinePopupBorder = {link = "NoiceCmdlineIcon"}, + NoiceCmdlinePopupTitle = {link = "NoiceCmdlineIcon"}, + NoiceConfirmBorder = {link = "NoiceCmdlineIcon"}, + NoiceCompletionItemKindDefault = {fg = "#636363"}, + NonText = {fg = "#B0B093"}, + EndOfBuffer = {link = "NonText"}, + Whitespace = {link = "NonText"}, + NormalFloat = {bg = "#D9D9B7"}, + SnacksPickerBorder = {link = "NormalFloat"}, + Number = {fg = "#2A6535", italic = true}, + Float = {link = "Number"}, + ["@number"] = {link = "Number"}, + NvimTreeCursorLine = {bg = "#DFDFBC"}, + NvimTreeCursorColumn = {link = "NvimTreeCursorLine"}, + NvimTreeNormal = {fg = "#353535", bg = "#E7E8C3"}, + NnnNormal = {link = "NvimTreeNormal"}, + NvimTreeRootFolder = {fg = "#286486", bold = true}, + NvimTreeSpecialFile = {fg = "#88507D", underline = true}, + NvimTreeSymlink = {fg = "#286486"}, + NvimTreeWinSeparator = {fg = "bg"}, + NnnWinSeparator = {link = "NvimTreeWinSeparator"}, + Pmenu = {bg = "#D6D6B5"}, + PmenuSbar = {bg = "#A7A78D"}, + PmenuSel = {bg = "#BABB9D"}, + PmenuThumb = {bg = "#F9F9D2"}, + PreProc = {fg = "#35663D"}, + ["@attribute"] = {link = "PreProc"}, + ["@function.macro"] = {link = "PreProc"}, + ["@keyword.directive"] = {link = "PreProc"}, + ["@keyword.import"] = {link = "PreProc"}, + ["@markup.environment"] = {link = "PreProc"}, + RenderMarkdownCode = {bg = "#EAEAC6"}, + Search = {fg = "#353535", bg = "#DEB9D6"}, + CocSearch = {link = "Search"}, + MatchParen = {link = "Search"}, + QuickFixLine = {link = "Search"}, + Sneak = {link = "Search"}, + SnacksIndent = {fg = "#DFDFC2"}, + SnacksIndentScope = {fg = "#B5B59D"}, + SnacksPickerMatch = {fg = "#88507D", bold = true}, + SneakLabelMask = {fg = "#88507D", bg = "#88507D"}, + Special = {fg = "#5C5C5C", bold = true}, + WhichKeyGroup = {link = "Special"}, + ["@character.special"] = {link = "Special"}, + ["@constructor"] = {link = "Special"}, + ["@function.builtin"] = {link = "Special"}, + ["@keyword.debug"] = {link = "Special"}, + ["@markup.link.label"] = {link = "Special"}, + ["@markup.list"] = {link = "Special"}, + ["@markup.math"] = {link = "Special"}, + ["@punctuation.special.markdown"] = {link = "Special"}, + ["@string.escape"] = {link = "Special"}, + ["@string.special"] = {link = "Special"}, + ["@tag"] = {link = "Special"}, + SpecialComment = {fg = "#8C8C7C"}, + markdownUrl = {link = "SpecialComment"}, + ["@markup.link.url.markdown"] = {link = "SpecialComment"}, + SpecialKey = {fg = "#B0B093", italic = true}, + ["@string.escape.markdown"] = {link = "SpecialKey"}, + SpellBad = {fg = "#974352", sp = "#A8334C", undercurl = true}, + CocSelectedText = {link = "SpellBad"}, + SpellCap = {fg = "#974352", sp = "#C13C58", undercurl = true}, + SpellLocal = {link = "SpellCap"}, + SpellRare = {fg = "#974352", sp = "#944927", undercurl = true}, + Statement = {fg = "#156A29", bold = true}, + FzfLuaBufName = {link = "Statement"}, + WhichKey = {link = "Statement"}, + ["@keyword.conditional"] = {link = "Statement"}, + ["@keyword.coroutine"] = {link = "Statement"}, + ["@keyword.exception"] = {link = "Statement"}, + ["@keyword.function"] = {link = "Statement"}, + ["@keyword.operator"] = {link = "Statement"}, + ["@keyword.repeat"] = {link = "Statement"}, + ["@keyword.return"] = {link = "Statement"}, + ["@label"] = {link = "Statement"}, + ["@lsp.type.keyword"] = {link = "Statement"}, + ["@lsp.typemod.keyword.injected"] = {link = "Statement"}, + ["@markup.title.markdown"] = {link = "Statement"}, + ["@operator"] = {link = "Statement"}, + StatusLine = {fg = "#353535", bg = "#D1D1B0"}, + TabLine = {link = "StatusLine"}, + WinBar = {link = "StatusLine"}, + StatusLineNC = {fg = "#686868", bg = "#DFDFBC"}, + TabLineFill = {link = "StatusLineNC"}, + WinBarNC = {link = "StatusLineNC"}, + String = {fg = "#636363", italic = true}, + ["@string"] = {link = "String"}, + TabLineSel = {bold = true}, + BufferCurrent = {link = "TabLineSel"}, + TelescopeBorder = {fg = "#71715E"}, + TelescopeMatching = {fg = "#88507D", bold = true}, + TelescopeSelectionCaret = {fg = "#A8334C", bg = "#E7E8C3"}, + Title = {fg = "#353535", bold = true}, + FzfLuaTitle = {link = "Title"}, + ["@markup.heading"] = {link = "Title"}, + Todo = {bold = true, underline = true}, + ["@comment.todo"] = {link = "Todo"}, + Type = {fg = "#5B5B42"}, + BlinkCmpLabelDescription = {link = "Type"}, + BlinkCmpLabelDetail = {link = "Type"}, + BlinkCmpSource = {link = "Type"}, + helpSpecial = {link = "Type"}, + markdownCode = {link = "Type"}, + ["@keyword.storage"] = {link = "Type"}, + ["@markup.raw.markdown"] = {link = "Type"}, + ["@type"] = {link = "Type"}, + ["@variable.parameter.vimdoc"] = {link = "Type"}, + Underlined = {underline = true}, + ["@markup.underline"] = {link = "Underlined"}, + Visual = {bg = "#D7D7D7"}, + WarningMsg = {fg = "#944927"}, + DiagnosticWarn = {link = "WarningMsg"}, + NoiceCmdlineIconSearch = {link = "WarningMsg"}, + NoiceCmdlinePopupBorderSearch = {link = "WarningMsg"}, + gitcommitOverflow = {link = "WarningMsg"}, + ["@comment.warning"] = {link = "WarningMsg"}, + WhichKeySeparator = {fg = "#9A9A81"}, + WildMenu = {fg = "#F0F0CA", bg = "#88507D"}, + SneakLabel = {link = "WildMenu"}, + WinSeparator = {fg = "#9A9A81", bg = "NONE"}, + VertSplit = {link = "WinSeparator"}, + NvimTreeGitNew = {link = "diffAdded"}, + NvimTreeGitDirty = {link = "diffChanged"}, + diffFile = {fg = "#944927", bold = true}, + diffIndexLine = {fg = "#944927"}, + diffLine = {fg = "#88507D", bold = true}, + diffNewFile = {fg = "#4F6C31", italic = true}, + diffOldFile = {fg = "#A8334C", italic = true}, + NvimTreeGitDeleted = {link = "diffRemoved"}, + helpHyperTextEntry = {fg = "#5B5B42", bold = true}, + helpHyperTextJump = {fg = "#505050", underline = true}, + lCursor = {fg = "#F0F0CA", bg = "#595959"}, + TermCursorNC = {link = "lCursor"}, + markdownLinkText = {fg = "#505050", underline = true}, + ["@lsp.type.decorator"] = {link = "@attribute"}, + ["@lsp.type.deriveHelper"] = {link = "@attribute"}, + ["@lsp.type.boolean"] = {link = "@boolean"}, + ["@comment.documentation"] = {link = "@comment"}, + ["@lsp.type.comment"] = {link = "@comment"}, + ["@constant"] = {fg = "#505050", bold = true}, + ["@lsp.typemod.enumMember.defaultLibrary"] = {link = "@constant.builtin"}, + ["@lsp.type.enumMember"] = {link = "@constant"}, + ["@lsp.typemod.variable.static"] = {link = "@constant"}, + ["@lsp.typemod.function.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.macro.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.method.defaultLibrary"] = {link = "@function.builtin"}, + ["@function.call"] = {link = "@function"}, + ["@function.method"] = {link = "@function"}, + ["@function.method.call"] = {link = "@function"}, + ["@lsp.typemod.variable.callable"] = {link = "@function"}, + ["@keyword.conditional.ternary"] = {link = "@keyword.conditional"}, + ["@lsp.typemod.keyword.async"] = {link = "@keyword.coroutine"}, + ["@keyword.directive.define"] = {link = "@keyword.directive"}, + ["@lsp.type.lifetime"] = {link = "@keyword.storage"}, + ["@label.vimdoc"] = {fg = "#5B5B42", bold = true}, + ["@lsp.type.unresolvedReference"] = {sp = "#A8334C", undercurl = true}, + ["@lsp.type.variable"] = {}, + ["@markup.link.markdown"] = {fg = "#505050", underline = true}, + ["@markup.link.vimdoc"] = {fg = "#505050", underline = true}, + ["@lsp.type.formatSpecifier"] = {link = "@markup.list"}, + ["@markup.list.checked"] = {link = "@markup.list"}, + ["@markup.list.unchecked"] = {link = "@markup.list"}, + ["@markup.quote"] = {fg = "#636363"}, + ["@markup.raw.block.vimdoc"] = {fg = "NONE"}, + ["@markup.raw.block"] = {link = "@markup.raw"}, + ["@markup.strikethrough"] = {strikethrough = true}, + ["@lsp.type.namespace"] = {link = "@module"}, + ["@module.builtin"] = {link = "@module"}, + ["@none"] = {}, + ["@lsp.type.number"] = {link = "@number"}, + ["@number.float"] = {link = "@number"}, + ["@lsp.type.operator"] = {link = "@operator"}, + ["@lsp.typemod.operator.injected"] = {link = "@operator"}, + ["@lsp.type.property"] = {link = "@property"}, + ["@tag.attribute"] = {link = "@property"}, + ["@lsp.type.escapeSequence"] = {link = "@string.escape"}, + ["@string.special.path"] = {link = "@string.special"}, + ["@string.special.url"] = {link = "@string.special"}, + ["@lsp.type.string"] = {link = "@string"}, + ["@lsp.typemod.string.injected"] = {link = "@string"}, + ["@string.documentation"] = {link = "@string"}, + ["@lsp.type.builtinType"] = {link = "@type.builtin"}, + ["@lsp.typemod.class.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.enum.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.struct.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.type.typeAlias"] = {link = "@type.definition"}, + ["@lsp.type.enum"] = {link = "@type"}, + ["@lsp.type.interface"] = {link = "@type"}, + ["@lsp.typemod.type.defaultLibrary"] = {link = "@type"}, + ["@lsp.typemod.typeAlias.defaultLibrary"] = {link = "@type"}, + ["@type.builtin"] = {link = "@type"}, + ["@type.definition"] = {link = "@type"}, + ["@type.qualifier"] = {link = "@type"}, + ["@lsp.type.selfKeyword"] = {link = "@variable.builtin"}, + ["@lsp.type.selfTypeKeyword"] = {link = "@variable.builtin"}, + ["@lsp.typemod.variable.defaultLibrary"] = {link = "@variable.builtin"}, + ["@lsp.type.parameter"] = {link = "@variable.parameter"}, + ["@lsp.type.generic"] = {link = "@variable"}, + ["@lsp.typemod.variable.injected"] = {link = "@variable"}, + ["@variable.member"] = {link = "@variable"}, + ["@variable.parameter"] = {link = "@variable"}, + -- light end +} + +function term_light() + -- light term start + -- This codeblock is auto-generated by shipwright.nvim + vim.g.terminal_color_0 = '#F0F0CA' + vim.g.terminal_color_1 = '#A8334C' + vim.g.terminal_color_2 = '#4F6C31' + vim.g.terminal_color_3 = '#944927' + vim.g.terminal_color_4 = '#286486' + vim.g.terminal_color_5 = '#88507D' + vim.g.terminal_color_6 = '#3B8992' + vim.g.terminal_color_7 = '#353535' + vim.g.terminal_color_8 = '#C6C6A3' + vim.g.terminal_color_9 = '#94253E' + vim.g.terminal_color_10 = '#3F5A22' + vim.g.terminal_color_11 = '#803D1C' + vim.g.terminal_color_12 = '#1D5573' + vim.g.terminal_color_13 = '#7B3B70' + vim.g.terminal_color_14 = '#2B747C' + vim.g.terminal_color_15 = '#5C5C5C' + -- light term end +end + +if vim.o.background == 'light' then + for group, attrs in pairs(colors_light) do + vim.api.nvim_set_hl(0, group, attrs) + end + term_light() +end diff --git a/lua/zenbones/prebuilt.lua b/lua/zenbones/prebuilt.lua new file mode 100644 index 00000000..63556d60 --- /dev/null +++ b/lua/zenbones/prebuilt.lua @@ -0,0 +1,839 @@ +local colors_dark = { + -- dark start + -- This codeblock is auto-generated by shipwright.nvim + Normal = {fg = "#B4BDC3", bg = "#1C1917"}, + ModeMsg = {link = "Normal"}, + BlinkCmpKind = {fg = "#868C91"}, + BlinkCmpLabelMatch = {fg = "#B279A7", bold = true}, + Bold = {bold = true}, + ["@markup.strong"] = {link = "Bold"}, + Boolean = {fg = "#B4BDC3", italic = true}, + ["@boolean"] = {link = "Boolean"}, + BufferVisible = {fg = "#CAD0D4"}, + BufferVisibleIndex = {fg = "#CAD0D4"}, + BufferVisibleSign = {fg = "#CAD0D4"}, + CmpItemAbbr = {fg = "#979FA4"}, + CmpItemAbbrDeprecated = {fg = "#64696D"}, + CmpItemAbbrMatch = {fg = "#B4BDC3", bold = true}, + CmpItemAbbrMatchFuzzy = {fg = "#9FA7AD", bold = true}, + CmpItemKind = {fg = "#868C91"}, + CmpItemMenu = {fg = "#797F84"}, + CocMarkdownLink = {fg = "#66A5AD", underline = true}, + ColorColumn = {bg = "#55392C"}, + LspReferenceRead = {link = "ColorColumn"}, + LspReferenceText = {link = "ColorColumn"}, + LspReferenceWrite = {link = "ColorColumn"}, + Comment = {fg = "#6E6763", italic = true}, + ["@comment"] = {link = "Comment"}, + Conceal = {fg = "#797F84", bold = true, italic = true}, + Constant = {fg = "#868C91", italic = true}, + Character = {link = "Constant"}, + TroubleSource = {link = "Constant"}, + WhichKeyValue = {link = "Constant"}, + helpOption = {link = "Constant"}, + ["@character"] = {link = "Constant"}, + ["@constant.builtin"] = {link = "Constant"}, + ["@constant.macro"] = {link = "Constant"}, + ["@markup.link"] = {link = "Constant"}, + ["@markup.link.url"] = {link = "Constant"}, + ["@markup.raw"] = {link = "Constant"}, + ["@module"] = {link = "Constant"}, + ["@string.regexp"] = {link = "Constant"}, + ["@variable.builtin"] = {link = "Constant"}, + Cursor = {fg = "#1C1917", bg = "#C4CACF"}, + TermCursor = {link = "Cursor"}, + CursorLine = {bg = "#25211F"}, + CocMenuSel = {link = "CursorLine"}, + CursorColumn = {link = "CursorLine"}, + FzfLuaFzfCursorLine = {link = "CursorLine"}, + NeogitDiffContextHighlight = {link = "CursorLine"}, + SnacksPickerListCursorLine = {link = "CursorLine"}, + SnacksPickerPreviewCursorLine = {link = "CursorLine"}, + TelescopeSelection = {link = "CursorLine"}, + CursorLineNr = {fg = "#B4BDC3", bg = "NONE", bold = true}, + Delimiter = {fg = "#867A74"}, + markdownLinkTextDelimiter = {link = "Delimiter"}, + ["@constructor.lua"] = {link = "Delimiter"}, + ["@punctuation.bracket"] = {link = "Delimiter"}, + ["@punctuation.delimiter"] = {link = "Delimiter"}, + ["@punctuation.special"] = {link = "Delimiter"}, + ["@tag.delimiter"] = {link = "Delimiter"}, + NeogitNotificationError = {link = "DiagnosticError"}, + NotifyERRORIcon = {link = "DiagnosticError"}, + NotifyERRORTitle = {link = "DiagnosticError"}, + DiagnosticHint = {fg = "#B279A7"}, + NotifyDEBUGIcon = {link = "DiagnosticHint"}, + NotifyDEBUGTitle = {link = "DiagnosticHint"}, + NotifyTRACEIcon = {link = "DiagnosticHint"}, + NotifyTRACETitle = {link = "DiagnosticHint"}, + DiagnosticInfo = {fg = "#6099C0"}, + NeogitNotificationInfo = {link = "DiagnosticInfo"}, + NotifyINFOIcon = {link = "DiagnosticInfo"}, + NotifyINFOTitle = {link = "DiagnosticInfo"}, + ["@comment.note"] = {link = "DiagnosticInfo"}, + DiagnosticOk = {fg = "#819B69"}, + DiagnosticSignError = {fg = "#DE6E7C", bg = "NONE"}, + CocErrorSign = {link = "DiagnosticSignError"}, + DiagnosticSignHint = {fg = "#B279A7", bg = "NONE"}, + CocHintSign = {link = "DiagnosticSignHint"}, + DiagnosticSignInfo = {fg = "#6099C0", bg = "NONE"}, + CocInfoSign = {link = "DiagnosticSignInfo"}, + DiagnosticSignOk = {fg = "#819B69", bg = "NONE"}, + DiagnosticSignWarn = {fg = "#B77E64", bg = "NONE"}, + CocWarningSign = {link = "DiagnosticSignWarn"}, + DiagnosticUnderlineError = {fg = "NONE", sp = "#DE6E7C", undercurl = true}, + CocErrorHighlight = {link = "DiagnosticUnderlineError"}, + DiagnosticUnderlineHint = {fg = "NONE", sp = "#B279A7", undercurl = true}, + CocHintHighlight = {link = "DiagnosticUnderlineHint"}, + DiagnosticUnderlineInfo = {fg = "NONE", sp = "#6099C0", undercurl = true}, + CocInfoHighlight = {link = "DiagnosticUnderlineInfo"}, + DiagnosticUnderlineOk = {fg = "NONE", sp = "#819B69", undercurl = true}, + DiagnosticUnderlineWarn = {fg = "NONE", sp = "#B77E64", undercurl = true}, + CocWarningHighlight = {link = "DiagnosticUnderlineWarn"}, + DiagnosticVirtualTextError = {fg = "#DE6E7C", bg = "#272020"}, + CocErrorVirtualText = {link = "DiagnosticVirtualTextError"}, + DiagnosticVirtualTextHint = {fg = "#B279A7", bg = "#252024"}, + DiagnosticVirtualTextInfo = {fg = "#6099C0", bg = "#202223"}, + DiagnosticVirtualTextOk = {fg = "#819B69", bg = "#212220"}, + DiagnosticVirtualTextWarn = {fg = "#B77E64", bg = "#242120"}, + CocWarningVirtualText = {link = "DiagnosticVirtualTextWarn"}, + DiagnosticDeprecated = {link = "DiagnosticWarn"}, + DiagnosticUnnecessary = {link = "DiagnosticWarn"}, + NeogitNotificationWarning = {link = "DiagnosticWarn"}, + NotifyWARNIcon = {link = "DiagnosticWarn"}, + NotifyWARNTitle = {link = "DiagnosticWarn"}, + DiffAdd = {bg = "#232D1A"}, + NeogitDiffAddHighlight = {link = "DiffAdd"}, + diffAdded = {link = "DiffAdd"}, + ["@diff.plus"] = {link = "DiffAdd"}, + DiffChange = {bg = "#1D2C36"}, + diffChanged = {link = "DiffChange"}, + ["@diff.delta"] = {link = "DiffChange"}, + DiffDelete = {bg = "#3E2225"}, + NeogitDiffDeleteHighlight = {link = "DiffDelete"}, + diffRemoved = {link = "DiffDelete"}, + ["@diff.minus"] = {link = "DiffDelete"}, + DiffText = {fg = "#B4BDC3", bg = "#324757"}, + Directory = {bold = true}, + Error = {fg = "#DE6E7C"}, + DiagnosticError = {link = "Error"}, + ErrorMsg = {link = "Error"}, + MasonError = {link = "Error"}, + ["@comment.error"] = {link = "Error"}, + FlashBackdrop = {fg = "#6E6763"}, + FlashLabel = {fg = "#B4BDC3", bg = "#315167"}, + FloatBorder = {fg = "#837771", bg = "NONE"}, + FloatTitle = {fg = "#B4BDC3", bg = "#302B29", bold = true}, + FoldColumn = {fg = "#685F5A", bg = "NONE", bold = true}, + Folded = {fg = "#AFA099", bg = "#393431"}, + Function = {fg = "#B4BDC3"}, + TroubleNormal = {link = "Function"}, + TroubleText = {link = "Function"}, + ["@function"] = {link = "Function"}, + FzfLuaBufFlagAlt = {fg = "#6099C0"}, + FzfLuaBufFlagCur = {fg = "#B77E64"}, + FzfLuaBufNr = {fg = "#819B69"}, + FzfLuaFzfMatch = {fg = "#B279A7", bold = true}, + FzfLuaHeaderBind = {fg = "#819B69"}, + FzfLuaHeaderText = {fg = "#B77E64"}, + FzfLuaLiveSym = {fg = "#B77E64"}, + FzfLuaPathColNr = {fg = "#A1938C", bold = true}, + FzfLuaPathLineNr = {link = "FzfLuaPathColNr"}, + FzfLuaTabMarker = {fg = "#819B69"}, + FzfLuaTabTitle = {fg = "#66A5AD"}, + GitSignsAdd = {fg = "#819B69", bg = "NONE"}, + GitGutterAdd = {link = "GitSignsAdd"}, + GitSignsChange = {fg = "#6099C0", bg = "NONE"}, + GitGutterChange = {link = "GitSignsChange"}, + GitSignsDelete = {fg = "#DE6E7C", bg = "NONE"}, + GitGutterDelete = {link = "GitSignsDelete"}, + HopNextKey = {fg = "#B279A7", bold = true, underline = true}, + HopNextKey1 = {fg = "#66A5AD", bold = true, underline = true}, + HopNextKey2 = {fg = "#6099C0"}, + HopUnmatched = {fg = "#6E6763"}, + IblIndent = {fg = "#2B2725"}, + IndentLine = {link = "IblIndent"}, + IblScope = {fg = "#494341"}, + IndentLineCurrent = {link = "IblScope"}, + Identifier = {fg = "#979FA4"}, + ["@property"] = {link = "Identifier"}, + ["@string.special.symbol"] = {link = "Identifier"}, + ["@variable"] = {link = "Identifier"}, + IncSearch = {fg = "#1C1917", bg = "#BF8FB5", bold = true}, + CurSearch = {link = "IncSearch"}, + Italic = {italic = true}, + ["@markup.italic"] = {link = "Italic"}, + ["@markup.italic.markdown"] = {link = "Italic"}, + LineNr = {fg = "#685F5A", bg = "NONE"}, + CocCodeLens = {link = "LineNr"}, + LspCodeLens = {link = "LineNr"}, + NeogitHunkHeader = {link = "LineNr"}, + SignColumn = {link = "LineNr"}, + LspInlayHint = {fg = "#79675E", bg = "#25211F"}, + MasonHeader = {fg = "#1C1917", bg = "#B77E64", bold = true}, + MasonHighlight = {fg = "#6099C0"}, + MasonHighlightBlock = {fg = "#1C1917", bg = "#6099C0"}, + MasonHighlightBlockBold = {fg = "#1C1917", bg = "#6099C0", bold = true}, + MasonHighlightBlockBoldSecondary = {fg = "#1C1917", bg = "#B77E64", bold = true}, + MasonHighlightBlockSecondary = {fg = "#1C1917", bg = "#B77E64"}, + MasonHighlightSecondary = {fg = "#B77E64"}, + MasonMuted = {fg = "#868C91"}, + MasonMutedBlock = {fg = "#1C1917", bg = "#868C91"}, + MasonMutedBlockBold = {fg = "#1C1917", bg = "#868C91", bold = true}, + MoreMsg = {fg = "#819B69", bold = true}, + Question = {link = "MoreMsg"}, + NeogitHunkHeaderHighlight = {fg = "#B4BDC3", bg = "#25211F", bold = true}, + NnnNormalNC = {link = "NnnNormal"}, + NnnVertSplit = {link = "NnnWinSeparator"}, + NoiceCmdlineIcon = {fg = "#6099C0"}, + NoiceCmdlinePopupBorder = {link = "NoiceCmdlineIcon"}, + NoiceCmdlinePopupTitle = {link = "NoiceCmdlineIcon"}, + NoiceConfirmBorder = {link = "NoiceCmdlineIcon"}, + NoiceCompletionItemKindDefault = {fg = "#868C91"}, + NonText = {fg = "#5C534F"}, + EndOfBuffer = {link = "NonText"}, + Whitespace = {link = "NonText"}, + NormalFloat = {bg = "#302B29"}, + SnacksPickerBorder = {link = "NormalFloat"}, + Number = {fg = "#868C91"}, + Float = {link = "Number"}, + ["@number"] = {link = "Number"}, + NvimTreeCursorLine = {bg = "#272321"}, + NvimTreeCursorColumn = {link = "NvimTreeCursorLine"}, + NvimTreeNormal = {fg = "#B4BDC3", bg = "#231F1D"}, + NnnNormal = {link = "NvimTreeNormal"}, + NvimTreeRootFolder = {fg = "#6099C0", bold = true}, + NvimTreeSpecialFile = {fg = "#B279A7", underline = true}, + NvimTreeSymlink = {fg = "#6099C0"}, + NvimTreeWinSeparator = {fg = "bg"}, + NnnWinSeparator = {link = "NvimTreeWinSeparator"}, + Pmenu = {bg = "#302B29"}, + PmenuSbar = {bg = "#615853"}, + PmenuSel = {bg = "#4A433F"}, + PmenuThumb = {bg = "#8E817B"}, + ["@attribute"] = {link = "PreProc"}, + ["@function.macro"] = {link = "PreProc"}, + ["@keyword.directive"] = {link = "PreProc"}, + ["@keyword.import"] = {link = "PreProc"}, + ["@markup.environment"] = {link = "PreProc"}, + RenderMarkdownCode = {bg = "#25211F"}, + Search = {fg = "#B4BDC3", bg = "#65435E"}, + CocSearch = {link = "Search"}, + MatchParen = {link = "Search"}, + QuickFixLine = {link = "Search"}, + Sneak = {link = "Search"}, + SnacksIndent = {fg = "#2B2725"}, + SnacksIndentScope = {fg = "#494341"}, + SnacksPickerMatch = {fg = "#B279A7", bold = true}, + SneakLabelMask = {fg = "#B279A7", bg = "#B279A7"}, + Special = {fg = "#8D9499", bold = true}, + WhichKeyGroup = {link = "Special"}, + ["@character.special"] = {link = "Special"}, + ["@constructor"] = {link = "Special"}, + ["@function.builtin"] = {link = "Special"}, + ["@keyword.debug"] = {link = "Special"}, + ["@markup.link.label"] = {link = "Special"}, + ["@markup.list"] = {link = "Special"}, + ["@markup.math"] = {link = "Special"}, + ["@punctuation.special.markdown"] = {link = "Special"}, + ["@string.escape"] = {link = "Special"}, + ["@string.special"] = {link = "Special"}, + ["@tag"] = {link = "Special"}, + SpecialComment = {fg = "#6E6763"}, + markdownUrl = {link = "SpecialComment"}, + ["@markup.link.url.markdown"] = {link = "SpecialComment"}, + SpecialKey = {fg = "#5C534F", italic = true}, + ["@string.escape.markdown"] = {link = "SpecialKey"}, + SpellBad = {fg = "#CB7A83", undercurl = true}, + CocSelectedText = {link = "SpellBad"}, + SpellCap = {fg = "#CB7A83", undercurl = true}, + SpellLocal = {link = "SpellCap"}, + SpellRare = {fg = "#CB7A83", undercurl = true}, + Statement = {fg = "#B4BDC3", bold = true}, + FzfLuaBufName = {link = "Statement"}, + PreProc = {link = "Statement"}, + WhichKey = {link = "Statement"}, + ["@keyword.conditional"] = {link = "Statement"}, + ["@keyword.coroutine"] = {link = "Statement"}, + ["@keyword.exception"] = {link = "Statement"}, + ["@keyword.function"] = {link = "Statement"}, + ["@keyword.operator"] = {link = "Statement"}, + ["@keyword.repeat"] = {link = "Statement"}, + ["@keyword.return"] = {link = "Statement"}, + ["@label"] = {link = "Statement"}, + ["@lsp.type.keyword"] = {link = "Statement"}, + ["@lsp.typemod.keyword.injected"] = {link = "Statement"}, + ["@markup.title.markdown"] = {link = "Statement"}, + ["@operator"] = {link = "Statement"}, + StatusLine = {fg = "#B4BDC3", bg = "#352F2D"}, + TabLine = {link = "StatusLine"}, + WinBar = {link = "StatusLine"}, + StatusLineNC = {fg = "#CAD0D4", bg = "#272321"}, + TabLineFill = {link = "StatusLineNC"}, + WinBarNC = {link = "StatusLineNC"}, + String = {fg = "#868C91", italic = true}, + ["@string"] = {link = "String"}, + TabLineSel = {bold = true}, + BufferCurrent = {link = "TabLineSel"}, + TelescopeBorder = {fg = "#837771"}, + TelescopeMatching = {fg = "#B279A7", bold = true}, + TelescopeSelectionCaret = {fg = "#DE6E7C", bg = "#25211F"}, + Title = {fg = "#B4BDC3", bold = true}, + FzfLuaTitle = {link = "Title"}, + ["@markup.heading"] = {link = "Title"}, + Todo = {bold = true, underline = true}, + ["@comment.todo"] = {link = "Todo"}, + Type = {fg = "#A1938C"}, + BlinkCmpLabelDescription = {link = "Type"}, + BlinkCmpLabelDetail = {link = "Type"}, + BlinkCmpSource = {link = "Type"}, + helpSpecial = {link = "Type"}, + markdownCode = {link = "Type"}, + ["@keyword.storage"] = {link = "Type"}, + ["@markup.raw.markdown"] = {link = "Type"}, + ["@type"] = {link = "Type"}, + ["@variable.parameter.vimdoc"] = {link = "Type"}, + Underlined = {underline = true}, + ["@markup.underline"] = {link = "Underlined"}, + Visual = {bg = "#3D4042"}, + WarningMsg = {fg = "#B77E64"}, + DiagnosticWarn = {link = "WarningMsg"}, + NoiceCmdlineIconSearch = {link = "WarningMsg"}, + NoiceCmdlinePopupBorderSearch = {link = "WarningMsg"}, + gitcommitOverflow = {link = "WarningMsg"}, + ["@comment.warning"] = {link = "WarningMsg"}, + WhichKeySeparator = {fg = "#685F5A"}, + WildMenu = {fg = "#1C1917", bg = "#B279A7"}, + SneakLabel = {link = "WildMenu"}, + WinSeparator = {fg = "#685F5A", bg = "NONE"}, + VertSplit = {link = "WinSeparator"}, + NvimTreeGitNew = {link = "diffAdded"}, + NvimTreeGitDirty = {link = "diffChanged"}, + diffFile = {fg = "#B77E64", bold = true}, + diffIndexLine = {fg = "#B77E64"}, + diffLine = {fg = "#B279A7", bold = true}, + diffNewFile = {fg = "#819B69", italic = true}, + diffOldFile = {fg = "#DE6E7C", italic = true}, + NvimTreeGitDeleted = {link = "diffRemoved"}, + helpHyperTextEntry = {fg = "#A1938C", bold = true}, + helpHyperTextJump = {fg = "#979FA4", underline = true}, + lCursor = {fg = "#1C1917", bg = "#797F84"}, + TermCursorNC = {link = "lCursor"}, + markdownLinkText = {fg = "#979FA4", underline = true}, + ["@lsp.type.decorator"] = {link = "@attribute"}, + ["@lsp.type.deriveHelper"] = {link = "@attribute"}, + ["@lsp.type.boolean"] = {link = "@boolean"}, + ["@comment.documentation"] = {link = "@comment"}, + ["@lsp.type.comment"] = {link = "@comment"}, + ["@constant"] = {fg = "#979FA4", bold = true}, + ["@lsp.typemod.enumMember.defaultLibrary"] = {link = "@constant.builtin"}, + ["@lsp.type.enumMember"] = {link = "@constant"}, + ["@lsp.typemod.variable.static"] = {link = "@constant"}, + ["@lsp.typemod.function.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.macro.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.method.defaultLibrary"] = {link = "@function.builtin"}, + ["@function.call"] = {link = "@function"}, + ["@function.method"] = {link = "@function"}, + ["@function.method.call"] = {link = "@function"}, + ["@lsp.typemod.variable.callable"] = {link = "@function"}, + ["@keyword.conditional.ternary"] = {link = "@keyword.conditional"}, + ["@lsp.typemod.keyword.async"] = {link = "@keyword.coroutine"}, + ["@keyword.directive.define"] = {link = "@keyword.directive"}, + ["@lsp.type.lifetime"] = {link = "@keyword.storage"}, + ["@label.vimdoc"] = {fg = "#A1938C", bold = true}, + ["@lsp.type.unresolvedReference"] = {sp = "#DE6E7C", undercurl = true}, + ["@lsp.type.variable"] = {}, + ["@markup.link.markdown"] = {fg = "#979FA4", underline = true}, + ["@markup.link.vimdoc"] = {fg = "#979FA4", underline = true}, + ["@lsp.type.formatSpecifier"] = {link = "@markup.list"}, + ["@markup.list.checked"] = {link = "@markup.list"}, + ["@markup.list.unchecked"] = {link = "@markup.list"}, + ["@markup.quote"] = {fg = "#868C91"}, + ["@markup.raw.block.vimdoc"] = {fg = "NONE"}, + ["@markup.raw.block"] = {link = "@markup.raw"}, + ["@markup.strikethrough"] = {strikethrough = true}, + ["@lsp.type.namespace"] = {link = "@module"}, + ["@module.builtin"] = {link = "@module"}, + ["@none"] = {}, + ["@lsp.type.number"] = {link = "@number"}, + ["@number.float"] = {link = "@number"}, + ["@lsp.type.operator"] = {link = "@operator"}, + ["@lsp.typemod.operator.injected"] = {link = "@operator"}, + ["@lsp.type.property"] = {link = "@property"}, + ["@tag.attribute"] = {link = "@property"}, + ["@lsp.type.escapeSequence"] = {link = "@string.escape"}, + ["@string.special.path"] = {link = "@string.special"}, + ["@string.special.url"] = {link = "@string.special"}, + ["@lsp.type.string"] = {link = "@string"}, + ["@lsp.typemod.string.injected"] = {link = "@string"}, + ["@string.documentation"] = {link = "@string"}, + ["@lsp.type.builtinType"] = {link = "@type.builtin"}, + ["@lsp.typemod.class.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.enum.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.struct.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.type.typeAlias"] = {link = "@type.definition"}, + ["@lsp.type.enum"] = {link = "@type"}, + ["@lsp.type.interface"] = {link = "@type"}, + ["@lsp.typemod.type.defaultLibrary"] = {link = "@type"}, + ["@lsp.typemod.typeAlias.defaultLibrary"] = {link = "@type"}, + ["@type.builtin"] = {link = "@type"}, + ["@type.definition"] = {link = "@type"}, + ["@type.qualifier"] = {link = "@type"}, + ["@lsp.type.selfKeyword"] = {link = "@variable.builtin"}, + ["@lsp.type.selfTypeKeyword"] = {link = "@variable.builtin"}, + ["@lsp.typemod.variable.defaultLibrary"] = {link = "@variable.builtin"}, + ["@lsp.type.parameter"] = {link = "@variable.parameter"}, + ["@lsp.type.generic"] = {link = "@variable"}, + ["@lsp.typemod.variable.injected"] = {link = "@variable"}, + ["@variable.member"] = {link = "@variable"}, + ["@variable.parameter"] = {link = "@variable"}, + -- dark end +} + +local colors_light = { + -- light start + -- This codeblock is auto-generated by shipwright.nvim + Normal = {fg = "#2C363C", bg = "#F0EDEC"}, + ModeMsg = {link = "Normal"}, + BlinkCmpKind = {fg = "#556570"}, + BlinkCmpLabelMatch = {fg = "#88507D", bold = true}, + Bold = {bold = true}, + ["@markup.strong"] = {link = "Bold"}, + Boolean = {fg = "#2C363C", italic = true}, + ["@boolean"] = {link = "Boolean"}, + BufferVisible = {fg = "#596A76"}, + BufferVisibleIndex = {fg = "#596A76"}, + BufferVisibleSign = {fg = "#596A76"}, + CmpItemAbbr = {fg = "#44525B"}, + CmpItemAbbrDeprecated = {fg = "#728794"}, + CmpItemAbbrMatch = {fg = "#2C363C", bold = true}, + CmpItemAbbrMatchFuzzy = {fg = "#3E4B53", bold = true}, + CmpItemKind = {fg = "#556570"}, + CmpItemMenu = {fg = "#5E6F7B"}, + CocMarkdownLink = {fg = "#3B8992", underline = true}, + ColorColumn = {bg = "#E6C5BD"}, + LspReferenceRead = {link = "ColorColumn"}, + LspReferenceText = {link = "ColorColumn"}, + LspReferenceWrite = {link = "ColorColumn"}, + Comment = {fg = "#948985", italic = true}, + ["@comment"] = {link = "Comment"}, + Conceal = {fg = "#5E6F7B", bold = true, italic = true}, + Constant = {fg = "#556570", italic = true}, + Character = {link = "Constant"}, + TroubleSource = {link = "Constant"}, + WhichKeyValue = {link = "Constant"}, + helpOption = {link = "Constant"}, + ["@character"] = {link = "Constant"}, + ["@constant.builtin"] = {link = "Constant"}, + ["@constant.macro"] = {link = "Constant"}, + ["@markup.link"] = {link = "Constant"}, + ["@markup.link.url"] = {link = "Constant"}, + ["@markup.raw"] = {link = "Constant"}, + ["@module"] = {link = "Constant"}, + ["@string.regexp"] = {link = "Constant"}, + ["@variable.builtin"] = {link = "Constant"}, + Cursor = {fg = "#F0EDEC", bg = "#2C363C"}, + TermCursor = {link = "Cursor"}, + CursorLine = {bg = "#E9E4E2"}, + CocMenuSel = {link = "CursorLine"}, + CursorColumn = {link = "CursorLine"}, + FzfLuaFzfCursorLine = {link = "CursorLine"}, + NeogitDiffContextHighlight = {link = "CursorLine"}, + SnacksPickerListCursorLine = {link = "CursorLine"}, + SnacksPickerPreviewCursorLine = {link = "CursorLine"}, + TelescopeSelection = {link = "CursorLine"}, + CursorLineNr = {fg = "#2C363C", bg = "NONE", bold = true}, + Delimiter = {fg = "#8E817B"}, + markdownLinkTextDelimiter = {link = "Delimiter"}, + ["@constructor.lua"] = {link = "Delimiter"}, + ["@punctuation.bracket"] = {link = "Delimiter"}, + ["@punctuation.delimiter"] = {link = "Delimiter"}, + ["@punctuation.special"] = {link = "Delimiter"}, + ["@tag.delimiter"] = {link = "Delimiter"}, + NeogitNotificationError = {link = "DiagnosticError"}, + NotifyERRORIcon = {link = "DiagnosticError"}, + NotifyERRORTitle = {link = "DiagnosticError"}, + DiagnosticHint = {fg = "#88507D"}, + NotifyDEBUGIcon = {link = "DiagnosticHint"}, + NotifyDEBUGTitle = {link = "DiagnosticHint"}, + NotifyTRACEIcon = {link = "DiagnosticHint"}, + NotifyTRACETitle = {link = "DiagnosticHint"}, + DiagnosticInfo = {fg = "#286486"}, + NeogitNotificationInfo = {link = "DiagnosticInfo"}, + NotifyINFOIcon = {link = "DiagnosticInfo"}, + NotifyINFOTitle = {link = "DiagnosticInfo"}, + ["@comment.note"] = {link = "DiagnosticInfo"}, + DiagnosticOk = {fg = "#4F6C31"}, + DiagnosticSignError = {fg = "#A8334C", bg = "NONE"}, + CocErrorSign = {link = "DiagnosticSignError"}, + DiagnosticSignHint = {fg = "#88507D", bg = "NONE"}, + CocHintSign = {link = "DiagnosticSignHint"}, + DiagnosticSignInfo = {fg = "#286486", bg = "NONE"}, + CocInfoSign = {link = "DiagnosticSignInfo"}, + DiagnosticSignOk = {fg = "#4F6C31", bg = "NONE"}, + DiagnosticSignWarn = {fg = "#944927", bg = "NONE"}, + CocWarningSign = {link = "DiagnosticSignWarn"}, + DiagnosticUnderlineError = {fg = "NONE", sp = "#A8334C", undercurl = true}, + CocErrorHighlight = {link = "DiagnosticUnderlineError"}, + DiagnosticUnderlineHint = {fg = "NONE", sp = "#88507D", undercurl = true}, + CocHintHighlight = {link = "DiagnosticUnderlineHint"}, + DiagnosticUnderlineInfo = {fg = "NONE", sp = "#286486", undercurl = true}, + CocInfoHighlight = {link = "DiagnosticUnderlineInfo"}, + DiagnosticUnderlineOk = {fg = "NONE", sp = "#4F6C31", undercurl = true}, + DiagnosticUnderlineWarn = {fg = "NONE", sp = "#944927", undercurl = true}, + CocWarningHighlight = {link = "DiagnosticUnderlineWarn"}, + DiagnosticVirtualTextError = {fg = "#A8334C", bg = "#EFDFE0"}, + CocErrorVirtualText = {link = "DiagnosticVirtualTextError"}, + DiagnosticVirtualTextHint = {fg = "#88507D", bg = "#EFDEEB"}, + DiagnosticVirtualTextInfo = {fg = "#286486", bg = "#D9E4EF"}, + DiagnosticVirtualTextOk = {fg = "#4F6C31", bg = "#C9EEAB"}, + DiagnosticVirtualTextWarn = {fg = "#944927", bg = "#EFDFDC"}, + CocWarningVirtualText = {link = "DiagnosticVirtualTextWarn"}, + DiagnosticDeprecated = {link = "DiagnosticWarn"}, + DiagnosticUnnecessary = {link = "DiagnosticWarn"}, + NeogitNotificationWarning = {link = "DiagnosticWarn"}, + NotifyWARNIcon = {link = "DiagnosticWarn"}, + NotifyWARNTitle = {link = "DiagnosticWarn"}, + DiffAdd = {bg = "#CBE5B8"}, + NeogitDiffAddHighlight = {link = "DiffAdd"}, + diffAdded = {link = "DiffAdd"}, + ["@diff.plus"] = {link = "DiffAdd"}, + DiffChange = {bg = "#D4DEE7"}, + diffChanged = {link = "DiffChange"}, + ["@diff.delta"] = {link = "DiffChange"}, + DiffDelete = {bg = "#EBD8DA"}, + NeogitDiffDeleteHighlight = {link = "DiffDelete"}, + diffRemoved = {link = "DiffDelete"}, + ["@diff.minus"] = {link = "DiffDelete"}, + DiffText = {fg = "#2C363C", bg = "#A9BED1"}, + Directory = {bold = true}, + Error = {fg = "#A8334C"}, + DiagnosticError = {link = "Error"}, + ErrorMsg = {link = "Error"}, + MasonError = {link = "Error"}, + ["@comment.error"] = {link = "Error"}, + FlashBackdrop = {fg = "#948985"}, + FlashLabel = {fg = "#2C363C", bg = "#8FCAF6"}, + FloatBorder = {fg = "#786D68", bg = "NONE"}, + FloatTitle = {fg = "#2C363C", bg = "#DDD6D3", bold = true}, + FoldColumn = {fg = "#A4968F", bg = "NONE", bold = true}, + Folded = {fg = "#564E4A", bg = "#CDC2BC"}, + Function = {fg = "#2C363C"}, + TroubleNormal = {link = "Function"}, + TroubleText = {link = "Function"}, + ["@function"] = {link = "Function"}, + FzfLuaBufFlagAlt = {fg = "#286486"}, + FzfLuaBufFlagCur = {fg = "#944927"}, + FzfLuaBufNr = {fg = "#4F6C31"}, + FzfLuaFzfMatch = {fg = "#88507D", bold = true}, + FzfLuaHeaderBind = {fg = "#4F6C31"}, + FzfLuaHeaderText = {fg = "#944927"}, + FzfLuaLiveSym = {fg = "#944927"}, + FzfLuaPathColNr = {fg = "#6A5549", bold = true}, + FzfLuaPathLineNr = {link = "FzfLuaPathColNr"}, + FzfLuaTabMarker = {fg = "#4F6C31"}, + FzfLuaTabTitle = {fg = "#3B8992"}, + GitSignsAdd = {fg = "#4F6C31", bg = "NONE"}, + GitGutterAdd = {link = "GitSignsAdd"}, + GitSignsChange = {fg = "#286486", bg = "NONE"}, + GitGutterChange = {link = "GitSignsChange"}, + GitSignsDelete = {fg = "#A8334C", bg = "NONE"}, + GitGutterDelete = {link = "GitSignsDelete"}, + HopNextKey = {fg = "#88507D", bold = true, underline = true}, + HopNextKey1 = {fg = "#3B8992", bold = true, underline = true}, + HopNextKey2 = {fg = "#286486"}, + HopUnmatched = {fg = "#948985"}, + IblIndent = {fg = "#E1DCDA"}, + IndentLine = {link = "IblIndent"}, + IblScope = {fg = "#BEB1AA"}, + IndentLineCurrent = {link = "IblScope"}, + Identifier = {fg = "#44525B"}, + ["@property"] = {link = "Identifier"}, + ["@string.special.symbol"] = {link = "Identifier"}, + ["@variable"] = {link = "Identifier"}, + IncSearch = {fg = "#F0EDEC", bg = "#C074B2", bold = true}, + CurSearch = {link = "IncSearch"}, + Italic = {italic = true}, + ["@markup.italic"] = {link = "Italic"}, + ["@markup.italic.markdown"] = {link = "Italic"}, + LineNr = {fg = "#A4968F", bg = "NONE"}, + CocCodeLens = {link = "LineNr"}, + LspCodeLens = {link = "LineNr"}, + NeogitHunkHeader = {link = "LineNr"}, + SignColumn = {link = "LineNr"}, + LspInlayHint = {fg = "#A38C80", bg = "#EBE7E6"}, + MasonHeader = {fg = "#F0EDEC", bg = "#944927", bold = true}, + MasonHighlight = {fg = "#286486"}, + MasonHighlightBlock = {fg = "#F0EDEC", bg = "#286486"}, + MasonHighlightBlockBold = {fg = "#F0EDEC", bg = "#286486", bold = true}, + MasonHighlightBlockBoldSecondary = {fg = "#F0EDEC", bg = "#944927", bold = true}, + MasonHighlightBlockSecondary = {fg = "#F0EDEC", bg = "#944927"}, + MasonHighlightSecondary = {fg = "#944927"}, + MasonMuted = {fg = "#556570"}, + MasonMutedBlock = {fg = "#F0EDEC", bg = "#556570"}, + MasonMutedBlockBold = {fg = "#F0EDEC", bg = "#556570", bold = true}, + MoreMsg = {fg = "#4F6C31", bold = true}, + Question = {link = "MoreMsg"}, + NeogitHunkHeaderHighlight = {fg = "#2C363C", bg = "#E9E4E2", bold = true}, + NnnNormalNC = {link = "NnnNormal"}, + NnnVertSplit = {link = "NnnWinSeparator"}, + NoiceCmdlineIcon = {fg = "#286486"}, + NoiceCmdlinePopupBorder = {link = "NoiceCmdlineIcon"}, + NoiceCmdlinePopupTitle = {link = "NoiceCmdlineIcon"}, + NoiceConfirmBorder = {link = "NoiceCmdlineIcon"}, + NoiceCompletionItemKindDefault = {fg = "#556570"}, + NonText = {fg = "#BBABA3"}, + EndOfBuffer = {link = "NonText"}, + Whitespace = {link = "NonText"}, + NormalFloat = {bg = "#DDD6D3"}, + SnacksPickerBorder = {link = "NormalFloat"}, + Number = {fg = "#556570"}, + Float = {link = "Number"}, + ["@number"] = {link = "Number"}, + NvimTreeCursorLine = {bg = "#E1DCD9"}, + NvimTreeCursorColumn = {link = "NvimTreeCursorLine"}, + NvimTreeNormal = {fg = "#2C363C", bg = "#E9E4E2"}, + NnnNormal = {link = "NvimTreeNormal"}, + NvimTreeRootFolder = {fg = "#286486", bold = true}, + NvimTreeSpecialFile = {fg = "#88507D", underline = true}, + NvimTreeSymlink = {fg = "#286486"}, + NvimTreeWinSeparator = {fg = "bg"}, + NnnWinSeparator = {link = "NvimTreeWinSeparator"}, + Pmenu = {bg = "#DAD3CF"}, + PmenuSbar = {bg = "#B2A39B"}, + PmenuSel = {bg = "#C4B6AF"}, + PmenuThumb = {bg = "#F7F6F5"}, + ["@attribute"] = {link = "PreProc"}, + ["@function.macro"] = {link = "PreProc"}, + ["@keyword.directive"] = {link = "PreProc"}, + ["@keyword.import"] = {link = "PreProc"}, + ["@markup.environment"] = {link = "PreProc"}, + RenderMarkdownCode = {bg = "#EBE7E6"}, + Search = {fg = "#2C363C", bg = "#DEB9D6"}, + CocSearch = {link = "Search"}, + MatchParen = {link = "Search"}, + QuickFixLine = {link = "Search"}, + Sneak = {link = "Search"}, + SnacksIndent = {fg = "#E1DCDA"}, + SnacksIndentScope = {fg = "#BEB1AA"}, + SnacksPickerMatch = {fg = "#88507D", bold = true}, + SneakLabelMask = {fg = "#88507D", bg = "#88507D"}, + Special = {fg = "#4F5E68", bold = true}, + WhichKeyGroup = {link = "Special"}, + ["@character.special"] = {link = "Special"}, + ["@constructor"] = {link = "Special"}, + ["@function.builtin"] = {link = "Special"}, + ["@keyword.debug"] = {link = "Special"}, + ["@markup.link.label"] = {link = "Special"}, + ["@markup.list"] = {link = "Special"}, + ["@markup.math"] = {link = "Special"}, + ["@punctuation.special.markdown"] = {link = "Special"}, + ["@string.escape"] = {link = "Special"}, + ["@string.special"] = {link = "Special"}, + ["@tag"] = {link = "Special"}, + SpecialComment = {fg = "#948985"}, + markdownUrl = {link = "SpecialComment"}, + ["@markup.link.url.markdown"] = {link = "SpecialComment"}, + SpecialKey = {fg = "#BBABA3", italic = true}, + ["@string.escape.markdown"] = {link = "SpecialKey"}, + SpellBad = {fg = "#974352", sp = "#A8334C", undercurl = true}, + CocSelectedText = {link = "SpellBad"}, + SpellCap = {fg = "#974352", sp = "#C13C58", undercurl = true}, + SpellLocal = {link = "SpellCap"}, + SpellRare = {fg = "#974352", sp = "#944927", undercurl = true}, + Statement = {fg = "#2C363C", bold = true}, + FzfLuaBufName = {link = "Statement"}, + PreProc = {link = "Statement"}, + WhichKey = {link = "Statement"}, + ["@keyword.conditional"] = {link = "Statement"}, + ["@keyword.coroutine"] = {link = "Statement"}, + ["@keyword.exception"] = {link = "Statement"}, + ["@keyword.function"] = {link = "Statement"}, + ["@keyword.operator"] = {link = "Statement"}, + ["@keyword.repeat"] = {link = "Statement"}, + ["@keyword.return"] = {link = "Statement"}, + ["@label"] = {link = "Statement"}, + ["@lsp.type.keyword"] = {link = "Statement"}, + ["@lsp.typemod.keyword.injected"] = {link = "Statement"}, + ["@markup.title.markdown"] = {link = "Statement"}, + ["@operator"] = {link = "Statement"}, + StatusLine = {fg = "#2C363C", bg = "#D6CDC9"}, + TabLine = {link = "StatusLine"}, + WinBar = {link = "StatusLine"}, + StatusLineNC = {fg = "#596A76", bg = "#E1DCD9"}, + TabLineFill = {link = "StatusLineNC"}, + WinBarNC = {link = "StatusLineNC"}, + String = {fg = "#556570", italic = true}, + ["@string"] = {link = "String"}, + TabLineSel = {bold = true}, + BufferCurrent = {link = "TabLineSel"}, + TelescopeBorder = {fg = "#786D68"}, + TelescopeMatching = {fg = "#88507D", bold = true}, + TelescopeSelectionCaret = {fg = "#A8334C", bg = "#E9E4E2"}, + Title = {fg = "#2C363C", bold = true}, + FzfLuaTitle = {link = "Title"}, + ["@markup.heading"] = {link = "Title"}, + Todo = {bold = true, underline = true}, + ["@comment.todo"] = {link = "Todo"}, + Type = {fg = "#6A5549"}, + BlinkCmpLabelDescription = {link = "Type"}, + BlinkCmpLabelDetail = {link = "Type"}, + BlinkCmpSource = {link = "Type"}, + helpSpecial = {link = "Type"}, + markdownCode = {link = "Type"}, + ["@keyword.storage"] = {link = "Type"}, + ["@markup.raw.markdown"] = {link = "Type"}, + ["@type"] = {link = "Type"}, + ["@variable.parameter.vimdoc"] = {link = "Type"}, + Underlined = {underline = true}, + ["@markup.underline"] = {link = "Underlined"}, + Visual = {bg = "#CBD9E3"}, + WarningMsg = {fg = "#944927"}, + DiagnosticWarn = {link = "WarningMsg"}, + NoiceCmdlineIconSearch = {link = "WarningMsg"}, + NoiceCmdlinePopupBorderSearch = {link = "WarningMsg"}, + gitcommitOverflow = {link = "WarningMsg"}, + ["@comment.warning"] = {link = "WarningMsg"}, + WhichKeySeparator = {fg = "#A4968F"}, + WildMenu = {fg = "#F0EDEC", bg = "#88507D"}, + SneakLabel = {link = "WildMenu"}, + WinSeparator = {fg = "#A4968F", bg = "NONE"}, + VertSplit = {link = "WinSeparator"}, + NvimTreeGitNew = {link = "diffAdded"}, + NvimTreeGitDirty = {link = "diffChanged"}, + diffFile = {fg = "#944927", bold = true}, + diffIndexLine = {fg = "#944927"}, + diffLine = {fg = "#88507D", bold = true}, + diffNewFile = {fg = "#4F6C31", italic = true}, + diffOldFile = {fg = "#A8334C", italic = true}, + NvimTreeGitDeleted = {link = "diffRemoved"}, + helpHyperTextEntry = {fg = "#6A5549", bold = true}, + helpHyperTextJump = {fg = "#44525B", underline = true}, + lCursor = {fg = "#F0EDEC", bg = "#4D5C65"}, + TermCursorNC = {link = "lCursor"}, + markdownLinkText = {fg = "#44525B", underline = true}, + ["@lsp.type.decorator"] = {link = "@attribute"}, + ["@lsp.type.deriveHelper"] = {link = "@attribute"}, + ["@lsp.type.boolean"] = {link = "@boolean"}, + ["@comment.documentation"] = {link = "@comment"}, + ["@lsp.type.comment"] = {link = "@comment"}, + ["@constant"] = {fg = "#44525B", bold = true}, + ["@lsp.typemod.enumMember.defaultLibrary"] = {link = "@constant.builtin"}, + ["@lsp.type.enumMember"] = {link = "@constant"}, + ["@lsp.typemod.variable.static"] = {link = "@constant"}, + ["@lsp.typemod.function.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.macro.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.method.defaultLibrary"] = {link = "@function.builtin"}, + ["@function.call"] = {link = "@function"}, + ["@function.method"] = {link = "@function"}, + ["@function.method.call"] = {link = "@function"}, + ["@lsp.typemod.variable.callable"] = {link = "@function"}, + ["@keyword.conditional.ternary"] = {link = "@keyword.conditional"}, + ["@lsp.typemod.keyword.async"] = {link = "@keyword.coroutine"}, + ["@keyword.directive.define"] = {link = "@keyword.directive"}, + ["@lsp.type.lifetime"] = {link = "@keyword.storage"}, + ["@label.vimdoc"] = {fg = "#6A5549", bold = true}, + ["@lsp.type.unresolvedReference"] = {sp = "#A8334C", undercurl = true}, + ["@lsp.type.variable"] = {}, + ["@markup.link.markdown"] = {fg = "#44525B", underline = true}, + ["@markup.link.vimdoc"] = {fg = "#44525B", underline = true}, + ["@lsp.type.formatSpecifier"] = {link = "@markup.list"}, + ["@markup.list.checked"] = {link = "@markup.list"}, + ["@markup.list.unchecked"] = {link = "@markup.list"}, + ["@markup.quote"] = {fg = "#556570"}, + ["@markup.raw.block.vimdoc"] = {fg = "NONE"}, + ["@markup.raw.block"] = {link = "@markup.raw"}, + ["@markup.strikethrough"] = {strikethrough = true}, + ["@lsp.type.namespace"] = {link = "@module"}, + ["@module.builtin"] = {link = "@module"}, + ["@none"] = {}, + ["@lsp.type.number"] = {link = "@number"}, + ["@number.float"] = {link = "@number"}, + ["@lsp.type.operator"] = {link = "@operator"}, + ["@lsp.typemod.operator.injected"] = {link = "@operator"}, + ["@lsp.type.property"] = {link = "@property"}, + ["@tag.attribute"] = {link = "@property"}, + ["@lsp.type.escapeSequence"] = {link = "@string.escape"}, + ["@string.special.path"] = {link = "@string.special"}, + ["@string.special.url"] = {link = "@string.special"}, + ["@lsp.type.string"] = {link = "@string"}, + ["@lsp.typemod.string.injected"] = {link = "@string"}, + ["@string.documentation"] = {link = "@string"}, + ["@lsp.type.builtinType"] = {link = "@type.builtin"}, + ["@lsp.typemod.class.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.enum.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.struct.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.type.typeAlias"] = {link = "@type.definition"}, + ["@lsp.type.enum"] = {link = "@type"}, + ["@lsp.type.interface"] = {link = "@type"}, + ["@lsp.typemod.type.defaultLibrary"] = {link = "@type"}, + ["@lsp.typemod.typeAlias.defaultLibrary"] = {link = "@type"}, + ["@type.builtin"] = {link = "@type"}, + ["@type.definition"] = {link = "@type"}, + ["@type.qualifier"] = {link = "@type"}, + ["@lsp.type.selfKeyword"] = {link = "@variable.builtin"}, + ["@lsp.type.selfTypeKeyword"] = {link = "@variable.builtin"}, + ["@lsp.typemod.variable.defaultLibrary"] = {link = "@variable.builtin"}, + ["@lsp.type.parameter"] = {link = "@variable.parameter"}, + ["@lsp.type.generic"] = {link = "@variable"}, + ["@lsp.typemod.variable.injected"] = {link = "@variable"}, + ["@variable.member"] = {link = "@variable"}, + ["@variable.parameter"] = {link = "@variable"}, + -- light end +} + +function term_dark() + -- dark term start + -- This codeblock is auto-generated by shipwright.nvim + vim.g.terminal_color_0 = '#1C1917' + vim.g.terminal_color_1 = '#DE6E7C' + vim.g.terminal_color_2 = '#819B69' + vim.g.terminal_color_3 = '#B77E64' + vim.g.terminal_color_4 = '#6099C0' + vim.g.terminal_color_5 = '#B279A7' + vim.g.terminal_color_6 = '#66A5AD' + vim.g.terminal_color_7 = '#B4BDC3' + vim.g.terminal_color_8 = '#403833' + vim.g.terminal_color_9 = '#E8838F' + vim.g.terminal_color_10 = '#8BAE68' + vim.g.terminal_color_11 = '#D68C67' + vim.g.terminal_color_12 = '#61ABDA' + vim.g.terminal_color_13 = '#CF86C1' + vim.g.terminal_color_14 = '#65B8C1' + vim.g.terminal_color_15 = '#888F94' + -- dark term end +end + +function term_light() + -- light term start + -- This codeblock is auto-generated by shipwright.nvim + vim.g.terminal_color_0 = '#F0EDEC' + vim.g.terminal_color_1 = '#A8334C' + vim.g.terminal_color_2 = '#4F6C31' + vim.g.terminal_color_3 = '#944927' + vim.g.terminal_color_4 = '#286486' + vim.g.terminal_color_5 = '#88507D' + vim.g.terminal_color_6 = '#3B8992' + vim.g.terminal_color_7 = '#2C363C' + vim.g.terminal_color_8 = '#CFC1BA' + vim.g.terminal_color_9 = '#94253E' + vim.g.terminal_color_10 = '#3F5A22' + vim.g.terminal_color_11 = '#803D1C' + vim.g.terminal_color_12 = '#1D5573' + vim.g.terminal_color_13 = '#7B3B70' + vim.g.terminal_color_14 = '#2B747C' + vim.g.terminal_color_15 = '#4F5E68' + -- light term end +end + +if vim.o.background == 'dark' then + for group, attrs in pairs(colors_dark) do + vim.api.nvim_set_hl(0, group, attrs) + end + term_dark() +else + for group, attrs in pairs(colors_light) do + vim.api.nvim_set_hl(0, group, attrs) + end + term_light() +end diff --git a/lua/zenbones/shipwright/init.lua b/lua/zenbones/shipwright/init.lua index b823483b..b2e9832e 100644 --- a/lua/zenbones/shipwright/init.lua +++ b/lua/zenbones/shipwright/init.lua @@ -78,6 +78,7 @@ end M.run = function() local runner_files = { + "neovim", "vim", "iterm", "alacritty", diff --git a/lua/zenbones/shipwright/runners/neovim.lua b/lua/zenbones/shipwright/runners/neovim.lua new file mode 100644 index 00000000..e2e0c461 --- /dev/null +++ b/lua/zenbones/shipwright/runners/neovim.lua @@ -0,0 +1,58 @@ +local function to_term_colors(colorscheme) + return { + string.format("vim.g.terminal_color_0 = '%s'", term.black), + string.format("vim.g.terminal_color_1 = '%s'", term.red), + string.format("vim.g.terminal_color_2 = '%s'", term.green), + string.format("vim.g.terminal_color_3 = '%s'", term.yellow), + string.format("vim.g.terminal_color_4 = '%s'", term.blue), + string.format("vim.g.terminal_color_5 = '%s'", term.magenta), + string.format("vim.g.terminal_color_6 = '%s'", term.cyan), + string.format("vim.g.terminal_color_7 = '%s'", term.white), + string.format("vim.g.terminal_color_8 = '%s'", term.bright_black), + string.format("vim.g.terminal_color_9 = '%s'", term.bright_red), + string.format("vim.g.terminal_color_10 = '%s'", term.bright_green), + string.format("vim.g.terminal_color_11 = '%s'", term.bright_yellow), + string.format("vim.g.terminal_color_12 = '%s'", term.bright_blue), + string.format("vim.g.terminal_color_13 = '%s'", term.bright_magenta), + string.format("vim.g.terminal_color_14 = '%s'", term.bright_cyan), + string.format("vim.g.terminal_color_15 = '%s'", term.bright_white), + } +end + +local function left_pad(lines, length) + local padded_lines = {} + for _, line in ipairs(lines) do + line = table.insert(padded_lines, string.rep(" ", length) .. line) + end + return padded_lines +end + +local lushwright = require "shipwright.transform.lush" + +---@diagnostic disable: undefined-global +-- selene: allow(undefined_variable) +run( + specs, + lushwright.to_lua, + { prepend, [[-- This codeblock is auto-generated by shipwright.nvim]] }, + { left_pad, 1 }, + { + patchwrite, + string.format("lua/%s/prebuilt.lua", specs_name), + string.format([[-- %s start]], background), + string.format([[-- %s end]], background), + } +) + +run( + specs, + to_term_colors, + { prepend, [[-- This codeblock is auto-generated by shipwright.nvim]] }, + { left_pad, 1 }, + { + patchwrite, + string.format("lua/%s/prebuilt.lua", specs_name), + string.format([[-- %s term start]], background), + string.format([[-- %s term end]], background), + } +) diff --git a/lua/zenbones/util.lua b/lua/zenbones/util.lua index 49e886c2..65fbb50e 100644 --- a/lua/zenbones/util.lua +++ b/lua/zenbones/util.lua @@ -3,11 +3,9 @@ local M = {} --- Apply a zenbones colorscheme based on g:colors_name and &background. ---@return nil function M.apply_colorscheme() - local colors_name = vim.g.colors_name - package.loaded[colors_name] = nil - require "lush"(require(colors_name), { force_clean = false }) - local p = require(colors_name .. ".palette")[vim.o.background] - require("zenbones.term").apply_colors(p) + local colors_module = vim.g.colors_name..".prebuilt" + package.loaded[colors_module] = nil + require(colors_module) end function M.get_colorscheme_list() diff --git a/lua/zenburned/prebuilt.lua b/lua/zenburned/prebuilt.lua new file mode 100644 index 00000000..164f1ec2 --- /dev/null +++ b/lua/zenburned/prebuilt.lua @@ -0,0 +1,420 @@ +local colors_dark = { + -- dark start + -- This codeblock is auto-generated by shipwright.nvim + Normal = {fg = "#F0E4CF", bg = "#404040"}, + ModeMsg = {link = "Normal"}, + BlinkCmpKind = {fg = "#BAA681"}, + BlinkCmpLabelMatch = {fg = "#B279A7", bold = true}, + Bold = {bold = true}, + ["@markup.strong"] = {link = "Bold"}, + Boolean = {fg = "#F0E4CF", italic = true}, + ["@boolean"] = {link = "Boolean"}, + BufferVisible = {fg = "#F5EDE0"}, + BufferVisibleIndex = {fg = "#F5EDE0"}, + BufferVisibleSign = {fg = "#F5EDE0"}, + CmpItemAbbr = {fg = "#D5BE95"}, + CmpItemAbbrDeprecated = {fg = "#8C7D60"}, + CmpItemAbbrMatch = {fg = "#F0E4CF", bold = true}, + CmpItemAbbrMatchFuzzy = {fg = "#E1C99D", bold = true}, + CmpItemKind = {fg = "#BAA681"}, + CmpItemMenu = {fg = "#AB9977"}, + CocMarkdownLink = {fg = "#66A5AD", underline = true}, + ColorColumn = {bg = "#8C604D"}, + LspReferenceRead = {link = "ColorColumn"}, + LspReferenceText = {link = "ColorColumn"}, + LspReferenceWrite = {link = "ColorColumn"}, + Comment = {fg = "#848484", italic = true}, + ["@comment"] = {link = "Comment"}, + Conceal = {fg = "#AB9977", bold = true, italic = true}, + Constant = {fg = "#BAA681", italic = true}, + Character = {link = "Constant"}, + TroubleSource = {link = "Constant"}, + WhichKeyValue = {link = "Constant"}, + helpOption = {link = "Constant"}, + ["@character"] = {link = "Constant"}, + ["@constant.builtin"] = {link = "Constant"}, + ["@constant.macro"] = {link = "Constant"}, + ["@markup.link"] = {link = "Constant"}, + ["@markup.link.url"] = {link = "Constant"}, + ["@markup.raw"] = {link = "Constant"}, + ["@module"] = {link = "Constant"}, + ["@string.regexp"] = {link = "Constant"}, + ["@variable.builtin"] = {link = "Constant"}, + Cursor = {fg = "#404040", bg = "#F3EADB"}, + TermCursor = {link = "Cursor"}, + CursorLine = {bg = "#474747"}, + CocMenuSel = {link = "CursorLine"}, + CursorColumn = {link = "CursorLine"}, + FzfLuaFzfCursorLine = {link = "CursorLine"}, + NeogitDiffContextHighlight = {link = "CursorLine"}, + SnacksPickerListCursorLine = {link = "CursorLine"}, + SnacksPickerPreviewCursorLine = {link = "CursorLine"}, + TelescopeSelection = {link = "CursorLine"}, + CursorLineNr = {fg = "#F0E4CF", bg = "NONE", bold = true}, + Delimiter = {fg = "#939393"}, + markdownLinkTextDelimiter = {link = "Delimiter"}, + ["@constructor.lua"] = {link = "Delimiter"}, + ["@punctuation.bracket"] = {link = "Delimiter"}, + ["@punctuation.delimiter"] = {link = "Delimiter"}, + ["@punctuation.special"] = {link = "Delimiter"}, + ["@tag.delimiter"] = {link = "Delimiter"}, + NeogitNotificationError = {link = "DiagnosticError"}, + NotifyERRORIcon = {link = "DiagnosticError"}, + NotifyERRORTitle = {link = "DiagnosticError"}, + DiagnosticHint = {fg = "#B279A7"}, + NotifyDEBUGIcon = {link = "DiagnosticHint"}, + NotifyDEBUGTitle = {link = "DiagnosticHint"}, + NotifyTRACEIcon = {link = "DiagnosticHint"}, + NotifyTRACETitle = {link = "DiagnosticHint"}, + DiagnosticInfo = {fg = "#6099C0"}, + NeogitNotificationInfo = {link = "DiagnosticInfo"}, + NotifyINFOIcon = {link = "DiagnosticInfo"}, + NotifyINFOTitle = {link = "DiagnosticInfo"}, + ["@comment.note"] = {link = "DiagnosticInfo"}, + DiagnosticOk = {fg = "#819B69"}, + DiagnosticSignError = {fg = "#E3716E", bg = "NONE"}, + CocErrorSign = {link = "DiagnosticSignError"}, + DiagnosticSignHint = {fg = "#B279A7", bg = "NONE"}, + CocHintSign = {link = "DiagnosticSignHint"}, + DiagnosticSignInfo = {fg = "#6099C0", bg = "NONE"}, + CocInfoSign = {link = "DiagnosticSignInfo"}, + DiagnosticSignOk = {fg = "#819B69", bg = "NONE"}, + DiagnosticSignWarn = {fg = "#B77E64", bg = "NONE"}, + CocWarningSign = {link = "DiagnosticSignWarn"}, + DiagnosticUnderlineError = {fg = "NONE", sp = "#E3716E", undercurl = true}, + CocErrorHighlight = {link = "DiagnosticUnderlineError"}, + DiagnosticUnderlineHint = {fg = "NONE", sp = "#B279A7", undercurl = true}, + CocHintHighlight = {link = "DiagnosticUnderlineHint"}, + DiagnosticUnderlineInfo = {fg = "NONE", sp = "#6099C0", undercurl = true}, + CocInfoHighlight = {link = "DiagnosticUnderlineInfo"}, + DiagnosticUnderlineOk = {fg = "NONE", sp = "#819B69", undercurl = true}, + DiagnosticUnderlineWarn = {fg = "NONE", sp = "#B77E64", undercurl = true}, + CocWarningHighlight = {link = "DiagnosticUnderlineWarn"}, + DiagnosticVirtualTextError = {fg = "#E3716E", bg = "#534646"}, + CocErrorVirtualText = {link = "DiagnosticVirtualTextError"}, + DiagnosticVirtualTextHint = {fg = "#B279A7", bg = "#4F474D"}, + DiagnosticVirtualTextInfo = {fg = "#6099C0", bg = "#46494C"}, + DiagnosticVirtualTextOk = {fg = "#819B69", bg = "#474A45"}, + DiagnosticVirtualTextWarn = {fg = "#B77E64", bg = "#4E4846"}, + CocWarningVirtualText = {link = "DiagnosticVirtualTextWarn"}, + DiagnosticDeprecated = {link = "DiagnosticWarn"}, + DiagnosticUnnecessary = {link = "DiagnosticWarn"}, + NeogitNotificationWarning = {link = "DiagnosticWarn"}, + NotifyWARNIcon = {link = "DiagnosticWarn"}, + NotifyWARNTitle = {link = "DiagnosticWarn"}, + DiffAdd = {bg = "#475737"}, + NeogitDiffAddHighlight = {link = "DiffAdd"}, + diffAdded = {link = "DiffAdd"}, + ["@diff.plus"] = {link = "DiffAdd"}, + DiffChange = {bg = "#3D5568"}, + diffChanged = {link = "DiffChange"}, + ["@diff.delta"] = {link = "DiffChange"}, + DiffDelete = {bg = "#764544"}, + NeogitDiffDeleteHighlight = {link = "DiffDelete"}, + diffRemoved = {link = "DiffDelete"}, + ["@diff.minus"] = {link = "DiffDelete"}, + DiffText = {fg = "#F0E4CF", bg = "#53738B"}, + Directory = {bold = true}, + Error = {fg = "#E3716E"}, + DiagnosticError = {link = "Error"}, + ErrorMsg = {link = "Error"}, + MasonError = {link = "Error"}, + ["@comment.error"] = {link = "Error"}, + FlashBackdrop = {fg = "#848484"}, + FlashLabel = {fg = "#F0E4CF", bg = "#4F7F9F"}, + FloatBorder = {fg = "#939393", bg = "NONE"}, + FloatTitle = {fg = "#F0E4CF", bg = "#505050", bold = true}, + FoldColumn = {fg = "#7F7F7F", bg = "NONE", bold = true}, + Folded = {fg = "#B6B6B6", bg = "#575757"}, + Function = {fg = "#F0E4CF"}, + TroubleNormal = {link = "Function"}, + TroubleText = {link = "Function"}, + ["@function"] = {link = "Function"}, + FzfLuaBufFlagAlt = {fg = "#6099C0"}, + FzfLuaBufFlagCur = {fg = "#B77E64"}, + FzfLuaBufNr = {fg = "#819B69"}, + FzfLuaFzfMatch = {fg = "#B279A7", bold = true}, + FzfLuaHeaderBind = {fg = "#819B69"}, + FzfLuaHeaderText = {fg = "#B77E64"}, + FzfLuaLiveSym = {fg = "#B77E64"}, + FzfLuaPathColNr = {fg = "#A8A8A8", bold = true}, + FzfLuaPathLineNr = {link = "FzfLuaPathColNr"}, + FzfLuaTabMarker = {fg = "#819B69"}, + FzfLuaTabTitle = {fg = "#66A5AD"}, + GitSignsAdd = {fg = "#819B69", bg = "NONE"}, + GitGutterAdd = {link = "GitSignsAdd"}, + GitSignsChange = {fg = "#6099C0", bg = "NONE"}, + GitGutterChange = {link = "GitSignsChange"}, + GitSignsDelete = {fg = "#E3716E", bg = "NONE"}, + GitGutterDelete = {link = "GitSignsDelete"}, + HopNextKey = {fg = "#B279A7", bold = true, underline = true}, + HopNextKey1 = {fg = "#66A5AD", bold = true, underline = true}, + HopNextKey2 = {fg = "#6099C0"}, + HopUnmatched = {fg = "#848484"}, + IblIndent = {fg = "#4E4E4E"}, + IndentLine = {link = "IblIndent"}, + IblScope = {fg = "#666666"}, + IndentLineCurrent = {link = "IblScope"}, + Identifier = {fg = "#D5BE95"}, + ["@property"] = {link = "Identifier"}, + ["@string.special.symbol"] = {link = "Identifier"}, + ["@variable"] = {link = "Identifier"}, + IncSearch = {fg = "#404040", bg = "#DFC8DA", bold = true}, + CurSearch = {link = "IncSearch"}, + Italic = {italic = true}, + ["@markup.italic"] = {link = "Italic"}, + ["@markup.italic.markdown"] = {link = "Italic"}, + LineNr = {fg = "#7F7F7F", bg = "NONE"}, + CocCodeLens = {link = "LineNr"}, + LspCodeLens = {link = "LineNr"}, + NeogitHunkHeader = {link = "LineNr"}, + SignColumn = {link = "LineNr"}, + LspInlayHint = {fg = "#988084", bg = "#474747"}, + MasonHeader = {fg = "#404040", bg = "#B77E64", bold = true}, + MasonHighlight = {fg = "#6099C0"}, + MasonHighlightBlock = {fg = "#404040", bg = "#6099C0"}, + MasonHighlightBlockBold = {fg = "#404040", bg = "#6099C0", bold = true}, + MasonHighlightBlockBoldSecondary = {fg = "#404040", bg = "#B77E64", bold = true}, + MasonHighlightBlockSecondary = {fg = "#404040", bg = "#B77E64"}, + MasonHighlightSecondary = {fg = "#B77E64"}, + MasonMuted = {fg = "#BAA681"}, + MasonMutedBlock = {fg = "#404040", bg = "#BAA681"}, + MasonMutedBlockBold = {fg = "#404040", bg = "#BAA681", bold = true}, + MoreMsg = {fg = "#819B69", bold = true}, + Question = {link = "MoreMsg"}, + NeogitHunkHeaderHighlight = {fg = "#F0E4CF", bg = "#474747", bold = true}, + NnnNormalNC = {link = "NnnNormal"}, + NnnVertSplit = {link = "NnnWinSeparator"}, + NoiceCmdlineIcon = {fg = "#6099C0"}, + NoiceCmdlinePopupBorder = {link = "NoiceCmdlineIcon"}, + NoiceCmdlinePopupTitle = {link = "NoiceCmdlineIcon"}, + NoiceConfirmBorder = {link = "NoiceCmdlineIcon"}, + NoiceCompletionItemKindDefault = {fg = "#BAA681"}, + NonText = {fg = "#747474"}, + EndOfBuffer = {link = "NonText"}, + Whitespace = {link = "NonText"}, + NormalFloat = {bg = "#505050"}, + SnacksPickerBorder = {link = "NormalFloat"}, + Number = {fg = "#BAA681"}, + Float = {link = "Number"}, + ["@number"] = {link = "Number"}, + NvimTreeCursorLine = {bg = "#494949"}, + NvimTreeCursorColumn = {link = "NvimTreeCursorLine"}, + NvimTreeNormal = {fg = "#F0E4CF", bg = "#444444"}, + NnnNormal = {link = "NvimTreeNormal"}, + NvimTreeRootFolder = {fg = "#6099C0", bold = true}, + NvimTreeSpecialFile = {fg = "#B279A7", underline = true}, + NvimTreeSymlink = {fg = "#6099C0"}, + NvimTreeWinSeparator = {fg = "bg"}, + NnnWinSeparator = {link = "NvimTreeWinSeparator"}, + Pmenu = {bg = "#505050"}, + PmenuSbar = {bg = "#777777"}, + PmenuSel = {bg = "#666666"}, + PmenuThumb = {bg = "#9B9B9B"}, + PreProc = {fg = "#FFCDAB"}, + ["@attribute"] = {link = "PreProc"}, + ["@function.macro"] = {link = "PreProc"}, + ["@keyword.directive"] = {link = "PreProc"}, + ["@keyword.import"] = {link = "PreProc"}, + ["@markup.environment"] = {link = "PreProc"}, + RenderMarkdownCode = {bg = "#474747"}, + Search = {fg = "#F0E4CF", bg = "#9C6992"}, + CocSearch = {link = "Search"}, + MatchParen = {link = "Search"}, + QuickFixLine = {link = "Search"}, + Sneak = {link = "Search"}, + SnacksIndent = {fg = "#4E4E4E"}, + SnacksIndentScope = {fg = "#666666"}, + SnacksPickerMatch = {fg = "#B279A7", bold = true}, + SneakLabelMask = {fg = "#B279A7", bg = "#B279A7"}, + Special = {fg = "#F0F08F"}, + WhichKeyGroup = {link = "Special"}, + ["@character.special"] = {link = "Special"}, + ["@constructor"] = {link = "Special"}, + ["@function.builtin"] = {link = "Special"}, + ["@keyword.debug"] = {link = "Special"}, + ["@markup.link.label"] = {link = "Special"}, + ["@markup.list"] = {link = "Special"}, + ["@markup.math"] = {link = "Special"}, + ["@punctuation.special.markdown"] = {link = "Special"}, + ["@string.escape"] = {link = "Special"}, + ["@string.special"] = {link = "Special"}, + ["@tag"] = {link = "Special"}, + SpecialComment = {fg = "#848484"}, + markdownUrl = {link = "SpecialComment"}, + ["@markup.link.url.markdown"] = {link = "SpecialComment"}, + SpecialKey = {fg = "#747474", italic = true}, + ["@string.escape.markdown"] = {link = "SpecialKey"}, + SpellBad = {fg = "#D07C7B", undercurl = true}, + CocSelectedText = {link = "SpellBad"}, + SpellCap = {fg = "#D07C7B", undercurl = true}, + SpellLocal = {link = "SpellCap"}, + SpellRare = {fg = "#D07C7B", undercurl = true}, + Statement = {fg = "#DCA2A2", bold = true}, + FzfLuaBufName = {link = "Statement"}, + WhichKey = {link = "Statement"}, + ["@keyword.conditional"] = {link = "Statement"}, + ["@keyword.coroutine"] = {link = "Statement"}, + ["@keyword.exception"] = {link = "Statement"}, + ["@keyword.function"] = {link = "Statement"}, + ["@keyword.operator"] = {link = "Statement"}, + ["@keyword.repeat"] = {link = "Statement"}, + ["@keyword.return"] = {link = "Statement"}, + ["@label"] = {link = "Statement"}, + ["@lsp.type.keyword"] = {link = "Statement"}, + ["@lsp.typemod.keyword.injected"] = {link = "Statement"}, + ["@markup.title.markdown"] = {link = "Statement"}, + ["@operator"] = {link = "Statement"}, + StatusLine = {fg = "#F0E4CF", bg = "#555555"}, + TabLine = {link = "StatusLine"}, + WinBar = {link = "StatusLine"}, + StatusLineNC = {fg = "#F5EDE0", bg = "#494949"}, + TabLineFill = {link = "StatusLineNC"}, + WinBarNC = {link = "StatusLineNC"}, + String = {fg = "#BAA681", italic = true}, + ["@string"] = {link = "String"}, + TabLineSel = {bold = true}, + BufferCurrent = {link = "TabLineSel"}, + TelescopeBorder = {fg = "#939393"}, + TelescopeMatching = {fg = "#B279A7", bold = true}, + TelescopeSelectionCaret = {fg = "#E3716E", bg = "#474747"}, + Title = {fg = "#F0E4CF", bold = true}, + FzfLuaTitle = {link = "Title"}, + ["@markup.heading"] = {link = "Title"}, + Todo = {bold = true, underline = true}, + ["@comment.todo"] = {link = "Todo"}, + Type = {fg = "#A8A8A8"}, + BlinkCmpLabelDescription = {link = "Type"}, + BlinkCmpLabelDetail = {link = "Type"}, + BlinkCmpSource = {link = "Type"}, + helpSpecial = {link = "Type"}, + markdownCode = {link = "Type"}, + ["@keyword.storage"] = {link = "Type"}, + ["@markup.raw.markdown"] = {link = "Type"}, + ["@type"] = {link = "Type"}, + ["@variable.parameter.vimdoc"] = {link = "Type"}, + Underlined = {underline = true}, + ["@markup.underline"] = {link = "Underlined"}, + Visual = {bg = "#746956"}, + WarningMsg = {fg = "#B77E64"}, + DiagnosticWarn = {link = "WarningMsg"}, + NoiceCmdlineIconSearch = {link = "WarningMsg"}, + NoiceCmdlinePopupBorderSearch = {link = "WarningMsg"}, + gitcommitOverflow = {link = "WarningMsg"}, + ["@comment.warning"] = {link = "WarningMsg"}, + WhichKeySeparator = {fg = "#7F7F7F"}, + WildMenu = {fg = "#404040", bg = "#B279A7"}, + SneakLabel = {link = "WildMenu"}, + WinSeparator = {fg = "#7F7F7F", bg = "NONE"}, + VertSplit = {link = "WinSeparator"}, + NvimTreeGitNew = {link = "diffAdded"}, + NvimTreeGitDirty = {link = "diffChanged"}, + diffFile = {fg = "#B77E64", bold = true}, + diffIndexLine = {fg = "#B77E64"}, + diffLine = {fg = "#B279A7", bold = true}, + diffNewFile = {fg = "#819B69", italic = true}, + diffOldFile = {fg = "#E3716E", italic = true}, + NvimTreeGitDeleted = {link = "diffRemoved"}, + helpHyperTextEntry = {fg = "#A8A8A8", bold = true}, + helpHyperTextJump = {fg = "#D5BE95", underline = true}, + lCursor = {fg = "#404040", bg = "#A08F6F"}, + TermCursorNC = {link = "lCursor"}, + markdownLinkText = {fg = "#D5BE95", underline = true}, + ["@lsp.type.decorator"] = {link = "@attribute"}, + ["@lsp.type.deriveHelper"] = {link = "@attribute"}, + ["@lsp.type.boolean"] = {link = "@boolean"}, + ["@comment.documentation"] = {link = "@comment"}, + ["@lsp.type.comment"] = {link = "@comment"}, + ["@constant"] = {fg = "#D5BE95", bold = true}, + ["@lsp.typemod.enumMember.defaultLibrary"] = {link = "@constant.builtin"}, + ["@lsp.type.enumMember"] = {link = "@constant"}, + ["@lsp.typemod.variable.static"] = {link = "@constant"}, + ["@lsp.typemod.function.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.macro.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.method.defaultLibrary"] = {link = "@function.builtin"}, + ["@function.call"] = {link = "@function"}, + ["@function.method"] = {link = "@function"}, + ["@function.method.call"] = {link = "@function"}, + ["@lsp.typemod.variable.callable"] = {link = "@function"}, + ["@keyword.conditional.ternary"] = {link = "@keyword.conditional"}, + ["@lsp.typemod.keyword.async"] = {link = "@keyword.coroutine"}, + ["@keyword.directive.define"] = {link = "@keyword.directive"}, + ["@lsp.type.lifetime"] = {link = "@keyword.storage"}, + ["@label.vimdoc"] = {fg = "#A8A8A8", bold = true}, + ["@lsp.type.unresolvedReference"] = {sp = "#E3716E", undercurl = true}, + ["@lsp.type.variable"] = {}, + ["@markup.link.markdown"] = {fg = "#D5BE95", underline = true}, + ["@markup.link.vimdoc"] = {fg = "#D5BE95", underline = true}, + ["@lsp.type.formatSpecifier"] = {link = "@markup.list"}, + ["@markup.list.checked"] = {link = "@markup.list"}, + ["@markup.list.unchecked"] = {link = "@markup.list"}, + ["@markup.quote"] = {fg = "#BAA681"}, + ["@markup.raw.block.vimdoc"] = {fg = "NONE"}, + ["@markup.raw.block"] = {link = "@markup.raw"}, + ["@markup.strikethrough"] = {strikethrough = true}, + ["@lsp.type.namespace"] = {link = "@module"}, + ["@module.builtin"] = {link = "@module"}, + ["@none"] = {}, + ["@lsp.type.number"] = {link = "@number"}, + ["@number.float"] = {link = "@number"}, + ["@lsp.type.operator"] = {link = "@operator"}, + ["@lsp.typemod.operator.injected"] = {link = "@operator"}, + ["@lsp.type.property"] = {link = "@property"}, + ["@tag.attribute"] = {link = "@property"}, + ["@lsp.type.escapeSequence"] = {link = "@string.escape"}, + ["@string.special.path"] = {link = "@string.special"}, + ["@string.special.url"] = {link = "@string.special"}, + ["@lsp.type.string"] = {link = "@string"}, + ["@lsp.typemod.string.injected"] = {link = "@string"}, + ["@string.documentation"] = {link = "@string"}, + ["@lsp.type.builtinType"] = {link = "@type.builtin"}, + ["@lsp.typemod.class.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.enum.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.struct.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.type.typeAlias"] = {link = "@type.definition"}, + ["@lsp.type.enum"] = {link = "@type"}, + ["@lsp.type.interface"] = {link = "@type"}, + ["@lsp.typemod.type.defaultLibrary"] = {link = "@type"}, + ["@lsp.typemod.typeAlias.defaultLibrary"] = {link = "@type"}, + ["@type.builtin"] = {link = "@type"}, + ["@type.definition"] = {link = "@type"}, + ["@type.qualifier"] = {link = "@type"}, + ["@lsp.type.selfKeyword"] = {link = "@variable.builtin"}, + ["@lsp.type.selfTypeKeyword"] = {link = "@variable.builtin"}, + ["@lsp.typemod.variable.defaultLibrary"] = {link = "@variable.builtin"}, + ["@lsp.type.parameter"] = {link = "@variable.parameter"}, + ["@lsp.type.generic"] = {link = "@variable"}, + ["@lsp.typemod.variable.injected"] = {link = "@variable"}, + ["@variable.member"] = {link = "@variable"}, + ["@variable.parameter"] = {link = "@variable"}, + -- dark end +} + +function term_dark() + -- dark term start + -- This codeblock is auto-generated by shipwright.nvim + vim.g.terminal_color_0 = '#404040' + vim.g.terminal_color_1 = '#E3716E' + vim.g.terminal_color_2 = '#819B69' + vim.g.terminal_color_3 = '#B77E64' + vim.g.terminal_color_4 = '#6099C0' + vim.g.terminal_color_5 = '#B279A7' + vim.g.terminal_color_6 = '#66A5AD' + vim.g.terminal_color_7 = '#F0E4CF' + vim.g.terminal_color_8 = '#625A5B' + vim.g.terminal_color_9 = '#EC8685' + vim.g.terminal_color_10 = '#8BAE68' + vim.g.terminal_color_11 = '#D68C67' + vim.g.terminal_color_12 = '#61ABDA' + vim.g.terminal_color_13 = '#CF86C1' + vim.g.terminal_color_14 = '#65B8C1' + vim.g.terminal_color_15 = '#C0AB86' + -- dark term end +end + +if vim.o.background == 'dark' then + for group, attrs in pairs(colors_dark) do + vim.api.nvim_set_hl(0, group, attrs) + end + term_dark() +end diff --git a/lua/zenwritten/prebuilt.lua b/lua/zenwritten/prebuilt.lua new file mode 100644 index 00000000..f06f574f --- /dev/null +++ b/lua/zenwritten/prebuilt.lua @@ -0,0 +1,839 @@ +local colors_dark = { + -- dark start + -- This codeblock is auto-generated by shipwright.nvim + Normal = {fg = "#BBBBBB", bg = "#191919"}, + ModeMsg = {link = "Normal"}, + BlinkCmpKind = {fg = "#8B8B8B"}, + BlinkCmpLabelMatch = {fg = "#B279A7", bold = true}, + Bold = {bold = true}, + ["@markup.strong"] = {link = "Bold"}, + Boolean = {fg = "#BBBBBB", italic = true}, + ["@boolean"] = {link = "Boolean"}, + BufferVisible = {fg = "#CFCFCF"}, + BufferVisibleIndex = {fg = "#CFCFCF"}, + BufferVisibleSign = {fg = "#CFCFCF"}, + CmpItemAbbr = {fg = "#9E9E9E"}, + CmpItemAbbrDeprecated = {fg = "#686868"}, + CmpItemAbbrMatch = {fg = "#BBBBBB", bold = true}, + CmpItemAbbrMatchFuzzy = {fg = "#A6A6A6", bold = true}, + CmpItemKind = {fg = "#8B8B8B"}, + CmpItemMenu = {fg = "#7F7F7F"}, + CocMarkdownLink = {fg = "#66A5AD", underline = true}, + ColorColumn = {bg = "#55392C"}, + LspReferenceRead = {link = "ColorColumn"}, + LspReferenceText = {link = "ColorColumn"}, + LspReferenceWrite = {link = "ColorColumn"}, + Comment = {fg = "#686868", italic = true}, + ["@comment"] = {link = "Comment"}, + Conceal = {fg = "#7F7F7F", bold = true, italic = true}, + Constant = {fg = "#8B8B8B", italic = true}, + Character = {link = "Constant"}, + TroubleSource = {link = "Constant"}, + WhichKeyValue = {link = "Constant"}, + helpOption = {link = "Constant"}, + ["@character"] = {link = "Constant"}, + ["@constant.builtin"] = {link = "Constant"}, + ["@constant.macro"] = {link = "Constant"}, + ["@markup.link"] = {link = "Constant"}, + ["@markup.link.url"] = {link = "Constant"}, + ["@markup.raw"] = {link = "Constant"}, + ["@module"] = {link = "Constant"}, + ["@string.regexp"] = {link = "Constant"}, + ["@variable.builtin"] = {link = "Constant"}, + Cursor = {fg = "#191919", bg = "#C9C9C9"}, + TermCursor = {link = "Cursor"}, + CursorLine = {bg = "#222222"}, + CocMenuSel = {link = "CursorLine"}, + CursorColumn = {link = "CursorLine"}, + FzfLuaFzfCursorLine = {link = "CursorLine"}, + NeogitDiffContextHighlight = {link = "CursorLine"}, + SnacksPickerListCursorLine = {link = "CursorLine"}, + SnacksPickerPreviewCursorLine = {link = "CursorLine"}, + TelescopeSelection = {link = "CursorLine"}, + CursorLineNr = {fg = "#BBBBBB", bg = "NONE", bold = true}, + Delimiter = {fg = "#7C7C7C"}, + markdownLinkTextDelimiter = {link = "Delimiter"}, + ["@constructor.lua"] = {link = "Delimiter"}, + ["@punctuation.bracket"] = {link = "Delimiter"}, + ["@punctuation.delimiter"] = {link = "Delimiter"}, + ["@punctuation.special"] = {link = "Delimiter"}, + ["@tag.delimiter"] = {link = "Delimiter"}, + NeogitNotificationError = {link = "DiagnosticError"}, + NotifyERRORIcon = {link = "DiagnosticError"}, + NotifyERRORTitle = {link = "DiagnosticError"}, + DiagnosticHint = {fg = "#B279A7"}, + NotifyDEBUGIcon = {link = "DiagnosticHint"}, + NotifyDEBUGTitle = {link = "DiagnosticHint"}, + NotifyTRACEIcon = {link = "DiagnosticHint"}, + NotifyTRACETitle = {link = "DiagnosticHint"}, + DiagnosticInfo = {fg = "#6099C0"}, + NeogitNotificationInfo = {link = "DiagnosticInfo"}, + NotifyINFOIcon = {link = "DiagnosticInfo"}, + NotifyINFOTitle = {link = "DiagnosticInfo"}, + ["@comment.note"] = {link = "DiagnosticInfo"}, + DiagnosticOk = {fg = "#819B69"}, + DiagnosticSignError = {fg = "#DE6E7C", bg = "NONE"}, + CocErrorSign = {link = "DiagnosticSignError"}, + DiagnosticSignHint = {fg = "#B279A7", bg = "NONE"}, + CocHintSign = {link = "DiagnosticSignHint"}, + DiagnosticSignInfo = {fg = "#6099C0", bg = "NONE"}, + CocInfoSign = {link = "DiagnosticSignInfo"}, + DiagnosticSignOk = {fg = "#819B69", bg = "NONE"}, + DiagnosticSignWarn = {fg = "#B77E64", bg = "NONE"}, + CocWarningSign = {link = "DiagnosticSignWarn"}, + DiagnosticUnderlineError = {fg = "NONE", sp = "#DE6E7C", undercurl = true}, + CocErrorHighlight = {link = "DiagnosticUnderlineError"}, + DiagnosticUnderlineHint = {fg = "NONE", sp = "#B279A7", undercurl = true}, + CocHintHighlight = {link = "DiagnosticUnderlineHint"}, + DiagnosticUnderlineInfo = {fg = "NONE", sp = "#6099C0", undercurl = true}, + CocInfoHighlight = {link = "DiagnosticUnderlineInfo"}, + DiagnosticUnderlineOk = {fg = "NONE", sp = "#819B69", undercurl = true}, + DiagnosticUnderlineWarn = {fg = "NONE", sp = "#B77E64", undercurl = true}, + CocWarningHighlight = {link = "DiagnosticUnderlineWarn"}, + DiagnosticVirtualTextError = {fg = "#DE6E7C", bg = "#272020"}, + CocErrorVirtualText = {link = "DiagnosticVirtualTextError"}, + DiagnosticVirtualTextHint = {fg = "#B279A7", bg = "#252024"}, + DiagnosticVirtualTextInfo = {fg = "#6099C0", bg = "#202223"}, + DiagnosticVirtualTextOk = {fg = "#819B69", bg = "#212220"}, + DiagnosticVirtualTextWarn = {fg = "#B77E64", bg = "#242120"}, + CocWarningVirtualText = {link = "DiagnosticVirtualTextWarn"}, + DiagnosticDeprecated = {link = "DiagnosticWarn"}, + DiagnosticUnnecessary = {link = "DiagnosticWarn"}, + NeogitNotificationWarning = {link = "DiagnosticWarn"}, + NotifyWARNIcon = {link = "DiagnosticWarn"}, + NotifyWARNTitle = {link = "DiagnosticWarn"}, + DiffAdd = {bg = "#232D1A"}, + NeogitDiffAddHighlight = {link = "DiffAdd"}, + diffAdded = {link = "DiffAdd"}, + ["@diff.plus"] = {link = "DiffAdd"}, + DiffChange = {bg = "#1D2C36"}, + diffChanged = {link = "DiffChange"}, + ["@diff.delta"] = {link = "DiffChange"}, + DiffDelete = {bg = "#3E2225"}, + NeogitDiffDeleteHighlight = {link = "DiffDelete"}, + diffRemoved = {link = "DiffDelete"}, + ["@diff.minus"] = {link = "DiffDelete"}, + DiffText = {fg = "#BBBBBB", bg = "#324757"}, + Directory = {bold = true}, + Error = {fg = "#DE6E7C"}, + DiagnosticError = {link = "Error"}, + ErrorMsg = {link = "Error"}, + MasonError = {link = "Error"}, + ["@comment.error"] = {link = "Error"}, + FlashBackdrop = {fg = "#686868"}, + FlashLabel = {fg = "#BBBBBB", bg = "#315167"}, + FloatBorder = {fg = "#797979", bg = "NONE"}, + FloatTitle = {fg = "#BBBBBB", bg = "#2C2C2C", bold = true}, + FoldColumn = {fg = "#616161", bg = "NONE", bold = true}, + Folded = {fg = "#A3A3A3", bg = "#353535"}, + Function = {fg = "#BBBBBB"}, + TroubleNormal = {link = "Function"}, + TroubleText = {link = "Function"}, + ["@function"] = {link = "Function"}, + FzfLuaBufFlagAlt = {fg = "#6099C0"}, + FzfLuaBufFlagCur = {fg = "#B77E64"}, + FzfLuaBufNr = {fg = "#819B69"}, + FzfLuaFzfMatch = {fg = "#B279A7", bold = true}, + FzfLuaHeaderBind = {fg = "#819B69"}, + FzfLuaHeaderText = {fg = "#B77E64"}, + FzfLuaLiveSym = {fg = "#B77E64"}, + FzfLuaPathColNr = {fg = "#969696", bold = true}, + FzfLuaPathLineNr = {link = "FzfLuaPathColNr"}, + FzfLuaTabMarker = {fg = "#819B69"}, + FzfLuaTabTitle = {fg = "#66A5AD"}, + GitSignsAdd = {fg = "#819B69", bg = "NONE"}, + GitGutterAdd = {link = "GitSignsAdd"}, + GitSignsChange = {fg = "#6099C0", bg = "NONE"}, + GitGutterChange = {link = "GitSignsChange"}, + GitSignsDelete = {fg = "#DE6E7C", bg = "NONE"}, + GitGutterDelete = {link = "GitSignsDelete"}, + HopNextKey = {fg = "#B279A7", bold = true, underline = true}, + HopNextKey1 = {fg = "#66A5AD", bold = true, underline = true}, + HopNextKey2 = {fg = "#6099C0"}, + HopUnmatched = {fg = "#686868"}, + IblIndent = {fg = "#282828"}, + IndentLine = {link = "IblIndent"}, + IblScope = {fg = "#444444"}, + IndentLineCurrent = {link = "IblScope"}, + Identifier = {fg = "#9E9E9E"}, + ["@property"] = {link = "Identifier"}, + ["@string.special.symbol"] = {link = "Identifier"}, + ["@variable"] = {link = "Identifier"}, + IncSearch = {fg = "#191919", bg = "#BF8FB5", bold = true}, + CurSearch = {link = "IncSearch"}, + Italic = {italic = true}, + ["@markup.italic"] = {link = "Italic"}, + ["@markup.italic.markdown"] = {link = "Italic"}, + LineNr = {fg = "#616161", bg = "NONE"}, + CocCodeLens = {link = "LineNr"}, + LspCodeLens = {link = "LineNr"}, + NeogitHunkHeader = {link = "LineNr"}, + SignColumn = {link = "LineNr"}, + LspInlayHint = {fg = "#7A6569", bg = "#222222"}, + MasonHeader = {fg = "#191919", bg = "#B77E64", bold = true}, + MasonHighlight = {fg = "#6099C0"}, + MasonHighlightBlock = {fg = "#191919", bg = "#6099C0"}, + MasonHighlightBlockBold = {fg = "#191919", bg = "#6099C0", bold = true}, + MasonHighlightBlockBoldSecondary = {fg = "#191919", bg = "#B77E64", bold = true}, + MasonHighlightBlockSecondary = {fg = "#191919", bg = "#B77E64"}, + MasonHighlightSecondary = {fg = "#B77E64"}, + MasonMuted = {fg = "#8B8B8B"}, + MasonMutedBlock = {fg = "#191919", bg = "#8B8B8B"}, + MasonMutedBlockBold = {fg = "#191919", bg = "#8B8B8B", bold = true}, + MoreMsg = {fg = "#819B69", bold = true}, + Question = {link = "MoreMsg"}, + NeogitHunkHeaderHighlight = {fg = "#BBBBBB", bg = "#222222", bold = true}, + NnnNormalNC = {link = "NnnNormal"}, + NnnVertSplit = {link = "NnnWinSeparator"}, + NoiceCmdlineIcon = {fg = "#6099C0"}, + NoiceCmdlinePopupBorder = {link = "NoiceCmdlineIcon"}, + NoiceCmdlinePopupTitle = {link = "NoiceCmdlineIcon"}, + NoiceConfirmBorder = {link = "NoiceCmdlineIcon"}, + NoiceCompletionItemKindDefault = {fg = "#8B8B8B"}, + NonText = {fg = "#555555"}, + EndOfBuffer = {link = "NonText"}, + Whitespace = {link = "NonText"}, + NormalFloat = {bg = "#2C2C2C"}, + SnacksPickerBorder = {link = "NormalFloat"}, + Number = {fg = "#8B8B8B"}, + Float = {link = "Number"}, + ["@number"] = {link = "Number"}, + NvimTreeCursorLine = {bg = "#242424"}, + NvimTreeCursorColumn = {link = "NvimTreeCursorLine"}, + NvimTreeNormal = {fg = "#BBBBBB", bg = "#1F1F1F"}, + NnnNormal = {link = "NvimTreeNormal"}, + NvimTreeRootFolder = {fg = "#6099C0", bold = true}, + NvimTreeSpecialFile = {fg = "#B279A7", underline = true}, + NvimTreeSymlink = {fg = "#6099C0"}, + NvimTreeWinSeparator = {fg = "bg"}, + NnnWinSeparator = {link = "NvimTreeWinSeparator"}, + Pmenu = {bg = "#2C2C2C"}, + PmenuSbar = {bg = "#595959"}, + PmenuSel = {bg = "#444444"}, + PmenuThumb = {bg = "#848484"}, + ["@attribute"] = {link = "PreProc"}, + ["@function.macro"] = {link = "PreProc"}, + ["@keyword.directive"] = {link = "PreProc"}, + ["@keyword.import"] = {link = "PreProc"}, + ["@markup.environment"] = {link = "PreProc"}, + RenderMarkdownCode = {bg = "#222222"}, + Search = {fg = "#BBBBBB", bg = "#65435E"}, + CocSearch = {link = "Search"}, + MatchParen = {link = "Search"}, + QuickFixLine = {link = "Search"}, + Sneak = {link = "Search"}, + SnacksIndent = {fg = "#282828"}, + SnacksIndentScope = {fg = "#444444"}, + SnacksPickerMatch = {fg = "#B279A7", bold = true}, + SneakLabelMask = {fg = "#B279A7", bg = "#B279A7"}, + Special = {fg = "#939393", bold = true}, + WhichKeyGroup = {link = "Special"}, + ["@character.special"] = {link = "Special"}, + ["@constructor"] = {link = "Special"}, + ["@function.builtin"] = {link = "Special"}, + ["@keyword.debug"] = {link = "Special"}, + ["@markup.link.label"] = {link = "Special"}, + ["@markup.list"] = {link = "Special"}, + ["@markup.math"] = {link = "Special"}, + ["@punctuation.special.markdown"] = {link = "Special"}, + ["@string.escape"] = {link = "Special"}, + ["@string.special"] = {link = "Special"}, + ["@tag"] = {link = "Special"}, + SpecialComment = {fg = "#686868"}, + markdownUrl = {link = "SpecialComment"}, + ["@markup.link.url.markdown"] = {link = "SpecialComment"}, + SpecialKey = {fg = "#555555", italic = true}, + ["@string.escape.markdown"] = {link = "SpecialKey"}, + SpellBad = {fg = "#CB7A83", undercurl = true}, + CocSelectedText = {link = "SpellBad"}, + SpellCap = {fg = "#CB7A83", undercurl = true}, + SpellLocal = {link = "SpellCap"}, + SpellRare = {fg = "#CB7A83", undercurl = true}, + Statement = {fg = "#BBBBBB", bold = true}, + FzfLuaBufName = {link = "Statement"}, + PreProc = {link = "Statement"}, + WhichKey = {link = "Statement"}, + ["@keyword.conditional"] = {link = "Statement"}, + ["@keyword.coroutine"] = {link = "Statement"}, + ["@keyword.exception"] = {link = "Statement"}, + ["@keyword.function"] = {link = "Statement"}, + ["@keyword.operator"] = {link = "Statement"}, + ["@keyword.repeat"] = {link = "Statement"}, + ["@keyword.return"] = {link = "Statement"}, + ["@label"] = {link = "Statement"}, + ["@lsp.type.keyword"] = {link = "Statement"}, + ["@lsp.typemod.keyword.injected"] = {link = "Statement"}, + ["@markup.title.markdown"] = {link = "Statement"}, + ["@operator"] = {link = "Statement"}, + StatusLine = {fg = "#BBBBBB", bg = "#303030"}, + TabLine = {link = "StatusLine"}, + WinBar = {link = "StatusLine"}, + StatusLineNC = {fg = "#CFCFCF", bg = "#242424"}, + TabLineFill = {link = "StatusLineNC"}, + WinBarNC = {link = "StatusLineNC"}, + String = {fg = "#8B8B8B", italic = true}, + ["@string"] = {link = "String"}, + TabLineSel = {bold = true}, + BufferCurrent = {link = "TabLineSel"}, + TelescopeBorder = {fg = "#797979"}, + TelescopeMatching = {fg = "#B279A7", bold = true}, + TelescopeSelectionCaret = {fg = "#DE6E7C", bg = "#222222"}, + Title = {fg = "#BBBBBB", bold = true}, + FzfLuaTitle = {link = "Title"}, + ["@markup.heading"] = {link = "Title"}, + Todo = {bold = true, underline = true}, + ["@comment.todo"] = {link = "Todo"}, + Type = {fg = "#969696"}, + BlinkCmpLabelDescription = {link = "Type"}, + BlinkCmpLabelDetail = {link = "Type"}, + BlinkCmpSource = {link = "Type"}, + helpSpecial = {link = "Type"}, + markdownCode = {link = "Type"}, + ["@keyword.storage"] = {link = "Type"}, + ["@markup.raw.markdown"] = {link = "Type"}, + ["@type"] = {link = "Type"}, + ["@variable.parameter.vimdoc"] = {link = "Type"}, + Underlined = {underline = true}, + ["@markup.underline"] = {link = "Underlined"}, + Visual = {bg = "#404040"}, + WarningMsg = {fg = "#B77E64"}, + DiagnosticWarn = {link = "WarningMsg"}, + NoiceCmdlineIconSearch = {link = "WarningMsg"}, + NoiceCmdlinePopupBorderSearch = {link = "WarningMsg"}, + gitcommitOverflow = {link = "WarningMsg"}, + ["@comment.warning"] = {link = "WarningMsg"}, + WhichKeySeparator = {fg = "#616161"}, + WildMenu = {fg = "#191919", bg = "#B279A7"}, + SneakLabel = {link = "WildMenu"}, + WinSeparator = {fg = "#616161", bg = "NONE"}, + VertSplit = {link = "WinSeparator"}, + NvimTreeGitNew = {link = "diffAdded"}, + NvimTreeGitDirty = {link = "diffChanged"}, + diffFile = {fg = "#B77E64", bold = true}, + diffIndexLine = {fg = "#B77E64"}, + diffLine = {fg = "#B279A7", bold = true}, + diffNewFile = {fg = "#819B69", italic = true}, + diffOldFile = {fg = "#DE6E7C", italic = true}, + NvimTreeGitDeleted = {link = "diffRemoved"}, + helpHyperTextEntry = {fg = "#969696", bold = true}, + helpHyperTextJump = {fg = "#9E9E9E", underline = true}, + lCursor = {fg = "#191919", bg = "#7F7F7F"}, + TermCursorNC = {link = "lCursor"}, + markdownLinkText = {fg = "#9E9E9E", underline = true}, + ["@lsp.type.decorator"] = {link = "@attribute"}, + ["@lsp.type.deriveHelper"] = {link = "@attribute"}, + ["@lsp.type.boolean"] = {link = "@boolean"}, + ["@comment.documentation"] = {link = "@comment"}, + ["@lsp.type.comment"] = {link = "@comment"}, + ["@constant"] = {fg = "#9E9E9E", bold = true}, + ["@lsp.typemod.enumMember.defaultLibrary"] = {link = "@constant.builtin"}, + ["@lsp.type.enumMember"] = {link = "@constant"}, + ["@lsp.typemod.variable.static"] = {link = "@constant"}, + ["@lsp.typemod.function.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.macro.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.method.defaultLibrary"] = {link = "@function.builtin"}, + ["@function.call"] = {link = "@function"}, + ["@function.method"] = {link = "@function"}, + ["@function.method.call"] = {link = "@function"}, + ["@lsp.typemod.variable.callable"] = {link = "@function"}, + ["@keyword.conditional.ternary"] = {link = "@keyword.conditional"}, + ["@lsp.typemod.keyword.async"] = {link = "@keyword.coroutine"}, + ["@keyword.directive.define"] = {link = "@keyword.directive"}, + ["@lsp.type.lifetime"] = {link = "@keyword.storage"}, + ["@label.vimdoc"] = {fg = "#969696", bold = true}, + ["@lsp.type.unresolvedReference"] = {sp = "#DE6E7C", undercurl = true}, + ["@lsp.type.variable"] = {}, + ["@markup.link.markdown"] = {fg = "#9E9E9E", underline = true}, + ["@markup.link.vimdoc"] = {fg = "#9E9E9E", underline = true}, + ["@lsp.type.formatSpecifier"] = {link = "@markup.list"}, + ["@markup.list.checked"] = {link = "@markup.list"}, + ["@markup.list.unchecked"] = {link = "@markup.list"}, + ["@markup.quote"] = {fg = "#8B8B8B"}, + ["@markup.raw.block.vimdoc"] = {fg = "NONE"}, + ["@markup.raw.block"] = {link = "@markup.raw"}, + ["@markup.strikethrough"] = {strikethrough = true}, + ["@lsp.type.namespace"] = {link = "@module"}, + ["@module.builtin"] = {link = "@module"}, + ["@none"] = {}, + ["@lsp.type.number"] = {link = "@number"}, + ["@number.float"] = {link = "@number"}, + ["@lsp.type.operator"] = {link = "@operator"}, + ["@lsp.typemod.operator.injected"] = {link = "@operator"}, + ["@lsp.type.property"] = {link = "@property"}, + ["@tag.attribute"] = {link = "@property"}, + ["@lsp.type.escapeSequence"] = {link = "@string.escape"}, + ["@string.special.path"] = {link = "@string.special"}, + ["@string.special.url"] = {link = "@string.special"}, + ["@lsp.type.string"] = {link = "@string"}, + ["@lsp.typemod.string.injected"] = {link = "@string"}, + ["@string.documentation"] = {link = "@string"}, + ["@lsp.type.builtinType"] = {link = "@type.builtin"}, + ["@lsp.typemod.class.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.enum.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.struct.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.type.typeAlias"] = {link = "@type.definition"}, + ["@lsp.type.enum"] = {link = "@type"}, + ["@lsp.type.interface"] = {link = "@type"}, + ["@lsp.typemod.type.defaultLibrary"] = {link = "@type"}, + ["@lsp.typemod.typeAlias.defaultLibrary"] = {link = "@type"}, + ["@type.builtin"] = {link = "@type"}, + ["@type.definition"] = {link = "@type"}, + ["@type.qualifier"] = {link = "@type"}, + ["@lsp.type.selfKeyword"] = {link = "@variable.builtin"}, + ["@lsp.type.selfTypeKeyword"] = {link = "@variable.builtin"}, + ["@lsp.typemod.variable.defaultLibrary"] = {link = "@variable.builtin"}, + ["@lsp.type.parameter"] = {link = "@variable.parameter"}, + ["@lsp.type.generic"] = {link = "@variable"}, + ["@lsp.typemod.variable.injected"] = {link = "@variable"}, + ["@variable.member"] = {link = "@variable"}, + ["@variable.parameter"] = {link = "@variable"}, + -- dark end +} + +local colors_light = { + -- light start + -- This codeblock is auto-generated by shipwright.nvim + Normal = {fg = "#353535", bg = "#EEEEEE"}, + ModeMsg = {link = "Normal"}, + BlinkCmpKind = {fg = "#636363"}, + BlinkCmpLabelMatch = {fg = "#88507D", bold = true}, + Bold = {bold = true}, + ["@markup.strong"] = {link = "Bold"}, + Boolean = {fg = "#353535", italic = true}, + ["@boolean"] = {link = "Boolean"}, + BufferVisible = {fg = "#686868"}, + BufferVisibleIndex = {fg = "#686868"}, + BufferVisibleSign = {fg = "#686868"}, + CmpItemAbbr = {fg = "#505050"}, + CmpItemAbbrDeprecated = {fg = "#848484"}, + CmpItemAbbrMatch = {fg = "#353535", bold = true}, + CmpItemAbbrMatchFuzzy = {fg = "#494949", bold = true}, + CmpItemKind = {fg = "#636363"}, + CmpItemMenu = {fg = "#6D6D6D"}, + CocMarkdownLink = {fg = "#3B8992", underline = true}, + ColorColumn = {bg = "#E6C5BD"}, + LspReferenceRead = {link = "ColorColumn"}, + LspReferenceText = {link = "ColorColumn"}, + LspReferenceWrite = {link = "ColorColumn"}, + Comment = {fg = "#8B8B8B", italic = true}, + ["@comment"] = {link = "Comment"}, + Conceal = {fg = "#6D6D6D", bold = true, italic = true}, + Constant = {fg = "#636363", italic = true}, + Character = {link = "Constant"}, + TroubleSource = {link = "Constant"}, + WhichKeyValue = {link = "Constant"}, + helpOption = {link = "Constant"}, + ["@character"] = {link = "Constant"}, + ["@constant.builtin"] = {link = "Constant"}, + ["@constant.macro"] = {link = "Constant"}, + ["@markup.link"] = {link = "Constant"}, + ["@markup.link.url"] = {link = "Constant"}, + ["@markup.raw"] = {link = "Constant"}, + ["@module"] = {link = "Constant"}, + ["@string.regexp"] = {link = "Constant"}, + ["@variable.builtin"] = {link = "Constant"}, + Cursor = {fg = "#EEEEEE", bg = "#353535"}, + TermCursor = {link = "Cursor"}, + CursorLine = {bg = "#E5E5E5"}, + CocMenuSel = {link = "CursorLine"}, + CursorColumn = {link = "CursorLine"}, + FzfLuaFzfCursorLine = {link = "CursorLine"}, + NeogitDiffContextHighlight = {link = "CursorLine"}, + SnacksPickerListCursorLine = {link = "CursorLine"}, + SnacksPickerPreviewCursorLine = {link = "CursorLine"}, + TelescopeSelection = {link = "CursorLine"}, + CursorLineNr = {fg = "#353535", bg = "NONE", bold = true}, + Delimiter = {fg = "#848484"}, + markdownLinkTextDelimiter = {link = "Delimiter"}, + ["@constructor.lua"] = {link = "Delimiter"}, + ["@punctuation.bracket"] = {link = "Delimiter"}, + ["@punctuation.delimiter"] = {link = "Delimiter"}, + ["@punctuation.special"] = {link = "Delimiter"}, + ["@tag.delimiter"] = {link = "Delimiter"}, + NeogitNotificationError = {link = "DiagnosticError"}, + NotifyERRORIcon = {link = "DiagnosticError"}, + NotifyERRORTitle = {link = "DiagnosticError"}, + DiagnosticHint = {fg = "#88507D"}, + NotifyDEBUGIcon = {link = "DiagnosticHint"}, + NotifyDEBUGTitle = {link = "DiagnosticHint"}, + NotifyTRACEIcon = {link = "DiagnosticHint"}, + NotifyTRACETitle = {link = "DiagnosticHint"}, + DiagnosticInfo = {fg = "#286486"}, + NeogitNotificationInfo = {link = "DiagnosticInfo"}, + NotifyINFOIcon = {link = "DiagnosticInfo"}, + NotifyINFOTitle = {link = "DiagnosticInfo"}, + ["@comment.note"] = {link = "DiagnosticInfo"}, + DiagnosticOk = {fg = "#4F6C31"}, + DiagnosticSignError = {fg = "#A8334C", bg = "NONE"}, + CocErrorSign = {link = "DiagnosticSignError"}, + DiagnosticSignHint = {fg = "#88507D", bg = "NONE"}, + CocHintSign = {link = "DiagnosticSignHint"}, + DiagnosticSignInfo = {fg = "#286486", bg = "NONE"}, + CocInfoSign = {link = "DiagnosticSignInfo"}, + DiagnosticSignOk = {fg = "#4F6C31", bg = "NONE"}, + DiagnosticSignWarn = {fg = "#944927", bg = "NONE"}, + CocWarningSign = {link = "DiagnosticSignWarn"}, + DiagnosticUnderlineError = {fg = "NONE", sp = "#A8334C", undercurl = true}, + CocErrorHighlight = {link = "DiagnosticUnderlineError"}, + DiagnosticUnderlineHint = {fg = "NONE", sp = "#88507D", undercurl = true}, + CocHintHighlight = {link = "DiagnosticUnderlineHint"}, + DiagnosticUnderlineInfo = {fg = "NONE", sp = "#286486", undercurl = true}, + CocInfoHighlight = {link = "DiagnosticUnderlineInfo"}, + DiagnosticUnderlineOk = {fg = "NONE", sp = "#4F6C31", undercurl = true}, + DiagnosticUnderlineWarn = {fg = "NONE", sp = "#944927", undercurl = true}, + CocWarningHighlight = {link = "DiagnosticUnderlineWarn"}, + DiagnosticVirtualTextError = {fg = "#A8334C", bg = "#EFDFE0"}, + CocErrorVirtualText = {link = "DiagnosticVirtualTextError"}, + DiagnosticVirtualTextHint = {fg = "#88507D", bg = "#EFDEEB"}, + DiagnosticVirtualTextInfo = {fg = "#286486", bg = "#D9E4EF"}, + DiagnosticVirtualTextOk = {fg = "#4F6C31", bg = "#C9EEAB"}, + DiagnosticVirtualTextWarn = {fg = "#944927", bg = "#EFDFDC"}, + CocWarningVirtualText = {link = "DiagnosticVirtualTextWarn"}, + DiagnosticDeprecated = {link = "DiagnosticWarn"}, + DiagnosticUnnecessary = {link = "DiagnosticWarn"}, + NeogitNotificationWarning = {link = "DiagnosticWarn"}, + NotifyWARNIcon = {link = "DiagnosticWarn"}, + NotifyWARNTitle = {link = "DiagnosticWarn"}, + DiffAdd = {bg = "#CBE5B8"}, + NeogitDiffAddHighlight = {link = "DiffAdd"}, + diffAdded = {link = "DiffAdd"}, + ["@diff.plus"] = {link = "DiffAdd"}, + DiffChange = {bg = "#D4DEE7"}, + diffChanged = {link = "DiffChange"}, + ["@diff.delta"] = {link = "DiffChange"}, + DiffDelete = {bg = "#EBD8DA"}, + NeogitDiffDeleteHighlight = {link = "DiffDelete"}, + diffRemoved = {link = "DiffDelete"}, + ["@diff.minus"] = {link = "DiffDelete"}, + DiffText = {fg = "#353535", bg = "#A9BED1"}, + Directory = {bold = true}, + Error = {fg = "#A8334C"}, + DiagnosticError = {link = "Error"}, + ErrorMsg = {link = "Error"}, + MasonError = {link = "Error"}, + ["@comment.error"] = {link = "Error"}, + FlashBackdrop = {fg = "#8B8B8B"}, + FlashLabel = {fg = "#353535", bg = "#8FCAF6"}, + FloatBorder = {fg = "#6F6F6F", bg = "NONE"}, + FloatTitle = {fg = "#353535", bg = "#D7D7D7", bold = true}, + FoldColumn = {fg = "#989898", bg = "NONE", bold = true}, + Folded = {fg = "#505050", bg = "#C4C4C4"}, + Function = {fg = "#353535"}, + TroubleNormal = {link = "Function"}, + TroubleText = {link = "Function"}, + ["@function"] = {link = "Function"}, + FzfLuaBufFlagAlt = {fg = "#286486"}, + FzfLuaBufFlagCur = {fg = "#944927"}, + FzfLuaBufNr = {fg = "#4F6C31"}, + FzfLuaFzfMatch = {fg = "#88507D", bold = true}, + FzfLuaHeaderBind = {fg = "#4F6C31"}, + FzfLuaHeaderText = {fg = "#944927"}, + FzfLuaLiveSym = {fg = "#944927"}, + FzfLuaPathColNr = {fg = "#735057", bold = true}, + FzfLuaPathLineNr = {link = "FzfLuaPathColNr"}, + FzfLuaTabMarker = {fg = "#4F6C31"}, + FzfLuaTabTitle = {fg = "#3B8992"}, + GitSignsAdd = {fg = "#4F6C31", bg = "NONE"}, + GitGutterAdd = {link = "GitSignsAdd"}, + GitSignsChange = {fg = "#286486", bg = "NONE"}, + GitGutterChange = {link = "GitSignsChange"}, + GitSignsDelete = {fg = "#A8334C", bg = "NONE"}, + GitGutterDelete = {link = "GitSignsDelete"}, + HopNextKey = {fg = "#88507D", bold = true, underline = true}, + HopNextKey1 = {fg = "#3B8992", bold = true, underline = true}, + HopNextKey2 = {fg = "#286486"}, + HopUnmatched = {fg = "#8B8B8B"}, + IblIndent = {fg = "#DDDDDD"}, + IndentLine = {link = "IblIndent"}, + IblScope = {fg = "#B3B3B3"}, + IndentLineCurrent = {link = "IblScope"}, + Identifier = {fg = "#505050"}, + ["@property"] = {link = "Identifier"}, + ["@string.special.symbol"] = {link = "Identifier"}, + ["@variable"] = {link = "Identifier"}, + IncSearch = {fg = "#EEEEEE", bg = "#C074B2", bold = true}, + CurSearch = {link = "IncSearch"}, + Italic = {italic = true}, + ["@markup.italic"] = {link = "Italic"}, + ["@markup.italic.markdown"] = {link = "Italic"}, + LineNr = {fg = "#989898", bg = "NONE"}, + CocCodeLens = {link = "LineNr"}, + LspCodeLens = {link = "LineNr"}, + NeogitHunkHeader = {link = "LineNr"}, + SignColumn = {link = "LineNr"}, + LspInlayHint = {fg = "#A08C8F", bg = "#E8E8E8"}, + MasonHeader = {fg = "#EEEEEE", bg = "#944927", bold = true}, + MasonHighlight = {fg = "#286486"}, + MasonHighlightBlock = {fg = "#EEEEEE", bg = "#286486"}, + MasonHighlightBlockBold = {fg = "#EEEEEE", bg = "#286486", bold = true}, + MasonHighlightBlockBoldSecondary = {fg = "#EEEEEE", bg = "#944927", bold = true}, + MasonHighlightBlockSecondary = {fg = "#EEEEEE", bg = "#944927"}, + MasonHighlightSecondary = {fg = "#944927"}, + MasonMuted = {fg = "#636363"}, + MasonMutedBlock = {fg = "#EEEEEE", bg = "#636363"}, + MasonMutedBlockBold = {fg = "#EEEEEE", bg = "#636363", bold = true}, + MoreMsg = {fg = "#4F6C31", bold = true}, + Question = {link = "MoreMsg"}, + NeogitHunkHeaderHighlight = {fg = "#353535", bg = "#E5E5E5", bold = true}, + NnnNormalNC = {link = "NnnNormal"}, + NnnVertSplit = {link = "NnnWinSeparator"}, + NoiceCmdlineIcon = {fg = "#286486"}, + NoiceCmdlinePopupBorder = {link = "NoiceCmdlineIcon"}, + NoiceCmdlinePopupTitle = {link = "NoiceCmdlineIcon"}, + NoiceConfirmBorder = {link = "NoiceCmdlineIcon"}, + NoiceCompletionItemKindDefault = {fg = "#636363"}, + NonText = {fg = "#AEAEAE"}, + EndOfBuffer = {link = "NonText"}, + Whitespace = {link = "NonText"}, + NormalFloat = {bg = "#D7D7D7"}, + SnacksPickerBorder = {link = "NormalFloat"}, + Number = {fg = "#636363"}, + Float = {link = "Number"}, + ["@number"] = {link = "Number"}, + NvimTreeCursorLine = {bg = "#DDDDDD"}, + NvimTreeCursorColumn = {link = "NvimTreeCursorLine"}, + NvimTreeNormal = {fg = "#353535", bg = "#E5E5E5"}, + NnnNormal = {link = "NvimTreeNormal"}, + NvimTreeRootFolder = {fg = "#286486", bold = true}, + NvimTreeSpecialFile = {fg = "#88507D", underline = true}, + NvimTreeSymlink = {fg = "#286486"}, + NvimTreeWinSeparator = {fg = "bg"}, + NnnWinSeparator = {link = "NvimTreeWinSeparator"}, + Pmenu = {bg = "#D4D4D4"}, + PmenuSbar = {bg = "#A6A6A6"}, + PmenuSel = {bg = "#B9B9B9"}, + PmenuThumb = {bg = "#F6F6F6"}, + ["@attribute"] = {link = "PreProc"}, + ["@function.macro"] = {link = "PreProc"}, + ["@keyword.directive"] = {link = "PreProc"}, + ["@keyword.import"] = {link = "PreProc"}, + ["@markup.environment"] = {link = "PreProc"}, + RenderMarkdownCode = {bg = "#E8E8E8"}, + Search = {fg = "#353535", bg = "#DEB9D6"}, + CocSearch = {link = "Search"}, + MatchParen = {link = "Search"}, + QuickFixLine = {link = "Search"}, + Sneak = {link = "Search"}, + SnacksIndent = {fg = "#DDDDDD"}, + SnacksIndentScope = {fg = "#B3B3B3"}, + SnacksPickerMatch = {fg = "#88507D", bold = true}, + SneakLabelMask = {fg = "#88507D", bg = "#88507D"}, + Special = {fg = "#5C5C5C", bold = true}, + WhichKeyGroup = {link = "Special"}, + ["@character.special"] = {link = "Special"}, + ["@constructor"] = {link = "Special"}, + ["@function.builtin"] = {link = "Special"}, + ["@keyword.debug"] = {link = "Special"}, + ["@markup.link.label"] = {link = "Special"}, + ["@markup.list"] = {link = "Special"}, + ["@markup.math"] = {link = "Special"}, + ["@punctuation.special.markdown"] = {link = "Special"}, + ["@string.escape"] = {link = "Special"}, + ["@string.special"] = {link = "Special"}, + ["@tag"] = {link = "Special"}, + SpecialComment = {fg = "#8B8B8B"}, + markdownUrl = {link = "SpecialComment"}, + ["@markup.link.url.markdown"] = {link = "SpecialComment"}, + SpecialKey = {fg = "#AEAEAE", italic = true}, + ["@string.escape.markdown"] = {link = "SpecialKey"}, + SpellBad = {fg = "#974352", sp = "#A8334C", undercurl = true}, + CocSelectedText = {link = "SpellBad"}, + SpellCap = {fg = "#974352", sp = "#C13C58", undercurl = true}, + SpellLocal = {link = "SpellCap"}, + SpellRare = {fg = "#974352", sp = "#944927", undercurl = true}, + Statement = {fg = "#353535", bold = true}, + FzfLuaBufName = {link = "Statement"}, + PreProc = {link = "Statement"}, + WhichKey = {link = "Statement"}, + ["@keyword.conditional"] = {link = "Statement"}, + ["@keyword.coroutine"] = {link = "Statement"}, + ["@keyword.exception"] = {link = "Statement"}, + ["@keyword.function"] = {link = "Statement"}, + ["@keyword.operator"] = {link = "Statement"}, + ["@keyword.repeat"] = {link = "Statement"}, + ["@keyword.return"] = {link = "Statement"}, + ["@label"] = {link = "Statement"}, + ["@lsp.type.keyword"] = {link = "Statement"}, + ["@lsp.typemod.keyword.injected"] = {link = "Statement"}, + ["@markup.title.markdown"] = {link = "Statement"}, + ["@operator"] = {link = "Statement"}, + StatusLine = {fg = "#353535", bg = "#CFCFCF"}, + TabLine = {link = "StatusLine"}, + WinBar = {link = "StatusLine"}, + StatusLineNC = {fg = "#686868", bg = "#DDDDDD"}, + TabLineFill = {link = "StatusLineNC"}, + WinBarNC = {link = "StatusLineNC"}, + String = {fg = "#636363", italic = true}, + ["@string"] = {link = "String"}, + TabLineSel = {bold = true}, + BufferCurrent = {link = "TabLineSel"}, + TelescopeBorder = {fg = "#6F6F6F"}, + TelescopeMatching = {fg = "#88507D", bold = true}, + TelescopeSelectionCaret = {fg = "#A8334C", bg = "#E5E5E5"}, + Title = {fg = "#353535", bold = true}, + FzfLuaTitle = {link = "Title"}, + ["@markup.heading"] = {link = "Title"}, + Todo = {bold = true, underline = true}, + ["@comment.todo"] = {link = "Todo"}, + Type = {fg = "#735057"}, + BlinkCmpLabelDescription = {link = "Type"}, + BlinkCmpLabelDetail = {link = "Type"}, + BlinkCmpSource = {link = "Type"}, + helpSpecial = {link = "Type"}, + markdownCode = {link = "Type"}, + ["@keyword.storage"] = {link = "Type"}, + ["@markup.raw.markdown"] = {link = "Type"}, + ["@type"] = {link = "Type"}, + ["@variable.parameter.vimdoc"] = {link = "Type"}, + Underlined = {underline = true}, + ["@markup.underline"] = {link = "Underlined"}, + Visual = {bg = "#D7D7D7"}, + WarningMsg = {fg = "#944927"}, + DiagnosticWarn = {link = "WarningMsg"}, + NoiceCmdlineIconSearch = {link = "WarningMsg"}, + NoiceCmdlinePopupBorderSearch = {link = "WarningMsg"}, + gitcommitOverflow = {link = "WarningMsg"}, + ["@comment.warning"] = {link = "WarningMsg"}, + WhichKeySeparator = {fg = "#989898"}, + WildMenu = {fg = "#EEEEEE", bg = "#88507D"}, + SneakLabel = {link = "WildMenu"}, + WinSeparator = {fg = "#989898", bg = "NONE"}, + VertSplit = {link = "WinSeparator"}, + NvimTreeGitNew = {link = "diffAdded"}, + NvimTreeGitDirty = {link = "diffChanged"}, + diffFile = {fg = "#944927", bold = true}, + diffIndexLine = {fg = "#944927"}, + diffLine = {fg = "#88507D", bold = true}, + diffNewFile = {fg = "#4F6C31", italic = true}, + diffOldFile = {fg = "#A8334C", italic = true}, + NvimTreeGitDeleted = {link = "diffRemoved"}, + helpHyperTextEntry = {fg = "#735057", bold = true}, + helpHyperTextJump = {fg = "#505050", underline = true}, + lCursor = {fg = "#EEEEEE", bg = "#595959"}, + TermCursorNC = {link = "lCursor"}, + markdownLinkText = {fg = "#505050", underline = true}, + ["@lsp.type.decorator"] = {link = "@attribute"}, + ["@lsp.type.deriveHelper"] = {link = "@attribute"}, + ["@lsp.type.boolean"] = {link = "@boolean"}, + ["@comment.documentation"] = {link = "@comment"}, + ["@lsp.type.comment"] = {link = "@comment"}, + ["@constant"] = {fg = "#505050", bold = true}, + ["@lsp.typemod.enumMember.defaultLibrary"] = {link = "@constant.builtin"}, + ["@lsp.type.enumMember"] = {link = "@constant"}, + ["@lsp.typemod.variable.static"] = {link = "@constant"}, + ["@lsp.typemod.function.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.macro.defaultLibrary"] = {link = "@function.builtin"}, + ["@lsp.typemod.method.defaultLibrary"] = {link = "@function.builtin"}, + ["@function.call"] = {link = "@function"}, + ["@function.method"] = {link = "@function"}, + ["@function.method.call"] = {link = "@function"}, + ["@lsp.typemod.variable.callable"] = {link = "@function"}, + ["@keyword.conditional.ternary"] = {link = "@keyword.conditional"}, + ["@lsp.typemod.keyword.async"] = {link = "@keyword.coroutine"}, + ["@keyword.directive.define"] = {link = "@keyword.directive"}, + ["@lsp.type.lifetime"] = {link = "@keyword.storage"}, + ["@label.vimdoc"] = {fg = "#735057", bold = true}, + ["@lsp.type.unresolvedReference"] = {sp = "#A8334C", undercurl = true}, + ["@lsp.type.variable"] = {}, + ["@markup.link.markdown"] = {fg = "#505050", underline = true}, + ["@markup.link.vimdoc"] = {fg = "#505050", underline = true}, + ["@lsp.type.formatSpecifier"] = {link = "@markup.list"}, + ["@markup.list.checked"] = {link = "@markup.list"}, + ["@markup.list.unchecked"] = {link = "@markup.list"}, + ["@markup.quote"] = {fg = "#636363"}, + ["@markup.raw.block.vimdoc"] = {fg = "NONE"}, + ["@markup.raw.block"] = {link = "@markup.raw"}, + ["@markup.strikethrough"] = {strikethrough = true}, + ["@lsp.type.namespace"] = {link = "@module"}, + ["@module.builtin"] = {link = "@module"}, + ["@none"] = {}, + ["@lsp.type.number"] = {link = "@number"}, + ["@number.float"] = {link = "@number"}, + ["@lsp.type.operator"] = {link = "@operator"}, + ["@lsp.typemod.operator.injected"] = {link = "@operator"}, + ["@lsp.type.property"] = {link = "@property"}, + ["@tag.attribute"] = {link = "@property"}, + ["@lsp.type.escapeSequence"] = {link = "@string.escape"}, + ["@string.special.path"] = {link = "@string.special"}, + ["@string.special.url"] = {link = "@string.special"}, + ["@lsp.type.string"] = {link = "@string"}, + ["@lsp.typemod.string.injected"] = {link = "@string"}, + ["@string.documentation"] = {link = "@string"}, + ["@lsp.type.builtinType"] = {link = "@type.builtin"}, + ["@lsp.typemod.class.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.enum.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.typemod.struct.defaultLibrary"] = {link = "@type.builtin"}, + ["@lsp.type.typeAlias"] = {link = "@type.definition"}, + ["@lsp.type.enum"] = {link = "@type"}, + ["@lsp.type.interface"] = {link = "@type"}, + ["@lsp.typemod.type.defaultLibrary"] = {link = "@type"}, + ["@lsp.typemod.typeAlias.defaultLibrary"] = {link = "@type"}, + ["@type.builtin"] = {link = "@type"}, + ["@type.definition"] = {link = "@type"}, + ["@type.qualifier"] = {link = "@type"}, + ["@lsp.type.selfKeyword"] = {link = "@variable.builtin"}, + ["@lsp.type.selfTypeKeyword"] = {link = "@variable.builtin"}, + ["@lsp.typemod.variable.defaultLibrary"] = {link = "@variable.builtin"}, + ["@lsp.type.parameter"] = {link = "@variable.parameter"}, + ["@lsp.type.generic"] = {link = "@variable"}, + ["@lsp.typemod.variable.injected"] = {link = "@variable"}, + ["@variable.member"] = {link = "@variable"}, + ["@variable.parameter"] = {link = "@variable"}, + -- light end +} + +function term_dark() + -- dark term start + -- This codeblock is auto-generated by shipwright.nvim + vim.g.terminal_color_0 = '#191919' + vim.g.terminal_color_1 = '#DE6E7C' + vim.g.terminal_color_2 = '#819B69' + vim.g.terminal_color_3 = '#B77E64' + vim.g.terminal_color_4 = '#6099C0' + vim.g.terminal_color_5 = '#B279A7' + vim.g.terminal_color_6 = '#66A5AD' + vim.g.terminal_color_7 = '#BBBBBB' + vim.g.terminal_color_8 = '#3D3839' + vim.g.terminal_color_9 = '#E8838F' + vim.g.terminal_color_10 = '#8BAE68' + vim.g.terminal_color_11 = '#D68C67' + vim.g.terminal_color_12 = '#61ABDA' + vim.g.terminal_color_13 = '#CF86C1' + vim.g.terminal_color_14 = '#65B8C1' + vim.g.terminal_color_15 = '#8E8E8E' + -- dark term end +end + +function term_light() + -- light term start + -- This codeblock is auto-generated by shipwright.nvim + vim.g.terminal_color_0 = '#EEEEEE' + vim.g.terminal_color_1 = '#A8334C' + vim.g.terminal_color_2 = '#4F6C31' + vim.g.terminal_color_3 = '#944927' + vim.g.terminal_color_4 = '#286486' + vim.g.terminal_color_5 = '#88507D' + vim.g.terminal_color_6 = '#3B8992' + vim.g.terminal_color_7 = '#353535' + vim.g.terminal_color_8 = '#C6C3C3' + vim.g.terminal_color_9 = '#94253E' + vim.g.terminal_color_10 = '#3F5A22' + vim.g.terminal_color_11 = '#803D1C' + vim.g.terminal_color_12 = '#1D5573' + vim.g.terminal_color_13 = '#7B3B70' + vim.g.terminal_color_14 = '#2B747C' + vim.g.terminal_color_15 = '#5C5C5C' + -- light term end +end + +if vim.o.background == 'dark' then + for group, attrs in pairs(colors_dark) do + vim.api.nvim_set_hl(0, group, attrs) + end + term_dark() +else + for group, attrs in pairs(colors_light) do + vim.api.nvim_set_hl(0, group, attrs) + end + term_light() +end