cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
lrh-121
New Member

Canvas App - Global theming

Hi all, 

 

I'm a designer working on custom styling for a brand. Is there a way yet to create a custom theme (colours, padding, fonts, components) using variables or otherwise.

 

Would love to hear from anyone who has done this if it is not included at the moment!

 

Thank you thank you!

2 REPLIES 2
C-Papa
Super User
Super User

Hi, yes, you can create a custom theme by setting a variable on the app start and then referring to the variable for the property you want to change. Something like

 

Set(Var_Settings,{Font_Color:Red, Font_Background_Fill: Blue, etc.etc.})

 

then change the property where you want to use it, for example button fill, just add Font_Background_Fill

 

you can also use inline css with the html text element

 

 

Thanks so much! I will give this a go!

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,221)