Background color of SQL editor

I am using LibreOffice on Ubuntu with a dark KDE desktop theme. Although the theme is quite dark, the background of e.g. spreadsheets and writer documents remains white, which is desired by me.

However the background of the Base’s SQL Editor is black, and this makes it impossible to read some of the code. I found where I can set some of the syntax highlight colors, and this improved it a little. However there are still code elements that are not visible, as their color cannot be changed.

I am aware, that the background color is a result of the KDE theme, but as it is possible to override other color settings in Libre Office, I still hope for a solution that does not involve changing the desktop theme.

Has anybody an idea how to solve this without changing KDE’s desktop theme? I could live with either changing the editor’s background color to white, or tweak the font color for every code element. If I only knew how.

Version: 6.4.7.2
Build-ID: 1:6.4.7-0ubuntu0.20.04.4
CPU-Threads: 8; BS: Linux 5.13; UI-Render: Standard; VCL: kf5;
Gebietsschema: de-DE (de_DE.UTF-8); UI-Sprache: de-DE
Calc: threaded