Good evening everyone.
I would like to know if it is possible to change a visualforce page color the same way we choose a color for each object.
At the moment, I have this VF page that can be either of type ObjectA or ObjectB. My question is, if I can change the theme color of the page accordingly to the type of object I will have in my constructor. Imagine I work with ObjectA__c which has green color/theme in its settings. Other times ObjectB might be the one I'm working with, but the color would also change along with it. I'm not sure if I'm making myself very clear, so I'm sorry if I'm explaining myself rather awfully.