Skip to content

Commit 4420f0a

Browse files
fix(editor): use bg for FloatShadow highlight (#966)
Co-authored-by: robin <comfysagedev@gmail.com>
1 parent 6efc53e commit 4420f0a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lua/catppuccin/groups/editor.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ function M.get()
4848
fg = C.crust,
4949
bg = C.lavender,
5050
} or { fg = C.subtext0, bg = (O.float.transparent and vim.o.winblend == 0) and C.none or C.mantle }, -- Title of floating windows
51-
FloatShadow = { fg = (O.float.transparent and vim.o.winblend == 0) and C.none or C.overlay0 },
51+
FloatShadow = { bg = (O.float.transparent and vim.o.winblend == 0) and C.none or C.overlay0, blend = 80 },
52+
FloatShadowThrough = { bg = (O.float.transparent and vim.o.winblend == 0) and C.none or C.overlay0, blend = 100 },
5253
Pmenu = {
5354
bg = (O.transparent_background and vim.o.pumblend == 0) and C.none or C.mantle,
5455
fg = C.overlay2,

0 commit comments

Comments
 (0)