Floating windows decoration highlighting problem
Some floating windows (probably those, who use NormalFloat highlight) have black borders on black background:

You may see same problem on your screenshot, where you have used TSHighlightCapturesUnderCursor

Do you know what the border is? I mainly use Vim and don't know much about it.
Window on screenshot is created by https://github.com/stevearc/dressing.nvim plugin.
It has winhighlight option in config. I did found in source code of it next message: Set winhighlight="NormalFloat:MyHighlightGroup" instead, so I believe it is "NormalFloat".
They use this component for window: https://github.com/MunifTanjim/nui.nvim/tree/main/lua/nui/input
It has such code in config:
win_options = {
winhighlight = "Normal:Normal",
},
NormalFloat is for background of the floating window. According to my research, FloatBorder is appropriate for this case.
I'll add color definitions around it, please wait...
any updates? :bow: