cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
FLOWerPower
Regular Visitor

Change theme with toggle

Hello all,
i have an app already made, i want to add a toggle in the menu to change the theme to dark mode.
there is an option to do this?
something like: Set(Theme, Dark)

 

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions
Pstork1
Dual Super User III
Dual Super User III

There are pre-built themes that can be applied in the designer, but nothing that can be changed by the user at runtime.  There are ways to design your app to support custom themes, but you have to build it in.  Here's a blog post that discusses how.

https://www.thorprojects.com/blog/archive/2018/03/16/updating-powerapps-screens-and-forms-programmat...



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

2 REPLIES 2
Pstork1
Dual Super User III
Dual Super User III

There are pre-built themes that can be applied in the designer, but nothing that can be changed by the user at runtime.  There are ways to design your app to support custom themes, but you have to build it in.  Here's a blog post that discusses how.

https://www.thorprojects.com/blog/archive/2018/03/16/updating-powerapps-screens-and-forms-programmat...



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

RezaDorrani
Dual Super User II
Dual Super User II

Hi @FLOWerPower 

 

Check out themes template

https://powerusers.microsoft.com/t5/Community-App-Samples/Branding-Template-App-Automagical/td-p/363...

 

You can add a toggle to this template to switch themes

 

--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (47,482)