Have you tried View > Theme > Dark ? Seems to be working fine for me with the Solus vendored KeePassXC.
As an aside, KeePassXC is not an Electron app, but a C++/Qt one. If the above option doesn't work, maybe there's something off with your system's Qt theming?