Send the following on WhatsApp
Continue to ChatMaking a Canvas app become Teams & SharePoint theme aware (with the help of the PnP Enhanced Power Apps WebPart) https://michelcarlo.com/2022/12/04/making-a-canvas-app-become-teams-sharepoint-theme-aware-with-the-pnp-enhanced-power-apps-webpart/