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

This commit is contained in:
Price Hiller 2024-11-24 18:33:20 -06:00
parent 2b5e3e20e3
commit a460be461d
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
vim.opt.winblend = 20
vim.opt.pumblend = 10
vim.opt.winblend = 10
vim.opt.pumblend = 70
-- Float blur amount
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)
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" } },
{ "CmpItemAbbrMatchFuzzy", { fg = colors.crystalBlue, bg = "NONE" } },
{ "CmpItemMenu", { fg = colors.roninYellow, bg = "NONE" } },
{ "CmpItemKindField", { fg = colors.fujiWhite, bg = colors.sakuraPink } },
{ "CmpItemKindProperty", { fg = colors.fujiWhite, bg = colors.sakuraPink } },
{ "CmpItemKindEvent", { fg = colors.fujiWhite, bg = colors.sakuraPink } },
{ "CmpItemKindText", { fg = colors.fujiWhite, bg = colors.dragonBlue } },
{ "CmpItemKindEnum", { fg = colors.fujiWhite, bg = colors.crystalBlue } },
{ "CmpItemKindKeyword", { fg = colors.fujiWhite, bg = colors.surimiOrange } },
{ "CmpItemKindConstant", { fg = colors.fujiWhite, bg = colors.crystalBlue } },
{ "CmpItemKindConstructor", { fg = colors.fujiWhite, bg = colors.crystalBlue } },
{ "CmpItemKindReference", { fg = colors.fujiWhite, bg = colors.crystalBlue } },
{ "CmpItemKindFunction", { fg = colors.fujiWhite, bg = colors.oniViolet } },
{ "CmpItemKindStruct", { fg = colors.fujiWhite, bg = colors.oniViolet } },
{ "CmpItemKindClass", { fg = colors.fujiWhite, bg = colors.oniViolet } },
{ "CmpItemKindModule", { fg = colors.fujiWhite, bg = colors.oniViolet } },
{ "CmpItemKindOperator", { fg = colors.fujiWhite, bg = colors.oniViolet } },
{ "CmpItemKindVariable", { fg = colors.fujiWhite, bg = colors.peachRed } },
{ "CmpItemKindFile", { fg = colors.fujiWhite, bg = colors.autumnYellow } },
{ "CmpItemKindUnit", { fg = colors.fujiWhite, bg = colors.autumnYellow } },
{ "CmpItemKindSnippet", { fg = colors.fujiWhite, bg = colors.autumnYellow } },
{ "CmpItemKindFolder", { fg = colors.fujiWhite, bg = colors.autumnYellow } },
{ "CmpItemKindMethod", { fg = colors.fujiWhite, bg = colors.autumnGreen } },
{ "CmpItemKindValue", { fg = colors.fujiWhite, bg = colors.autumnGreen } },
{ "CmpItemKindEnumMember", { fg = colors.fujiWhite, bg = colors.autumnGreen } },
{ "CmpItemKindInterface", { fg = colors.fujiWhite, bg = colors.waveRed } },
{ "CmpItemKindColor", { fg = colors.fujiWhite, bg = colors.waveAqua2 } },
{ "CmpItemKindTypeParameter", { fg = colors.fujiWhite, bg = colors.waveAqua2 } },
{ "CmpCustomSelectionColor", { bg = colors.sumiInk5 } },
{ "CmpCustomSelectionDadbodCompletion", { fg = colors.fujiWhite, bg = colors.oniViolet } },
{ "CmpCustomSelectionGit", { fg = colors.fujiWhite, bg = colors.roninYellow } },
{ "CmpCustomSelectionBuffer", { fg = colors.fujiWhite, bg = colors.springBlue } },
{ "CmpCustomSelectionPath", { fg = colors.fujiWhite, bg = colors.autumnYellow } },
{ "CmpCustomSelectionCalculator", { fg = colors.fujiWhite, bg = colors.waveBlue2 } },
{ "CmpCustomSelectionOrgmode", { fg = colors.fujiWhite, bg = colors.waveAqua1 } },
{ "CmpCustomSelectionEmoji", { fg = colors.fujiWhite, bg = colors.carpYellow } },
{ "CmpCustomSelectionZsh", { fg = colors.fujiWhite, bg = colors.springGreen } },
{ "CmpCustomSelectionCrates", { fg = colors.fujiWhite, bg = colors.roninYellow } },
{ "CmpCustomSelectionDocker", { fg = colors.fujiWhite, bg = colors.springBlue } },
{ "CmpCustomSelectionCmdHistory", { fg = colors.fujiWhite, bg = colors.waveBlue2 } },
{ "CmpCustomSelectionRipgrep", { fg = colors.fujiWhite, bg = colors.crystalBlue } },
{ "CmpCustomSelectionNpm", { fg = colors.fujiWhite, bg = colors.peachRed } },
{ "CmpCustomSelectionCommit", { fg = colors.fujiWhite, bg = colors.peachRed } },
{ "CmpCustomSelectionSnippet", { fg = colors.fujiWhite, bg = colors.peachRed } },
{ "CmpCustomSelectionLuaLatexSymbol", { fg = colors.fujiWhite, bg = colors.surimiOrange } },
{ "CmpItemKindField", { fg = colors.fujiWhite, bg = colors.sakuraPink, blend = 0 } },
{ "CmpItemKindProperty", { fg = colors.fujiWhite, bg = colors.sakuraPink, blend = 0 } },
{ "CmpItemKindEvent", { fg = colors.fujiWhite, bg = colors.sakuraPink, blend = 0 } },
{ "CmpItemKindText", { fg = colors.fujiWhite, bg = colors.dragonBlue, blend = 0 } },
{ "CmpItemKindEnum", { fg = colors.fujiWhite, bg = colors.crystalBlue, blend = 0 } },
{ "CmpItemKindKeyword", { fg = colors.fujiWhite, bg = colors.surimiOrange, blend = 0 } },
{ "CmpItemKindConstant", { fg = colors.fujiWhite, bg = colors.crystalBlue, blend = 0 } },
{ "CmpItemKindConstructor", { fg = colors.fujiWhite, bg = colors.crystalBlue, blend = 0 } },
{ "CmpItemKindReference", { fg = colors.fujiWhite, bg = colors.crystalBlue, blend = 0 } },
{ "CmpItemKindFunction", { fg = colors.fujiWhite, bg = colors.oniViolet, blend = 0 } },
{ "CmpItemKindStruct", { fg = colors.fujiWhite, bg = colors.oniViolet, blend = 0 } },
{ "CmpItemKindClass", { fg = colors.fujiWhite, bg = colors.oniViolet, blend = 0 } },
{ "CmpItemKindModule", { fg = colors.fujiWhite, bg = colors.oniViolet, blend = 0 } },
{ "CmpItemKindOperator", { fg = colors.fujiWhite, bg = colors.oniViolet, blend = 0 } },
{ "CmpItemKindVariable", { fg = colors.fujiWhite, bg = colors.peachRed, blend = 0 } },
{ "CmpItemKindFile", { fg = colors.fujiWhite, bg = colors.autumnYellow, blend = 0 } },
{ "CmpItemKindUnit", { fg = colors.fujiWhite, bg = colors.autumnYellow, blend = 0 } },
{ "CmpItemKindSnippet", { fg = colors.fujiWhite, bg = colors.autumnYellow, blend = 0 } },
{ "CmpItemKindFolder", { fg = colors.fujiWhite, bg = colors.autumnYellow, blend = 0 } },
{ "CmpItemKindMethod", { fg = colors.fujiWhite, bg = colors.autumnGreen, blend = 0 } },
{ "CmpItemKindValue", { fg = colors.fujiWhite, bg = colors.autumnGreen, blend = 0 } },
{ "CmpItemKindEnumMember", { fg = colors.fujiWhite, bg = colors.autumnGreen, blend = 0 } },
{ "CmpItemKindInterface", { fg = colors.fujiWhite, bg = colors.waveRed, blend = 0 } },
{ "CmpItemKindColor", { fg = colors.fujiWhite, bg = colors.waveAqua2, blend = 0 } },
{ "CmpItemKindTypeParameter", { fg = colors.fujiWhite, bg = colors.waveAqua2, blend = 0 } },
{ "CmpCustomSelectionColor", { bg = colors.sumiInk5, blend = 0 } },
{ "CmpCustomSelectionDadbodCompletion", { fg = colors.fujiWhite, bg = colors.oniViolet, blend = 0 } },
{ "CmpCustomSelectionGit", { fg = colors.fujiWhite, bg = colors.roninYellow, blend = 0 } },
{ "CmpCustomSelectionBuffer", { fg = colors.fujiWhite, bg = colors.springBlue, blend = 0 } },
{ "CmpCustomSelectionPath", { fg = colors.fujiWhite, bg = colors.autumnYellow, blend = 0 } },
{ "CmpCustomSelectionCalculator", { fg = colors.fujiWhite, bg = colors.waveBlue2, blend = 0 } },
{ "CmpCustomSelectionOrgmode", { fg = colors.fujiWhite, bg = colors.waveAqua1, blend = 0 } },
{ "CmpCustomSelectionEmoji", { fg = colors.fujiWhite, bg = colors.carpYellow, blend = 0 } },
{ "CmpCustomSelectionZsh", { fg = colors.fujiWhite, bg = colors.springGreen, blend = 0 } },
{ "CmpCustomSelectionCrates", { fg = colors.fujiWhite, bg = colors.roninYellow, blend = 0 } },
{ "CmpCustomSelectionDocker", { fg = colors.fujiWhite, bg = colors.springBlue, blend = 0 } },
{ "CmpCustomSelectionCmdHistory", { fg = colors.fujiWhite, bg = colors.waveBlue2, blend = 0 } },
{ "CmpCustomSelectionRipgrep", { fg = colors.fujiWhite, bg = colors.crystalBlue, blend = 0 } },
{ "CmpCustomSelectionNpm", { fg = colors.fujiWhite, bg = colors.peachRed, blend = 0 } },
{ "CmpCustomSelectionCommit", { fg = colors.fujiWhite, bg = colors.peachRed, blend = 0 } },
{ "CmpCustomSelectionSnippet", { fg = colors.fujiWhite, bg = colors.peachRed, blend = 0 } },
{ "CmpCustomSelectionLuaLatexSymbol", { fg = colors.fujiWhite, bg = colors.surimiOrange, blend = 0 } },
-- Telescope
{ "TelescopeNormal", { bg = colors.sumiInk2 } },
{ "TelescopeBorder", { bg = colors.sumiInk2, fg = colors.sumiInk1 } },
{ "TelescopeSelection", { bg = colors.sumiInk4, blend = 0 } },
{ "TelescopePromptBorder", { bg = colors.sumiInk0, fg = colors.sumiInk0 } },
{ "TelescopePromptNormal", { bg = colors.sumiInk0, fg = colors.fujiWhite } },
{ "TelescopePromptTitle", { fg = colors.sumiInk0, bg = colors.oniViolet } },
{ "TelescopePreviewTitle", { fg = colors.sumiInk0, bg = colors.sakuraPink } },
{ "TelescopePromptTitle", { fg = colors.sumiInk0, bg = colors.oniViolet, blend = 0 } },
{ "TelescopePreviewTitle", { fg = colors.sumiInk0, bg = colors.sakuraPink, blend = 0 } },
{ "TelescopePreviewNormal", { bg = colors.sumiInk4 } },
{ "TelescopePreviewBorder", { link = "TelescopePreviewNormal" } },
{ "TelescopeResultsTitle", { fg = "NONE", bg = "NONE" } },
{ "TelescopeResultsTitle", { fg = "NONE", bg = "NONE", blend = 0 } },
{ "IlluminatedWordText", { bg = colors.waveBlue2 } },
{ "IlluminatedWordRead", { bg = colors.waveBlue2 } },
@ -364,7 +365,7 @@ return {
{ "@markup.heading.6.marker", { link = "@markup.heading.6" } },
{ "@markup.heading.7.marker", { link = "@markup.heading.7" } },
{ "@markup.heading.8.marker", { link = "@markup.heading.8" } },
{ "@markup.quote", { fg = colors.oldWhite }},
{ "@markup.quote", { fg = colors.oldWhite } },
-- For Visual Whitespace plugin
{ "visual-whitespace", get_hl("Visual", { fg = colors.fujiGray }) },