Custom Brand Your Apps in LWC using Styling Hooks
Are you planning to build a new App? If yes, then this blog is for you!! There are so many components which has many branding part of the components like Color, Font, Icon and many others. But there is a loop hole here! If you roll-out your app to multiple clients what would you do? Our blog always has your back! I will show how to include a small piece of code where you can customize all your branding components which you can customize in your client org without any code!!!
Let Us Begin
Consider the below example, we want to display this line in Red color for Client A and in Yellow color for Client B. Let us see how!
Here we are using property tag in meta file of our LWC which is connected to an Apex controller which provides multiple values for the color and font style.