How it's going on?

I was having troubles with Libre Office from Flathub, so installed the one available on the Ubuntu repository. That being said, Libre Office is not absorbing elementaryOS dark mode. Do some of you guys know which package should I install from the Ubuntu repository so that Libre Office can absorb the dark mode?

Ty!