1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-18 12:00:02 +02:00

nvim: modify colors abit.

This commit is contained in:
Henrik Hautakoski 2024-08-13 19:24:32 +02:00
parent 03a2d268f0
commit 10d7d79fbf

View file

@ -23,16 +23,17 @@ return {
Visual = { bg = colors.overlay1 }, Visual = { bg = colors.overlay1 },
-- Floating windows -- Floating windows
NormalFloat = { fg = colors.text, bg = colors.mantle }, NormalFloat = { fg = colors.text, bg = colors.crust },
FloatTitle = { fg = colors.base, bg = colors.blue }, FloatTitle = { fg = colors.base, bg = colors.blue },
FloatBorder = { fg = colors.surface1, bg = colors.mantle }, FloatBorder = { fg = colors.surface1, bg = colors.crust },
-- Window separator -- Window separator
WinSeparator = { fg = colors.surface0 }, WinSeparator = { fg = colors.surface0 },
NeoTreeWinSeparator = { link = "WinSeparator" }, NeoTreeWinSeparator = { link = "WinSeparator" },
-- Menus -- Menus
Pmenu = { fg = colors.text, bg = colors.mantle }, Pmenu = { link = "NormalFloat" },
PmenuSel = { bg = colors.surface0 },
-- NoiceMini = { link = "NormalFloat" }, -- NoiceMini = { link = "NormalFloat" },
WhichKeyFloat = { link = "Pmenu" }, WhichKeyFloat = { link = "Pmenu" },
@ -42,25 +43,31 @@ return {
IncSearch = { bg = colors.yellow }, IncSearch = { bg = colors.yellow },
-- Autocomplete window
CmpItemAbbr = { fg = colors.overlay2 },
CmpItemKindText = { fg = colors.text },
-- LSP -- LSP
-- LspReferenceText = { bg = colors.surface0 }, -- LspReferenceText = { bg = colors.surface0 },
-- LspReferenceRead = { link = "LspReferenceText" }, -- LspReferenceRead = { link = "LspReferenceText" },
-- LspReferenceWrite = { link = "LspReferenceText" }, -- LspReferenceWrite = { link = "LspReferenceText" },
-- --
-- -- telescope -- -- telescope
TelescopeNormal = { bg = colors.crust }, TelescopeNormal = { link = "NormalFloat" },
TelescopeBorder = { fg = colors.crust, bg = colors.crust }, TelescopeBorder = { link = "FloatBorder" },
TelescopeTitle = { link = "FloatTitle" },
TelescopePromptNormal = { bg = colors.mantle }, TelescopePromptNormal = { bg = colors.mantle },
TelescopePromptPrefix = { fg = colors.mauve }, TelescopePromptPrefix = { fg = colors.mauve },
TelescopePromptBorder = { fg = colors.mantle, bg = colors.mantle }, TelescopePromptBorder = { fg = colors.mantle, bg = colors.mantle },
TelescopePromptTitle = { fg = colors.crust, bg = colors.blue },
TelescopePreviewTitle = { fg = colors.crust, bg = colors.mauve }, TelescopePreviewTitle = { fg = colors.crust, bg = colors.mauve },
TelescopeSelection = { fg = colors.text, bg = colors.surface0 }, TelescopeResultsNormal = { fg = colors.overlay2, bg = colors.crust },
TelescopeMatching = { link = "CmpItemAbbrMatch" },
TelescopeSelection = { link = "PmenuSel" },
-- Statusline -- Statusline
StatusLine = { fg = colors.text, bg = colors.mantle }, StatusLine = { fg = colors.text, bg = colors.crust },
StatusLineNormal = { fg = colors.text, bg = colors.mantle }, StatusLineNormal = { link = "StatusLine" },
StatusLineSeparator = { fg = colors.surface0, bg = colors.mantle }, StatusLineSeparator = { fg = colors.surface0, bg = colors.crust },
StatusLineInsert = { fg = colors.base, bg = colors.blue }, StatusLineInsert = { fg = colors.base, bg = colors.blue },
StatusLineVisual = { fg = colors.base, bg = colors.mauve }, StatusLineVisual = { fg = colors.base, bg = colors.mauve },
StatusLineCommand = { fg = colors.base, bg = colors.yellow }, StatusLineCommand = { fg = colors.base, bg = colors.yellow },
@ -95,10 +102,10 @@ return {
["@punctuation.bracket"] = { link = "@punctuation" }, ["@punctuation.bracket"] = { link = "@punctuation" },
["@lsp.type.property"] = { link = "@variable" }, ["@lsp.type.property"] = { link = "@variable" },
-- Markup -- Markup
["@markup.raw"] = { link = "@text" }, ["@markup.raw"] = { link = "@text" },
["@markup.strong"] = { fg = colors.blue }, ["@markup.strong"] = { fg = colors.blue },
["@markup.italic"] = { fg = colors.green }, ["@markup.italic"] = { fg = colors.green },
-- PHP specific -- PHP specific
["@class_name.php"] = { link = "@text" }, ["@class_name.php"] = { link = "@text" },
@ -112,9 +119,9 @@ return {
integrations = { integrations = {
cmp = true, cmp = true,
treesitter = true, treesitter = true,
barbar = true, -- barbar = true,
neotree = true, -- neotree = true,
noice = true, -- noice = true,
telescope = { telescope = {
enabled = true, enabled = true,
}, },