Power Apps Branding Template V3

You may also like...

20 Responses

  1. Ross says:

    Hello,

    I would like to take the time and thank you for creating this. Saves a ridiculous amount of time.

    • iAm_ManCat says:

      Thank you for saying that – I really do appreciate it. I spent a lot of time working on this so that others don’t have to spend that same amount of time! 🙂

      • Ross says:

        On the OnStart section to set the themed Font, how would I use a proprietary font? Currently in PowerApps, I would type the name in double quotes in the Font property of a control.

        Thank you.

  2. Muhammed says:

    How could I go about setting more defaults? I want to set a default screen background image, and I want to change label colors in forms so that it is different depending on whether it is an edit form or a view form. Thanks

    • iAm_ManCat says:

      Hi Muhammed, unfortunately we can only work with what properties are exposed in the themes.JSON file – background colour is a default property of a screen so can be modified, but an image is not currently supported (even in the editor – you can’t change the background to an image, you have to insert an image and make it the size of the screen, so we can’t affect that by default). The forms use the same types of label types within them, so I don’t think its possible to change them contextually like you are asking. We are unfortunately limited by the properties and objects exposed by the Power Apps team. I do hope that they allow us to customize further in future!

  3. Mark says:

    Hi Sancho – this is great! Is it possible to configure other properties not explicitly called out already in the control level properties, for instance margins and padding? Many thanks!

    • iAm_ManCat says:

      Hi Mark, yes it is – however the number of additional properties to do so resulted in an extra 125+ properties that need to be set and referenced, and this came at a slight performance hit so I’ve not included those.

  4. Vincent says:

    Hello,
    Great work !
    I the template the properties
    ControlsTheme.ButtonRadiusTopLeft
    ControlsTheme.ButtonRadiusTopRight
    ControlsTheme.ButtonRadiusBottomLeft
    ControlsTheme.ButtonRadiusBottomRight
    were missing. So I just added it and it works.

    I embed all of this in a Component Library. Seems working but I have to test it deeply.

  5. Reiner Knudsen says:

    I have a question. Going through the themes.json there are a lot of “style” definitions. There are multiple for labels and buttons etc. Where do they come into the game? How does one reference one of these styles? Or are they styles PowerApps automatically applies when creating a label in a certain context?

    • iAm_ManCat says:

      You are correct – Power Apps uses these when creating the Insert>New Screen templated controls for each screen – there is currently no way to insert or reference these unfortunately as you can only insert the default type of control – this is a limit imposed by the IDE itself. If you find a way to reference them please let me know!

  6. Stuart says:

    Hi. Can you please describe how I can add / import these into an existing Power App?

    • Reiner Knudsen says:

      This template is based on a manipulated .json file in the .msapp file. It is a bit of a hassle to change files within the .msapp file. You could add your app to Github and swap the themes.json file. Not sure whether that would do the trick, though.

  7. Reiner Knudsen says:

    Such an incredible effort. Thank you for sharing. That really saves time!!
    I have a question: How would I set all labels to bold font weight. Is that possible?

  8. Bob Cobra says:

    Thanks for the template! One question: Every time I run the app i get a divide by zero error on first load. Any ideas?

    • iAm_ManCat says:

      Hi Bob, there is a divide by zero issue whereby Power Apps is looking at a value before a Countrows() action has completed, which results in the rows equating to zero which it then divides by – I should have resolved this in a recent release so please try download it again.

  9. Ramesh Mukka says:

    After reading through the post, it definitely helps to bring this branding template to my apps. However I will be much interested if we have videos demonstrating about creating new themes out of this and/ or modify existing variables/collections too. This can give more visual appeal of how to use it. I am sure am coming back to read this again until I make best use of this. So should have so much effort for all 3 versions. All I can is Thank you so much giving so much to the community and am running short of words. 🙂

  10. Valerie Schaffer says:

    Thank you, thank you, thank you! I’m spending today to look through this and make it my default branding app by adding all my components and our organization’s colors to it. Love the new home screen choices.

Leave a Reply

Your email address will not be published.