web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps
Answered

Power Apps Themes

(2) ShareShare
ReportReport
Posted on by 17
Short Question: How do I get the list of available Power Apps Themes?
 
Background:
I am working on a canvas app in which I allow the user to select a theme and save the theme they would like to use. I'm storing the selection in a Dataverse table.
However, the value saved is a string, e.g. "TeamsTheme" or "PowerAppsTheme".
I need to convert the text to the matching theme reference. PowerApps has to be storing the list of themes somewhere. 
How can I do the conversion?
Thanks,
Thomas 
I have the same question (0)
  • MS.Ragavendar Profile Picture
    6,334 Super User 2026 Season 1 on at
     
    In .Net use of refractor we will get the files from assembly but in the Power Apps does not expose a built-in function to retrieve a list of available themes dynamically.
     
    However, you can manually reference the available themes using the App.Theme property
     
    You can follow this blog accordingly for the use case (https://www.matthewdevaney.com/create-a-power-apps-custom-theme-colors-fonts-icons-controls/) theme creation and mapping of themes to controls.
     
    Hope this helps.!
     
    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item
  • Tom Bishop Profile Picture
    17 on at
    Replying to my own post ...
     
    I came up with a workaround for this, which after thinking about it a bit should not have surprised me.
    I created a glblThemes collection that has a "Name" attribute and a "Theme" attribute. "Name" is of data type Text, and "Theme" is an object. 
     
    Example:
     
    {Name:"TeamsTheme",
    Theme: TeamsTheme
    },
    {Name:"PowerAppsTheme",
    Theme: PowerAppsTheme
    }
    That allows me to look up the theme and apply it.
    Unfortunately, it also means I have to update the glblThemes collection whenever I add or remove a theme.
    I would much rather do a lookup on the native Power Apps themes collection wherever that resides.
     
    Any input or comments are appreciated!!!
     
    Thomas
  • Verified answer
    Michael E. Gernaey Profile Picture
    53,969 Moderator on at
     
    So what you are doing is a standard way to do it. 
     
    however, what I tell people is put the information either
    1) in a list in sharepoint, that you load up on app start or onvisible and populate the collection with at Run time and assign it
    2) in an Environment variable and its either already the json you build on or your format.
     
    If you want it to be dynamic thats what you need. But creating your own things in that manner is pretty standard
  • Michael E. Gernaey Profile Picture
    53,969 Moderator on at
     
    Can I or @MS.Ragavendar give you any other information than what I stated below? If either gives you the answer, I'd appreciate if you mark it so and maybe a like.

    If you have further questions let us kow.
     
    Cheers

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard