Libreoffice dark mode not working with layan dark on kde plasma

Simple problem here. Using kde plasma 5.23.4. My global theme is set to layan, and my gtk theme is set to layan dark. This is a fresh install as well, and I have tried to restart to fix the issue. I noticed that with libreoffice (libreoffice writere in this case) the “dark theme” doesn’t apply like it does on my laptop. By that I mean the part on the top where the options and such are. I am aware that you can change the colors for the lower section, but previously the upper section would match the color scheme of the rest of the OS.

Is layan not being properly registered as a dark mode, or am I missing something else entirely?