I have installed libreoffice as a snap. In Ubuntu it uses th default gtk theme but in Elementary OS it doesn't. Is it possible to enable this or do i need to wait for the Elementary team to implement it.
This is how it looks right now:
elementary OS Stack Exchange is a question and answer site for developers and users of elementary OS and applications. It only takes a minute to sign up.Sign up to join this community
Snaps don't always work with the system stylesheet. An easy alternative is to use Flatpak apps from Flathub when apps exist in both places, because Flatpak has a mechanism to work with the elementary stylesheet.
To install an app from Flathub:
If this is the first Flatpak app you've installed, it might not show up in the Applications Menu until you log out and back in—future Flatpak apps will show up instantly. You can then uninstall the snap version.
It's typically recommended to use Flatpak apps on elementary OS instead of snap because elementary has officially backed Flatpak, elementary OS supports Flatpak out of the box, and elementary developers have put significant work into making sure it's easy to install and update Flatpak apps without having to use a Terminal.
Snaps are what is called a "sandboxed" or "confined" package format. This means the amount of access that these apps have to your system is very limited. One of those limitations is that Snaps don't have access to the system stylesheet shipped with elementary OS.
LibreOffice is able to use the Ubuntu stylesheet on Ubuntu because it has been pre-bundled either with the LibreOffice snap or with the Platform Snap that it depends on. In order for LibreOffice to use the elementary stylesheet, the distributors of that snap would have to pre-bundle it.
use flatpak and run the bellow command, it will allow flatpak apps to use your theme, no idea why canonical doesn't expose the theme and icon folders already, snaps are doa just because of the theming, then again they are also perform much slower than any other option out there
flatpak override --filesystem=~/.themes