Switching Brands for white label app

I have been researching best practices for setting up a white label app. Has anyone created a system? I basically will need to switch style guides or libraries each time a new client is onboarded and update all screens with their brand colors, logo, etc. Thanks for your help.