It seems that https://github.com/flathub/org.kde.KStyle.Adwaita does not work with Anki currently. I think it just needs to be added as an extension in the manifest.