refactor(nvim/neovide): improve neovide shadowing/blurring
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 37s

This commit is contained in:
Price Hiller 2024-11-24 18:33:20 -06:00
parent 2b5e3e20e3
commit 0f668a6d99
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB
2 changed files with 53 additions and 48 deletions

View File

@ -1,6 +1,7 @@
-- Floating and Popupmenu Transparency -- Floating and Popupmenu Transparency
vim.opt.winblend = 20 vim.opt.winblend = 10
vim.opt.pumblend = 10 vim.opt.pumblend = 60
-- Float blur amount -- Float blur amount
vim.g.neovide_floating_blur_amount_x = 10.0 vim.g.neovide_floating_blur_amount_x = 10.0
@ -102,3 +103,6 @@ end, { noremap = true, silent = true, desc = "Neovide: Reset Zoom" })
-- Set Neovide specific vars for use elsewhere (e.g. terminal sessions) -- Set Neovide specific vars for use elsewhere (e.g. terminal sessions)
vim.env.NEOVIDE_SESSION = 1 vim.env.NEOVIDE_SESSION = 1
-- Group layers for shadows & blurring across entire group
vim.g.experimental_layer_grouping = true

View File

@ -113,59 +113,60 @@ return {
{ "CmpItemAbbrMatch", { fg = colors.crystalBlue, bg = "NONE" } }, { "CmpItemAbbrMatch", { fg = colors.crystalBlue, bg = "NONE" } },
{ "CmpItemAbbrMatchFuzzy", { fg = colors.crystalBlue, bg = "NONE" } }, { "CmpItemAbbrMatchFuzzy", { fg = colors.crystalBlue, bg = "NONE" } },
{ "CmpItemMenu", { fg = colors.roninYellow, bg = "NONE" } }, { "CmpItemMenu", { fg = colors.roninYellow, bg = "NONE" } },
{ "CmpItemKindField", { fg = colors.fujiWhite, bg = colors.sakuraPink } }, { "CmpItemKindField", { fg = colors.fujiWhite, bg = colors.sakuraPink, blend = 0 } },
{ "CmpItemKindProperty", { fg = colors.fujiWhite, bg = colors.sakuraPink } }, { "CmpItemKindProperty", { fg = colors.fujiWhite, bg = colors.sakuraPink, blend = 0 } },
{ "CmpItemKindEvent", { fg = colors.fujiWhite, bg = colors.sakuraPink } }, { "CmpItemKindEvent", { fg = colors.fujiWhite, bg = colors.sakuraPink, blend = 0 } },
{ "CmpItemKindText", { fg = colors.fujiWhite, bg = colors.dragonBlue } }, { "CmpItemKindText", { fg = colors.fujiWhite, bg = colors.dragonBlue, blend = 0 } },
{ "CmpItemKindEnum", { fg = colors.fujiWhite, bg = colors.crystalBlue } }, { "CmpItemKindEnum", { fg = colors.fujiWhite, bg = colors.crystalBlue, blend = 0 } },
{ "CmpItemKindKeyword", { fg = colors.fujiWhite, bg = colors.surimiOrange } }, { "CmpItemKindKeyword", { fg = colors.fujiWhite, bg = colors.surimiOrange, blend = 0 } },
{ "CmpItemKindConstant", { fg = colors.fujiWhite, bg = colors.crystalBlue } }, { "CmpItemKindConstant", { fg = colors.fujiWhite, bg = colors.crystalBlue, blend = 0 } },
{ "CmpItemKindConstructor", { fg = colors.fujiWhite, bg = colors.crystalBlue } }, { "CmpItemKindConstructor", { fg = colors.fujiWhite, bg = colors.crystalBlue, blend = 0 } },
{ "CmpItemKindReference", { fg = colors.fujiWhite, bg = colors.crystalBlue } }, { "CmpItemKindReference", { fg = colors.fujiWhite, bg = colors.crystalBlue, blend = 0 } },
{ "CmpItemKindFunction", { fg = colors.fujiWhite, bg = colors.oniViolet } }, { "CmpItemKindFunction", { fg = colors.fujiWhite, bg = colors.oniViolet, blend = 0 } },
{ "CmpItemKindStruct", { fg = colors.fujiWhite, bg = colors.oniViolet } }, { "CmpItemKindStruct", { fg = colors.fujiWhite, bg = colors.oniViolet, blend = 0 } },
{ "CmpItemKindClass", { fg = colors.fujiWhite, bg = colors.oniViolet } }, { "CmpItemKindClass", { fg = colors.fujiWhite, bg = colors.oniViolet, blend = 0 } },
{ "CmpItemKindModule", { fg = colors.fujiWhite, bg = colors.oniViolet } }, { "CmpItemKindModule", { fg = colors.fujiWhite, bg = colors.oniViolet, blend = 0 } },
{ "CmpItemKindOperator", { fg = colors.fujiWhite, bg = colors.oniViolet } }, { "CmpItemKindOperator", { fg = colors.fujiWhite, bg = colors.oniViolet, blend = 0 } },
{ "CmpItemKindVariable", { fg = colors.fujiWhite, bg = colors.peachRed } }, { "CmpItemKindVariable", { fg = colors.fujiWhite, bg = colors.peachRed, blend = 0 } },
{ "CmpItemKindFile", { fg = colors.fujiWhite, bg = colors.autumnYellow } }, { "CmpItemKindFile", { fg = colors.fujiWhite, bg = colors.autumnYellow, blend = 0 } },
{ "CmpItemKindUnit", { fg = colors.fujiWhite, bg = colors.autumnYellow } }, { "CmpItemKindUnit", { fg = colors.fujiWhite, bg = colors.autumnYellow, blend = 0 } },
{ "CmpItemKindSnippet", { fg = colors.fujiWhite, bg = colors.autumnYellow } }, { "CmpItemKindSnippet", { fg = colors.fujiWhite, bg = colors.autumnYellow, blend = 0 } },
{ "CmpItemKindFolder", { fg = colors.fujiWhite, bg = colors.autumnYellow } }, { "CmpItemKindFolder", { fg = colors.fujiWhite, bg = colors.autumnYellow, blend = 0 } },
{ "CmpItemKindMethod", { fg = colors.fujiWhite, bg = colors.autumnGreen } }, { "CmpItemKindMethod", { fg = colors.fujiWhite, bg = colors.autumnGreen, blend = 0 } },
{ "CmpItemKindValue", { fg = colors.fujiWhite, bg = colors.autumnGreen } }, { "CmpItemKindValue", { fg = colors.fujiWhite, bg = colors.autumnGreen, blend = 0 } },
{ "CmpItemKindEnumMember", { fg = colors.fujiWhite, bg = colors.autumnGreen } }, { "CmpItemKindEnumMember", { fg = colors.fujiWhite, bg = colors.autumnGreen, blend = 0 } },
{ "CmpItemKindInterface", { fg = colors.fujiWhite, bg = colors.waveRed } }, { "CmpItemKindInterface", { fg = colors.fujiWhite, bg = colors.waveRed, blend = 0 } },
{ "CmpItemKindColor", { fg = colors.fujiWhite, bg = colors.waveAqua2 } }, { "CmpItemKindColor", { fg = colors.fujiWhite, bg = colors.waveAqua2, blend = 0 } },
{ "CmpItemKindTypeParameter", { fg = colors.fujiWhite, bg = colors.waveAqua2 } }, { "CmpItemKindTypeParameter", { fg = colors.fujiWhite, bg = colors.waveAqua2, blend = 0 } },
{ "CmpCustomSelectionColor", { bg = colors.sumiInk5 } }, { "CmpCustomSelectionColor", { bg = colors.sumiInk5, blend = 0 } },
{ "CmpCustomSelectionDadbodCompletion", { fg = colors.fujiWhite, bg = colors.oniViolet } }, { "CmpCustomSelectionDadbodCompletion", { fg = colors.fujiWhite, bg = colors.oniViolet, blend = 0 } },
{ "CmpCustomSelectionGit", { fg = colors.fujiWhite, bg = colors.roninYellow } }, { "CmpCustomSelectionGit", { fg = colors.fujiWhite, bg = colors.roninYellow, blend = 0 } },
{ "CmpCustomSelectionBuffer", { fg = colors.fujiWhite, bg = colors.springBlue } }, { "CmpCustomSelectionBuffer", { fg = colors.fujiWhite, bg = colors.springBlue, blend = 0 } },
{ "CmpCustomSelectionPath", { fg = colors.fujiWhite, bg = colors.autumnYellow } }, { "CmpCustomSelectionPath", { fg = colors.fujiWhite, bg = colors.autumnYellow, blend = 0 } },
{ "CmpCustomSelectionCalculator", { fg = colors.fujiWhite, bg = colors.waveBlue2 } }, { "CmpCustomSelectionCalculator", { fg = colors.fujiWhite, bg = colors.waveBlue2, blend = 0 } },
{ "CmpCustomSelectionOrgmode", { fg = colors.fujiWhite, bg = colors.waveAqua1 } }, { "CmpCustomSelectionOrgmode", { fg = colors.fujiWhite, bg = colors.waveAqua1, blend = 0 } },
{ "CmpCustomSelectionEmoji", { fg = colors.fujiWhite, bg = colors.carpYellow } }, { "CmpCustomSelectionEmoji", { fg = colors.fujiWhite, bg = colors.carpYellow, blend = 0 } },
{ "CmpCustomSelectionZsh", { fg = colors.fujiWhite, bg = colors.springGreen } }, { "CmpCustomSelectionZsh", { fg = colors.fujiWhite, bg = colors.springGreen, blend = 0 } },
{ "CmpCustomSelectionCrates", { fg = colors.fujiWhite, bg = colors.roninYellow } }, { "CmpCustomSelectionCrates", { fg = colors.fujiWhite, bg = colors.roninYellow, blend = 0 } },
{ "CmpCustomSelectionDocker", { fg = colors.fujiWhite, bg = colors.springBlue } }, { "CmpCustomSelectionDocker", { fg = colors.fujiWhite, bg = colors.springBlue, blend = 0 } },
{ "CmpCustomSelectionCmdHistory", { fg = colors.fujiWhite, bg = colors.waveBlue2 } }, { "CmpCustomSelectionCmdHistory", { fg = colors.fujiWhite, bg = colors.waveBlue2, blend = 0 } },
{ "CmpCustomSelectionRipgrep", { fg = colors.fujiWhite, bg = colors.crystalBlue } }, { "CmpCustomSelectionRipgrep", { fg = colors.fujiWhite, bg = colors.crystalBlue, blend = 0 } },
{ "CmpCustomSelectionNpm", { fg = colors.fujiWhite, bg = colors.peachRed } }, { "CmpCustomSelectionNpm", { fg = colors.fujiWhite, bg = colors.peachRed, blend = 0 } },
{ "CmpCustomSelectionCommit", { fg = colors.fujiWhite, bg = colors.peachRed } }, { "CmpCustomSelectionCommit", { fg = colors.fujiWhite, bg = colors.peachRed, blend = 0 } },
{ "CmpCustomSelectionSnippet", { fg = colors.fujiWhite, bg = colors.peachRed } }, { "CmpCustomSelectionSnippet", { fg = colors.fujiWhite, bg = colors.peachRed, blend = 0 } },
{ "CmpCustomSelectionLuaLatexSymbol", { fg = colors.fujiWhite, bg = colors.surimiOrange } }, { "CmpCustomSelectionLuaLatexSymbol", { fg = colors.fujiWhite, bg = colors.surimiOrange, blend = 0 } },
-- Telescope -- Telescope
{ "TelescopeNormal", { bg = colors.sumiInk2 } }, { "TelescopeNormal", { bg = colors.sumiInk2 } },
{ "TelescopeBorder", { bg = colors.sumiInk2, fg = colors.sumiInk1 } }, { "TelescopeBorder", { bg = colors.sumiInk2, fg = colors.sumiInk1 } },
{ "TelescopeSelection", { bg = colors.sumiInk4, blend = 0 } },
{ "TelescopePromptBorder", { bg = colors.sumiInk0, fg = colors.sumiInk0 } }, { "TelescopePromptBorder", { bg = colors.sumiInk0, fg = colors.sumiInk0 } },
{ "TelescopePromptNormal", { bg = colors.sumiInk0, fg = colors.fujiWhite } }, { "TelescopePromptNormal", { bg = colors.sumiInk0, fg = colors.fujiWhite } },
{ "TelescopePromptTitle", { fg = colors.sumiInk0, bg = colors.oniViolet } }, { "TelescopePromptTitle", { fg = colors.sumiInk0, bg = colors.oniViolet, blend = 0 } },
{ "TelescopePreviewTitle", { fg = colors.sumiInk0, bg = colors.sakuraPink } }, { "TelescopePreviewTitle", { fg = colors.sumiInk0, bg = colors.sakuraPink, blend = 0 } },
{ "TelescopePreviewNormal", { bg = colors.sumiInk4 } }, { "TelescopePreviewNormal", { bg = colors.sumiInk4 } },
{ "TelescopePreviewBorder", { link = "TelescopePreviewNormal" } }, { "TelescopePreviewBorder", { link = "TelescopePreviewNormal" } },
{ "TelescopeResultsTitle", { fg = "NONE", bg = "NONE" } }, { "TelescopeResultsTitle", { fg = "NONE", bg = "NONE", blend = 0 } },
{ "IlluminatedWordText", { bg = colors.waveBlue2 } }, { "IlluminatedWordText", { bg = colors.waveBlue2 } },
{ "IlluminatedWordRead", { bg = colors.waveBlue2 } }, { "IlluminatedWordRead", { bg = colors.waveBlue2 } },